Changing the labels of buttons

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

Changing the labels of buttons

Praveena
Hi,

     How to change the labels of buttons in the forms created using form builder.
     
     <property as="xs:string"  name="oxf.fr.resource.*.*.en.detail.buttons.send"
                          value="&lt; i class="icon-arrow-right"/&gt; Send"/>

      Tried using this in properties-local.xml, but gives an error that (Element type "property" must be followed by either attribute specifications, ">" or "/>")


Thanks
Praveena
Reply | Threaded
Open this post in threaded view
|

Re: Changing the labels of buttons

Alessandro  Vernet
Administrator
Hi Praveena,

This is because you have a quote inside the value attribute. Try:

<property as="xs:string"  name="oxf.fr.resource.*.*.en.detail.buttons.send"
                          value='&lt; i class="icon-arrow-right"/&gt; Send'/>

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Changing the labels of buttons

Praveena
Hi Alex,

          Thanks that works.. :)
Reply | Threaded
Open this post in threaded view
|

Re: Changing the labels of buttons

Alessandro  Vernet
Administrator
Praveena, I am glad it works, and thanks for the update.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet