Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Plz can anybody provide soln for this Immed..  RSS feed

 
saravana kumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Regards,
Saravana
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!