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

Struts-layout question

 
David Cheong
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm using a <layout:collection> tag to iterate through a list. However, i want to customize the content of a column according to some value in the list. E.g. In a column, if that record has an attribute equals to "", then that column of that record should show this image; if not, it should show another image.
Is it possible to achieve that with this tag?

thank you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic