Package javax.faces.context

Examples of javax.faces.context.FacesContext


  // @StartGeneration

  protected void setProperties(UIComponent component) {
        super.setProperties(component);
        FacesContext facesContext  = getFacesContext();

    setStringAttribute(facesContext,component,"collapse",collapse);
    setStringAttribute(facesContext,component,"resizeafter",resizeafter);
    setStringAttribute(facesContext,component,"resizebefore",resizebefore);
    setStringAttribute(facesContext,component,"state",state);
View Full Code Here


    this.immediate = immediate;
  }

  protected void setProperties(UIComponent component) {
    super.setProperties(component);   
    FacesContext facesContext = getFacesContext();
   
    setActionListenerProperty(facesContext, component, getActionListener());
    setActionProperty(getFacesContext(), component, getAction());
    setBooleanAttribute(facesContext, component, "immediate", immediate);   
    setBooleanAttribute(facesContext, component, "asynchronous",
View Full Code Here

 
  //  @StartGeneration

  protected void setProperties(UIComponent component) {
        super.setProperties(component);
        FacesContext facesContext  = getFacesContext();

    setStringAttribute(facesContext,component,"description",description);
    setStringAttribute(facesContext,component,"label",label);
    setStringAttribute(facesContext,component,"next",next);
    setMethodBinding(facesContext,component,"onpageadvanced",onpageadvanced);
View Full Code Here

    this.showSummary = showSummary;
  }

  protected void setProperties(UIComponent component) {
        super.setProperties(component);
        FacesContext facesContext  = getFacesContext()
    setBooleanAttribute(facesContext,component,"showDetail",showDetail);
    setBooleanAttribute(facesContext,component,"showSummary",showSummary);
  }
View Full Code Here

    
  // @StartGeneration

  protected void setProperties(UIComponent component) {
        super.setProperties(component);
        FacesContext facesContext  = getFacesContext();

    setBooleanAttribute(facesContext,component,"disableKeyNavigation",disableKeyNavigation);
    setStringAttribute(facesContext,component,"preference",preference);
    setIntegerAttribute(facesContext,component,"rows",rows);
    setStringAttribute(facesContext,component,"seltype",seltype);
View Full Code Here

   
  //  @StartGeneration

  protected void setProperties(UIComponent component) {
        super.setProperties(component);
        FacesContext facesContext  = getFacesContext();

    setBooleanAttribute(facesContext,component,"disabled",disabled);
    setStringAttribute(facesContext,component,"label",label);

  }
View Full Code Here

 
  //  @StartGeneration

  protected void setProperties(UIComponent component) {
        super.setProperties(component);
        FacesContext facesContext  = getFacesContext();

    setBooleanAttribute(facesContext,component,"firstpage",firstpage);
    setBooleanAttribute(facesContext,component,"lastpage",lastpage);
    setMethodBinding(facesContext,component,"onwizardback",onwizardback);
    setMethodBinding(facesContext,component,"onwizardcancel",onwizardcancel);
View Full Code Here

  // @StartGeneration

  protected void setProperties(UIComponent component) {
        super.setProperties(component);
        FacesContext facesContext  = getFacesContext();

    setStringAttribute(facesContext,component,"acceltext",acceltext);
    setStringAttribute(facesContext,component,"accesskey",accesskey);
    setBooleanAttribute(facesContext,component,"allowevents",allowevents);
    setStringAttribute(facesContext,component,"crop",crop);
View Full Code Here

    }   
    return false;
  }

  public static Bridge getBridge(){
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ValueBinding valueBinding = facesContext.getApplication().createValueBinding("#{bridge}");
    Bridge bridge = (Bridge) valueBinding.getValue(facesContext);
    return bridge;
  }
View Full Code Here

   
  //  @StartGeneration 

  protected void setProperties(UIComponent component) {
        super.setProperties(component);
        FacesContext facesContext  = getFacesContext();

    setIntegerAttribute(facesContext,component,"selectedIndex",selectedIndex);

  }
View Full Code Here

TOP

Related Classes of javax.faces.context.FacesContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.