Re: why cant I have String[] with select tag

2007-06-17 Thread tom tom
Yes I tried the following but it doesnt work, also I gave multiple="true" that also doenst work. Thanks --- Jeromy Evans <[EMAIL PROTECTED]> wrote: > tom tom wrote: > > I have the following in the jsp > > > > >name="testForm.inputAnswer" > >list="#ses

Re: why cant I have String[] with select tag

2007-06-17 Thread tom tom
find my answers below > You're trying to assign a String to an array which > would give you an > error But it nicely work with S1 eventhough it has been left in S2, I can't figure is out why these little features are left over. It got lot of benefits, for e.g if that feature there i can use t

Re: why cant I have String[] with select tag

2007-06-17 Thread Jeromy Evans
tom tom wrote: I have the following in the jsp You're trying to assign a String to an array which would give you an error if you were trying to do it in code. If you want the equivalent of S1 functionality, you'll need to address the first element of the array. I'm not 100% sure this wi

why cant I have String[] with select tag

2007-06-17 Thread tom tom
I have the following in the jsp in the action class there is a instance variable called testForm and inputAnswer is an array string[] in the testForm. I am reusing the inputAnswer for different UI tags, for .e.g with checkboxes as well. Hence inputAnswer is an array. In struts 1.x for select I