Package org.ajax4jsf.taglib.html.jsp

Source Code of org.ajax4jsf.taglib.html.jsp.FormTag

/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.ajax4jsf.taglib.html.jsp;

import java.lang.String ;
import java.lang.Object ;
import org.ajax4jsf.webapp.taglib.UIComponentTagBase ;
import javax.faces.component.UIComponent ;

import javax.el.ELException;
import javax.faces.FacesException;
import javax.faces.component.UIComponent;
import javax.el.MethodExpression;
import javax.faces.el.MethodBinding;
import javax.faces.el.ValueBinding;
import javax.el.ValueExpression;
import org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor;
import org.richfaces.webapp.taglib.ValueBindingValueExpressionAdaptor;
import org.ajax4jsf.component.html.AjaxForm;

public class FormTag extends org.ajax4jsf.webapp.taglib.UIComponentTagBase {

    // Fields
                          
    /*
     * accept
     * This attribute specifies a comma-separated list of content types that a server processing this form will handle correctly. User agents may use this information to filter out non-conforming files when prompting you to select files to be sent to the server (cf. the INPUT element when type="file")
     */
    private ValueExpression _accept;
    /**
     * This attribute specifies a comma-separated list of content types that a server processing this form will handle correctly. User agents may use this information to filter out non-conforming files when prompting you to select files to be sent to the server (cf. the INPUT element when type="file")
     * Setter for accept
     * @param accept - new value
     */
     public void setAccept( ValueExpression  __accept ){
      this._accept = __accept;
       }
   
                                
    /*
     * acceptCharset
     * This attribute specifies the list of character encodings for input data that is accepted by the server processing this form. The value is a space- and/or comma-delimited list of charset values. The client must interpret this list as an exclusive-or list, i.e., the server is able to accept any single character encoding per entity received.
           
            The default value for this attribute is the reserved string "UNKNOWN". User agents may interpret this value as the character encoding that was used to transmit the document containing this FORM element
     */
    private ValueExpression _acceptCharset;
    /**
     * This attribute specifies the list of character encodings for input data that is accepted by the server processing this form. The value is a space- and/or comma-delimited list of charset values. The client must interpret this list as an exclusive-or list, i.e., the server is able to accept any single character encoding per entity received.
           
            The default value for this attribute is the reserved string "UNKNOWN". User agents may interpret this value as the character encoding that was used to transmit the document containing this FORM element
     * Setter for acceptCharset
     * @param acceptCharset - new value
     */
     public void setAcceptCharset( ValueExpression  __acceptCharset ){
      this._acceptCharset = __acceptCharset;
       }
   
                                     
    /*
     * ajaxSingle
     * boolean attribute which provides possibility to limit JSF tree processing(decoding, conversion/validation, value applying)
to the component which send the request only
     */
    private ValueExpression _ajaxSingle;
    /**
     * boolean attribute which provides possibility to limit JSF tree processing(decoding, conversion/validation, value applying)
to the component which send the request only
     * Setter for ajaxSingle
     * @param ajaxSingle - new value
     */
     public void setAjaxSingle( ValueExpression  __ajaxSingle ){
      this._ajaxSingle = __ajaxSingle;
       }
   
                                
    /*
     * ajaxSubmit
     * If "true", it becomes possible to set AJAX submission way for any components inside  .
     */
    private ValueExpression _ajaxSubmit;
    /**
     * If "true", it becomes possible to set AJAX submission way for any components inside  .
     * Setter for ajaxSubmit
     * @param ajaxSubmit - new value
     */
     public void setAjaxSubmit( ValueExpression  __ajaxSubmit ){
      this._ajaxSubmit = __ajaxSubmit;
       }
   
                                     
    /*
     * bypassUpdates
     * If "true", after process validations phase it skips updates of model beans on a force render response. It can be used for validating components input
     */
    private ValueExpression _bypassUpdates;
    /**
     * If "true", after process validations phase it skips updates of model beans on a force render response. It can be used for validating components input
     * Setter for bypassUpdates
     * @param bypassUpdates - new value
     */
     public void setBypassUpdates( ValueExpression  __bypassUpdates ){
      this._bypassUpdates = __bypassUpdates;
       }
   
                                
    /*
     * data
     * Serialized (on default with JSON) data passed on the client by a developer on AJAX request. It's accessible via "data.foo" syntax
     */
    private ValueExpression _data;
    /**
     * Serialized (on default with JSON) data passed on the client by a developer on AJAX request. It's accessible via "data.foo" syntax
     * Setter for data
     * @param data - new value
     */
     public void setData( ValueExpression  __data ){
      this._data = __data;
       }
   
                                
    /*
     * enctype
     * This attribute specifies the content type used to submit the form to the server (when the value of method is "post"). The default value for this attribute is "application/x-www-form-urlencoded". The value "multipart/form-data" should be used in combination with the INPUT element, type="file"
     */
    private ValueExpression _enctype;
    /**
     * This attribute specifies the content type used to submit the form to the server (when the value of method is "post"). The default value for this attribute is "application/x-www-form-urlencoded". The value "multipart/form-data" should be used in combination with the INPUT element, type="file"
     * Setter for enctype
     * @param enctype - new value
     */
     public void setEnctype( ValueExpression  __enctype ){
      this._enctype = __enctype;
       }
   
                                
    /*
     * eventsQueue
     * Name of requests queue to avoid send next request before complete other from same event. Can be used to reduce number of requests of frequently events (key press, mouse move etc.)
     */
    private ValueExpression _eventsQueue;
    /**
     * Name of requests queue to avoid send next request before complete other from same event. Can be used to reduce number of requests of frequently events (key press, mouse move etc.)
     * Setter for eventsQueue
     * @param eventsQueue - new value
     */
     public void setEventsQueue( ValueExpression  __eventsQueue ){
      this._eventsQueue = __eventsQueue;
       }
   
                                     
    /*
     * focus
     * id of element to set focus after request completed on client side
     */
    private ValueExpression _focus;
    /**
     * id of element to set focus after request completed on client side
     * Setter for focus
     * @param focus - new value
     */
     public void setFocus( ValueExpression  __focus ){
      this._focus = __focus;
       }
   
                                     
    /*
     * ignoreDupResponses
     * Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
but just allows to avoid unnecessary updates on the client side if the response isn't actual now
     */
    private ValueExpression _ignoreDupResponses;
    /**
     * Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
but just allows to avoid unnecessary updates on the client side if the response isn't actual now
     * Setter for ignoreDupResponses
     * @param ignoreDupResponses - new value
     */
     public void setIgnoreDupResponses( ValueExpression  __ignoreDupResponses ){
      this._ignoreDupResponses = __ignoreDupResponses;
       }
   
                                
    /*
     * limitToList
     * If "true", then of all AJAX-rendered on the page components only those will be updated,
    which ID's are passed to the "reRender" attribute of the describable component.
    "false"-the default value-means that all components with ajaxRendered="true" will be updated.
     */
    private ValueExpression _limitToList;
    /**
     * If "true", then of all AJAX-rendered on the page components only those will be updated,
    which ID's are passed to the "reRender" attribute of the describable component.
    "false"-the default value-means that all components with ajaxRendered="true" will be updated.
     * Setter for limitToList
     * @param limitToList - new value
     */
     public void setLimitToList( ValueExpression  __limitToList ){
      this._limitToList = __limitToList;
       }
   
                                
    /*
     * onbeforedomupdate
     * The client side script method to be called before DOM is updated
     */
    private ValueExpression _onbeforedomupdate;
    /**
     * The client side script method to be called before DOM is updated
     * Setter for onbeforedomupdate
     * @param onbeforedomupdate - new value
     */
     public void setOnbeforedomupdate( ValueExpression  __onbeforedomupdate ){
      this._onbeforedomupdate = __onbeforedomupdate;
       }
   
                                
    /*
     * oncomplete
     * The client side script method to be called after the request is completed
     */
    private ValueExpression _oncomplete;
    /**
     * The client side script method to be called after the request is completed
     * Setter for oncomplete
     * @param oncomplete - new value
     */
     public void setOncomplete( ValueExpression  __oncomplete ){
      this._oncomplete = __oncomplete;
       }
   
                                
    /*
     * onreset
     * HTML: script expression; a form is reseted. It only applies to the FORM element
     */
    private ValueExpression _onreset;
    /**
     * HTML: script expression; a form is reseted. It only applies to the FORM element
     * Setter for onreset
     * @param onreset - new value
     */
     public void setOnreset( ValueExpression  __onreset ){
      this._onreset = __onreset;
       }
   
                                
    /*
     * onsubmit
     * HTML: script expression; a form is submitted. It only applies to the FORM element
     */
    private ValueExpression _onsubmit;
    /**
     * HTML: script expression; a form is submitted. It only applies to the FORM element
     * Setter for onsubmit
     * @param onsubmit - new value
     */
     public void setOnsubmit( ValueExpression  __onsubmit ){
      this._onsubmit = __onsubmit;
       }
   
                                
    /*
     * prependId
     * The flag indicating whether or not this form should prepend its id to its descendent id during the clientId generation process. If this flag is not set, the default value is "true".
     */
    private ValueExpression _prependId;
    /**
     * The flag indicating whether or not this form should prepend its id to its descendent id during the clientId generation process. If this flag is not set, the default value is "true".
     * Setter for prependId
     * @param prependId - new value
     */
     public void setPrependId( ValueExpression  __prependId ){
      this._prependId = __prependId;
       }
   
                                
    /*
     * process
     * Id['s] (in format of call  UIComponent.findComponent()) of components, processed at the phases 2-5 in case of AjaxRequest  caused by this component. Can be single id, comma-separated list of Id's, or EL Expression  with array or Collection
     */
    private ValueExpression _process;
    /**
     * Id['s] (in format of call  UIComponent.findComponent()) of components, processed at the phases 2-5 in case of AjaxRequest  caused by this component. Can be single id, comma-separated list of Id's, or EL Expression  with array or Collection
     * Setter for process
     * @param process - new value
     */
     public void setProcess( ValueExpression  __process ){
      this._process = __process;
       }
   
                                
    /*
     * reRender
     * Id['s] (in format of call  UIComponent.findComponent()) of components, rendered in case of AjaxRequest  caused by this component. Can be single id, comma-separated list of Id's, or EL Expression  with array or Collection
     */
    private ValueExpression _reRender;
    /**
     * Id['s] (in format of call  UIComponent.findComponent()) of components, rendered in case of AjaxRequest  caused by this component. Can be single id, comma-separated list of Id's, or EL Expression  with array or Collection
     * Setter for reRender
     * @param reRender - new value
     */
     public void setReRender( ValueExpression  __reRender ){
      this._reRender = __reRender;
       }
   
                                     
    /*
     * requestDelay
     * Attribute defines the time (in ms.) that the request will be wait in the queue before it is ready to send.
When the delay time is over, the request will be sent to the server or removed if the newest 'similar' request is in a queue already
     */
    private ValueExpression _requestDelay;
    /**
     * Attribute defines the time (in ms.) that the request will be wait in the queue before it is ready to send.
When the delay time is over, the request will be sent to the server or removed if the newest 'similar' request is in a queue already
     * Setter for requestDelay
     * @param requestDelay - new value
     */
     public void setRequestDelay( ValueExpression  __requestDelay ){
      this._requestDelay = __requestDelay;
       }
   
                                
    /*
     * similarityGroupingId
     * If there are any component requests with identical IDs then these requests will be grouped.
     */
    private ValueExpression _similarityGroupingId;
    /**
     * If there are any component requests with identical IDs then these requests will be grouped.
     * Setter for similarityGroupingId
     * @param similarityGroupingId - new value
     */
     public void setSimilarityGroupingId( ValueExpression  __similarityGroupingId ){
      this._similarityGroupingId = __similarityGroupingId;
       }
   
                                
    /*
     * status
     * ID (in format of call UIComponent.findComponent()) of Request status component
     */
    private ValueExpression _status;
    /**
     * ID (in format of call UIComponent.findComponent()) of Request status component
     * Setter for status
     * @param status - new value
     */
     public void setStatus( ValueExpression  __status ){
      this._status = __status;
       }
   
                                
    /*
     * style
     * CSS style(s) is/are to be applied when this component is rendered
     */
    private ValueExpression _style;
    /**
     * CSS style(s) is/are to be applied when this component is rendered
     * Setter for style
     * @param style - new value
     */
     public void setStyle( ValueExpression  __style ){
      this._style = __style;
       }
   
                                
    /*
     * styleClass
     * Corresponds to the HTML class attribute
     */
    private ValueExpression _styleClass;
    /**
     * Corresponds to the HTML class attribute
     * Setter for styleClass
     * @param styleClass - new value
     */
     public void setStyleClass( ValueExpression  __styleClass ){
      this._styleClass = __styleClass;
       }
   
                                     
    /*
     * target
     * This attribute specifies the name of a frame where a document is to be opened.
           
            By assigning a name to a frame via the name attribute, authors can refer to it as the "target" of links defined by other elements
     */
    private ValueExpression _target;
    /**
     * This attribute specifies the name of a frame where a document is to be opened.
           
            By assigning a name to a frame via the name attribute, authors can refer to it as the "target" of links defined by other elements
     * Setter for target
     * @param target - new value
     */
     public void setTarget( ValueExpression  __target ){
      this._target = __target;
       }
   
                                
    /*
     * timeout
     * Timeout ( in ms ) for request.
     */
    private ValueExpression _timeout;
    /**
     * Timeout ( in ms ) for request.
     * Setter for timeout
     * @param timeout - new value
     */
     public void setTimeout( ValueExpression  __timeout ){
      this._timeout = __timeout;
       }
   
       
 
