*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlTabPanel comp = (HtmlTabPanel) component;
if (this._activeTabClass != null) {
if (this._activeTabClass.isLiteralText()) {
try {
java.lang.String __activeTabClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._activeTabClass.getExpressionString(),
java.lang.String.class);
comp.setActiveTabClass(__activeTabClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("activeTabClass", this._activeTabClass);
}
}
if (this._contentClass != null) {
if (this._contentClass.isLiteralText()) {
try {
java.lang.String __contentClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._contentClass.getExpressionString(),
java.lang.String.class);
comp.setContentClass(__contentClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("contentClass", this._contentClass);
}
}
if (this._contentStyle != null) {
if (this._contentStyle.isLiteralText()) {
try {
java.lang.String __contentStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._contentStyle.getExpressionString(),
java.lang.String.class);
comp.setContentStyle(__contentStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("contentStyle", this._contentStyle);
}
}
setConverterProperty(comp, this._converter);
if (this._converterMessage != null) {
if (this._converterMessage.isLiteralText()) {
try {
java.lang.String __converterMessage = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._converterMessage.getExpressionString(),
java.lang.String.class);
comp.setConverterMessage(__converterMessage);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("converterMessage", this._converterMessage);
}
}
if (this._disabledTabClass != null) {
if (this._disabledTabClass.isLiteralText()) {
try {
java.lang.String __disabledTabClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._disabledTabClass.getExpressionString(),
java.lang.String.class);
comp.setDisabledTabClass(__disabledTabClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("disabledTabClass", this._disabledTabClass);
}
}
if (this._headerAlignment != null) {
if (this._headerAlignment.isLiteralText()) {
try {
java.lang.String __headerAlignment = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._headerAlignment.getExpressionString(),
java.lang.String.class);
comp.setHeaderAlignment(__headerAlignment);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("headerAlignment", this._headerAlignment);
}
}
if (this._headerClass != null) {
if (this._headerClass.isLiteralText()) {
try {
java.lang.String __headerClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._headerClass.getExpressionString(),
java.lang.String.class);
comp.setHeaderClass(__headerClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("headerClass", this._headerClass);
}
}
if (this._headerSpacing != null) {
if (this._headerSpacing.isLiteralText()) {
try {
java.lang.String __headerSpacing = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._headerSpacing.getExpressionString(),
java.lang.String.class);
comp.setHeaderSpacing(__headerSpacing);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("headerSpacing", this._headerSpacing);
}
}
if (this._height != null) {
if (this._height.isLiteralText()) {
try {
java.lang.String __height = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._height.getExpressionString(),
java.lang.String.class);
comp.setHeight(__height);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("height", this._height);
}
}
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._inactiveTabClass != null) {
if (this._inactiveTabClass.isLiteralText()) {
try {
java.lang.String __inactiveTabClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._inactiveTabClass.getExpressionString(),
java.lang.String.class);
comp.setInactiveTabClass(__inactiveTabClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("inactiveTabClass", this._inactiveTabClass);
}
}
if (this._label != null) {
if (this._label.isLiteralText()) {
try {
java.lang.String __label = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._label.getExpressionString(),
java.lang.String.class);
comp.setLabel(__label);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("label", this._label);
}
}
if (this._ontabchange != null) {
if (this._ontabchange.isLiteralText()) {
try {
java.lang.String __ontabchange = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._ontabchange.getExpressionString(),
java.lang.String.class);
comp.setOntabchange(__ontabchange);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("ontabchange", this._ontabchange);
}
}
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._switchType != null) {
if (this._switchType.isLiteralText()) {
try {
java.lang.String __switchType = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._switchType.getExpressionString(),
java.lang.String.class);
comp.setSwitchType(__switchType);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("switchType", this._switchType);
}
}
if (this._tabClass != null) {
if (this._tabClass.isLiteralText()) {
try {
java.lang.String __tabClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._tabClass.getExpressionString(),
java.lang.String.class);
comp.setTabClass(__tabClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("tabClass", this._tabClass);
}
}
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);
}
}
setValueChangeListenerProperty(comp, this._valueChangeListener);
if (this._width != null) {
if (this._width.isLiteralText()) {
try {
java.lang.String __width = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._width.getExpressionString(),
java.lang.String.class);
comp.setWidth(__width);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("width", this._width);