• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dynamic list in struts 2

 
stefano biondi
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm using s:iterator e display:table to view my list

now i have a problem

there is a dynamic list for which i don't know the number and the name of columns so i have to build the table when i get the info; a solution could be write a dynamic table using code java in the jsp

it's not very good to see but it works (i have not written the code but it seems easy)

now i ask: it is possible to make that using s:iterator e display:table?

thanks
 
Joe Ess
Bartender
Posts: 9313
10
Linux Mac OS X Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you asking how to output a table using an iterator tag or how to integrate Struts with display tag?
 
stefano biondi
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe Ess wrote:Are you asking how to output a table using an iterator tag or how to integrate Struts with display tag?


my problem was to use dinamically s:iterator, a very stupid problem, i have solved

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