Methods Summary |
---|
public java.lang.String | getCityId()
return cityId;
|
public java.lang.String | getComponentType()
return "oreilly.ajax.ZipCode";
|
public java.lang.String | getRendererType()
return "ZipCode"; // ZipCodeRenderer
|
public java.lang.String | getStateId()
return stateId;
|
public java.lang.String | getUrl()
return url;
|
public java.lang.String | getZipcodeId()
return zipcodeId;
|
public void | release()
zipcodeId = null;
stateId = null;
cityId = null;
url = null;
|
public void | setCityId(java.lang.String city)
this.cityId = city;
|
protected void | setProperties(javax.faces.component.UIComponent component)
super.setProperties(component);
ZipCode input = null;
try
{
input = (ZipCode) component;
}
catch (ClassCastException cce)
{
throw new IllegalStateException(
"Component "
+ component.toString()
+ " not expected type. Expected: ZipCode. Perhaps you're missing a tag?");
}
FacesContext context = getFacesContext();
if (cityId != null)
{
if (isValueReference(cityId))
{
ValueBinding vb = context.getApplication().createValueBinding(cityId);
component.setValueBinding("cityId", vb);
}
else
{
input.setCityId(cityId);
}
}
|
public void | setStateId(java.lang.String state)
this.stateId = state;
|
public void | setUrl(java.lang.String url)
this.url = url;
|
public void | setZipcodeId(java.lang.String zipcodeId)
this.zipcodeId = zipcodeId;
|