struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Raley <jb_ra...@mindspring.com>
Subject Re: ArrayIndexOutOfBoundsException while using <logic:iterate>
Date Sun, 01 Sep 2002 16:39:12 GMT
Hi Shashi,

Where does the page generation stop?  I don't think logic:iterate itself 
will walk off the end of a list (and even if it did that would throw 
IndexOutOfBounds, not ArrayIndexOutOfBounds).  It might be thrown from 
some other code.

John
Shashikiran M wrote:

>Hi All,
>
>Has any one faced with "ArrayIndexOutOfBoundsException" while using
>nested <logic:iterate> tags?
>Presently my implementation is as follows:
>
><logic:iterate id="ambiguityDet" name="OrderEntryFormBean"
>property="ambiguityList"
>type="com.tycoelectronics.usosp.order.util.AmbiguityDetail" >
>
>	<logic:iterate id="errMsg" name="ambiguityDet" property="errors"
>type="java.lang.String">
>		{... my code to display errors in id="errMsg" ...}
>            </logic:iterate>
>
>            <logic:iterate id="partSearchResult" name="ambiguityDet"
>property="partList"
>type="com.tycoelectronics.usosp.part.util.PartSearchResult">
>		{... my code to display data in id="partSearchResult"
>...}
>            </logic:iterate>
>
></logic:iterate>
>
>The properties "ambiguityList", "errors" and "partList" are ArrayLists.
>
>Please let me know your experience with <logic:iterate>.
>
>Thanks in advance.
>
>Regards,
>Shashi.
>
>--
>To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
>
>
>  
>


-- 
Check it out: Map -> JavaBean
http://dynclass.sourceforge.net/




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