cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <b.molenk...@bizzdesign.nl>
Subject [CForms] I18n text on buttons
Date Thu, 04 Nov 2004 14:05:58 GMT
Hi all,

I want to place some I18n text on a (submit) button. The difference with
buttons is that the label of that button is placed inside the @value
attribute of the input. By default, the I18n transformer doesn't
transform these tags unless there is another tag on the input:

What would be a good method to solve this?

1. Is it a good idea to add an @i18n:attr="value" attribute on every
input tag (place this code in forms-field-styling.xsl) (Is it good
practive to have i18n stuff mixed in within those stylesheets?) 

2. Use the i18n transformer to transform the form definition *before* it
is used by the form manager.

Bart.

Mime
View raw message