Looking at the JSTL 1.0 specification, section 3.3, leads me to believe that
DynaActionForm "properties" can be accessed through the JSTL EL but with a
different syntax than a regular JavaBean property.

Example:
        Regular JavaBean (e.g., ActionForm) EL syntax:
                <c:out value="${form.aProperty}"/>
                <c:out value="${form.aProperty.aSubProperty}"/>
        Map (e.g., DynaActionForm) EL syntax:
                <c:out value='${form["aProperty"]}'/>
                <c:out value='${form["aProperty"].aSubProperty}'/>

If anyone has done this sort of thing I'd sure like to know how it works.
Especially how/if accessing "aSubProperty".

I'm stuck using a container that can't support JSTL and I'm also not using
Struts 1.1 yet either so I can't confirm any of this. 

<c:out value='${me["2cents"]}'/>,
boz

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 6:19 PM
To: [EMAIL PROTECTED]
Subject: RE: DynaActionForm Advantages


But are DynaActionForm's compatible with JSTL?

A discussion on taglibs-user made me think not:
http://marc.theaimsgroup.com/?l=taglibs-user&m=102433015725228&w=2

Eddie

Reply via email to