    public void release()
    {
        // TODO Auto-generated method stub
        super.release();
                     this._accept = null;
                this._acceptCharset = null;
                     this._ajaxSingle = null;
                this._ajaxSubmit = null;
                     this._bypassUpdates = null;
                this._data = null;
                this._enctype = null;
                this._eventsQueue = null;
                     this._focus = null;
                     this._ignoreDupResponses = null;
                this._limitToList = null;
                this._onbeforedomupdate = null;
                this._oncomplete = null;
                this._onreset = null;
                this._onsubmit = null;
                this._prependId = null;
                this._process = null;
                this._reRender = null;
                     this._requestDelay = null;
                this._similarityGroupingId = null;
                this._status = null;
                this._style = null;
                this._styleClass = null;
                     this._target = null;
                this._timeout = null;
       }
 
    /* (non-Javadoc)
     * @see org.ajax4jsf.components.taglib.html.HtmlCommandButtonTagBase#setProperties(javax.faces.component.UIComponent)
     */
    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);
        }
      }
               }
 
  /* (non-Javadoc)
   * @see javax.faces.webapp.UIComponentTag#getComponentType()
   */
  public String getComponentType() {
    // TODO Auto-generated method stub
    return "org.ajax4jsf.Form";
  }

  /* (non-Javadoc)
   * @see javax.faces.webapp.UIComponentTag#getRendererType()
   */
  public String getRendererType() {
        return "org.ajax4jsf.FormRenderer";
      }

}
TOP

Related Classes of org.ajax4jsf.taglib.html.jsp.FormTag

TOP
Copyright © 2018 www.massapi.com. 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.