Skip to content

Instantly share code, notes, and snippets.

@dfparker2002
Forked from markdaugherty/dialog.xml
Created June 4, 2013 02:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dfparker2002/5703095 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="cq:Dialog"
xtype="dialog">
<listeners jcr:primaryType="nt:unstructured"
loadcontent="function(dialog) {
// call servlet or perform arbitrary javascript functions
dialog.getField('./operator').disable();
}" />
<items jcr:primaryType="cq:WidgetCollection">
<tabs jcr:primaryType="cq:TabPanel">
<items jcr:primaryType="cq:WidgetCollection">
<tab jcr:primaryType="cq:Widget" title="Profile Property" xtype="panel">
<items jcr:primaryType="cq:WidgetCollection">
<operator jcr:primaryType="cq:Widget" fieldLabel="Property Name" name="./operator"
type="select" xtype="selection" optionsProvider="getPropertyNameOptions"
allowBlank="{Boolean}false" />
</items>
</tab>
</items>
</tabs>
</items>
</jcr:root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment