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:13:09 -0400

Ok, maybe I'm missing something here. Aren't we discussing having
view-scoped beans for the MVC spec? Aren't all views in MVC stateless?

___

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

On Fri, Mar 20, 2015 at 9:09 AM, manfred riem <manfred.riem_at_oracle.com>
wrote:

> Indeed that is correct.
>
> Kind regards,
> Manfred
>
>
> On 3/20/15, 8:05 AM, Bauke Scholtz wrote:
>
> Because there's no means of a view state.
>
> Cheers, B
>
> On Fri, Mar 20, 2015 at 2:01 PM, Kito Mann <kito.mann_at_virtua.com> wrote:
>
>> 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 <%2B1%20203-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
>>>>
>>>
>>>
>>
>