cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: CForms requiered field message
Date Wed, 29 Aug 2007 09:21:40 GMT
Markus Kratz pisze:
> Hi,
> 
> is there any possibility to change the CForms message key for required
> fields from "general.field-required" to a key depending on the widget,
> something like "mywidget.field-required"?
> After the translation I need messages like "Please fill out field a",
> "Please fill out field b" and so on.

What about using custom XSLT stylesheet that will generate i18n keys? You could apply it before
forms styling stylesheets get applied.

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message