> I did not have any nested tags in the top page.... so I added one and
> now my code looks like this:
> 
> (Your example referenced <nested:property> and I assume you meant
> <nested:nest>)

That'd be the one... :)


> I am still getting the null reference on the first nested tag in the
> included jsp.  I am using Struts 1.1B2.

1.1 is what we need.


> I must admit to not totally understanding your explanation of what
> property to reference in the nested parent tag

Doesn't really matter, but a parent nested tag (root, iterate, nest etc)
put the reference to the root bean and the current nested property into
the request object. This is so included pages can get a reference to the
root bean the the correct nested property by fetching it back out of the
request object.


> -- I am referencing my
> form object (which is, in fact, the parent I want).  I am also still a
> bit confused on whether I need a nested root tag or not.

This is where I have to apologise. You'll need an empty (no properties
are set at all) <nested:root> tag in the included page, this will then
look to the request object for the bean/property reference.

Sorry about the hassle.

If you have any trouble, rather than wait for replies from the list to
run over the start of the tutorial I wrote about nesting through
includes to make a tree structure...


http://www.keyboardmonkey.com/pilotlight

...and click on the first link in the "JSP Reursion & TREES" tutorial.


Arron.


--
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