On 07.01.2011 11:02, Christian Riedel wrote:

> Ah ok, now I'm with you! 

Good. :)

> I don't know the reason why you need to build the original messages
> yourself (why don't you let Tapestry build them?).

Tapestry does not support to disable client validation for some submit
buttons.

Imagine a page with a list of rows and a button to add more rows.  I do
not want the Tapestry validation to trigger every time a row is inserted
for the rest of the form, so I have to do validation myself when the
correct submit button is selected. For this I am needing the validation
messages.

> However, if you contribute the ValidationMessages to
> ComponentMessagesSource they're kind of cached twice in the system. I
> looked up the path, try this:
> 
> String path = "org/apache/tapestry5/internal/ValidationMessages.properties"

Thank you very much, I will try it.

Regards
 Stephan

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

Reply via email to