Is there a way to exclude properties from being resolved in the
BoundCompoundPropertyModel?
I'm using:
// in page form
SomeModel someModel = new SomeBean();
Form someForm = new Form("some-form-id", new
BoundCompoundPropertyModel(someModel));
someForm.add(someModel.bind(new TextField("some-property-id"),
"someModelProperty"));
someForm.add(new SomePanel("some-form-panel-id").setRenderBodyOnly(true));
add(someForm);
// in SomePanel
WebMarkupContainerWithAssociatedMarkup fieldset = new
WebMarkupContainerWithAssociatedMarkup("some-panel-fieldset");
fieldset.add(new Label("some-panel-legend").add(new
SomeBehaviourToAddStringResourceForLegend()));
add(fieldset);
...but I get an exception:
org.apache.wicket.WicketRuntimeException: No get method defined for class:
class com.example.model.SomeModel expression: some-panel-legend
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]