Editing <label> of XBL component

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Editing <label> of XBL component

Vinod Sherikar

I have created an XBL component which has a drop down control with its meta data read from static xml file. XBL component is attached to this mail.

It is now available as a drag and drop control in form builder tool box.

 

I want a default label associated with the XBL component, so I have added label as “ASA”

<fb:template>

                <my:ASA-selector>

                                <xf:label>ASA</xf:label>                                                                           

                                <xf:hint ref=""/>

                                <xf:help ref=""/>

                                <xf:alert ref=""/>

                </my:ASA-selector>

</fb:template>

 

Now default label is shown up in form builder when user drag and drop the control

 

Now if user wants to modify the label then its not possible.

The label field is editable in form builder, once we edit and save it. When we re launch the form it shows up with the default label.

How can I provide a default label as well as make it modifiable by user?

 

Thanks,

Vinod S

 

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

ASA-selector.xbl (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Editing <label> of XBL component

Erik Bruchez
Administrator
Vinod,

Form Builder doesn't support this concept of a default label, and I think it shows up when you add controls almost by chance. To make this work, changes to Form Builder are needed: Form Builder should check whether there is a default label in the template, and if so copy it to the proper location when the control is inserted. There should also be support for i18n so that labels in multiple languages can be specified. I can enter an RFE, but the bottom line is that this is not an existing feature, unfortunately.

-Erik