struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject AW: Dynamic dropDown List
Date Thu, 20 Jan 2011 17:10:05 GMT
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/>

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,

-----Urspr√ľngliche Nachricht-----
Von: Dave Newton [] 
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, wrote:

>        <s:select key="??????????????" list="answers"/><br/><br/>

<s:select name="answers[]" .../>?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message