*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlPage comp = (HtmlPage) component;
if (this._bodyClass != null) {
if (this._bodyClass.isLiteralText()) {
try {
java.lang.String __bodyClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._bodyClass.getExpressionString(),
java.lang.String.class);
comp.setBodyClass(__bodyClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("bodyClass", this._bodyClass);
}
}
if (this._contentType != null) {
if (this._contentType.isLiteralText()) {
try {
java.lang.String __contentType = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._contentType.getExpressionString(),
java.lang.String.class);
comp.setContentType(__contentType);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("contentType", this._contentType);
}
}
if (this._footerClass != null) {
if (this._footerClass.isLiteralText()) {
try {
java.lang.String __footerClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._footerClass.getExpressionString(),
java.lang.String.class);
comp.setFooterClass(__footerClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("footerClass", this._footerClass);
}
}
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._markupType != null) {
if (this._markupType.isLiteralText()) {
try {
java.lang.String __markupType = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._markupType.getExpressionString(),
java.lang.String.class);
comp.setMarkupType(__markupType);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("markupType", this._markupType);
}
}
if (this._namespace != null) {
if (this._namespace.isLiteralText()) {
try {
java.lang.String __namespace = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._namespace.getExpressionString(),
java.lang.String.class);
comp.setNamespace(__namespace);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("namespace", this._namespace);
}
}
if (this._oncontextmenu != null) {
if (this._oncontextmenu.isLiteralText()) {
try {
java.lang.String __oncontextmenu = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oncontextmenu.getExpressionString(),
java.lang.String.class);
comp.setOncontextmenu(__oncontextmenu);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oncontextmenu", this._oncontextmenu);
}
}
if (this._onload != null) {
if (this._onload.isLiteralText()) {
try {
java.lang.String __onload = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onload.getExpressionString(),
java.lang.String.class);
comp.setOnload(__onload);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onload", this._onload);
}
}
if (this._onunload != null) {
if (this._onunload.isLiteralText()) {
try {
java.lang.String __onunload = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onunload.getExpressionString(),
java.lang.String.class);
comp.setOnunload(__onunload);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onunload", this._onunload);
}
}
if (this._pageTitle != null) {
if (this._pageTitle.isLiteralText()) {
try {
java.lang.String __pageTitle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._pageTitle.getExpressionString(),
java.lang.String.class);
comp.setPageTitle(__pageTitle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("pageTitle", this._pageTitle);
}
}
if (this._sidebarClass != null) {
if (this._sidebarClass.isLiteralText()) {
try {
java.lang.String __sidebarClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._sidebarClass.getExpressionString(),
java.lang.String.class);
comp.setSidebarClass(__sidebarClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("sidebarClass", this._sidebarClass);
}
}
if (this._sidebarPosition != null) {
if (this._sidebarPosition.isLiteralText()) {
try {
java.lang.String __sidebarPosition = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._sidebarPosition.getExpressionString(),
java.lang.String.class);
comp.setSidebarPosition(__sidebarPosition);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("sidebarPosition", this._sidebarPosition);
}
}
if (this._sidebarWidth != null) {
if (this._sidebarWidth.isLiteralText()) {
try {
Integer __sidebarWidth = (Integer) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._sidebarWidth.getExpressionString(),
Integer.class);
comp.setSidebarWidth(__sidebarWidth.intValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("sidebarWidth", this._sidebarWidth);
}
}
if (this._theme != null) {
if (this._theme.isLiteralText()) {
try {
java.lang.String __theme = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._theme.getExpressionString(),
java.lang.String.class);
comp.setTheme(__theme);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("theme", this._theme);
}
}
if (this._width != null) {
if (this._width.isLiteralText()) {
try {
Integer __width = (Integer) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._width.getExpressionString(),
Integer.class);
comp.setWidth(__width.intValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("width", this._width);