Re: Form that gets data form multiple models.

2009-05-07 Thread Jeremy Thomerson
Make those models private fields within your form. Make sure that you are overriding onDetach in the form and detaching them (even though the PropertyModel should chain the detach down to it's nested model - this is a good habit to get into so that you don't forget somewhere else). -- Jeremy Thom

Form that gets data form multiple models.

2009-05-07 Thread Chris
I have a form that combines data from multiple pojo's. Currently I am creating two seperate IModels inside my form, something like this. IModel model1 = new LoadableDetachableModel() { @Override protected Object load() { ... } }; IModel model2 = new LoadableDetachableModel() { @Override