You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Thomas Andraschko <zo...@googlemail.com> on 2012/06/13 14:02:31 UTC

Process ViewParams on AJAX request?

Hi,

we introduced an global ajax poll (p:ajax) which possible polls several
minutes over several pages.
On some pages, we have viewParams and a registered preRenderView event. The
poll triggers the preRenderView but does not process the viewParams again.
Our viewParams are mapped to an RequestScoped bean and therefore they are
not null on poll and an NPE occurs.

Is there any other solution except switching to ViewScoped? Maybe something
like process="@viewparams"?

Thanks!

Thomas