/**
* Convert the string value of a page parameter to the required type
*/
public Object convertValueFromString(FacesContext facesContext, String value)
{
Converter converter = null;
try
{
converter = getConverter();
}
catch (RuntimeException re)
{
//YUCK! due to bad JSF/MyFaces error handling
log.warn("could not create converter for: " + name, re);
return null;
}
return converter==null ?
value :
converter.getAsObject( facesContext, facesContext.getViewRoot(), value );
}