Hi Jeremy,
Can you mount another filter that, if Wicket does not respond, instead
responds with either a valid page or a redirect back to a valid Wicket page?
no, that's no option. I got the ErrorPage-Version working in the way that I
manually set the status code with
val uri =
Maybe I'm just sleepy - but where did you put that code? It's not java.
On Mon, Mar 23, 2009 at 1:00 AM, Jan Kriesten kries...@mail.footprint.dewrote:
Hi Jeremy,
Can you mount another filter that, if Wicket does not respond, instead
responds with either a valid page or a redirect back
Ahh... are you try to set up an RESTful type of URI where the path is
relevant to the request being executed?
I had to do something like that for an images resource recently...
although it may be more at the mercy of Wicket than what you need.
Hmm... how about a
Hi Jeremy,
Maybe I'm just sleepy - but where did you put that code? It's not java.
heh - that's Scala. :-)
The code belongs to the HomePage class.
Best regards, --- Jan.
-
To unsubscribe, e-mail:
Hi Brill,
Ahh... are you try to set up an RESTful type of URI where the path is
relevant to the request being executed?
no, not really, my usecase is much simpler. :) If I encounter an unmounted path
I just want to create a frameset which has a target on another server. And the
target url
what about setting up an error page using the standard servlet
method that points to a wicket page?
There are a few different ways you can capture errors:
in the web.xml for instance you can use a construct something like
(check the syntax):
error-page
Hi Brill,
what about setting up an error page using the standard servlet method
that points to a wicket page?
the point is: you will still get a 404 error code for the page (which the
user/search engine shouldn't, since it's not an error).
Best regards, --- Jan.
Can you mount another filter that, if Wicket does not respond, instead
responds with either a valid page or a redirect back to a valid Wicket page?
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Mar 23, 2009 at 12:12 AM, Jan Kriesten
kries...@mail.footprint.dewrote:
Hi Brill,