Thank you Checko!
Elegant or not - it works! And this solution OK for me.

Maybe I have misunderstood - I thought the error message would come up
automatically next to the input field (instead of the **).

Thanks again,
Malin

On 7/31/06, Checko <[EMAIL PROTECTED]> wrote:


My pages with forms and validation always contain something like this
(once
for the whole form):

<span jwcid="@If" condition="ognl:components.myForm.delegate.hasErrors">
  <span jwcid="@Insert" value="ognl:components.myForm.delegate.firstError
">
Error message </span>
</span>

It might not be the most elegant solution, but it displays the validation
messages (plus ** for the problematic fields).


Malin Ljungh wrote:
>
> Hi all,
>
> I'm struggeling with validors. No matter what I do I just get the
default
> **
> as message.
> I try to write it like this:
> validators="validators:required[Please enter your name]"
>
> but I just get the default ** :(
> I have also writte my own validators and they work - but not the custom
> messages ...?
>
> What is it that I have missed?
>
> Malin
>
>
--
View this message in context:
http://www.nabble.com/Messages-on-Validator-tf2024309.html#a5581713
Sent from the Tapestry - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to