I should've been more specific. I'm using Struts 1.0.2.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 6:24 AM
To: Struts Users Mailing List
Subject: RE: No getter error



I believe these issues are centered around the switch to using the Jakarta
Commons bean utilities that occured (I believe) with the Struts 1.1b.

The code is in the package org.apache.commons.beanutils - the javadoc is
on-line in the Jakarte Commons area.

Craig pulled a bunch of the bean population stuff out, made it more
generic, added a bunch of automatic type-conversions, etc. Then he put it
over in the Commons area so it can be used by a bunch of other Jakarta
subprojects.

The docs on all this are still a bit lean - but the code is solid. It makes
it simpler to have form bean properties of all different types.




"Jennings, Christofer J." <[EMAIL PROTECTED]> on 06/10/2002
09:22:10 AM

Please respond to "Struts Users Mailing List"
      <[EMAIL PROTECTED]>

To:   "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
cc:    (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:  RE: No getter error



I had this happen with the logic:equal tag. I wanted to compare a boolean
value and the documentation makes no mention of boolean conversion so I
made
my getter return a String, but had two setters: one receiving a boolean and
the other a String. My gut feeling is that the two setters somehow confused
the bean. The fix was to only have one setter receiving a boolean, and one
getter returning a boolean. The bean _does_ handle the conversion perfectly
... but I still can't seem to find it in the docs (sigh).


Hope this is of some use,
boz

-----Original Message-----
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1:09 PM
To: Struts-User (E-mail)
Subject: No getter error



  What would cause a 'no getter in bean' error when the said form bean
_does_ indeed have a (public) getter for the named property?

Sri

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








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

Reply via email to