Пример #1
0
 @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());
     }
   }
 }
Пример #2
0
 @Override
 public void enter(ViewChangeListener.ViewChangeEvent event) {
   this.message.setValue(String.format("No such view: %s", event.getViewName()));
 }
Пример #3
0
 @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()));
 }
Пример #4
0
 private void initParams(ViewChangeListener.ViewChangeEvent event) {
   params.clear();
   params.putAll(UrlParamBuilder.parseParams(event.getParameters()));
 }