On 11/1/05, Keith Sader <[EMAIL PROTECTED]> wrote:
> Sorry, I was reading off of the cuff - my mistake. Let me look at this
> again...
>
> On 11/1/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
> > Hi Keith,
> > Thanks for responding.
> > However, How will this solve my problem? The problem is that the control is
> > not entering into the loop in the first place. And you have put additional
> > statements in the loop body. I have anyways tried it, and it did not work.
> > Regards,
<snip/>
> It looks like your items should be
> items='${studentEnrollentForm.studentEnrollment.paymentDetails}'
>
> I don't work with DynaActionFroms normally, so this may be something
> you have to look up from JSTL documentation.
<snip/>
Or Struts documentation ;-)
DynaActionForms store a Map of property values, with an aptly named
getter, which gives us this expression:
${studentEnrollentForm.map.studentEnrollment.paymentDetails}
There has been talk about eliminating the need to access the Map first
to get to the property value.
-Rahul
>
> And since JSTL is fairly new, you might try using the tried and true
> <c:out value='${studentEnrollmentForm}'/> method of inspecting what's
> happening with your .jsp.
>
> > > > <%
> > > > DynaActionForm dynaForm = (DynaActionForm) request.getAttribute
> > > > ("studentEnrollmentForm");
> > > > StudentEnrollment se = (StudentEnrollment) dynaForm.get
> > > > ("studentEnrollment");
>
>
> hth,
> --
> Keith Sader
> [EMAIL PROTECTED]
> http://www.saderfamily.org/roller/page/ksader
> http://www.jroller.com/page/certifieddanger
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]