Re: Issue #3021

From: Leonardo Uribe <>
Date: Mon, 16 Sep 2013 16:00:21 -0500


It looks like a bug. When the view metadata is processed, the outer f:view
tag should be taken into account, but it is clear both implementations are
not doing anything in this part.



2013/9/16 Manfred Riem <>

> Hi all,
> Can someone please respond to the comments below? Thanks!
> Regards,
> Manfred
> ============================================================================
> Use case:
> In a nutshell: during validations phase of a <f:viewParam> on a GET
> request,
> the locale of the UIViewRoot is not yet set with the value as available by
> <f:view locale="#{sessionBean.locale}">. I've read section of JSF
> 2.1 spec if the spec confirms this behavior. It states the following:
> > The UIViewRoot's Locale is determined and set by the ViewHandler during
> > the execution of the ViewHandler's createView() method. This method
> must
> > cause the active Locale to be determined by looking at the user's
> > preferences combined with the application's stated supported locales.
> What exactly is "user's preferences"?
> I'd expect that the evaluated value of <f:view locale> would account as
> an user preference. However, it is only set during beginning of render
> response phase.
> Is this a bug or an oversight in the spec?

(image/gif attachment: linkext7.gif)