i can think of these 2 ways..
1) you can create a requestcycle listener which
onRequestHandlerResolved checks if it's the pagrequesthandler ,if it's
set the pagename or whatever you want to into requestcycle metadata
and retrieve it later when you want to.
2) there is this another way but it
I think we should add an implementation of IRequestCycleListener in
wicket-core that tracks the request and response pages and save this
info in the request cycle's metadata
@Vineet, Thomas, Andrea: do you want to contribute this ?
On Thu, Jun 21, 2012 at 10:52 AM, vineet semwal
hi martin,
i can try but i am not as fast as you ;)
On Thu, Jun 21, 2012 at 1:27 PM, Martin Grigorov mgrigo...@apache.org wrote:
I think we should add an implementation of IRequestCycleListener in
wicket-core that tracks the request and response pages and save this
info in the request cycle's
i build something like this for Wicket 1.3 that can give you can idea for
Wicket 1.5
https://github.com/robmcguinness/wicket-events/blob/master/src/main/java/com/robmcguinness/WicketApplication.java#L30
Yeah, I've been to the RequestCycle page and saw the suggestion. I was just
hoping for an easier solution, since the previous version worked so well.
I guess I just need to get off my lazy butt and do the work. ;)
Thanks for the suggestions
--
View this message in context:
you can just log the client url in onexception if it's what you want ..
but i have written a requestcyclelistener today that registers
lastresponsepage ,i am trying to improve it..
On Thu, Jun 21, 2012 at 6:39 PM, LeaveNewb myfamilyru...@gmail.com wrote:
Yeah, I've been to the RequestCycle page
Ah ok I see. I'll give it a try. Thanks!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-get-request-page-in-Wicket-1-5-tp3827411p3832806.html
Sent from the Users forum mailing list archive at Nabble.com.
you can pass a PageReference to the edit page, something like
setResponsePage(new EditPage(itemModel, getPageReference())
then when its time to go back you can say
setResponsePage(reference.getPage())
-igor
On Wed, Sep 21, 2011 at 1:11 AM, Florian B. florian.bernst...@gmail.com wrote:
My idea
Hi
I'm looking for a way to get the page of the current request on Wicket 1.5.
I found an wiki entry about this but unfortunately I don't understand how to
retrieve the page.
https://cwiki.apache.org/WICKET/requestcycle-in-wicket-15.html
Perhaps someone can push me in the right direction.
why do you need the page?
-igor
On Tue, Sep 20, 2011 at 9:27 AM, Florian B. florian.bernst...@gmail.com wrote:
Hi
I'm looking for a way to get the page of the current request on Wicket 1.5.
I found an wiki entry about this but unfortunately I don't understand how to
retrieve the page.
10 matches
Mail list logo