jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Re: [jsr372-experts mirror] Re: stateless views

From: Kito Mann <kito.mann_at_virtua.com>
Date: Fri, 20 Mar 2015 09:01:28 -0400

So, if that's the case, does anyone know why stateless views can't
reference view-scoped beans?

On Thu, Mar 19, 2015 at 10:57 AM, arjan tijms <arjan.tijms_at_gmail.com> wrote:

> Hi,
>
> On Thu, Mar 19, 2015 at 3:18 PM, Kito Mann <kito.mann_at_virtua.com> wrote:
>
>> As usual, the stateful nature of views is causing some issues in an app
>> I'm working on. Is there any particular reason that @ViewScoped beans can't
>> be used with stateless views? I think the only reason we have that
>> limitation is because of where they are stored, which could be changed...
>>
>
> If I'm not mistaken that location has already been changed, has it not?
>
> @ViewScoped beans used to be stored in the view state, which caused
> several timing issues. Since then it has been moved to the session.
>
> Kind regards,
> Arjan Tijms
>
>
>
>>
>> ___
>>
>> Kito D. Mann | @kito99 | Author, JSF in Action
>> Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and
>> consulting
>> http://www.JSFCentral.com | @jsfcentral
>> +1 203-998-0403
>>
>> * Listen to the Enterprise Java Newscast: *http://
>> <http://blogs.jsfcentral.com/JSFNewscast/>enterprisejavanews.com
>> <http://ww.enterprisejavanews.com>*
>> * JSFCentral Interviews Podcast:
>> http://www.jsfcentral.com/resources/jsfcentralpodcasts/
>> * Sign up for the JSFCentral Newsletter:
>> http://oi.vresp.com/?fid=ac048d0e17
>>
>
>