Expand my Community achievements bar.

Ojjis
Ojjis
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Is there a possibility that you can explain a bit more what you are trying to do?The option, not using vanity urls, I guess is to make use of Sling Mappings engine.There is a nice article about that one here: http://www.cognifide.com/blogs/cq/multidomain-cq-mappings-and-apache-configuration/I hope t...

    Type

    Questions

    Views

    510

    Like

    1

    Replies

    0
  • Take a look at this article: http://dev.day.com/content/ddc/blog/2010/10/_cq5_gems_localized.htmlIs this what you want to do ?

    Type

    Questions

    Views

    502

    Likes

    0

    Replies

    0
  • 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

    609

    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

    884

    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

    3.3K

    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.7K

    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

    381

    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

    983

    Likes

    2

    Replies

    0