File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/switch Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <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"
3
+ jcr : primaryType =" cq:Component"
4
+ jcr : title =" Adaptive Form Switch"
5
+ jcr : description =" Add a switch for users to toggle between two options."
6
+ sling : resourceSuperType =" core/fd/components/form/switch/v1/switch"
7
+ cq : icon =" switch"
8
+ componentGroup =" ${appTitle} - Adaptive Form" />
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <jcr : root xmlns : jcr =" http://www.jcp.org/jcr/1.0" xmlns : nt =" http://www.jcp.org/jcr/nt/1.0" xmlns : cq =" http://www.day.com/jcr/cq/1.0"
3
+ jcr : primaryType =" nt:unstructured"
4
+ jcr : title =" Switch"
5
+ fieldType =" checkbox"
6
+ enum =" [1,0]"
7
+ enumNames =" [ON,OFF]" />
You can’t perform that action at this time.
0 commit comments