You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Turansky, Mark" <mt...@axiom-rm.com> on 2003/11/25 17:47:50 UTC

html:radio 'property' doesn't work with 'isBoolean()' type method call?

I have a simple User object with two boolean values in the class:
	locked
	active

I use the 'isLocked()' and 'isActive()' convention instead of 'getLocked()' and 'getActive()'.

Does html:radio work with 'is' instead of 'get'?  I am having page compilation problems telling me that 'getLocked' and 'getActive' cannot be resolved.

btw, I searched the archives for this question to prevent a redundant question, but Nagoya.apache.org is 1) way too slow to be useful and 2) people don't use descriptive enough subjects to be browseable.

thanks in advance,
mark

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


Re: html:radio 'property' doesn't work with 'isBoolean()' type method call?

Posted by "Daniel A. Torrey" <da...@datorrey.net>.
It's working for me, Struts 1.1 & Tomcat 4.1.29.  My method is called
"isActive()".  Can you post your JSP, User source,struts-config.xml?

-daniel

Daniel A. Torrey
daniel at datorrey dot net



Quoting "Turansky, Mark" <mt...@axiom-rm.com>:

> I have a simple User object with two boolean values in the class:
> 	locked
> 	active
> 
> I use the 'isLocked()' and 'isActive()' convention instead of 'getLocked()'
> and 'getActive()'.
> 
> Does html:radio work with 'is' instead of 'get'?  I am having page
> compilation problems telling me that 'getLocked' and 'getActive' cannot be
> resolved.
> 
> btw, I searched the archives for this question to prevent a redundant
> question, but Nagoya.apache.org is 1) way too slow to be useful and 2) people
> don't use descriptive enough subjects to be browseable.
> 
> thanks in advance,
> mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org

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