I have a two dimensional array , how to display that in UI Macro using the <j:forEach>
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2014 05:12 AM
Hi,
I have a two dimensional array, In which I am storing the queried data.How to display two dimensional array in UI Macro, using <j:forEach>
Thanks
Uma
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2014 05:45 AM
With two loops which iterates over the length of each dimension.
With while and set:
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2014 09:05 AM
Thank you David,
I used the javascript way to loop through the array, it gives me error, since its not supported in XML , where we write our UI Macro.
can you please give me an example of using while and set.