You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jakob Korherr <ja...@gmail.com> on 2010/03/09 16:06:16 UTC

Re: Don't override previous value of viewParam if the parameter is absent

Hi,

This is a bug. Created MYFACES-2592.

Regards,
Jakob

2010/3/8 Marcus Büttner <mb...@buett.at>

> Hello,
>
> I have a question to the behaviour of UIViewParameter. At the moment the
> submitted value of a viewParam is overriden if this paremeter is absent in
> RequestParameterMap.
> This behaviour causes some problems e.g. if the view metadata contains a
> "required" view parameter and you have a an action button. The post request
> do not contains the view parameter in RequestParameterMap and so it's
> overriden with null value.
> Is there a possiblity to do not override parameter if it's absent (so as
> Mojarra do in the decode methode of UIViewParameter)?
>
> Regards
> Marcus
>