struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Takhar <sandeep_tak...@yahoo.com>
Subject Re: DynaValidatorForm
Date Wed, 16 Jul 2003 19:00:35 GMT
I think there is a map that you need to access:

addForm.map.NAME

sandeep
--- Sloan Seaman <sloan@sgi.net> wrote:
> Why when I do a :
> <bean:write name="addForm" property="NAME"/>
> 
> It works fine.
> 
> But if I do a 
> <c:out value="${addForm.NAME}"/>
> or
> <c:out value="${sessionScope.addForm.NAME}"/>
> 
> I get:
> [ServletException in:/app/promoFlight/add_body.jsp]
> An error occurred while evaluating custom action
> attribute "value" with value
> "${sessionScope.addForm.NAME}": Unable to find a
> value for "NAME" in object of class
> "org.apache.struts.validator.DynaValidatorForm"
> using operator "." (null)' 
> 
> I thought they were equivilant...
> 
> --
> Sloan
> 
> 
>
________________________________________________________________________
> This email has been scanned for all viruses by the
> MessageLabs Email
> Security System. For more information on a proactive
> email security
> service working around the clock, around the globe,
> visit
> http://www.messagelabs.com
>
________________________________________________________________________


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message