@Override
public void onEvent(final IEvent<?> event) {
if (event.getPayload() instanceof DetailsModEvent) {
// connectro change: update properties and forward event
final AjaxRequestTarget target = ((ResourceEvent) event.getPayload()).getTarget();
connConfProperties = getConnConfProperties();
check.setEnabled(!connConfProperties.isEmpty());
target.add(connConfPropContainer);
// get configuration properties and send a new event
send(getPage(), Broadcast.BREADTH, new ConnConfModEvent(target, connConfProperties));
} else if (event.getPayload() instanceof MultiValueSelectorEvent) {
// multi value connector property change: forward event
final AjaxRequestTarget target = ((MultiValueSelectorEvent) event.getPayload()).getTarget();
send(getPage(), Broadcast.BREADTH, new ConnConfModEvent(target, connConfProperties));
}
}