Re: missing page

2011-10-13 Thread Martin Grigorov
etWebRequest) > this.getRequest(); >        HttpServletRequest request = > servletWebRequest.getHttpServletRequest(); >        this.add(new Label("missingPage", (String) > request.getAttribute("javax.servlet.error.request_uri"))); > } > and corresponding markup: &g

RE: missing page

2011-10-12 Thread Miroslav F.
;, (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

Re: missing page

2011-10-12 Thread Martin Grigorov
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

Re: missing page

2011-10-12 Thread Martin Funk
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: >

missing page

2011-10-11 Thread 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: this.add(new Label("missingPage", _put_pagename_which_was_not_found)); but I have no idea how to find-out pagename