Just curious, is your boolean getter autogenerated? It might be set up as

isSsnOnFile

which will work fine for booleans, but when you change to String it needs to find getSsnOnFile. My guess is maybe you changed the type but didn't change the syntax of the getter?

Hyrum wrote the following on 3/18/2005 10:14 AM:
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??

-----Original Message-----
From: Hyrum [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 12:56 PM
To: user@struts.apache.org
Subject: ActionForm problem


I have successfully populated a jsp with items from a ValidatorActionForm.
One of the properties is a boolean, and it is printing the word "true" on my
page, where I want a 'Y' or 'N'.  So I changed the ValidatorForm so that the
property is a string.  Now I am getting this error:



An error occurred while evaluating custom action attribute "value" with
value "${manageFilerForm.ssnOnFile}": Unable to find a value for "ssnOnFile"
in object of class "com.trmarket.tax.forms.ManageFilerForm" using operator
"." (null)



I haven't changed the name of the property, just the type.  Does anyone know
what is causing this error?  Any help would be much appreciated.  Thanx.



Hyrum Ward

Software Developer

T&R Tax Services





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



--
Rick

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



Reply via email to