aspose file tools*
The moose likes Struts and the fly likes Plz can anybody provide soln for this Immed.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Plz can anybody provide soln for this Immed.." Watch "Plz can anybody provide soln for this Immed.." New topic
Author

Plz can anybody provide soln for this Immed..

saravana kumar
Greenhorn

Joined: May 14, 2007
Posts: 12
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Plz can anybody provide soln for this Immed..