Examples of HtmlDownload


Examples of org.jboss.seam.ui.component.html.HtmlDownload

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDownload comp = (HtmlDownload) component;
            setActionProperty(comp, this._action);
                  //Do nothing. Use 'action' instead
                  setActionListenerProperty(comp, this._actionListener);
                    
            if (this._conversationName != null) {
        if (this._conversationName.isLiteralText()) {
          try {
                       
            java.lang.String __conversationName = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._conversationName.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConversationName(__conversationName);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("conversationName", this._conversationName);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                         
            if (this._fragment != null) {
        if (this._fragment.isLiteralText()) {
          try {
                       
            java.lang.String __fragment = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fragment.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFragment(__fragment);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fragment", this._fragment);
        }
      }
                         
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                        
            if (this._includePageParams != null) {
        if (this._includePageParams.isLiteralText()) {
          try {
                       
            Boolean __includePageParams = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._includePageParams.getExpressionString(),
                      Boolean.class);
         
                        comp.setIncludePageParams(__includePageParams.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("includePageParams", this._includePageParams);
        }
      }
                         
            if (this._pageflow != null) {
        if (this._pageflow.isLiteralText()) {
          try {
                       
            java.lang.String __pageflow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pageflow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPageflow(__pageflow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pageflow", this._pageflow);
        }
      }
                         
            if (this._propagation != null) {
        if (this._propagation.isLiteralText()) {
          try {
                       
            java.lang.String __propagation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._propagation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPropagation(__propagation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("propagation", this._propagation);
        }
      }
                          
            if (this._src != null) {
        if (this._src.isLiteralText()) {
          try {
                       
            java.lang.String __src = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._src.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSrc(__src);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("src", this._src);
        }
      }
                        
            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._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._view != null) {
        if (this._view.isLiteralText()) {
          try {
                       
            java.lang.String __view = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._view.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setView(__view);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("view", this._view);
View Full Code Here

Examples of org.jboss.seam.ui.component.html.HtmlDownload

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDownload comp = (HtmlDownload) component;
            setActionProperty(comp, this._action);
                  //Do nothing. Use 'action' instead
                  setActionListenerProperty(comp, this._actionListener);
                    
            if (this._conversationName != null) {
        if (this._conversationName.isLiteralText()) {
          try {
                       
            java.lang.String __conversationName = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._conversationName.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConversationName(__conversationName);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("conversationName", this._conversationName);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                         
            if (this._fragment != null) {
        if (this._fragment.isLiteralText()) {
          try {
                       
            java.lang.String __fragment = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fragment.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFragment(__fragment);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fragment", this._fragment);
        }
      }
                         
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                        
            if (this._includePageParams != null) {
        if (this._includePageParams.isLiteralText()) {
          try {
                       
            Boolean __includePageParams = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._includePageParams.getExpressionString(),
                      Boolean.class);
         
                        comp.setIncludePageParams(__includePageParams.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("includePageParams", this._includePageParams);
        }
      }
                         
            if (this._pageflow != null) {
        if (this._pageflow.isLiteralText()) {
          try {
                       
            java.lang.String __pageflow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pageflow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPageflow(__pageflow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pageflow", this._pageflow);
        }
      }
                         
            if (this._propagation != null) {
        if (this._propagation.isLiteralText()) {
          try {
                       
            java.lang.String __propagation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._propagation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPropagation(__propagation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("propagation", this._propagation);
        }
      }
                          
            if (this._src != null) {
        if (this._src.isLiteralText()) {
          try {
                       
            java.lang.String __src = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._src.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSrc(__src);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("src", this._src);
        }
      }
                        
            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._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._view != null) {
        if (this._view.isLiteralText()) {
          try {
                       
            java.lang.String __view = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._view.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setView(__view);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("view", this._view);
View Full Code Here
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.