struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff_Mycha...@nlgroup.ca
Subject [Nested Tags] Nested vs logic tags..
Date Mon, 28 Oct 2002 16:02:42 GMT
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(NestedPropertyHelper.java:173)
      at org.apache.struts.taglib.nested.NestedPropertyHelper.getNestedProperty(NestedPropertyHelper.java:195)
      at org.apache.struts.taglib.nested.NestedPropertyHelper.setNestedProperties(NestedPropertyHelper.java:242)
      at org.apache.struts.taglib.nested.logic.NestedEqualTag.doStartTag(NestedEqualTag.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>


Mime
View raw message