etWebRequest)
> this.getRequest();
> HttpServletRequest request =
> servletWebRequest.getHttpServletRequest();
> this.add(new Label("missingPage", (String)
> request.getAttribute("javax.servlet.error.request_uri")));
> }
> and corresponding markup:
&g
;, (String)
request.getAttribute("javax.servlet.error.request_uri")));
}
and corresponding markup:
Page [missing page name] which you were
looking for is not here.
Works.
Supplement question is: do I need raw servlet request to make lookup for
atributes or there is more
javax.servlet.error.request_uri
google this for more information
On Wed, Oct 12, 2011 at 11:18 AM, Martin Funk wrote:
> is
>
> RequestCycle.get().getRequest().getUrl()
>
> what you are looking for?
>
> mf
>
> 2011/10/11 Miroslav F.
>
>> Hi guys,
>>
>> I need a help - have my custom class PageNot
is
RequestCycle.get().getRequest().getUrl()
what you are looking for?
mf
2011/10/11 Miroslav F.
> Hi guys,
>
> I need a help - have my custom class PageNotFound based on this help:
> https://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html
>
> In my PageNotFound class I have:
>
Hi guys,
I need a help - have my custom class PageNotFound based on this help:
https://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html
In my PageNotFound class I have:
this.add(new Label("missingPage", _put_pagename_which_was_not_found));
but I have no idea how to find-out pagename