I believe the correct syntax is:

<var>
  <var-name>test</var-name>
  <var-value>(*this* != null)</var-value>
</var>

But why are you doing this? Such a simple validation can be
accomplished with the "required" validator.

Paul

On Mon, Jul 13, 2009 at 11:20 AM, Lukasz
Lenart<lukasz.len...@googlemail.com> wrote:
> 2009/7/13 Odelya YomTov <ode...@jpost.com>:
>> But I don't see that it works! Why?
>
> Did you try like this?
>
> <var-value>data.category != \'empty\'</var-value>
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
> http://dailylog.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

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

Reply via email to