Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
How to use nested iterate...through ArrayList

How to use nested iterate...through ArrayList

2007-02-09       - By Shilpa.Nalgonda@(protected)

 Back

Hi I am trying to nested:iterate fro looping through am hashMap of
Hashmap of ArratList<UserDefinedObject>

But I get property "cnt" cannot be found error. When looping through the
object of arrayList, I was able to loop through the forst two hashmaps &
print out their keys, but printing out the values in ArrayList is a
problem.


Below Is the code.

<nested:iterate id="a4idBreakMap" name="SearchResultBean"
property="jspDisplayA4idSummaryMap" indexId="count">
      <!-- IF MAP IS NOT EMPTY, LOOP THROUGH IT -->
      <nested:notEmpty name="a4idBreakMap"
property="value">
      <nested:define name="a4idBreakMap" id="mapA4id"
property="key" />  
      <c:if test='${pageScope.mapA4id =pageScope.mainLoopA4id}'>
        <nested:iterate name="a4idBreakMap"
id="tableLevelMap" property="value">
        <!--<nested:define name="tableLevelMap"
property="value" id="loopCntId" />-->
        <tr>
           <td class="blank">&nbsp;</td>
          <td><nested:write
name="tableLevelMap" property="key" /></td>
          <nested:iterate
name="a4idBreakMap" id="cntLevelList" >
            <nested:define
name="cntLevelList" id="cntId" property="value"/>
            <td><nested:write
name="cntId" property="cnt" /></td>
          </nested:iterate>
         
        </tr>
        </nested:iterate>
        <tr><td colspan="10">&nbsp;</td></tr>
        <tr><td colspan="10">&nbsp;</td></tr>
        <tr><td colspan="10">&nbsp;</td></tr>
      </c:if>
      </nested:notEmpty>
</nested:iterate>


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.