Author |
Message |
Onlymovies
Yavvanam Kaatesina Bewarse Username: Onlymovies
Post Number: 2095 Registered: 01-2009 Posted From: 199.173.225.25
Rating: N/A Votes: 0 (Vote!) | Posted on Friday, April 03, 2009 - 1:00 pm: |
|
thanks blaze babai.. for your code. But I already completed this code using jsp inclue in an iterative manner. Deeni valana I need not worry about how many levels, I have to dig-in. Any way thanks for your help. It may be useful for me in some other task or if my lead doesnt approve my method, then I will use yours. Saripodoyy Bratakatam... Nercheyy Jeevinchatam.. Gamanam Gamanichatam... Payanam lo Avasaram..
|
Blazewada
Yavvanam Kaatesina Bewarse Username: Blazewada
Post Number: 1051 Registered: 08-2008 Posted From: 218.186.12.229
Rating: N/A Votes: 0 (Vote!) | Posted on Friday, April 03, 2009 - 10:38 am: |
|
OMesh, intaki aa data ni beans lo pettukuni cheste logic:iterate tag vadi print cheyochu... just have every thing in a hash-map like: Org Map: Key - Value M1 - ArrayList of of Submanagers of M1 M2 - ArrayList of of Submanagers of M2 ... example: Manager Map: M1 - S1M1,S2M1,S3M1 M2 - S1M2,S2M2, S3M2 SUbmaNager Map: S1M1 - T1S1M1 , T2S1M1 , T3S1M1 S2M1 - T1S2M1 , T2S2M1 , T3S2M1 S3M1 - T1S3M1 , T2S3M1 , T3S3M1 load SubManager Details: Map T1S1M1 - Emp Bean with properties EmpID , EMpName Key - Value T1S1M1 - 123, Gochi T2S1M1 - 007 , Muzikesh T3S1M1 - 112 , Dashesh ...... Like this form a key - Value Maps and in jsp write the : <logic:iterate name="OrgBean" property="ManagerMap" id="ManMap" scope="session"> <bean:define id="SubManMap" name="ManMap" property="SubMapMap"/> <logic:iterate name="SubMapMap" id="SManMap"> <tr> <td colspan=5><i> <c:out value="${SManMap.EmpID}"></c:out>: </i> </td> <td colspan=5><i> <c:out value="${SManMap.EmpName}"></c:out> </i></td> </tr> </logic:iterate> </logic:iterate>
New politics for a New Generation -
|
Blazewada
Yavvanam Kaatesina Bewarse Username: Blazewada
Post Number: 1050 Registered: 08-2008 Posted From: 218.186.12.229
Rating: N/A Votes: 0 (Vote!) | Posted on Friday, April 03, 2009 - 10:26 am: |
|
OMesh, wait i am trying a sample code... tree badulu, danni oka Hashmap lo load cheste, logic:iterate tag vadi print cheyochu option 2: use TreeNode and u can use parse that TreeBean using Tree tag. New politics for a New Generation -
|
Musicfan
Bewarse Legend Username: Musicfan
Post Number: 14086 Registered: 05-2004 Posted From: 136.2.1.101
Rating: N/A Votes: 0 (Vote!) | Posted on Friday, April 03, 2009 - 10:15 am: |
|
Onlymovies:Any idea how to do this
SriRama Navami subhakankshalu
|
Onlymovies
Yavvanam Kaatesina Bewarse Username: Onlymovies
Post Number: 2092 Registered: 01-2009 Posted From: 199.173.226.236
Rating: N/A Votes: 0 (Vote!) | Posted on Friday, April 03, 2009 - 10:02 am: |
|
Emiti java/jsp experts evaroo lera? Saripodoyy Bratakatam... Nercheyy Jeevinchatam.. Gamanam Gamanichatam... Payanam lo Avasaram..
|
Onlymovies
Yavvanam Kaatesina Bewarse Username: Onlymovies
Post Number: 2091 Registered: 01-2009 Posted From: 199.173.226.236
Rating: N/A Votes: 0 (Vote!) | Posted on Friday, April 03, 2009 - 9:53 am: |
|
Any idea how to do this Saripodoyy Bratakatam... Nercheyy Jeevinchatam.. Gamanam Gamanichatam... Payanam lo Avasaram..
|
Onlymovies
Yavvanam Kaatesina Bewarse Username: Onlymovies
Post Number: 2090 Registered: 01-2009 Posted From: 199.173.226.236
Rating: N/A Votes: 0 (Vote!) | Posted on Friday, April 03, 2009 - 9:52 am: |
|
Tree Structure is: <%for(int i=1;i<list.size();i++){ try{ node = (ArrayList)list.get(i); isNode = true; element = (String)node.get(0); }catch(Exception e){ element = (String)list.get(i); isNode = false; } System.out.println("kkk:"+node); if(isNode){ %> <li> <input type="checkbox" onclick="showGroup("c<%=element%>'") name="<%=element%>"> <%=element%> </li> <div class="off" ID="c<%=element%>" name="c<%=element%>"> Iterate the node here}} </div> <% }else{ %> <li> <input type="checkbox" name='<%=element %>'> <%=element %> </li> <%}} %> Saripodoyy Bratakatam... Nercheyy Jeevinchatam.. Gamanam Gamanichatam... Payanam lo Avasaram..
|
Onlymovies
Yavvanam Kaatesina Bewarse Username: Onlymovies
Post Number: 2089 Registered: 01-2009 Posted From: 199.173.226.236
Rating: N/A Votes: 0 (Vote!) | Posted on Friday, April 03, 2009 - 9:50 am: |
|
I have a Tree structure. Some thing like a organization, managers, sub managers, team leads and team members. ee list antha naaku Array list with in array list la database nunchi techukunna. I have this list on jsp. Now I have to display them on jsp. How Can I do that. Saripodoyy Bratakatam... Nercheyy Jeevinchatam.. Gamanam Gamanichatam... Payanam lo Avasaram..
|