Login google-style (with redirect after ajax form refresh)

2008-03-13 Thread Andreas Pardeike
Hi, I have a login component that updates itself via a zone. Works great especially when you enter wrong values (server side verified). Now, if the form successfully logs in or out, I want to refresh the current page because it likely looks different because of the state change. I tried many

RE: Login google-style (with redirect after ajax form refresh)

2008-03-13 Thread Cordenier Christophe
. Christophe. -Message d'origine- De : Andreas Pardeike [mailto:[EMAIL PROTECTED] Envoyé : jeudi 13 mars 2008 12:24 À : Tapestry users Objet : Login google-style (with redirect after ajax form refresh) Hi, I have a login component that updates itself via a zone. Works great especially when you

AW: Login google-style (with redirect after ajax form refresh)

2008-03-13 Thread Stroeber, Andreas
) { setInfoMessage(Foo); return null; } } Hope this helps. Grz Andi -Ursprüngliche Nachricht- Von: Andreas Pardeike [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 13. März 2008 12:24 An: Tapestry users Betreff: Login google-style (with redirect after ajax form

Re: Login google-style (with redirect after ajax form refresh)

2008-03-13 Thread Andreas Pardeike
PROTECTED] Envoyé : jeudi 13 mars 2008 12:24 À : Tapestry users Objet : Login google-style (with redirect after ajax form refresh) I have a login component that updates itself via a zone. Works great especially when you enter wrong values (server side verified). Now, if the form successfully logs

Re: Login google-style (with redirect after ajax form refresh)

2008-03-13 Thread Andreas Pardeike
PS: I use Tapestry 5.0.12-SNAPSHOT... /Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Login google-style (with redirect after ajax form refresh)

2008-03-13 Thread Cordenier Christophe
: Re: Login google-style (with redirect after ajax form refresh) PS: I use Tapestry 5.0.12-SNAPSHOT... /Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Ce message et les

Re: Login google-style (with redirect after ajax form refresh)

2008-03-13 Thread Josh Canfield
Executing script in an ajax response requires parsing out the script and eval'ing it separately (your browser protecting you from scripting attacks). This can be done with scriptaculous but is disabled by default. I can't see a way to override this in Tapestry without duplicating code from