Kudos to Jeff for the solution.  I had overlooked renaming the getter method
from isSsnOnFile() to getSsnOnFile().  Little details will kill you every
time.  Even though I'm leaving it as a boolean, I still appreciate knowing
why it bombed in the first place.

Thanks for the rest of the input, y'all.  It is all helpful to a guy who is
still pretty new at this stuff.

Hyrum

-----Original Message-----
From: Jeff Beal [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 8:54 AM
To: Struts Users Mailing List
Subject: Re: ActionForm problem

Did you change the types on both the getter and the setter methods? 
Did you keep a setter with the boolean type?  I don't remember all of
the details, but I don't think that the following is a valid bean
property:

  public String getSsnOnFile() { return ssnOnFile ? "Y" : "N"; }
  public void setSsnOnFile(String ssnOnFileString) {
     ssnOnFile = "Y".equals(ssnOnFileString);
  }
  public void setSsnOnFile(boolean newSsnOnFile) {
     ssnOnFile = newSsnOnFile;
  }


On Fri, 18 Mar 2005 08:14:06 -0700, Hyrum <[EMAIL PROTECTED]> wrote:
> 
> I would still like to know what the root problem is here, the tag thing
> aside.  Why can't the ValidatorActionForm see my value "ssnOnFile" when I
> change the type from boolean to String??  Just for future reference,
anyone
> have any ideas??
> 


-- 
Jeff Beal
Webmedx, Inc.
Pittsburgh, PA USA


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

Reply via email to