Overriding toolbox controls in the builder

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

Overriding toolbox controls in the builder

bwallis42
Should I be able to put the following in my properties-local.xml file to exclude the us-phone and us-state controls from the builder? I've tried it and it doesn't seem to have any effect suggesting that the property is re-defined later and overrides this value.


    <property as="xs:string" name="oxf.fb.toolbox.group.typed.uri.*.*">
        oxf:/forms/orbeon/builder/xbl/typed-controls.xbl
        oxf:/xbl/orbeon/number/number.xbl
        oxf:/xbl/orbeon/currency/currency.xbl
    </property>
Reply | Threaded
Open this post in threaded view
|

Re: Overriding toolbox controls in the builder

Alessandro  Vernet
Administrator
Hi Brian,

Yes, exactly. Edit your properties-local.xml, and just click on the green reload button, to the right of cut/copy/paste. No need to even reload the Form Builder, or restart Tomcat. (However, you do need to click that icon, as the content of the toolbar is cached for performance reasons.)

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

Re: Overriding toolbox controls in the builder

bwallis42
Thanks, it was the caching that threw me. Working now.
Reply | Threaded
Open this post in threaded view
|

Re: Overriding toolbox controls in the builder

Alessandro  Vernet
Administrator
Brian, I'm glad that did it. And I agree that the way caching happens in this case is a bit unusual.

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