Hi Cagatay,

you are right - selectOneMeny is causing error,

value is selected, so is being submitted, - reason is in converter,

please, correct me if I'm wrong - Long  value doesnt require converter, does
it?

Thanks,
Anton

2010/2/17 Cagatay Civici <[email protected]>

> selectOneMenu's can cause this if the selectitems collection of this
> component does not contain the submitted&converted value.
>
> Also if you set <h:messages showDetail="true", that would help to identify
> the problematic component info.
>
> On Wed, Feb 17, 2010 at 2:17 PM, Anton Gavazuk <[email protected]
> >wrote:
>
> > Hi all,
> >
> > stuck with a problem - have a form with several input components:
> > selectOneMenu and inputText; and commandButton. Input components dont
> have
> > any validators and required atrributes are not set.
> > But when form is being submitted I'm getting standart "Validation error"
> > message in message queue, and I cannot find what could cause this
> > validation
> > error.
> > Is there any way (except debugging myfaces source code) to identify what
> is
> > the issue?
> >
> > MAny thanks,
> > Anton
> >
>
>
>
> --
> Cagatay Civici
> JSF EG | PrimeFaces Lead | Apache MyFaces PMC
> http://www.primefaces.org
>

Reply via email to