Just a hunch-- have you tried specifying a 'name' for the nested:iterate
tag?  

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:Jeff_Mychasiw@;nlgroup.ca]
Sent: Monday, October 28, 2002 8:03 AM
To: [EMAIL PROTECTED]
Subject: [Nested Tags] Nested vs logic tags..


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>


but had to change the equals to:
     <logic:equal name="listIndex" value="0">
        ....
      </logic:equal>

------------------------------------------------
2002-10-28 09:52:49 jsp: init
2002-10-28 09:52:49 ApplicationDispatcher[/ar] Servlet.service() for servlet
jsp threw exception
java.lang.NullPointerException
      at
org.apache.struts.taglib.nested.NestedPropertyHelper.getNestedProperty(Neste
dPropertyHelper.java:173)
      at
org.apache.struts.taglib.nested.NestedPropertyHelper.getNestedProperty(Neste
dPropertyHelper.java:195)
      at
org.apache.struts.taglib.nested.NestedPropertyHelper.setNestedProperties(Nes
tedPropertyHelper.java:242)
      at
org.apache.struts.taglib.nested.logic.NestedEqualTag.doStartTag(NestedEqualT
ag.java:91)
      at
org.apache.jsp.CustomerMeshMainForm$jsp._jspService(CustomerMeshMainForm$jsp
.java:475)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)


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