I need to open first item of multifield on dialog load. I looked at the API documentation of multifield but not able to find.   <promo                     jcr:primaryType="cq:Widget"                     fieldLabel="abcd"...
In my html page I would like to loop through the properties returned by my Java class but do it under <script> tag.   Currently my html page has this:  <div id="map_wrapper"> <div    data-sly-use.ev="Foo"         class=...
What are the js and css include concepts in CQ5 using clientLibrary[cq:includeClientLib]? It would be great to have an example with screen shot....
How can I dynamically set a CSS class on the wrapping decoration tag of an AEM6 Sightly component?  I cannot set this CSS class on the component as it depends on the instance of the component, and I can't set it on the resource as the resource ca...
Can you tell me in CQ5, the exact use of currentStyle.  I have one line like   int absParent = currentStyle.get("absParent", 3);  May I know what currentStyle will do here....
I know this will probably a simple question, but I'm new to CQ5 and AEM in general.  I have a cq:Widget node which is a simple textfield.   <rowtitlevalue      jcr:primaryType="cq:Widget"      fieldLabel="Row Title Value"...
When I select "OK" in a component editor dialog, the component redraws itself, assuming I've got the _cq_editConfig.xml set up:      <cq:listeners     jcr:primaryType="cq:EditListenersConfig"     afteredit="REFRESH_SELF"...
I have a workflow.  In the first step it sets a variable called language.  WorkflowData data = workItem.getWorkflow().getWorkflowData(); data.getMetaDataMap().put("language", "English"); workflowSession.updateWorkflowData(workItem.get...
I need to add a property to a page on page activation. I have decided to set up a workflow process that does the same before an activation step. My custom workflow step (the one before the activation step) makes use of an ECMA script to achieve this....
I have an ExtJS RichText (CQ5 Component that has been extended from the CQ.form.rte).    There are rtePlugins that are supported using the following, as anyone would:   credit = new CQ.form.RichText({     height       : 100,     width        : 400,...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.