Which class type the content of RoleEditBean.groupPrivileges ? must be
the same as
RoleEditBean.assignedGroupPrivileges. And if not String or any
'native' Object you need a Converter. The created object must equals
to one of the items.
eg:
 RoleEditBean.groupPrivileges.contains(<convertedPrivilege>) must
return true otherwise yo get the 'Value is not a valid option' error.

2006/12/13, Behrang Saeedzadeh <[EMAIL PROTECTED]>:
Oops! I was wrong! I have added the setter but I am still getting the
error. The h:messages prints this out but it is not very helpful:

  Validation Error "privileges": Value is not a valid option

Any ideas?

-Behi

On 12/13/06, Behrang Saeedzadeh <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks a lot Volker! That helped me pinpoint the issue! And damn! I
> had forgotten to write the setter for the assignedGroupPrivileges
> property. Wouldn't it be better if an exception was thrown?
>
> Regards,
> Behi
>
> On 12/13/06, Volker Weber <[EMAIL PROTECTED]> wrote:
> > > [org.apache.myfaces.lifecycle.LifecycleImpl] - <exiting from
> > lifecycle.execute in processValidations because getRenderResponse is
> > true from one of the after listeners>
> >
> > Looks like an validation error somewhere with skip of updateModel and
> > invokeApplication!
> >
> > add a h:messages tag to the page see were it occurs.
> >
>
>
> --
> "Science is a differential equation. Religion is a boundary condition"
> - Alan Turing
>
> Behrang Saeedzadeh
> http://www.jroller.com/page/behrangsa
> http://my.opera.com/behrangsa
>


--
"Science is a differential equation. Religion is a boundary condition"
- Alan Turing

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa
http://my.opera.com/behrangsa

Reply via email to