Hello!
I've got a question regarding the use of messages from property files
inside a form field validator. My TextField does look like this:
<input type="text"
jwcid="@TextField"
value="ognl:foo"
displayName="FooField"
validators="validators:required[Please fill in a {0}.]"/>
The message that is shown in case of an error is inside the bracket:
[Please fill in {0}.]
How would I localize this message and put the text into a property file?
I've tried to use something like the following, but it didn't work as I
had wished:
[message:error1]
with a properties file
error=Please fill in {0}.
On my web page the error message "message:error1" was shown...
Thanks in advance,
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]