@Override
	public Object getAsObject(FacesContext context, UIComponent component,
			String value) {
		   StringBuilder url = new StringBuilder();

		      if(!value.startsWith("http://", 0)){
		         url.append("http://");
		      }
		      url.append(value);

		      try {
		         new URI(url.toString());	        
		      } catch (URISyntaxException e) {
		         FacesMessage msg = new FacesMessage("Error converting URL",
		            "Invalid URL format");
		         msg.setSeverity(FacesMessage.SEVERITY_ERROR);
		         throw new ConverterException(msg);
		      }

		      UrlData urlData = new UrlData(url.toString()); 
		      return urlData;
	}