first call setlabel on your formcomponent with the value that you want
to show up, then in the error message template use ${label} variable.

-igor

On Mon, Jun 7, 2010 at 10:54 AM, Brian Mulholland
<blmulholl...@gmail.com> wrote:
> This is probably a stupid question, but when I set up a validation
> like required or a custom validator, I want the "label" in the message
> to reflect a value other than the Id of the component.  How can I set
> that to a value I'd prefer?
>
> Brian Mulholland
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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

Reply via email to