Re: handling not mounted URLs

2009-03-22 Thread Jan Kriesten
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 sh

Re: handling not mounted URLs

2009-03-22 Thread Jan Kriesten
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: users-unsubscr...@wicket.

Re: handling not mounted URLs

2009-03-22 Thread Brill Pappin
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 IRequestTargetUrlCodingStrat

Re: handling not mounted URLs

2009-03-22 Thread Jeremy Thomerson
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 wrote: > > 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 >

Re: handling not mounted URLs

2009-03-22 Thread Jan Kriesten
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 = req.getAttri

Re: handling not mounted URLs

2009-03-22 Thread Jeremy Thomerson
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 wrote: > > Hi Brill, > > > what about setting up

Re: handling not mounted URLs

2009-03-22 Thread Jan Kriesten
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. -

Re: handling not mounted URLs

2009-03-22 Thread Brill Pappin
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): javax.servlet.ServletException

handling not mounted URLs

2009-03-22 Thread Jan Kriesten
Hi, I've set up a Wicket application as ROOT with URL pattern /* and have some mounts on it. Now I want all unmounted stuff handled thru the Homepage-class (i.e. get the path-info for a redirect). Is there a way to do this? ATM, I get a "404 : /test/ was not found on this server." when calling