Skip to content

Commit

Permalink
FORMS-16858: Support for custom XFA styles
Browse files Browse the repository at this point in the history
  • Loading branch information
s1mahanty committed Jan 6, 2025
1 parent c7a55a5 commit 206906d
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"FT_SITES-19631",
"FT_FORMS-14255",
"FT_FORMS-14068",
"FT_FORMS-16351"
"FT_FORMS-16351",
"FT_FORMS-2447"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,25 @@
ignoreData="{Boolean}true"
name="dorExclusion@TypeHint"
value="Boolean"/>
<dorFieldStyling
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
emptyText="Select styling option"
fieldLabel="Component Style"
fieldDescription="These styles are derived from the Document of Record template (XDP) associated with this adaptive form."
forceSelection="{Boolean}true"
name="./dorFieldStyling">
<granite:rendercondition
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/renderconditions/featuretoggle"
toggleName="FT_FORMS-2447"/>
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="fd/af/dor/datasource/fieldstyling"/>
<granite:data
jcr:primaryType="nt:unstructured"
af.listeners.onload="guidelib.touchlib.editLayer.dialogUtils.selectDefaultDoRFieldStyling()"/>
</dorFieldStyling>
<dorColspan
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/numberfield"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,25 @@
</table>
</items>
</dorLayoutType>
<dorFieldStyling
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
emptyText="Select styling option"
fieldLabel="Component Style"
fieldDescription="These styles are derived from the Document of Record template (XDP) associated with this adaptive form."
forceSelection="{Boolean}true"
name="./dorFieldStyling">
<granite:rendercondition
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/renderconditions/featuretoggle"
toggleName="FT_FORMS-2447"/>
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="fd/af/dor/datasource/fieldstyling"/>
<granite:data
jcr:primaryType="nt:unstructured"
af.listeners.onload="guidelib.touchlib.editLayer.dialogUtils.selectDefaultDoRFieldStyling()"/>
</dorFieldStyling>
<dorNumCols
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/autocomplete"
Expand Down

0 comments on commit 206906d

Please sign in to comment.