struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Välimaa" <valimaa.ju...@gmail.com>
Subject Re: S2: Using static methods in validator configuration
Date Mon, 15 Sep 2008 10:57:29 GMT
Hi Lukasz,
It doesn't work, the method is still not called. It works for you?

Jukka

On Mon, Sep 15, 2008 at 12:25 PM, Lukasz Lenart <
lukasz.lenart@googlemail.com> wrote:

> Hi,
>
> Try like this:
>
> <validator type="expression">
>    <param name="expression">${@myapp.webapp.util.MyClass@retTrue
> ()}</param>
>    <message key="error.key />
> </validator>
>
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message