cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakub Kaniewski <j...@egonet.pl>
Subject CForms and selection list question
Date Mon, 09 May 2005 20:36:52 GMT
I have a CForms form with selection widget. The selection widgets gets 
its data from JXPath. I flowscript I set :
form.getChild("city").setSelectionlist(cityList,"id","name");
where city list is the List of City bean (with properties int id and 
String name).
Now i have client bean, which I bind to the form, the client has method 
setCity(City c) but doesn't have setCity(int c).
So I want the binding to bind the selected City bean, not the city id - 
is this possible?

J. K.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message