This is off the top of my head (no code test), but could you return a
net.liftweb.http.js.JsCmds.RedirectTo
To the client via the partialRender or render methods on the CometActor?
That would fire a client-side window.location=... IIRC.

Derek

On Thu, Mar 19, 2009 at 3:20 AM, Timothy Perrett <timo...@getintheloop.eu>wrote:

>
> Is their any way to avoid a response shortcut exception when trying to
> redirect from Comet Actor?
>
> Cheers, Tim
>
> On Mar 18, 11:37 am, Tim Perrett <timo...@getintheloop.eu> wrote:
> > Guys,
> >
> > I have a situation where by im using comet actors to watch something
> > on a 3rd party system. Now, when the monitoring needs to stop, I want
> > to explicitly shutdown that comet actor and redirect some to place
> > else. However, when I pass the comet actor the ShutDown message, the
> > page redirects to "/"
> >
> > So, my question: is it possible to do something in localShutdown to
> > redirect the user? Or in some other-way stop the redirecting to "/" ?
> > I want to do this because by keeping it to a single comet actor
> > lifecycle, jobs are submitted on the 3rd party system only once even
> > if they refresh the page etc.
> >
> > Thoughts?
> >
> > Cheers, Tim
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to