Re : logic:iterate String

2002-03-05 Thread FARINE Arnaud - SOP ( [EMAIL PROTECTED] )
If I write this I obtain somthing like this: [myval1,myval2] Why I've got [ and ,? Thx * SchlumbergerSema Arnaud FARINE Ingénieur chargé d'études Tel: 04.97.15.79.18 [EMAIL PROTECTED] 150, Allée Pierre Ziller Les Bouillides - BP279 06905

Re: Re : logic:iterate String

2002-03-05 Thread keithBacon
that looks it is the output from the toString method of an array or collection class. Specify proprty=... to make struts call that property instead of toString(). (Maybe?). --- FARINE Arnaud - SOP ( [EMAIL PROTECTED] ) [EMAIL PROTECTED] wrote: If I write this I obtain somthing like this:

logic:iterate String.

2002-03-01 Thread FARINE Arnaud - SOP ( [EMAIL PROTECTED] )
Hi! I use a Vector object which contains String Object. This Vector is in a JavaBeans, so I've got a getter method, which returns the Vector. When I want to iterate the list by: logic:iterate id=val type=java.lang.String name=user property=infoDB /logic:iterate How replace the

Re: logic:iterate String.

2002-03-01 Thread Mikael Eriksson
Hi Use bean:write name=val / Inside your iterate As I understand you you just want to display things... Bean:write does a toString (or something like that) of the bean if not property is mentioned. Regards Mikael At 14:50 2002-03-01 +0100, you wrote: Hi! I use a Vector object which