Package org.ajax4jsf.component.html

Examples of org.ajax4jsf.component.html.AjaxForm


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    AjaxForm comp = (AjaxForm) component;
            
            if (this._accept != null) {
        if (this._accept.isLiteralText()) {
          try {
                       
            java.lang.String __accept = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._accept.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAccept(__accept);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("accept", this._accept);
        }
      }
                        
            if (this._acceptCharset != null) {
        if (this._acceptCharset.isLiteralText()) {
          try {
                       
            java.lang.String __acceptCharset = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptCharset.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAcceptCharset(__acceptCharset);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptCharset", this._acceptCharset);
        }
      }
                         
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._ajaxSubmit != null) {
        if (this._ajaxSubmit.isLiteralText()) {
          try {
                       
            Boolean __ajaxSubmit = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmit.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSubmit(__ajaxSubmit.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSubmit", this._ajaxSubmit);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._enctype != null) {
        if (this._enctype.isLiteralText()) {
          try {
                       
            java.lang.String __enctype = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enctype.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnctype(__enctype);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enctype", this._enctype);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                         
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._onreset != null) {
        if (this._onreset.isLiteralText()) {
          try {
                       
            java.lang.String __onreset = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onreset.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnreset(__onreset);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onreset", this._onreset);
        }
      }
                        
            if (this._onsubmit != null) {
        if (this._onsubmit.isLiteralText()) {
          try {
                       
            java.lang.String __onsubmit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsubmit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsubmit(__onsubmit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsubmit", this._onsubmit);
        }
      }
                        
            if (this._prependId != null) {
        if (this._prependId.isLiteralText()) {
          try {
                       
            Boolean __prependId = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._prependId.getExpressionString(),
                      Boolean.class);
         
                        comp.setPrependId(__prependId.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("prependId", this._prependId);
        }
      }
                        
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._style != null) {
        if (this._style.isLiteralText()) {
          try {
                       
            java.lang.String __style = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._style.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyle(__style);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("style", this._style);
        }
      }
                        
            if (this._styleClass != null) {
        if (this._styleClass.isLiteralText()) {
          try {
                       
            java.lang.String __styleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._styleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyleClass(__styleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("styleClass", this._styleClass);
        }
      }
                         
            if (this._target != null) {
        if (this._target.isLiteralText()) {
          try {
                       
            java.lang.String __target = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._target.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTarget(__target);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("target", this._target);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    AjaxForm comp = (AjaxForm) component;
            
            if (this._accept != null) {
        if (this._accept.isLiteralText()) {
          try {
                       
            java.lang.String __accept = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._accept.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAccept(__accept);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("accept", this._accept);
        }
      }
                        
            if (this._acceptCharset != null) {
        if (this._acceptCharset.isLiteralText()) {
          try {
                       
            java.lang.String __acceptCharset = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptCharset.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAcceptCharset(__acceptCharset);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptCharset", this._acceptCharset);
        }
      }
                         
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._ajaxSubmit != null) {
        if (this._ajaxSubmit.isLiteralText()) {
          try {
                       
            Boolean __ajaxSubmit = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmit.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSubmit(__ajaxSubmit.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSubmit", this._ajaxSubmit);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._enctype != null) {
        if (this._enctype.isLiteralText()) {
          try {
                       
            java.lang.String __enctype = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enctype.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnctype(__enctype);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enctype", this._enctype);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                         
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._onreset != null) {
        if (this._onreset.isLiteralText()) {
          try {
                       
            java.lang.String __onreset = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onreset.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnreset(__onreset);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onreset", this._onreset);
        }
      }
                        
            if (this._onsubmit != null) {
        if (this._onsubmit.isLiteralText()) {
          try {
                       
            java.lang.String __onsubmit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsubmit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsubmit(__onsubmit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsubmit", this._onsubmit);
        }
      }
                        
            if (this._prependId != null) {
        if (this._prependId.isLiteralText()) {
          try {
                       
            Boolean __prependId = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._prependId.getExpressionString(),
                      Boolean.class);
         
                        comp.setPrependId(__prependId.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("prependId", this._prependId);
        }
      }
                        
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                         
            if (this._target != null) {
        if (this._target.isLiteralText()) {
          try {
                       
            java.lang.String __target = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._target.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTarget(__target);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("target", this._target);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    AjaxForm comp = (AjaxForm) component;
            
            if (this._accept != null) {
        if (this._accept.isLiteralText()) {
          try {
                       
            java.lang.String __accept = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._accept.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAccept(__accept);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("accept", this._accept);
        }
      }
                        
            if (this._acceptCharset != null) {
        if (this._acceptCharset.isLiteralText()) {
          try {
                       
            java.lang.String __acceptCharset = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptCharset.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAcceptCharset(__acceptCharset);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptCharset", this._acceptCharset);
        }
      }
                         
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._ajaxSubmit != null) {
        if (this._ajaxSubmit.isLiteralText()) {
          try {
                       
            Boolean __ajaxSubmit = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmit.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSubmit(__ajaxSubmit.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSubmit", this._ajaxSubmit);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._enctype != null) {
        if (this._enctype.isLiteralText()) {
          try {
                       
            java.lang.String __enctype = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enctype.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnctype(__enctype);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enctype", this._enctype);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                         
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._onreset != null) {
        if (this._onreset.isLiteralText()) {
          try {
                       
            java.lang.String __onreset = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onreset.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnreset(__onreset);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onreset", this._onreset);
        }
      }
                        
            if (this._onsubmit != null) {
        if (this._onsubmit.isLiteralText()) {
          try {
                       
            java.lang.String __onsubmit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsubmit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsubmit(__onsubmit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsubmit", this._onsubmit);
        }
      }
                        
            if (this._prependId != null) {
        if (this._prependId.isLiteralText()) {
          try {
                       
            Boolean __prependId = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._prependId.getExpressionString(),
                      Boolean.class);
         
                        comp.setPrependId(__prependId.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("prependId", this._prependId);
        }
      }
                        
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._style != null) {
        if (this._style.isLiteralText()) {
          try {
                       
            java.lang.String __style = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._style.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyle(__style);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("style", this._style);
        }
      }
                        
            if (this._styleClass != null) {
        if (this._styleClass.isLiteralText()) {
          try {
                       
            java.lang.String __styleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._styleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyleClass(__styleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("styleClass", this._styleClass);
        }
      }
                         
            if (this._target != null) {
        if (this._target.isLiteralText()) {
          try {
                       
            java.lang.String __target = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._target.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTarget(__target);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("target", this._target);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    AjaxForm comp = (AjaxForm) component;
            
            if (this._accept != null) {
        if (this._accept.isLiteralText()) {
          try {
                       
            java.lang.String __accept = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._accept.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAccept(__accept);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("accept", this._accept);
        }
      }
                        
            if (this._acceptCharset != null) {
        if (this._acceptCharset.isLiteralText()) {
          try {
                       
            java.lang.String __acceptCharset = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptCharset.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAcceptCharset(__acceptCharset);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptCharset", this._acceptCharset);
        }
      }
                         
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._ajaxSubmit != null) {
        if (this._ajaxSubmit.isLiteralText()) {
          try {
                       
            Boolean __ajaxSubmit = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmit.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSubmit(__ajaxSubmit.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSubmit", this._ajaxSubmit);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._enctype != null) {
        if (this._enctype.isLiteralText()) {
          try {
                       
            java.lang.String __enctype = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enctype.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnctype(__enctype);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enctype", this._enctype);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                         
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            if (this._iterationState != null) {
        if (this._iterationState.isLiteralText()) {
          try {
                       
            java.lang.Object __iterationState = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iterationState.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setIterationState(__iterationState);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iterationState", this._iterationState);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._onreset != null) {
        if (this._onreset.isLiteralText()) {
          try {
                       
            java.lang.String __onreset = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onreset.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnreset(__onreset);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onreset", this._onreset);
        }
      }
                        
            if (this._onsubmit != null) {
        if (this._onsubmit.isLiteralText()) {
          try {
                       
            java.lang.String __onsubmit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsubmit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsubmit(__onsubmit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsubmit", this._onsubmit);
        }
      }
                        
            if (this._prependId != null) {
        if (this._prependId.isLiteralText()) {
          try {
                       
            Boolean __prependId = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._prependId.getExpressionString(),
                      Boolean.class);
         
                        comp.setPrependId(__prependId.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("prependId", this._prependId);
        }
      }
                        
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._style != null) {
        if (this._style.isLiteralText()) {
          try {
                       
            java.lang.String __style = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._style.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyle(__style);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("style", this._style);
        }
      }
                        
            if (this._styleClass != null) {
        if (this._styleClass.isLiteralText()) {
          try {
                       
            java.lang.String __styleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._styleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyleClass(__styleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("styleClass", this._styleClass);
        }
      }
                         
            if (this._target != null) {
        if (this._target.isLiteralText()) {
          try {
                       
            java.lang.String __target = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._target.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTarget(__target);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("target", this._target);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    AjaxForm comp = (AjaxForm) component;
            
            if (this._accept != null) {
        if (this._accept.isLiteralText()) {
          try {
                       
            java.lang.String __accept = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._accept.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAccept(__accept);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("accept", this._accept);
        }
      }
                        
            if (this._acceptCharset != null) {
        if (this._acceptCharset.isLiteralText()) {
          try {
                       
            java.lang.String __acceptCharset = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptCharset.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAcceptCharset(__acceptCharset);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptCharset", this._acceptCharset);
        }
      }
                         
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._ajaxSubmit != null) {
        if (this._ajaxSubmit.isLiteralText()) {
          try {
                       
            Boolean __ajaxSubmit = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmit.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSubmit(__ajaxSubmit.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSubmit", this._ajaxSubmit);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._enctype != null) {
        if (this._enctype.isLiteralText()) {
          try {
                       
            java.lang.String __enctype = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enctype.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnctype(__enctype);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enctype", this._enctype);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                         
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._onreset != null) {
        if (this._onreset.isLiteralText()) {
          try {
                       
            java.lang.String __onreset = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onreset.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnreset(__onreset);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onreset", this._onreset);
        }
      }
                        
            if (this._onsubmit != null) {
        if (this._onsubmit.isLiteralText()) {
          try {
                       
            java.lang.String __onsubmit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsubmit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsubmit(__onsubmit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsubmit", this._onsubmit);
        }
      }
                        
            if (this._prependId != null) {
        if (this._prependId.isLiteralText()) {
          try {
                       
            Boolean __prependId = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._prependId.getExpressionString(),
                      Boolean.class);
         
                        comp.setPrependId(__prependId.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("prependId", this._prependId);
        }
      }
                        
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._style != null) {
        if (this._style.isLiteralText()) {
          try {
                       
            java.lang.String __style = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._style.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyle(__style);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("style", this._style);
        }
      }
                        
            if (this._styleClass != null) {
        if (this._styleClass.isLiteralText()) {
          try {
                       
            java.lang.String __styleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._styleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyleClass(__styleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("styleClass", this._styleClass);
        }
      }
                         
            if (this._target != null) {
        if (this._target.isLiteralText()) {
          try {
                       
            java.lang.String __target = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._target.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTarget(__target);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("target", this._target);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
View Full Code Here

TOP

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

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.