Re: [T4.1.2] DirectLink and stateful

2007-08-13 Thread Jesse Kuhnert
I'm not sure I understand what you are seeing as expected vs. actual behavior.

I do remember seeing a bug with DirectLinks not passing that parameter
to the link factory but don't know how it applies to your situation
that isn't controllable via setting stateful = true/false.

On 7/26/07, Patrick Klein <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I just noticed that the behavior of directlink seems to have changed
> from 4.1.1. We have the following directlink in your page:
>
>  listener="listener:logoutUser" href="#"> ... 
>
> Problem is now that the listener does not get called, but the
> RedirectException inside the listener seems to get triggered.
> Additionally the Session triggering the logout does not get destroyed.
> If i set stateful to true all works as it should (listener is called,
> session is destroyed), but if the user has waited till the session
> timeout had occured already she/he would see the stalestate page which
> we do not want.
>
> Somehow i doubt that this is the intended behavior here...
>
> Regards,
> Patrick
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[T4.1.2] DirectLink and stateful

2007-07-26 Thread Patrick Klein

Hi!

I just noticed that the behavior of directlink seems to have changed 
from 4.1.1. We have the following directlink in your page:


listener="listener:logoutUser" href="#"> ... 


Problem is now that the listener does not get called, but the 
RedirectException inside the listener seems to get triggered. 
Additionally the Session triggering the logout does not get destroyed. 
If i set stateful to true all works as it should (listener is called, 
session is destroyed), but if the user has waited till the session 
timeout had occured already she/he would see the stalestate page which 
we do not want.


Somehow i doubt that this is the intended behavior here...

Regards,
   Patrick

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]