You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by אלחנן מעין <em...@msn.com> on 2007/04/23 23:03:48 UTC
doubleList not getting pupulated..
hi...
trying this:
<s:doubleselect
name="selectedclient" label="Client and task" listKey="id" listValue="name"
list="clients"
doubleName="selectedTask" doubleListKey="id" doubleListValue="name"
doubleList="tasks" />
on my action i have:
public List<Client> getClients(){
List<Client> l=new ArrayList<Client>();
l.add(new Client(1,"Migdal"));
l.add(new Client(2,"Archive"));
return l;
}
public List<Task> getTasks(){
List<Task> l=new ArrayList<Task>();
l.add(new Task(1,"Dev"));
l.add(new Task(2,"Prog"));
System.out.println(l);
return l;
}
on the debugger i can see the getTask being called, however , on the view,
it's not being pupoulated.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org