I didn't quite realize that a value in a page persisted in flash scope was not accessible to other pages ( although now that you mention it, it seems to make sense) . That's an interesting fact that seems to significantly reduce the usefulness of flash scope, as in a "traditional" web app, this is the perfect way to pass short lived data between two different pages. However, it appears that using a combination of setters and flash scope should still work, correct ? e.g.
@Persist(value="flash") User user public void setUser(User u) { this.user = u } Cheers, Alex Kotchnev On Tue, Sep 30, 2008 at 7:45 AM, Thiago H. de Paula Figueiredo < [EMAIL PROTECTED]> wrote: > Em Tue, 30 Sep 2008 06:16:05 -0300, Tuan <[EMAIL PROTECTED]> escreveu: > > Beside activate & passivate way, you can pass parameters (objects or >> string) between pages by using Persit data with Flash option. >> Ex: >> @persist (value="flash") >> User user; >> > > @Persist field values are local to a given page and are *not* shared > between pages. > To share session information between pages, @ApplicationState is used. ;) > > Thiago > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >