Re: [T5]Question on ASO configuration

2007-03-17 Thread Peter Beshai
Thanks a lot that works great :-) On 3/16/07, DJ Gredler [EMAIL PROTECTED] wrote: I haven't looked into this stuff yet, but if I were dealing with it I'd probably just make a new ApplicationState class with a user property that I could set at will, and let Tapestry instantiate the

Re: [T5]Question on ASO configuration

2007-03-16 Thread Peter Beshai
I am trying to store a user as an ASO. I am able to set the user, but when I want to log out, I figured the right way to do it was to just set the user ASO to null. I believe this works fine, just that now when I chcek to see if the user is null or not, as expected, the application state manager

Re: [T5]Question on ASO configuration

2007-03-16 Thread DJ Gredler
I haven't looked into this stuff yet, but if I were dealing with it I'd probably just make a new ApplicationState class with a user property that I could set at will, and let Tapestry instantiate the ApplicationState whenever it wants to. Of course, once T5 supports ASO flags, you'd want to start

Re: [T5]Question on ASO configuration

2007-03-14 Thread Weisu
() { public MyState create() { return new MyState(new Date()); } }; configuration.add(MyState.class, new ApplicationStateContribution(session, creator)); } -- View this message in context: http://www.nabble.com/-T5-Question-on-ASO-configuration-tf3399851.html

[T5]Question on ASO configuration

2007-03-13 Thread Weisu
://www.nabble.com/-T5-Question-on-ASO-configuration-tf3399851.html#a9467437 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5]Question on ASO configuration

2007-03-13 Thread Howard Lewis Ship
() { return new MyState(new Date()); } }; configuration.add(MyState.class, new ApplicationStateContribution(session, creator)); } -- View this message in context: http://www.nabble.com/-T5-Question-on-ASO-configuration-tf3399851.html#a9467437 Sent from the Tapestry