Wendy you're right! <c:out value="${SubscriptionProcessForm.map.country}"/>
Thanks. -----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, November 30, 2006 2:51 PM To: Struts Users Mailing List Subject: Re: Retrieving DynaValidatorForm values with JSTL On 11/30/06, Edward Song <[EMAIL PROTECTED]> wrote: > In JSP pages using the Struts Taglib, attributes of DynaActionForm > objects can be referenced just like ordinary ActionForm objects. > Wherever a Struts tag refers to a "property", the tags will > automatically use the DynaActionForm properties just like those of a conventional JavaBean. > > So the code becomes > > <bean:write scope="session" name="SubscriptionProcessForm" > property="country"/> No... if you're using JSTL, don't go back to <bean:write>. I meant this part: The DynaActionForm properties must be accessed through a slightly different syntax. The JSTL EL syntax for referencing a property of an ActionForm goes like this: ${formbean.prop} The syntax for referencing a property of a DynaActionForm would be: ${dynabean.map.prop} -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]