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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to