Re: Override numericformat error message

2011-09-01 Thread nillehammer
I have surfed through T5 source code and found out that the message You must
provide an integer value for %s. is defined in
/org/apache/tapestry5/internal/ValidationMessages.properties having the key
integer-format-exception so I tried to add such a key to my
app.properties, without success though.

-
http://www.winfonet.eu
--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Override-numericformat-error-message-tp4755753p4757740.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Override numericformat error message

2011-09-01 Thread nillehammer
Sorry for posting too quick. In fact after a reload of my app it worked.

-
http://www.winfonet.eu
--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Override-numericformat-error-message-tp4755753p4757748.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Override numericformat error message

2011-08-31 Thread nillehammer
Hi List,

I would like to override the error message for numericformat. I.e. the error
message that will be displayed, if a textfield is bound to an Integer value
and the user types in letters.

I've tried to provide a message numericformat-message. That unsupprisingly
did not work, as numericformat is not a validator like e.g. max. How can I
override the message?

Thanks in advance, nillehammer

-
http://www.winfonet.eu
--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Override-numericformat-error-message-tp4755753p4755753.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org