> Just a hunch-- have you tried specifying a 'name' for the nested:iterate > tag?
The nested tags don't need it, and if it's provided they will ignore it. Why?... because all the tags are working off the same bean structure, and this is defined for us by the form tag. The nested tags will fetch this bean. Because of this, all the nested tags within the form bean don't need the name property to be set. > From: [EMAIL PROTECTED] [mailto:Jeff_Mychasiw@;nlgroup.ca] > Greetings: > I am almost exclusively using nested tags. > Every now and then I run into a problem and have to switch over the > corresponding logic or bean version. > > Can anyony tell me if this is a bug? I am using 1.1b2 > > I tried this with nested:equal but got a NullPointerException (listed > below) > <nested:iterate property="meshList" indexId="listIndex"> > <tr> > <td> > <%-- Show this only for the first item--%> > <nested:equal name="listIndex" value="0"> > .... > </nested:equal> Try remove the name property (for reasons explained above), and try aiming the property property at it. It looks like you're trying to get the current object of the iterate tag, so this may work... <nested:iterate property="meshList"> <tr> <td> <nested:equal property="this/" value="0"> [...] </nested:equal> </td> </tr> </nested:iterate> ...the "this/" or "./" simply refers to the current parent object level just like using "./" on a command line. If it's not the current object you're after, point the property at one of it's relative properties. See if that works. Arron. -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

