Displaying a collection as comma separated values

2003-02-19 Thread ROSSEL Olivier
I want to display in my HTML page a collection of Strings, and I want to display a comma between each word and a final dot. I use nested:iterate: nested:iterate property=bar nested:write property=label, /nested:iterate It works fine except for the final dot. My question is: in a

RE: Displaying a collection as comma separated values

2003-02-19 Thread Sri Sankaran
]] Sent: Wednesday, February 19, 2003 5:31 AM To: '[EMAIL PROTECTED]' Subject: Displaying a collection as comma separated values I want to display in my HTML page a collection of Strings, and I want to display a comma between each word and a final dot. I use nested:iterate: nested:iterate

RE: Displaying a collection as comma separated values

2003-02-19 Thread ROSSEL Olivier
nested:iterate property=someCollection indexId=index logic:notEqual property=index value=0,/logic:notEqual /nested:iterate . This should allow you to display commas between each word and then a dot. I cannot test index against 0. I need to test it against the size

RE: Displaying a collection as comma separated values

2003-02-19 Thread Sri Sankaran
-Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 2:15 PM To: 'Struts Users Mailing List' Subject: RE: Displaying a collection as comma separated values nested:iterate property=someCollection indexId=index