Expand my Community achievements bar.

Ojjis
Ojjis
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hi there,the javadoc for this topic is actually quite good (http://wem.help.adobe.com/enterprise/en_US/10-0/wem/javadoc/com/day/cq/search/result/SearchResult.html).Even better is to take a look at the standard search component, but I can try to digest it a bit from my experience.getResultPagesWhen y...

    Type

    Questions

    Views

    887

    Likes

    2

    Replies

    0
  • Hi.It is possible form a servlet to get hold of a replicator by using the @Reference annotation. (more info about that here http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/replication/Replicator.html)To get hold of a replicator you can use the following code:@Reference private Replicator re...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • The author instance requires login credentials so you have to submit them in some form.If you eg. look at how the comments for blogposts work, you enter them in a "publish" environment (or rather via the dispatcher) where no login is requiredand they are then reverse replicated back to author. /Joha...

    Type

    Questions

    Views

    4.2K

    Likes

    0

    Replies

    0
  • Hi, this is a bit more tricky since the JavaScript and the JSP code doesn't really execute in the same environment. There is not a direct communication between them both but take a look at this (really simple) example of how you could pass a Java variable to the JavaScript environment: // MY JSP FIL...

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • Hi,there is as Sham suggested a common CQ way where the results from an operation is divided into result pages that each holds a certain number of results leading to an easy way of handling paginations. However if you consider to use you own component with your own special pagination you have to man...

    Type

    Questions

    Views

    595

    Likes

    0

    Replies

    0
  • Hi, you could otherwise conditionally add a class name on your components or on the page and the do css selectors based on that.<div class="myclassname <%= //add wcm check here. If wcmmode add wcm as another classname%>">    Content</div>and then in the css file target the myclassname class together...

    Type

    Questions

    Views

    1.4K

    Likes

    2

    Replies

    0