cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomek Piechowicz <>
Subject Problem handling invalid continuation exception
Date Mon, 22 Feb 2010 18:39:30 GMT
I have simple CForm (C2.2) with ajax repeater, and I am trying to handle 
invalid continuation error. I have already added handler to my 
sitemap.xmap :

          <map:match pattern="lectures-*.continue">
              <map:call continuation="{1}"/>
          <map:select type="exception">
            <map:when test="invalid-continuation">
                <map:generate src="cocoon://admin-lectures" />
                <map:serialize />

Generally I would like to redirect user to page (admin-lectures) but I 
know it is not possible to use map:redirect-to in sitemap error handler 
(why ?), so I tried to generate page with cocoon protocol but it also 
doesn`t work. The problem is that when user submits form and then hit 
back button in browser and tries submit form again - instead of redirect 
I got javascript alert : "No response data found. Show server response 
?". I see no exception in jetty console - so it is probably handled by 

Can any one give me some tips how to perform page redirect in sitemap 
error handler ?

Tomek Piechowicz

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message