Пример #1
0
  public String newLogicButton_action() throws EntityNotFoundException {

    ParentSceneConditionSelectionService pscss =
        (ParentSceneConditionSelectionService)
            Component.getInstance(ParentSceneConditionSelectionService.class);
    pscss.setSelectedId(sceneCondition == null ? null : sceneCondition.getId());

    events.raiseEvent("clearSceneConditionSelection");

    return "/sceneLogic.xhtml";
  }
Пример #2
0
 public String editButton_action() {
   if (sceneCondition.getActionType() == AbstractCondition.ActionType.LOGIC)
     return "/sceneLogic.xhtml";
   else return "/sceneCondition.xhtml";
 }