This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iterating my ApplicationResources

 
David Hamilton
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there, first time post (^__^ x) and i've got a simple question (i hope)
basically, i want to output all the key pairs in my ApplicationResources
file to a jspa and write them as xml, but i can't find any simple way of
iterating through them. id like something like the code below but open to
advice.

<appvars>
<nested:iterate name="messages">
<appvar>
<key><nested:write property="key" /></key>
<val><nested:write property="val" /></val>
</appvar>
</nested:iterate>
</appvars>

thanks
David
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic