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=...
I have a component in which I am able to get some basic information about its parent resource.  var parent = granite.resource.getParent();  I am now trying to get the property "path" (parent.path) within the JavaScript that accompanies my com...
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"...
I have a use case (below) where I need to mount (if thats the correct term) a Vue.js component template that was inserted into the DOM via jQuery, I can setup a Mutation Observer or react to certain events that are triggered when the mutation happens...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.