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 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,...
I want to add a CSS definition and a CSS Class to the field "myBookmark" (see below). Any suggestions?  (This tab will occur when opening the page properties.)  <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:c...
I have no idea how this happened, but clicking Edit in design mode for par  (text component) generates a script error in widget.js. All other components work fine in when you click to edit them.  Here are console dumps of the errors:  Firefox: Error:...
I'm new to AEM.  I'm working on a CQ5 scaffolding form. Several of the fields are marked with allowBlank=false which prevents the author from updating the form until they're dealt with.  The problem is that the fields are scattered throug...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.