I'm convinced that I saw an example of what do to when one would like to end the response of a page and redirect to another...but I can't put my finger on it...so here's my problem:In my page I'm testing for the existence of an object...if it doesn't exist I'd like to redirec to another page...but
throw new RestartResponseException or throw new RestartResponseAtInterceptPageException depending on your needs.you pass in the page you want to restart at via exception's constructor-Igor
On 4/6/06, Vincent Jenks [EMAIL PROTECTED] wrote:
I'm convinced that I saw an example of what do to when one
I'm using 1.1.1, is that a 1.2 class?On 4/6/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
throw new RestartResponseException or throw new RestartResponseAtInterceptPageException depending on your needs.
you pass in the page you want to restart at via exception's constructor-Igor
On 4/6/06, Vincent
yeah thats 1.2in 1.1 i guess what you can do is create your own runtimeexception that takes a page, override onRuntimeException in requestcycle? application? and return that page from that method. that should work although im not sure.
-IgorOn 4/6/06, Vincent Jenks [EMAIL PROTECTED] wrote:
I'm
heh, if we are still at 1.2 in a month from now i quit! hopefully rc1 is out this weekend.-IgorOn 4/6/06, Vincent Jenks
[EMAIL PROTECTED] wrote:Ouch, maybe it's time to upgrade to
1.2though I'm supposed to launch this app in a month and I don't want to use a beta or RC in production.
On
Hey, that's good news...maybe I'll start looking at it. I assume it's not a drop-in replacement for an existing 1.1.1 project ;)On 4/6/06, Igor Vaynberg
[EMAIL PROTECTED] wrote:
heh, if we are still at 1.2 in a month from now i quit! hopefully rc1 is out this weekend.-Igor
On 4/6/06, Vincent
heh, not by a long shot :) too many goodies to be a dropin. there is a migration page on the wiki that outlines the changes. imho its a big enough difference to call it 2.0 :)-Igor
On 4/6/06, Vincent Jenks [EMAIL PROTECTED] wrote:
Hey, that's good news...maybe I'll start looking at it. I assume