*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlVirtualEarth comp = (HtmlVirtualEarth) component;
if (this._dashboardSize != null) {
if (this._dashboardSize.isLiteralText()) {
try {
java.lang.String __dashboardSize = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._dashboardSize.getExpressionString(),
java.lang.String.class);
comp.setDashboardSize(__dashboardSize);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("dashboardSize", this._dashboardSize);
}
}
if (this._lat != null) {
if (this._lat.isLiteralText()) {
try {
java.lang.String __lat = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._lat.getExpressionString(),
java.lang.String.class);
comp.setLat(__lat);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("lat", this._lat);
}
}
if (this._lng != null) {
if (this._lng.isLiteralText()) {
try {
java.lang.String __lng = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._lng.getExpressionString(),
java.lang.String.class);
comp.setLng(__lng);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("lng", this._lng);
}
}
if (this._mapStyle != null) {
if (this._mapStyle.isLiteralText()) {
try {
java.lang.String __mapStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._mapStyle.getExpressionString(),
java.lang.String.class);
comp.setMapStyle(__mapStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("mapStyle", this._mapStyle);
}
}
if (this._onLoadMap != null) {
if (this._onLoadMap.isLiteralText()) {
try {
java.lang.String __onLoadMap = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onLoadMap.getExpressionString(),
java.lang.String.class);
comp.setOnLoadMap(__onLoadMap);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onLoadMap", this._onLoadMap);
}
}
if (this._var != null) {
if (this._var.isLiteralText()) {
try {
java.lang.String __var = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._var.getExpressionString(),
java.lang.String.class);
comp.setVar(__var);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("var", this._var);
}
}
if (this._version != null) {
if (this._version.isLiteralText()) {
try {
java.lang.String __version = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._version.getExpressionString(),
java.lang.String.class);
comp.setVersion(__version);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("version", this._version);
}
}
if (this._zoom != null) {
if (this._zoom.isLiteralText()) {
try {
java.lang.String __zoom = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._zoom.getExpressionString(),
java.lang.String.class);
comp.setZoom(__zoom);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("zoom", this._zoom);