Hi,
After searching unsuccessfully through the ML archive, I come here to seek
some advice on FormComponentPanels (FCP).
What I want to do is build a small, reusable form component that lets me
edit an Address (address, zipCode, city, country).
I know that FCP are usually used as a bridge
Hi,
id of your TextFields should match name of property in Address model.
something like that..
public class Address {
private String address1;
private String address2;
private String city;
//getters
public String getAddress1(){}
...
}
Jan Ferko
On 01/20/2011 12:45
When I use the second solution I gave above, the data I enter in the form is
not saved to the model, and I don't understand why...
I also tried to override convertInput() - still does not work
protected void convertInput() {
setConvertedInput(getModelObject());
}
For info,