final Label reasonLabel = new Label("reason", new PropertyModel<String>(this, "reason"));
reasonLabel.setOutputMarkupId(true);
Label editableLabel = new Label("label", Model.of("X-Editable"));
editableLabel.add(new XEditableBehavior() {
@Override
protected void onSave(AjaxRequestTarget target, String value) {
XEditablePage.this.value = value;
target.add(valueLabel);