Hi all, Here I'm with another problem.. I know that I've been sent lots os questions, but before I aways give a check at documentation and showcase. I hope you can give me a hand. -- I want to link two autocompleters. My action is setting the correct secound list. The problem is that it's never rendered on my jsp.
The objective is to list all cities from a state. Here's my code: JSP ----------------------------------- <s:url id="urlListCli" action="listarCidades" namespace="/cliente"/> <s:action var="actListarUfs" name="listarUfs" namespace="/cliente" /> <sx:autocompleter list="#actListarUfs.ufs" listKey="cd" listValue="sigla" label="UF" name="siglaUf" id="siglaUf" required="true" cssClass="autoCompleter" forceValidOption="true" valueNotifyTopics="/listCidades"/> <sx:autocompleter label="Cidade" id="idCidade" name="idCidade" list="cidades" listKey="cd" listValue="nome" href="%{urlListCli}" autoComplete="true" formId="formCli" listenTopics="/listCidades" forceValidOption="true" preload="false"/> struts.xml ------------------------------ <action name="listarCidades" method="listarCidades" class="br.com.sgvdba.actions.cliente.ClienteAction"> <result></result> </action> ActionClass ------------------------- public String listarCidades(){ this.cidades = getCidadeFacade().recuperarPorUf(siglaUf); return Action.SUCCESS; } I also tried to follow the example in show case (linking two autocompleters), so, on this way I just had success returning a simple array of string with one dimension, and I thought "ok, I have the correct description of the field, what about its id?". In this way my action as returning a .ftl. Tanks a lot!