Hyrum wrote the following on 3/17/2005 2:56 PM:
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)

Could you paste the actual full JSP line that is causing the error?

Also, for what's it worth, if you are using a JSP2.0 container like Tomcat5, you might want to stick to using boolean for your property and then you can do:

${manageFilerForm.ssnOnFile?"Y":"N"}

or the old way if not jsp2.0 but using JSTL

<c:choose>
  <c:when test='${manageFilerForm.ssnOnFile}'>Y</c:when>
  <c:otherwise>N</c:otherwise>
</c:choose>


-- Rick

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



Reply via email to