You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Rafael Santini <ra...@santini.eti.br> on 2011/11/07 23:02:53 UTC

JSF 2:

Hi,

I'm starting a new project with JSF 2. Can I replace the <t:saveState> with
some scope? I need keep an object through pages.

Thanks,

Rafael Santini

Re: JSF 2:

Posted by Werner Punz <we...@gmail.com>.
Am 11/8/11 3:09 PM, schrieb Rudy De Busscher:
> Rafael,
>
> The CODI scope is ViewAccessScope.  Bean is kept in 'memory' as long as it
> is referenced in the view.
>
> Regards
The Codi ViewAccessScope scope is superior to what jsf2 delivers, the 
Flash scope in JSF2 is more or less just a map which you can use 
programmatically.
I personally can only second the recommendation for the ViewAccessScope, 
it is probably the best you can get in this area for jsf2 currently.

Werner



Re: JSF 2:

Posted by Rudy De Busscher <rd...@gmail.com>.
Rafael,

The CODI scope is ViewAccessScope.  Bean is kept in 'memory' as long as it
is referenced in the view.

Regards
-- 
Rudy De Busscher
http://www.c4j.be

On 8 November 2011 14:30, Kito Mann <ki...@virtua.com> wrote:

> Hello Rafael,
>
> Check out the JSF 2 Flash scope. If you're using CODI there's another one
> you can use (forgot the exact annotation).
> ---
> Kito D. Mann | twitter: kito99 | Author, JSF in Action
> Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
> http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info |
> twitter:
> jsfcentral
> +1 203-404-4848 x3
>
> * Listen to the latest headlines in the JSF and Java EE newscast:
>
> http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
> * Keep up with the aftermath of the Oracle/Sun merger:
> http://www.mergerspeak.com
>
>
>
> On Mon, Nov 7, 2011 at 5:02 PM, Rafael Santini <rafael@santini.eti.br
> >wrote:
>
> > Hi,
> >
> > I'm starting a new project with JSF 2. Can I replace the <t:saveState>
> with
> > some scope? I need keep an object through pages.
> >
> > Thanks,
> >
> > Rafael Santini
> >
>

Re: JSF 2:

Posted by Kito Mann <ki...@virtua.com>.
Hello Rafael,

Check out the JSF 2 Flash scope. If you're using CODI there's another one
you can use (forgot the exact annotation).
---
Kito D. Mann | twitter: kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | twitter:
jsfcentral
+1 203-404-4848 x3

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com



On Mon, Nov 7, 2011 at 5:02 PM, Rafael Santini <ra...@santini.eti.br>wrote:

> Hi,
>
> I'm starting a new project with JSF 2. Can I replace the <t:saveState> with
> some scope? I need keep an object through pages.
>
> Thanks,
>
> Rafael Santini
>