Package org.ajax4jsf.component.html

Examples of org.ajax4jsf.component.html.HtmlActionParameter


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlActionParameter comp = (HtmlActionParameter) component;
                      
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
View Full Code Here


      ExperimentBean expBean = (ExperimentBean)JSFUtil.getManagedObject("ExperimentBean");
    String forStage = null;
 
    for(UIComponent child : evt.getComponent().getChildren()){
          if(child instanceof HtmlActionParameter){
            HtmlActionParameter param = (HtmlActionParameter)child;
            if(param.getName().equals("stageName")){
              forStage = (String)param.getValue();
            }
          }
    }

    if(forStage==null)
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlActionParameter comp = (HtmlActionParameter) component;
                      
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
View Full Code Here

TOP

Related Classes of org.ajax4jsf.component.html.HtmlActionParameter

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.