AEM 6.1 : Created a new Touch UI workflow Dialog , with following fields
- Task Name --- granite/ui/components/foundation/form/textfield
- userType -- granite/ui/components/foundation/form/select
- Users -- granite/ui/components/foundation/form/multifields ---> user -- granite/ui/components/foundation/form/select
- Manager -- granite/ui/components/foundation/form/select
Below is the dialog xml
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="nt:unstructured"
jcr:title="Legal Dialog"
sling:resourceType="cq/gui/components/authoring/dialog">
<content
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/container">
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/container">
<items jcr:primaryType="nt:unstructured">
<name
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
fieldLabel="Task Name"
name="./argTaskName"/>
<userType
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/select"
fieldLabel="User Group"
name="./argUserType">
<items jcr:primaryType="nt:unstructured">
<o1
jcr:primaryType="nt:unstructured"
qtip="Legal Users"
text="Legal Users"
value="legalUsers"/>
<o2
jcr:primaryType="nt:unstructured"
qtip=" Manager"
text=" Manager"
value="manager"/>
</items>
</userType>
<legalUsers
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/multifield"
fieldDescription="Select users to assign the task"
fieldLabel="Legal Users">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/select"
name="./argTaskOwners">
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="/bin/.../legalUsers"/>
</field>
</legalUsers>
<manager
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/select"
fieldLabel="Traffic Manager"
name="./argManager">
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="/bin/.../legalUsers"/>
</manager>
</items>
</column>
</items>
</content>
</jcr:root>
When clicking on "Add Field" button in the "multi field" widget, it's not loading select box,but throwing following exception/warning in console.
"An instance of Select is already attached to the specified target element. Future versions of CoralUI will throw an exception at this point."
I tried adding text box in the multi field, resulting in same problem, Does the workflow dialog support multi field widget ?
[img]Touch_UI_Dialog.png[/img]