final Form refForm = new Form("referencingForm");
add(refForm);
// native bbox
PropertyModel nativeBBoxModel = new PropertyModel(model, "nativeBoundingBox");
final EnvelopePanel nativeBBox = new EnvelopePanel("nativeBoundingBox", nativeBBoxModel);
nativeBBox.setOutputMarkupId(true);
refForm.add(nativeBBox);
refForm.add(computeNativeBoundsLink(refForm, nativeBBox));
// lat/lon bbox
final EnvelopePanel latLonPanel = new EnvelopePanel("latLonBoundingBox", new PropertyModel(
model, "latLonBoundingBox"));
latLonPanel.setOutputMarkupId(true);
latLonPanel.setRequired(true);
refForm.add(latLonPanel);
refForm.add(computeLatLonBoundsLink(refForm, nativeBBox, latLonPanel));
// native srs , declared srs, and srs handling dropdown
CRSPanel nativeCRS = new CRSPanel("nativeSRS", new PropertyModel(model, "nativeCRS"));