public StoreConnectionFailedInformationPanel( final String componentId, final String storeName, final String exceptionMessage) { super(componentId); // add(new Label("title", new ResourceModel("storeConnectionFailed"))); ParamResourceModel bodyModel = new ParamResourceModel("body", this, storeName); add(new Label("body", bodyModel)); // add(new Label("exceptionTitle", new ResourceModel("exceptionTitle"))); add(new Label("exceptionMessage", exceptionMessage)); } }
@Override protected Component getContents(String id) { return new StoreConnectionFailedInformationPanel( id, info.getName(), exceptionMessage); }
@Override protected Component getContents(String id) { return new StoreConnectionFailedInformationPanel( id, info.getName(), exceptionMessage); }
@Override protected Component getContents(String id) { return new StoreConnectionFailedInformationPanel( id, info.getName(), exceptionMessage); }
public StoreConnectionFailedInformationPanel(final String componentId, final String storeName, final String exceptionMessage) { super(componentId); // add(new Label("title", new ResourceModel("storeConnectionFailed"))); ParamResourceModel bodyModel = new ParamResourceModel("body", this, storeName); add(new Label("body", bodyModel)); // add(new Label("exceptionTitle", new ResourceModel("exceptionTitle"))); add(new Label("exceptionMessage", exceptionMessage)); } }
@Override protected Component getContents(String id) { return new StoreConnectionFailedInformationPanel(id, info.getName(), exceptionMessage); }
@Override protected Component getContents(String id) { return new StoreConnectionFailedInformationPanel( id, info.getName(), exceptionMessage); }
@Override protected Component getContents(String id) { return new StoreConnectionFailedInformationPanel(id, info.getName(), exceptionMessage); }
@Override protected Component getContents(String id) { return new StoreConnectionFailedInformationPanel(id, info.getName(), exceptionMessage); }