You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jakub Kaniewski <jk...@egonet.pl> on 2005/05/09 22:36:52 UTC
CForms and selection list question
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