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