Initially I was thinking I might need to set some values in my
SessionTimeout page, but now I'm not sure if I'll do that.  I'm
assuming returning SessionTimeout.class will be more efficient than
injecting the page?

Thanks Thiago,

mrg


On Fri, Sep 18, 2009 at 3:33 PM, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:
> Em Fri, 18 Sep 2009 16:28:00 -0300, Michael Gentry <mgen...@masslight.net>
> escreveu:
>
>>    public Object onPrepareForSubmit()
>>    {
>>        // If there is no session, return the timeout page.
>>        if (sessionExists == false)
>>            return sessionTimeout;
>
> If you don't need to invoke methods in sessionTimeout, you can just return
> SessionTimeout.class with the same result.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to