configuring buttons in my form

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

configuring buttons in my form

ravenclaw
Hello

I was trying to change the name on the "save" button on my forms using this in my properties-local.xml
<property as="xs:string"  name="oxf.fr.resource.*.*.en.detail.labels.save-document" value="newName"/>
as shown here
http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner 
but it does not work.

Previously I made this change, to have just one save button. that worked fine.
<property as="xs:string"  name="oxf.fr.detail.buttons.*.*" value="save"/>

(as you can see I changed the "submit-document" to "save-document" in the property code above, I also tried to change that back, and use the "submit" button instead of "save" button to see if that was the problem but it made no difference)


Is this my problem?
http://orbeon-forms-ops-users.24843.n4.nabble.com/Is-there-a-fault-in-documentation-or-me-td2254153.html
I am using Orbeon Forms 3.8.0.201005141841 PE (I cant see that there is a newer version on the download site)

please advice

Reply | Threaded
Open this post in threaded view
|

Re: configuring buttons in my form

Alessandro  Vernet
Administrator
I just tried this, it is working, but you need to restart Tomcat after
you do this change. This is because Form Runner is caching the output
of the service that returns the resources, to improve performance.

If you are changing resources a lot at some phase during development,
it might be annoying to have to restart Tomcat over and over again. To
avoid this, temporarily edit
resources/apps/fr/i18n/resources-model.xml and remove the
xxforms:readonly="true" xxforms:cache="true" attributes on the
<xforms:submission id="fr-get-fr-resources">.

Alex

On Mon, Jul 26, 2010 at 4:54 AM, ravenclaw <[hidden email]> wrote:

>
> Hello
>
> I was trying to change the name on the "save" button on my forms using this
> in my properties-local.xml
> <property as="xs:string"
> name="oxf.fr.resource.*.*.en.detail.labels.save-document" value="newName"/>
> as shown here
> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner
> but it does not work.
>
> Previously I made this change, to have just one save button. that worked
> fine.
> <property as="xs:string"  name="oxf.fr.detail.buttons.*.*" value="save"/>
>
> (as you can see I changed the "submit-document" to "save-document" in the
> property code above, I also tried to change that back, and use the "submit"
> button instead of "save" button to see if that was the problem but it made
> no difference)
>
>
> Is this my problem?
> http://orbeon-forms-ops-users.24843.n4.nabble.com/Is-there-a-fault-in-documentation-or-me-td2254153.html
> I am using Orbeon Forms 3.8.0.201005141841 PE (I cant see that there is a
> newer version on the download site)
>
> please advice
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/configuring-buttons-in-my-form-tp2302238p2302238.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet