With your example code I'm getting an ComponentEventException saying that
"name" is read-only.
Try adding a public-modifier to your setter. That worked for me.

On Sun, Feb 22, 2009 at 3:49 PM, <inyokoyoko-deve...@yahoo.co.jp> wrote:

> Hi,
>
> When I set '@Validate' for a TextField, the setter was never called.
> It seems to be a bug.
>
> @Property( write = false )
> @Validate( "Required,MinLength=5,MaxLength=16" )
> private String name;
> void setName( String name ){      <=== not called
>    ...
>    this.name = ....
> }
>
> Thanks,
> osamuo
>
>
>
>
> ---------------------------------
> Power up the Internet with Yahoo! Toolbar.
>

Reply via email to