Right Justin,Here is piece of code it might be useful for other. public void characters(char[] ac, int i, int j) throws SAXException{ String str = new String (ac, i, j); LOG.info(" Str) if(str.contains("{chandra}")){ ...
Please refer to the API..http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/rewriter/pipeline/RequestRewriter.htmlCan we only rewrite only attribute of Element? not value of element?Thanks Chandra
on i18n appraoch, i want this to be authorable <fmt:message key="xxx"> Can you suggest something so that it's not fixed in template or component and content author is able to do it from edit Dialog etc?
com.day.cq.rewriter.pipeline.RequestRewriter or org.apache.sling.rewriter.Transformer helps to rewrite any html tag's attribute value that i am able to do it.But I am trying to do rewrite plain text like {string.token) with any value.for example :Here is content in CRX when it would be rendered , {s...
Can we get current page URL since slingRequestObject is not available in the class? for example i can get SlingRepository, ResourceResolverFactory and SlingSettingsService object by referencing and maven build generates serviceComponent.xml as complete OSGI bundle.Thanks Chandra
This is quick Mohammed Thanks..What about this error?[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 5.288 s[INFO] Finished at: 2015-03-18T15:48:12-04:00[INFO] Final Memory: 20M/308M[INFO] -----------------------------------------...
There is some hook (XML Entry )for Introspect. typically any j2ee application... those hooks are added that enabled to send message to extremal monitoring application .In case AEm 5.6.1 i am not sure where i can put that xml where i can inject that hook.