You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Whitney Hunter <wh...@hunterfam.com> on 2005/05/06 23:17:06 UTC

selectOneMenu issue

I am again having trouble with the <selectOneMenu> component using a 
converter. When I select a menu value the form is submitted (by a 
javascript submit call). When I get into the converter, the value to 
convert is null. Has anyone else had this problem?

Thanks,
Whitney

Re: selectOneMenu issue

Posted by Jon Travis <jt...@p00p.org>.
I've seen it -- look at the converters that come with MyFaces
(LongConverter, for instance).  They specifically check for
null, and return "", etc.  I personally think that's a bit lame,
since everyone writing a converter has to have a silly null check.

-- Jon


On May 6, 2005, at 2:17 PM, Whitney Hunter wrote:

> I am again having trouble with the <selectOneMenu> component using  
> a converter. When I select a menu value the form is submitted (by a  
> javascript submit call). When I get into the converter, the value  
> to convert is null. Has anyone else had this problem?
>
> Thanks,
> Whitney
>
>
>