xforms - How to create a grouped XBL control -
i trying create xbl control groups xform date, drop down , text box in orbeon following code snippet:
<xbl:binding id="fb-generalform" element="fr|generalform"> <metadata xmlns="http://orbeon.org/oxf/xml/form-builder"> <display-name lang="en">general form</display-name> <display-name lang="fr">bouton navigateur</display-name> <icon lang="en"> <small-icon>/forms/orbeon/builder/images/button.png</small-icon> <large-icon>/forms/orbeon/builder/images/button.png</large-icon> </icon> <datatype>xs:string</datatype> <template> <xforms:select id="" appearance="xxforms:tree" ref="" xmlns=""> <xforms:label ref=""/> <xforms:hint ref=""/> <xforms:help ref=""/> <xforms:alert ref="$fr-resources/detail/labels/alert"/> <xforms:itemset nodeset=""> <xforms:label ref="label"/> <xforms:value ref="value"/> </xforms:itemset> </xforms:select> </template> </metadata> </xbl:binding>
it works 1 control when try add more controls in template, not reflect changes on screen. displays 1 control on ui.
can please guide me how can make grouped xbl control?
-thanks
the issue implementing component inside metadata/template
. instead, want put inside <template>
how component used. is: if writing xforms hand (not using form builder), , use component, like? instead, implementation of component goes <xbl:template>
, missing in code.
a simple example might find inspiration date picker, can see source code.
Comments
Post a Comment