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"; }
public String editButton_action() { if (sceneCondition.getActionType() == AbstractCondition.ActionType.LOGIC) return "/sceneLogic.xhtml"; else return "/sceneCondition.xhtml"; }