*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlGmap comp = (HtmlGmap) component;
if (this._enableContinuousZoom != null) {
if (this._enableContinuousZoom.isLiteralText()) {
try {
java.lang.String __enableContinuousZoom = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._enableContinuousZoom.getExpressionString(),
java.lang.String.class);
comp.setEnableContinuousZoom(__enableContinuousZoom);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("enableContinuousZoom", this._enableContinuousZoom);
}
}
if (this._enableDoubleClickZoom != null) {
if (this._enableDoubleClickZoom.isLiteralText()) {
try {
java.lang.String __enableDoubleClickZoom = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._enableDoubleClickZoom.getExpressionString(),
java.lang.String.class);
comp.setEnableDoubleClickZoom(__enableDoubleClickZoom);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("enableDoubleClickZoom", this._enableDoubleClickZoom);
}
}
if (this._enableDragging != null) {
if (this._enableDragging.isLiteralText()) {
try {
java.lang.String __enableDragging = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._enableDragging.getExpressionString(),
java.lang.String.class);
comp.setEnableDragging(__enableDragging);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("enableDragging", this._enableDragging);
}
}
if (this._enableInfoWindow != null) {
if (this._enableInfoWindow.isLiteralText()) {
try {
java.lang.String __enableInfoWindow = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._enableInfoWindow.getExpressionString(),
java.lang.String.class);
comp.setEnableInfoWindow(__enableInfoWindow);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("enableInfoWindow", this._enableInfoWindow);
}
}
if (this._gmapKey != null) {
if (this._gmapKey.isLiteralText()) {
try {
java.lang.String __gmapKey = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._gmapKey.getExpressionString(),
java.lang.String.class);
comp.setGmapKey(__gmapKey);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("gmapKey", this._gmapKey);
}
}
if (this._gmapVar != null) {
if (this._gmapVar.isLiteralText()) {
try {
java.lang.String __gmapVar = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._gmapVar.getExpressionString(),
java.lang.String.class);
comp.setGmapVar(__gmapVar);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("gmapVar", this._gmapVar);
}
}
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._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._mapType != null) {
if (this._mapType.isLiteralText()) {
try {
java.lang.String __mapType = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._mapType.getExpressionString(),
java.lang.String.class);
comp.setMapType(__mapType);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("mapType", this._mapType);
}
}
if (this._oninit != null) {
if (this._oninit.isLiteralText()) {
try {
java.lang.String __oninit = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninit.getExpressionString(),
java.lang.String.class);
comp.setOninit(__oninit);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninit", this._oninit);
}
}
if (this._showGLargeMapControl != null) {
if (this._showGLargeMapControl.isLiteralText()) {
try {
java.lang.String __showGLargeMapControl = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._showGLargeMapControl.getExpressionString(),
java.lang.String.class);
comp.setShowGLargeMapControl(__showGLargeMapControl);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("showGLargeMapControl", this._showGLargeMapControl);
}
}
if (this._showGMapTypeControl != null) {
if (this._showGMapTypeControl.isLiteralText()) {
try {
java.lang.String __showGMapTypeControl = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._showGMapTypeControl.getExpressionString(),
java.lang.String.class);
comp.setShowGMapTypeControl(__showGMapTypeControl);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("showGMapTypeControl", this._showGMapTypeControl);
}
}
if (this._showGScaleControl != null) {
if (this._showGScaleControl.isLiteralText()) {
try {
java.lang.String __showGScaleControl = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._showGScaleControl.getExpressionString(),
java.lang.String.class);
comp.setShowGScaleControl(__showGScaleControl);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("showGScaleControl", this._showGScaleControl);
}
}
if (this._warningMessage != null) {
if (this._warningMessage.isLiteralText()) {
try {
java.lang.String __warningMessage = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._warningMessage.getExpressionString(),
java.lang.String.class);
comp.setWarningMessage(__warningMessage);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("warningMessage", this._warningMessage);
}
}
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);