Thank you for your answer. Do you mean something like this:
<s:iterator value="questions" id="quest">
<s:property value="questionId"/><br/>
<s:property value="questionName"/><br/>
<s:select name="answers[quest.questionId]" list="answers"/><br/><br/>
</s:iterator>
And in my bean I have the variable " private String[] answers;" with getter and
setters...
But it is not working.... and the variable " quest.questionId" is not replaced
by the value.
Other ideas?
Thanks and regards,
Mat
-----Ursprüngliche Nachricht-----
Von: Dave Newton [mailto:[email protected]]
Gesendet: Donnerstag, 20. Januar 2011 17:49
An: Struts Users Mailing List
Betreff: Re: Dynamic dropDown List
On Thu, Jan 20, 2011 at 11:08 AM, [email protected] wrote:
> <s:select key="??????????????" list="answers"/><br/><br/>
>
<s:select name="answers[question.id]" .../>?
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]