Re: Interpolating variables inside web.xml

2013-04-19 Thread Leonardo D'Alimonte
Hey Dan, Maven War plugin is working fine as you suggested, it interpolates the ${wicket.configuration} variable correctly. I would like to see the same magic also when I launch the mvn jetty:run command, so that using maven profiles i can change the configuration of Wicket (6.6.0) when I run my

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-19 Thread Sven Meier
Check SubmitLinkPagingNavigator's markup. Sven On 04/19/2013 12:03 AM, dhongyt wrote: I think I wrapped my head on it a bit more and starting to understand what navigation is. So now I have this. I believe I need to override the PagingNavigator populateItem function but I'm trying to get a

OOM in Tests with Wicket 6.7.0

2013-04-19 Thread Thomas Heigl
Hey Guys, Yesterday I upgraded our 6.6.0 app to 6.7.0 and my CI build broke immediately with OOM (Heap Space) exceptions while running our integration/smoke test suite. The suite renders all pages in the application using WicketTester and uses the full Spring application context. I tried

Re: OOM in Tests with Wicket 6.7.0

2013-04-19 Thread Martin Grigorov
Hi, Yes. Another user also reported the same problem : https://issues.apache.org/jira/browse/WICKET-5147 On Fri, Apr 19, 2013 at 2:27 PM, Thomas Heigl tho...@umschalt.com wrote: Hey Guys, Yesterday I upgraded our 6.6.0 app to 6.7.0 and my CI build broke immediately with OOM (Heap Space)

Changes in Wicket 6.x branch related to page instantiation?

2013-04-19 Thread Nick Pratt
Has anything changed in the Wicket 6.x branch with regards to page instantiation and authentication? I had code that was working that did the following: Page page = new MyAuthProtectedPage( someParams, someIModel ); This page was then passed to a RedirectPanel, where I did this in the Panel's

Re: Changes in Wicket 6.x branch related to page instantiation?

2013-04-19 Thread Martin Grigorov
Show us the stacktrace. On Fri, Apr 19, 2013 at 4:36 PM, Nick Pratt nbpr...@gmail.com wrote: Has anything changed in the Wicket 6.x branch with regards to page instantiation and authentication? I had code that was working that did the following: Page page = new MyAuthProtectedPage(

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-19 Thread dhongyt
This is the markup that I have. The span navigation closing tag is obviously there. Am I missing something? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackDefaultDataTable-and-CheckBox-Column-tp4657998p4658118.html Sent from the Users forum mailing

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-19 Thread dhongyt
I noticed that I was using PagingNavigator instead of the PagingNavigation. Changed my code over to use PagingNavigation results in: Last cause: The component(s) below failed to render. Possible reasons could be that: 1) you have added a component in code but forgot to reference it in the markup

Link generation from outside of Wicket - was Re: [ANNOUNCE] Apache Wicket 6.7.0 Released!

2013-04-19 Thread Guillaume Smet
Hi, On Thu, Apr 18, 2013 at 11:36 AM, Martijn Dashorst dasho...@apache.org wrote: Render a page or component to a String ComponentRenderer exposes two methods: `renderComponent` and `renderPage` and they do exactly what their names suggest. Happy emailing! This is really nice. We did it in

Re: Changes in Wicket 6.x branch related to page instantiation?

2013-04-19 Thread Nick Pratt
There is no stack. All I see in the Exception is: org.apache.wicket.RestartResponseAtInterceptPageException Nick On Fri, Apr 19, 2013 at 9:42 AM, Martin Grigorov mgrigo...@apache.orgwrote: Show us the stacktrace. On Fri, Apr 19, 2013 at 4:36 PM, Nick Pratt nbpr...@gmail.com wrote:

Need help with FeedbackMessageFilter

2013-04-19 Thread Patrick Davids
Hi all, I have a FeedbackPanel in my page and a FeedbackPanel in the form of my page. Both feedback panels show feedback messages of the form. I tried formfeedbackPanel.setFilter(new ComponentFeedbackMessageFilter(theForm)). I tried formfeedbackPanel.setFilter(new

Re: Changes in Wicket 6.x branch related to page instantiation?

2013-04-19 Thread Martijn Dashorst
Sounds like you have modified your authorization to instantiation, and when the person trying to access the page was not yet logged in, you get during construction an exception that you can't construct the page (causing the redirect). Martijn On Fri, Apr 19, 2013 at 4:17 PM, Nick Pratt

Re: Changes in Wicket 6.x branch related to page instantiation?

2013-04-19 Thread Martin Grigorov
Correct. RestartResponseAtInterceptPageException is optimized to not load the stack trace because it is used for flow control. Now the question is where the exception is being catched and logged ? Additionally what you are doing is fishy. You keep an instance of a page in another page and you use

Re: Link generation from outside of Wicket - was Re: [ANNOUNCE] Apache Wicket 6.7.0 Released!

2013-04-19 Thread Martin Grigorov
On Fri, Apr 19, 2013 at 5:12 PM, Guillaume Smet guillaume.s...@gmail.comwrote: Hi, On Thu, Apr 18, 2013 at 11:36 AM, Martijn Dashorst dasho...@apache.org wrote: Render a page or component to a String ComponentRenderer exposes two methods: `renderComponent` and `renderPage` and they do

Re: Need help with FeedbackMessageFilter

2013-04-19 Thread Martin Grigorov
See org.apache.wicket.feedback.FencedFeedbackPanel On Fri, Apr 19, 2013 at 5:20 PM, Patrick Davids patrick.dav...@nuboit.dewrote: Hi all, I have a FeedbackPanel in my page and a FeedbackPanel in the form of my page. Both feedback panels show feedback messages of the form. I tried

Re: Link generation from outside of Wicket - was Re: [ANNOUNCE] Apache Wicket 6.7.0 Released!

2013-04-19 Thread Guillaume Smet
On Fri, Apr 19, 2013 at 4:30 PM, Martin Grigorov mgrigo...@apache.org wrote: What exactly you mean by outside of Wicket ? What Wicket objects you have access to ? The application name will be needed and a base url. Usually the current request's baseUrl is used to construct a full url. Without

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-19 Thread dhongyt
I have been playing some more with the code and I'm now thinking that maybe I should just overrite the newNavigation function. That will allow me to override the newPagingNavigationLink function. My troubles are that if I want to return a SubmitLink here, where would my form tags be in the mark

Re: Interpolating variables inside web.xml

2013-04-19 Thread Dan Retzlaff
No, I don'It can't interpolate a deployment descriptor. On Fri, Apr 19, 2013 at 1:17 AM, Leonardo D'Alimonte leonardo.dalimo...@loginet.it wrote: Hey Dan, Maven War plugin is working fine as you suggested, it interpolates the ${wicket.configuration} variable correctly. I would like to see

Re: Interpolating variables inside web.xml

2013-04-19 Thread Dan Retzlaff
Oops, premature send. :) No, I don't think it can interpolate a deployment descriptor. I'd look into specifying a custom application factory that uses whatever strategy you want. See WicketFilter for details. I haven't used Spring for web stuff in years. With Guice it's easy to use a custom

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-19 Thread Sven Meier
Easiest is to wrap the whole table in a form. Sven On 04/19/2013 07:34 PM, dhongyt wrote: I have been playing some more with the code and I'm now thinking that maybe I should just overrite the newNavigation function. That will allow me to override the newPagingNavigationLink function. My

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-19 Thread dhongyt
Right which is what I have but I'm having a tough time understanding how I need to override the navigator. I have done it many ways and none of them seem to work. I think I'm supposed to override this But SubmitLink wants the form to be in its constructor for it to work correctly right? And