Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
Should I register PageRequestHandlerTracker anywhere? On Wed, Aug 29, 2012 at 2:40 PM, James Eliyezar ja...@mcruncher.com wrote: Alright Paul. This is my code: public class HomePage extends WebPage { private static Logger logger = LoggerFactory.getLogger(HomePage.class); private

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
Guys, From the javadoc of IRequestCycleListener, I found that we have to explicitly register the implementations. I thought PageRequestHandlerTracker would have been registered by default as that's from wicket. So, when I registered it manually, it worked as expected. This is how I registered it

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread Martin Grigorov
Hi, Yes, you have to register it. It is not registered by default because not everyone needs it. On Wed, Aug 29, 2012 at 9:01 AM, James Eliyezar ja...@mcruncher.com wrote: Guys, From the javadoc of IRequestCycleListener, I found that we have to explicitly register the implementations. I

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
Thanks Martin for the info. A note in PageRequestHandlerTracker's javadoc can be very useful. And it will be great if this is reflected in the wiki page Request Cycle in wicket 1.5https://cwiki.apache.org/WICKET/requestcycle-in-wicket-15.html . On Wed, Aug 29, 2012 at 3:03 PM, Martin Grigorov

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread Martin Grigorov
I'll improve the javadoc. You improve the wiki page ;-) On Wed, Aug 29, 2012 at 9:07 AM, James Eliyezar ja...@mcruncher.com wrote: Thanks Martin for the info. A note in PageRequestHandlerTracker's javadoc can be very useful. And it will be great if this is reflected in the wiki page Request

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
I like that deal.. :-) On Wed, Aug 29, 2012 at 3:09 PM, Martin Grigorov mgrigo...@apache.orgwrote: I'll improve the javadoc. You improve the wiki page ;-) On Wed, Aug 29, 2012 at 9:07 AM, James Eliyezar ja...@mcruncher.com wrote: Thanks Martin for the info. A note in

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread Martin Grigorov
https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=a5a1fe98e3b76110c6827b5744bf83f45ab0aac4 On Wed, Aug 29, 2012 at 9:19 AM, James Eliyezar ja...@mcruncher.com wrote: I like that deal.. :-) On Wed, Aug 29, 2012 at 3:09 PM, Martin Grigorov mgrigo...@apache.orgwrote:

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
That was fast Martin. I'm working on the wiki now. On Wed, Aug 29, 2012 at 3:27 PM, Martin Grigorov mgrigo...@apache.orgwrote: https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=a5a1fe98e3b76110c6827b5744bf83f45ab0aac4 On Wed, Aug 29, 2012 at 9:19 AM, James

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
Updated the wiki Request Cycle in Wicket 1.5https://cwiki.apache.org/confluence/display/WICKET/RequestCycle+in+Wicket+1.5 On Wed, Aug 29, 2012 at 3:31 PM, James Eliyezar ja...@mcruncher.com wrote: That was fast Martin. I'm working on the wiki now. On Wed, Aug 29, 2012 at 3:27 PM, Martin

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread Martin Grigorov
Thanks ! On Wed, Aug 29, 2012 at 10:00 AM, James Eliyezar ja...@mcruncher.com wrote: Updated the wiki Request Cycle in Wicket 1.5https://cwiki.apache.org/confluence/display/WICKET/RequestCycle+in+Wicket+1.5 On Wed, Aug 29, 2012 at 3:31 PM, James Eliyezar ja...@mcruncher.com wrote: That

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread vineet semwal
passing Requestcycle is kind of useless.., PageRequestHandlerTracker can itself get the current requestcycle,i think separate methods like getLastHandler() and getFirstHandler() can be added , they can just delegate to the respectve getMethod(RequestCycle) On Wed, Aug 29, 2012 at 1:32 PM, Martin

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
I second that Vineet. On Wed, Aug 29, 2012 at 4:12 PM, vineet semwal vineetsemwa...@gmail.comwrote: passing Requestcycle is kind of useless.., PageRequestHandlerTracker can itself get the current requestcycle,i think separate methods like getLastHandler() and getFirstHandler() can be added ,

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-28 Thread Paul BorČ™
Might help if you provide a stack trace for the NPE :) Have a great day, Paul BorČ™ On Aug 29, 2012, at 0:37, James Eliyezar ja...@mcruncher.com wrote: Hi, We recently migrated our application to wicket-1.5.8. We have an audit aspect based on Spring AOP that shall log the actions