Thanks, Daniel, but I made a quick workaround by adding a "getActive()" function to my 
class and delegating it to "isActive()".

digging through all the source to find the error would be time consuming as I am not 
familiar with the source.  I am using generated code by Karapan Sapi (from 
www.javanovic.com).  It creates everything in the MVC pattern including DAO for 
persistance, model objects, all struts Actions, Forms, and config files.

The generator is open source, but not in active development.  I have fixed a number of 
template bugs myself.  I included a simple "get" method for each of my boolean "is" 
methods and the entire thing works fine now.  Anyone interested in this generator 
should email me for bug fixes.

-----Original Message-----
From: Daniel A. Torrey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 1:03 PM
To: Struts Users Mailing List
Subject: Re: html:radio 'property' doesn't work with 'isBoolean()' type
method call?


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" <[EMAIL PROTECTED]>:

> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to