@Override public void enter(ViewChangeListener.ViewChangeEvent event) { if (event.getParameters() != null) { Wallboard wallboard = WallboardProvider.getInstance().getWallboard(event.getParameters()); if (wallboard != null) { dashletBoardBody.setDashletSpecs(wallboard.getDashletSpecs()); } } }
@Override public void enter(ViewChangeListener.ViewChangeEvent event) { this.message.setValue(String.format("No such view: %s", event.getViewName())); }
@Override public void enter(ViewChangeListener.ViewChangeEvent event) { explanation.setValue( String.format( "You tried to navigate to a view ('%s') that does not exist.", event.getViewName())); }
private void initParams(ViewChangeListener.ViewChangeEvent event) { params.clear(); params.putAll(UrlParamBuilder.parseParams(event.getParameters())); }