This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi, My requirement is i have to populate the nested tag dynamically based on the number of items availabe in the list.If my list size is 3 then i have to generate the nested tag as below mentioned. <nested:nest property="abc" > <nested:nest property="xyz"> <nested:nest property="pqr"> // here i will generate some textbox or combo box based on some // cond like <nested:text property="patientName" /> </nested:nest> </nested:nest> </nested:nest> For property attribute values will be populated dynamically by looping thru the list.
Actually i tried it, but i am facing problem.. not- matching extension tag why bcoz while populating nested tag dynamically, when i populate the second nested tag(like mentioned above) it is expecting the closing nested tag for the first one. but i can't close nested tag immediately. i have to loop thru the list, i have populate the nested open tag n no% of times(n- size of the list)after that i have to close correspondingly for each nested tag.