just ran into this yesterday.  From what i can tell, the nested tags NEED
the <html:form> tags on that very page, or else it cant seem to resolve the
form object.  If anyone knows a way around this, i'd like to hear it as this
seems to defeat the purpose of templating...

try putting the form tags just on that included page and see if you get the
errors.

dz

-----Original Message-----
From: Chris Sargent [mailto:csargent@;aerisinc.com]
Sent: Thursday, November 14, 2002 4:07 PM
To: Struts Mail List
Subject: nested:iterate in an included page


I am having trouble using the nested:iterate tag in a page that I am
including using jsp:include.  I am probably doing something silly, but
could someone provide some help?  My main page looks like this:

   ...

   <html:form action="/Time/SaveTimesheet" styleId="GridForm">
   ...
   <jsp:include page="TimesheetGrid1View.jsp" />
   ...

And the included page looks like this:

   <nested:root name="timesheetForm" />
   ....
   <nested:iterate indexId="index" id="entry"
property="timesheet.line[0].entry" type="TimesheetLineEntry">
    ....

I get a null ref error on the nested:iterate tag in the included page.

Any help is much appreciated!

Chris


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to