Re: (S2) Refreshing an Ajax Div

2007-06-12 Thread Musachy Barroso
Well, if your error page has an error status code, then you can use the notifyTopics, something like dojo.event.topic.subscribe("/topics", function(data, type, e){ if(type == "error") { //do something //to redirect window.location ="google.com"; } }); but i

(S2) Refreshing an Ajax Div

2007-06-12 Thread Ray Clough
I've got a page with 2 s:div tags, and the 2nd is loaded by something occurring in the 1st. What happens if an exception is thrown in this process? Of course, the error page gets loaded into the 2nd div. This is not an acceptable result. Is there any way around this? What I'd like to happen i