I have a drop down choice in a FormComponentPanel, and need to update
other parts of the panel when the user changes the selected value in the
drop down. My panel class is defined as:
PointLocationPanel extends FormComponentPanelPointLocation
Its constructor begins like this:
public
final Integer newSubdivision = getModelObject().getSubdivision();
You're using the wrong model object, this should be:
final Integer newSubdivision = dropdown.getModelObject();
or:
final Integer newSubdivision = PointLocationPanel.this.subdivision
Sven
On 11/15/2012 09:13 PM, Richard