示例#1
0
 private void displayOptions() {
   FacesContext context = FacesContext.getCurrentInstance();
   UIForm form = (UIForm) context.getViewRoot().findComponent("form");
   UIComponent component = form.findComponent("optionsTitle");
   component.setRendered(true);
   component = form.findComponent("fireOptions");
   component.setRendered(true);
 }