[jboss-user] [JBoss Seam] - Re: Question on Converter

hasc do-not-reply at jboss.com
Sun Apr 1 12:23:48 EDT 2007


public String getAsString(FacesContext facesContext, UIComponent component, Object obj)
  | {
  |     Float val = (Float) obj;
  | 		
  |     if(val == null || val == 0)
  |     {
  |         String str = "";
  |         return str;
  |     }
  |     return obj.toString();
  | }
  | 
solved this question...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033539#4033539

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033539



More information about the jboss-user mailing list