Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts Users »

ActionForm boolean properties - Newbie question

Renato Romano

2004-01-20

Replies:

I have some trouble using a boolean (the primitive type) property inside
an ActionForm. What I'd like to know is if Struts looks for a
getProperty method or isProperty method... It seems Struts always calls
the getProperty, but as I know it should call the isProperty!!
Is the behavior with a Boolean (Object type) property the same ?
Thanks everyone
Renato

____________________________________
Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA

e-mail: r.romano@(protected)
Tel.:  010 2712603
_____________________________________




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@(protected)
For additional commands, e-mail: struts-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.