struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emerson Cargnin - SICREDI Servi├žos <emers...@sicredi.com.br>
Subject Re: Arron Bates, Monkey Example: List of BananaLists
Date Mon, 15 Jul 2002 21:43:08 GMT
could you point the url of this tutorial???

hemant wrote:

> First of all, the tutorial@ keyboardmonkey.com was extremely helpful.
> Arron, Thank You very much.
> 
> 
> I have a situation where I have a Collection of  banana Lists.
> 
> 
> <nested:iterate id="crateOfBanaLists" name="rangesform"
> property="crates"  type="java.util.Collection">
> 
>   <nested:iterate id="bananaList">
>      <nested:write name="bananaList"  property="bananaType"/> -
> <nested:write name="brand" property="description"/>
>      ................
>      .............
> 
> 
> Does the above mean it is trying to do a lookup on a
> crateOfBanaLists.bananaList
> 
> I get a NullPointerException. What could possibly be wrong. I get a
> feeling it is not that complicated. Iam missing some minute detail
> somewhere. Is it because I have the id? and that bananaList is null?
> 
> All I want to do is to iterate on the bananaList in the Crate of
> BananaLists. The above code works for logic:iterate .
> 
> 
> Regards and Thanks in advance
> hemant
> 
> java.lang.NullPointerException
> 	java.lang.Throwable()
> 	java.lang.Exception()
> 	java.lang.RuntimeException()
> 	java.lang.NullPointerException()
> 	java.lang.String
> org.apache.struts.taglib.nested.NestedPropertyHelper.getNestedProperty(j
> ava.lang.String, javax.servlet.jsp.tagext.Tag)
> 	java.lang.String
> org.apache.struts.taglib.nested.NestedPropertyHelper.getNestedProperty(j
> ava.lang.String, javax.servlet.jsp.tagext.Tag)
> 	java.lang.String
> org.apache.struts.taglib.nested.NestedPropertyHelper.getNestedProperty(o
> rg.apache.struts.taglib.nested.NestedPropertySupport)
> 	void
> org.apache.struts.taglib.nested.NestedPropertyHelper.setNestedProperties
> (org.apache.struts.taglib.nested.NestedPropertySupport)
> 	int
> org.apache.struts.taglib.nested.logic.NestedIterateTag.doStartTag()
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


-- 
Emerson Cargnin - MSA
SICREDI - Tel : 3358-4860


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