*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlFileUpload comp = (HtmlFileUpload) component;
if (this._acceptedTypes != null) {
if (this._acceptedTypes.isLiteralText()) {
try {
java.lang.String __acceptedTypes = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._acceptedTypes.getExpressionString(),
java.lang.String.class);
comp.setAcceptedTypes(__acceptedTypes);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("acceptedTypes", this._acceptedTypes);
}
}
if (this._accesskey != null) {
if (this._accesskey.isLiteralText()) {
try {
java.lang.String __accesskey = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._accesskey.getExpressionString(),
java.lang.String.class);
comp.setAccesskey(__accesskey);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("accesskey", this._accesskey);
}
}
if (this._addButtonClass != null) {
if (this._addButtonClass.isLiteralText()) {
try {
java.lang.String __addButtonClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._addButtonClass.getExpressionString(),
java.lang.String.class);
comp.setAddButtonClass(__addButtonClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("addButtonClass", this._addButtonClass);
}
}
if (this._addButtonClassDisabled != null) {
if (this._addButtonClassDisabled.isLiteralText()) {
try {
java.lang.String __addButtonClassDisabled = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._addButtonClassDisabled.getExpressionString(),
java.lang.String.class);
comp.setAddButtonClassDisabled(__addButtonClassDisabled);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("addButtonClassDisabled", this._addButtonClassDisabled);
}
}
if (this._addControlLabel != null) {
if (this._addControlLabel.isLiteralText()) {
try {
java.lang.String __addControlLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._addControlLabel.getExpressionString(),
java.lang.String.class);
comp.setAddControlLabel(__addControlLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("addControlLabel", this._addControlLabel);
}
}
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._allowFlash != null) {
if (this._allowFlash.isLiteralText()) {
try {
java.lang.String __allowFlash = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._allowFlash.getExpressionString(),
java.lang.String.class);
comp.setAllowFlash(__allowFlash);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("allowFlash", this._allowFlash);
}
}
if (this._alt != null) {
if (this._alt.isLiteralText()) {
try {
java.lang.String __alt = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._alt.getExpressionString(),
java.lang.String.class);
comp.setAlt(__alt);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("alt", this._alt);
}
}
if (this._autoclear != null) {
if (this._autoclear.isLiteralText()) {
try {
Boolean __autoclear = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._autoclear.getExpressionString(),
Boolean.class);
comp.setAutoclear(__autoclear.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("autoclear", this._autoclear);
}
}
if (this._cancelEntryControlLabel != null) {
if (this._cancelEntryControlLabel.isLiteralText()) {
try {
java.lang.String __cancelEntryControlLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._cancelEntryControlLabel.getExpressionString(),
java.lang.String.class);
comp.setCancelEntryControlLabel(__cancelEntryControlLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("cancelEntryControlLabel", this._cancelEntryControlLabel);
}
}
if (this._cleanButtonClass != null) {
if (this._cleanButtonClass.isLiteralText()) {
try {
java.lang.String __cleanButtonClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._cleanButtonClass.getExpressionString(),
java.lang.String.class);
comp.setCleanButtonClass(__cleanButtonClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("cleanButtonClass", this._cleanButtonClass);
}
}
if (this._cleanButtonClassDisabled != null) {
if (this._cleanButtonClassDisabled.isLiteralText()) {
try {
java.lang.String __cleanButtonClassDisabled = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._cleanButtonClassDisabled.getExpressionString(),
java.lang.String.class);
comp.setCleanButtonClassDisabled(__cleanButtonClassDisabled);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("cleanButtonClassDisabled", this._cleanButtonClassDisabled);
}
}
if (this._clearAllControlLabel != null) {
if (this._clearAllControlLabel.isLiteralText()) {
try {
java.lang.String __clearAllControlLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._clearAllControlLabel.getExpressionString(),
java.lang.String.class);
comp.setClearAllControlLabel(__clearAllControlLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("clearAllControlLabel", this._clearAllControlLabel);
}
}
if (this._clearControlLabel != null) {
if (this._clearControlLabel.isLiteralText()) {
try {
java.lang.String __clearControlLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._clearControlLabel.getExpressionString(),
java.lang.String.class);
comp.setClearControlLabel(__clearControlLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("clearControlLabel", this._clearControlLabel);
}
}
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._doneLabel != null) {
if (this._doneLabel.isLiteralText()) {
try {
java.lang.String __doneLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._doneLabel.getExpressionString(),
java.lang.String.class);
comp.setDoneLabel(__doneLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("doneLabel", this._doneLabel);
}
}
if (this._doneLabelClass != null) {
if (this._doneLabelClass.isLiteralText()) {
try {
java.lang.String __doneLabelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._doneLabelClass.getExpressionString(),
java.lang.String.class);
comp.setDoneLabelClass(__doneLabelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("doneLabelClass", this._doneLabelClass);
}
}
if (this._entryCancelLabelClass != null) {
if (this._entryCancelLabelClass.isLiteralText()) {
try {
java.lang.String __entryCancelLabelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._entryCancelLabelClass.getExpressionString(),
java.lang.String.class);
comp.setEntryCancelLabelClass(__entryCancelLabelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("entryCancelLabelClass", this._entryCancelLabelClass);
}
}
if (this._entryClearLabelClass != null) {
if (this._entryClearLabelClass.isLiteralText()) {
try {
java.lang.String __entryClearLabelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._entryClearLabelClass.getExpressionString(),
java.lang.String.class);
comp.setEntryClearLabelClass(__entryClearLabelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("entryClearLabelClass", this._entryClearLabelClass);
}
}
if (this._entryStopLabelClass != null) {
if (this._entryStopLabelClass.isLiteralText()) {
try {
java.lang.String __entryStopLabelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._entryStopLabelClass.getExpressionString(),
java.lang.String.class);
comp.setEntryStopLabelClass(__entryStopLabelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("entryStopLabelClass", this._entryStopLabelClass);
}
}
if (this._fileEntryClass != null) {
if (this._fileEntryClass.isLiteralText()) {
try {
java.lang.String __fileEntryClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._fileEntryClass.getExpressionString(),
java.lang.String.class);
comp.setFileEntryClass(__fileEntryClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("fileEntryClass", this._fileEntryClass);
}
}
if (this._fileEntryClassDisabled != null) {
if (this._fileEntryClassDisabled.isLiteralText()) {
try {
java.lang.String __fileEntryClassDisabled = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._fileEntryClassDisabled.getExpressionString(),
java.lang.String.class);
comp.setFileEntryClassDisabled(__fileEntryClassDisabled);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("fileEntryClassDisabled", this._fileEntryClassDisabled);
}
}
if (this._fileEntryControlClass != null) {
if (this._fileEntryControlClass.isLiteralText()) {
try {
java.lang.String __fileEntryControlClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._fileEntryControlClass.getExpressionString(),
java.lang.String.class);
comp.setFileEntryControlClass(__fileEntryControlClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("fileEntryControlClass", this._fileEntryControlClass);
}
}
if (this._fileEntryControlClassDisabled != null) {
if (this._fileEntryControlClassDisabled.isLiteralText()) {
try {
java.lang.String __fileEntryControlClassDisabled = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._fileEntryControlClassDisabled.getExpressionString(),
java.lang.String.class);
comp.setFileEntryControlClassDisabled(__fileEntryControlClassDisabled);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("fileEntryControlClassDisabled", this._fileEntryControlClassDisabled);
}
}
if(null != this._fileUploadListener){
if (!this._fileUploadListener.isLiteralText())
{
MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._fileUploadListener);
((HtmlFileUpload)component).setFileUploadListener(mb);
}
else
{
getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid fileUploadListener value: " + this._fileUploadListener);
}
}
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._immediateUpload != null) {
if (this._immediateUpload.isLiteralText()) {
try {
Boolean __immediateUpload = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._immediateUpload.getExpressionString(),
Boolean.class);
comp.setImmediateUpload(__immediateUpload.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("immediateUpload", this._immediateUpload);
}
}
if (this._listHeight != null) {
if (this._listHeight.isLiteralText()) {
try {
java.lang.String __listHeight = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._listHeight.getExpressionString(),
java.lang.String.class);
comp.setListHeight(__listHeight);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("listHeight", this._listHeight);
}
}
if (this._listWidth != null) {
if (this._listWidth.isLiteralText()) {
try {
java.lang.String __listWidth = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._listWidth.getExpressionString(),
java.lang.String.class);
comp.setListWidth(__listWidth);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("listWidth", this._listWidth);
}
}
if (this._locale != null) {
if (this._locale.isLiteralText()) {
try {
java.lang.Object __locale = (java.lang.Object) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._locale.getExpressionString(),
java.lang.Object.class);
comp.setLocale(__locale);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("locale", this._locale);
}
}
if (this._maxFilesQuantity != null) {
if (this._maxFilesQuantity.isLiteralText()) {
try {
java.lang.Integer __maxFilesQuantity = (java.lang.Integer) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._maxFilesQuantity.getExpressionString(),
java.lang.Integer.class);
comp.setMaxFilesQuantity(__maxFilesQuantity);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("maxFilesQuantity", this._maxFilesQuantity);
}
}
if (this._noDuplicate != null) {
if (this._noDuplicate.isLiteralText()) {
try {
Boolean __noDuplicate = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._noDuplicate.getExpressionString(),
Boolean.class);
comp.setNoDuplicate(__noDuplicate.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("noDuplicate", this._noDuplicate);
}
}
if (this._onadd != null) {
if (this._onadd.isLiteralText()) {
try {
java.lang.String __onadd = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onadd.getExpressionString(),
java.lang.String.class);
comp.setOnadd(__onadd);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onadd", this._onadd);
}
}
if (this._onblur != null) {
if (this._onblur.isLiteralText()) {
try {
java.lang.String __onblur = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onblur.getExpressionString(),
java.lang.String.class);
comp.setOnblur(__onblur);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onblur", this._onblur);
}
}
if (this._onchange != null) {
if (this._onchange.isLiteralText()) {
try {
java.lang.String __onchange = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onchange.getExpressionString(),
java.lang.String.class);
comp.setOnchange(__onchange);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onchange", this._onchange);
}
}
if (this._onclear != null) {
if (this._onclear.isLiteralText()) {
try {
java.lang.String __onclear = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onclear.getExpressionString(),
java.lang.String.class);
comp.setOnclear(__onclear);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onclear", this._onclear);
}
}
if (this._onerror != null) {
if (this._onerror.isLiteralText()) {
try {
java.lang.String __onerror = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onerror.getExpressionString(),
java.lang.String.class);
comp.setOnerror(__onerror);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onerror", this._onerror);
}
}
if (this._onfileuploadcomplete != null) {
if (this._onfileuploadcomplete.isLiteralText()) {
try {
java.lang.String __onfileuploadcomplete = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onfileuploadcomplete.getExpressionString(),
java.lang.String.class);
comp.setOnfileuploadcomplete(__onfileuploadcomplete);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onfileuploadcomplete", this._onfileuploadcomplete);
}
}
if (this._onfocus != null) {
if (this._onfocus.isLiteralText()) {
try {
java.lang.String __onfocus = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onfocus.getExpressionString(),
java.lang.String.class);
comp.setOnfocus(__onfocus);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onfocus", this._onfocus);
}
}
if (this._onselect != null) {
if (this._onselect.isLiteralText()) {
try {
java.lang.String __onselect = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onselect.getExpressionString(),
java.lang.String.class);
comp.setOnselect(__onselect);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onselect", this._onselect);
}
}
if (this._onsizerejected != null) {
if (this._onsizerejected.isLiteralText()) {
try {
java.lang.String __onsizerejected = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onsizerejected.getExpressionString(),
java.lang.String.class);
comp.setOnsizerejected(__onsizerejected);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onsizerejected", this._onsizerejected);
}
}
if (this._ontyperejected != null) {
if (this._ontyperejected.isLiteralText()) {
try {
java.lang.String __ontyperejected = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._ontyperejected.getExpressionString(),
java.lang.String.class);
comp.setOntyperejected(__ontyperejected);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("ontyperejected", this._ontyperejected);
}
}
if (this._onupload != null) {
if (this._onupload.isLiteralText()) {
try {
java.lang.String __onupload = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onupload.getExpressionString(),
java.lang.String.class);
comp.setOnupload(__onupload);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onupload", this._onupload);
}
}
if (this._onuploadcanceled != null) {
if (this._onuploadcanceled.isLiteralText()) {
try {
java.lang.String __onuploadcanceled = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onuploadcanceled.getExpressionString(),
java.lang.String.class);
comp.setOnuploadcanceled(__onuploadcanceled);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onuploadcanceled", this._onuploadcanceled);
}
}
if (this._onuploadcomplete != null) {
if (this._onuploadcomplete.isLiteralText()) {
try {
java.lang.String __onuploadcomplete = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onuploadcomplete.getExpressionString(),
java.lang.String.class);
comp.setOnuploadcomplete(__onuploadcomplete);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onuploadcomplete", this._onuploadcomplete);
}
}
if (this._progressLabel != null) {
if (this._progressLabel.isLiteralText()) {
try {
java.lang.String __progressLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._progressLabel.getExpressionString(),
java.lang.String.class);
comp.setProgressLabel(__progressLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("progressLabel", this._progressLabel);
}
}
if (this._progressLabelClass != null) {
if (this._progressLabelClass.isLiteralText()) {
try {
java.lang.String __progressLabelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._progressLabelClass.getExpressionString(),
java.lang.String.class);
comp.setProgressLabelClass(__progressLabelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("progressLabelClass", this._progressLabelClass);
}
}
if (this._required != null) {
if (this._required.isLiteralText()) {
try {
Boolean __required = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._required.getExpressionString(),
Boolean.class);
comp.setRequired(__required.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("required", this._required);
}
}
if (this._requiredMessage != null) {
if (this._requiredMessage.isLiteralText()) {
try {
java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._requiredMessage.getExpressionString(),
java.lang.String.class);
comp.setRequiredMessage(__requiredMessage);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("requiredMessage", this._requiredMessage);
}
}
if (this._sizeErrorLabel != null) {
if (this._sizeErrorLabel.isLiteralText()) {
try {
java.lang.String __sizeErrorLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._sizeErrorLabel.getExpressionString(),
java.lang.String.class);
comp.setSizeErrorLabel(__sizeErrorLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("sizeErrorLabel", this._sizeErrorLabel);
}
}
if (this._sizeErrorLabelClass != null) {
if (this._sizeErrorLabelClass.isLiteralText()) {
try {
java.lang.String __sizeErrorLabelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._sizeErrorLabelClass.getExpressionString(),
java.lang.String.class);
comp.setSizeErrorLabelClass(__sizeErrorLabelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("sizeErrorLabelClass", this._sizeErrorLabelClass);
}
}
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._stopButtonClass != null) {
if (this._stopButtonClass.isLiteralText()) {
try {
java.lang.String __stopButtonClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._stopButtonClass.getExpressionString(),
java.lang.String.class);
comp.setStopButtonClass(__stopButtonClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("stopButtonClass", this._stopButtonClass);
}
}
if (this._stopButtonClassDisabled != null) {
if (this._stopButtonClassDisabled.isLiteralText()) {
try {
java.lang.String __stopButtonClassDisabled = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._stopButtonClassDisabled.getExpressionString(),
java.lang.String.class);
comp.setStopButtonClassDisabled(__stopButtonClassDisabled);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("stopButtonClassDisabled", this._stopButtonClassDisabled);
}
}
if (this._stopControlLabel != null) {
if (this._stopControlLabel.isLiteralText()) {
try {
java.lang.String __stopControlLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._stopControlLabel.getExpressionString(),
java.lang.String.class);
comp.setStopControlLabel(__stopControlLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("stopControlLabel", this._stopControlLabel);
}
}
if (this._stopEntryControlLabel != null) {
if (this._stopEntryControlLabel.isLiteralText()) {
try {
java.lang.String __stopEntryControlLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._stopEntryControlLabel.getExpressionString(),
java.lang.String.class);
comp.setStopEntryControlLabel(__stopEntryControlLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("stopEntryControlLabel", this._stopEntryControlLabel);
}
}
if (this._tabindex != null) {
if (this._tabindex.isLiteralText()) {
try {
java.lang.String __tabindex = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._tabindex.getExpressionString(),
java.lang.String.class);
comp.setTabindex(__tabindex);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("tabindex", this._tabindex);
}
}
if (this._transferErrorLabel != null) {
if (this._transferErrorLabel.isLiteralText()) {
try {
java.lang.String __transferErrorLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._transferErrorLabel.getExpressionString(),
java.lang.String.class);
comp.setTransferErrorLabel(__transferErrorLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("transferErrorLabel", this._transferErrorLabel);
}
}
if (this._transferErrorLabelClass != null) {
if (this._transferErrorLabelClass.isLiteralText()) {
try {
java.lang.String __transferErrorLabelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._transferErrorLabelClass.getExpressionString(),
java.lang.String.class);
comp.setTransferErrorLabelClass(__transferErrorLabelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("transferErrorLabelClass", this._transferErrorLabelClass);
}
}
if (this._uploadButtonClass != null) {
if (this._uploadButtonClass.isLiteralText()) {
try {
java.lang.String __uploadButtonClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._uploadButtonClass.getExpressionString(),
java.lang.String.class);
comp.setUploadButtonClass(__uploadButtonClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("uploadButtonClass", this._uploadButtonClass);
}
}
if (this._uploadButtonClassDisabled != null) {
if (this._uploadButtonClassDisabled.isLiteralText()) {
try {
java.lang.String __uploadButtonClassDisabled = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._uploadButtonClassDisabled.getExpressionString(),
java.lang.String.class);
comp.setUploadButtonClassDisabled(__uploadButtonClassDisabled);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("uploadButtonClassDisabled", this._uploadButtonClassDisabled);
}
}
if (this._uploadControlLabel != null) {
if (this._uploadControlLabel.isLiteralText()) {
try {
java.lang.String __uploadControlLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._uploadControlLabel.getExpressionString(),
java.lang.String.class);
comp.setUploadControlLabel(__uploadControlLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("uploadControlLabel", this._uploadControlLabel);
}
}
if(null != this._uploadData && this._uploadData.isLiteralText()){
throw new IllegalArgumentException("Component org.richfaces.component.FileUpload with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property uploadData");
}
if (this._uploadData != null) {
if (this._uploadData.isLiteralText()) {
try {
java.lang.Object __uploadData = (java.lang.Object) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._uploadData.getExpressionString(),
java.lang.Object.class);
comp.setUploadData(__uploadData);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("uploadData", this._uploadData);
}
}
if (this._uploadListClass != null) {
if (this._uploadListClass.isLiteralText()) {
try {
java.lang.String __uploadListClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._uploadListClass.getExpressionString(),
java.lang.String.class);
comp.setUploadListClass(__uploadListClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("uploadListClass", this._uploadListClass);
}
}
if (this._uploadListClassDisabled != null) {
if (this._uploadListClassDisabled.isLiteralText()) {
try {
java.lang.String __uploadListClassDisabled = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._uploadListClassDisabled.getExpressionString(),
java.lang.String.class);
comp.setUploadListClassDisabled(__uploadListClassDisabled);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("uploadListClassDisabled", this._uploadListClassDisabled);
}
}
setValidatorProperty(comp, this._validator);
if (this._validatorMessage != null) {
if (this._validatorMessage.isLiteralText()) {
try {
java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._validatorMessage.getExpressionString(),
java.lang.String.class);
comp.setValidatorMessage(__validatorMessage);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("validatorMessage", this._validatorMessage);