AEM:: dropdown select values and checkbox not being saved | Community
Skip to main content
New Participant
October 16, 2015
Solved

AEM:: dropdown select values and checkbox not being saved

  • October 16, 2015
  • 11 replies
  • 3433 views

I have added a new tab to page properties. The tab consists of a multifieldpanel (acs-aem-commons bundle). I am trying to add a textfield, a dropdown and a number of checkboxes. The issue is that when I select the value under dropdown and select the checkboxes, everything looks fine but when I open the Page properties again it doesn't look like the values have been saved. Here is the code

<tab_myuhc_suppression xmlns:social="http://www.adobe.com/social/1.0" jcr:primaryType="cq:Panel" title="Suppression"> <items jcr:primaryType="cq:WidgetCollection"> <idsuppress jcr:primaryType="cq:Widget" fieldDescription="Press + to add more" fieldLabel="Configure ID card suppress" name="./idsuppress" width="1000" xtype="multifield"> <fieldConfig jcr:primaryType="cq:Widget" name="./fieldConfig" xtype="multifieldpanel"> <items jcr:primaryType="cq:WidgetCollection"> <providedValue jcr:primaryType="cq:Widget" allowBlank="false" fieldDescription="Please provide the value for option selected above" fieldLabel="Provide value here" key="providedValue" labelStyle="width:150px" name="./providedValue" xtype="textfield"/> <selectList jcr:primaryType="cq:Widget" defaultValue="0" fieldLabel="Business Rules" name="./suppress" type="select" xtype="selection"> <options jcr:primaryType="cq:WidgetCollection"> <one jcr:primaryType="nt:unstructured" text="Vanity URL" value="Vanity"/> <two jcr:primaryType="nt:unstructured" text="PV/RC" value="PVRC"/> <three jcr:primaryType="nt:unstructured" text="SA/OI" value="SAOI"/> <four jcr:primaryType="nt:unstructured" text="Market Type" value="Market"/> <five jcr:primaryType="nt:unstructured" text="Product Code" value="Product"/> <six jcr:primaryType="nt:unstructured" text="Div Code" value="Div"/> <seven jcr:primaryType="nt:unstructured" text="State of Issue" value="State"/> <eight jcr:primaryType="nt:unstructured" text="Government Program Code" value="Government"/> </options> </selectList> <suppressOptions jcr:primaryType="cq:Widget" title="Selection Options" xtype="dialogfieldset"> <items jcr:primaryType="cq:WidgetCollection"> <whole jcr:primaryType="cq:Widget" fieldLabel="Suppress View ID Card Functionality" labelStyle="width:240px" name="./whole" type="checkbox" width="auto" xtype="selection"/> <order jcr:primaryType="cq:Widget" fieldLabel="Suppress Order ID card Functionality" labelStyle="width:239px" name="./order" type="checkbox" width="auto" xtype="selection"/> <view jcr:primaryType="cq:Widget" fieldLabel="Suppress View ID Card Functionality" labelStyle="width:238px" name="./view" type="checkbox" width="auto" xtype="selection"/> </items> </suppressOptions> </items> </fieldConfig> </idsuppress> </items> </tab_myuhc_suppression>
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Did you overlay the page props dialog - as discussed here:

https://helpx.adobe.com/experience-manager/kb/CQ5PageProps.html 

Also - i modified my first comment - i was thinking the use case of widgets on the web page. 

11 replies

New Participant
October 16, 2015

smacdonald2008 wrote...

Can you please package you your apps example (with the overlay page props as talked about in the KB above) into a package and send to scottm@adobe.com. Also tell me what version you are using. I want to look at your code to get to the bottom of this. 

 

I have sent the package to you. I am using AEM 6.0 and using the version 1.9.4 of the acs-aem-commons package.