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]

Reply via email to