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 the same string[] variable for checkboxes as well as for select tags. 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 will work as addressing array > elements in OGNL > used to be problematic, but in theory you need this: > > <s:select > name="testForm.inputAnswer[0]" > list="#session.question.answers" > listKey="answer" > listValue="answer" > /> > > The actual notation may require some escaping around > the [0]. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]