Re: How to list a property in a display:table (Struts 2)

2007-08-09 Thread fergunet
Thank you Toni! It worked! Only adding display:column titleKey=global.roles s:iterator value=#attr.row.roles s:property value=roleBaseVO.name / /s:iterator and all is shown ok. Thank you again ;)

How to list a property in a display:table (Struts 2)

2007-08-08 Thread fergunet
Hi all! I've created a display table to show a list of things and their attributes. But one of those attributes is another list of objects. I don't know how to print their names. Let's see what I have: display:table name=usersBase class=displaytag pagesize=10 defaultsort=1

Re: How to list a property in a display:table (Struts 2)

2007-08-08 Thread Toni Lyytikäinen
Set the uid attribute in the display:table -tag like this: display:table uid=row name=... id=... ... after that you can refer to the row from struts tags by using #attr.row so the iterator should now works like this: s:iterator value=#attr.row.roles On 8/8/07, fergunet [EMAIL PROTECTED]