Just write it out:
<bean:write name="theFormName" property="myProperty"/>
or save it as a scripting variable
<bean:define id="myvalue">
<bean:write name="theFormName" property="myProperty"/>
</bean:define>
<%=myvalue%>
--
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org
----- Original Message -----
From: "Graham Leggett" <minfrin@sharp.fm>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Friday, May 23, 2003 6:31 AM
Subject: Using a DynaActionForm in a bean:define tag
> Hi all,
>
> I know that I can use bean:define to extract a property from an
> ActionForm, where ActionForm is of the form actionForm.getFoo().
>
> How do I extract a property from a DynaActionForm where DynaActionForm
> is of the form dynaActionForm.get("foo")?
>
> I've trawled docs, but have not found where this is documented.
>
> Regards,
> Graham
> --
> -----------------------------------------
> minfrin@sharp.fm "There's a moon
> over Bourbon Street
> tonight..."
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
|