Help me whit this code: <s:form> <s:action name="IterateDemo" var="customers" > <s:bean name="tags.iterate.action.Combo" var="customers"> <s:param name="customers.name" value="text{'name'}"/> <s:combobox label="Nombres" name="nombres" headerValue="-- Select --" headerKey="1" list="#customers" listValue="customers" size="15"/> </s:bean> </s:action> </s:form>
Struts.xml: <action name="IterateDemo" method="execute" class="tags.iterate.action.Combo"> <result name="input">/tags/iteratedemo.jsp</result> <result name="SUCCESS">/tags/iteratedemo.jsp</result> </action> The combobox is empty... why????? Juan Pablo Pizarro wrote: > > Thanks!! > > It works fine! > > Regards. > > 2008/6/26 Lukasz Lenart <lukasz.len...@googlemail.com>: >> 2008/6/26 Juan Pablo Pizarro <juanpablo.piza...@gmail.com>: >>> Sorry, I use: >>> >>> <s:combobox label="%{getText('technology')}" >>> name="technology" readonly="true" >>> headerValue="--- Please Select ---" >>> headerKey="1" >>> list="lstTechnology.{shortDesc}"/> >> >> It should be like this >> >> list="lstTechnology" >> listKey="technologyId" - this will be the value of technology >> listValue="technologyLabel" - what will user see >> >> >> Regards >> -- >> Lukasz >> http://www.lenart.org.pl/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Help-with-Combobox-tp18137053p25640995.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org