Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-19 Thread Sven Meier

Hi,

the classes in the following archive duplicate AjaxNavigationToolbar but 
use AjaxFormSubmitBehaviors instead:


https://dl.dropboxusercontent.com/u/52076310/AjaxSubmitPaging.zip

Usage:

Form form = new Form("form");
add(form);

form.add(new AjaxSubmitDefaultDataTable("table", 
columns, dataProvider, 8));


Hope this helps
Sven


On 04/19/2013 09:52 PM, dhongyt wrote:

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 how to I make it update the DataView to go to the next page?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackDefaultDataTable-and-CheckBox-Column-tp4657998p4658133.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: log4j not logging

2013-04-19 Thread Francois Meillet
Change this last line log4j.appender.stdout.Threshold=info by this one 
log4j.appender.stdout.Threshold=debug.
 
François Meillet
Formation Wicket - Développement Wicket





Le 19 avr. 2013 à 22:36, omega  a écrit :

> I have a simple logging mechanism in code -
> 
> private static final Logger logg =
> LoggerFactory.getLogger(StudentRequestPage.class);
> 
> logg.debug("User - " + DataSession.get().getUser().getUsername() + " has
> logged into Application");
>   
> 
> However, this message is not being seen in the console or the log file.
> 
> Here is the log4j.properties file -
> log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
> log4j.appender.file.DatePattern='.'MMdd
> log4j.appender.file.File=${catalina.home}/logs/app.log
> log4j.appender.file.threshold=info
> log4j.appender.file.layout=org.apache.log4j.PatternLayout
> log4j.appender.file.layout.ConversionPattern=%12d{ABSOLUTE} [%-5p] %m%n
> 
> log4j.appender.info=org.apache.log4j.DailyRollingFileAppender  
> log4j.appender.info.DatePattern='.'MMdd 
> log4j.appender.info.file=${catalina.home}/logs/app.log
> log4j.appender.info.layout=org.apache.log4j.PatternLayout
> log4j.appender.info.layout.ConversionPattern=%12d{ABSOLUTE} [%-5p] %m%n
> log4j.appender.info.Threshold=debug 
> 
> log4j.rootLogger=WARN,file,info,stdout
> # output to stdout
> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> log4j.appender.stdout.Target=System.out
> log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
> log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L -
> %m%n
> log4j.appender.stdout.Threshold=info
> 
> 
> 
> 
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/log4j-not-logging-tp4658134.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 



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 how to I make it update the DataView to go to the next page?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackDefaultDataTable-and-CheckBox-Column-tp4657998p4658133.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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 troubles are that if I want to return a SubmitLink here, where would my
form tags be in the mark up? And where should I create the form component?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackDefaultDataTable-and-CheckBox-Column-tp4657998p4658129.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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 WicketFilter subclass that
instantiates the app through the injector, and does whatever configuration
you need. This is described here:
http://software.danielwatrous.com/wicket-guice-including-unittests/ I'd
guess that Spring provides a similar capability.


On Fri, Apr 19, 2013 at 10:44 AM, Dan Retzlaff  wrote:

> 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 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 WebApplication for testing or whatever.
>>
>> May the Spring framework be also responsable for the interpolation?
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/Interpolating-variables-inside-web-xml-tp4658095p4658106.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>


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 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 WebApplication for testing or whatever.
>
> May the Spring framework be also responsable for the interpolation?
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Interpolating-variables-inside-web-xml-tp4658095p4658106.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


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 up? And where should I create the form component?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackDefaultDataTable-and-CheckBox-Column-tp4657998p4658129.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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  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 the base url
> Wicket can generate only context-absolute url.

I'm in exactly the same situation as Martin Dietze.

I have to generate URL to a Wicket page in a batch scheduled by Spring
or Quartz.

We did it following the guidance you gave to Martin but it's quite
complicated. As you mentioned it, we have in a configuration parameter
the scheme/host/port information and we generate an URL to a wicket
page from there by getting the application by its name and building a
fake request and a fake RequestCycle.

FWIW, here is the current version of what we use:
https://gist.github.com/gsmet/5421471

-- 
Guillaume

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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 wrote:

> 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
> ContainerFeedbackMessageFilter(theForm)).
>
> But nothing works...
> Thanx for help.
>
> regards
> Patrick




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com 


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 wrote:

> Hi,
>
> On Thu, Apr 18, 2013 at 11:36 AM, Martijn Dashorst 
> 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 a quite complicated way before that.
>
> Any chance the same could be done to generate links from outside of
> Wicket, which is also quite difficult to get right at the moment?
>
> I'm especially thinking about this recent thread on this subject:
> http://markmail.org/thread/a34vmcm6ulxgr3ed


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 the base url
Wicket can generate only context-absolute url.


>
>
> --
> Guillaume
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com 


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 it in a
following request. Better keep the model and params around and construct
the page when actually needed.


On Fri, Apr 19, 2013 at 5:17 PM, Nick Pratt  wrote:

> 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  >wrote:
>
> > Show us the stacktrace.
> >
> >
> > On Fri, Apr 19, 2013 at 4:36 PM, Nick Pratt  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( someParams, someIModel );
> > >
> > > This page was then passed to a RedirectPanel, where I did this in the
> > > Panel's constructor:
> > >
> > > add(new AbstractAjaxTimerBehavior( Duration.seconds( 2 ) )
> > > {
> > > @Override
> > >  protected void onTimer( AjaxRequestTarget target )
> > > {
> > > this.stop( target );
> > >  setResponsePage( webPage );
> > > }
> > > });
> > >
> > > This was working, and if the page I passed in was protected, then
> Wicket
> > > intercepted the redirect, showed the login page and allowed
> > authentication,
> > > and then after successful auth, the page I had constructed was shown.
> >  Now
> > > with Wicket 6.7.0 Im hitting exceptions during the initial page
> > > construction - Im getting a RestartResponseAtInterceptPageException
> > during
> > > the constructor.
> > >
> > > Any thoughts?
> > >
> > > Nick
> > >
> >
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com 
> >
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com 


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  wrote:

> 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  >wrote:
>
> > Show us the stacktrace.
> >
> >
> > On Fri, Apr 19, 2013 at 4:36 PM, Nick Pratt  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( someParams, someIModel );
> > >
> > > This page was then passed to a RedirectPanel, where I did this in the
> > > Panel's constructor:
> > >
> > > add(new AbstractAjaxTimerBehavior( Duration.seconds( 2 ) )
> > > {
> > > @Override
> > >  protected void onTimer( AjaxRequestTarget target )
> > > {
> > > this.stop( target );
> > >  setResponsePage( webPage );
> > > }
> > > });
> > >
> > > This was working, and if the page I passed in was protected, then
> Wicket
> > > intercepted the redirect, showed the login page and allowed
> > authentication,
> > > and then after successful auth, the page I had constructed was shown.
> >  Now
> > > with Wicket 6.7.0 Im hitting exceptions during the initial page
> > > construction - Im getting a RestartResponseAtInterceptPageException
> > during
> > > the constructor.
> > >
> > > Any thoughts?
> > >
> > > Nick
> > >
> >
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com 
> >
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com


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 
ContainerFeedbackMessageFilter(theForm)).

But nothing works...
Thanx for help.

regards
Patrick

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 wrote:

> Show us the stacktrace.
>
>
> On Fri, Apr 19, 2013 at 4:36 PM, Nick Pratt  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( someParams, someIModel );
> >
> > This page was then passed to a RedirectPanel, where I did this in the
> > Panel's constructor:
> >
> > add(new AbstractAjaxTimerBehavior( Duration.seconds( 2 ) )
> > {
> > @Override
> >  protected void onTimer( AjaxRequestTarget target )
> > {
> > this.stop( target );
> >  setResponsePage( webPage );
> > }
> > });
> >
> > This was working, and if the page I passed in was protected, then Wicket
> > intercepted the redirect, showed the login page and allowed
> authentication,
> > and then after successful auth, the page I had constructed was shown.
>  Now
> > with Wicket 6.7.0 Im hitting exceptions during the initial page
> > construction - Im getting a RestartResponseAtInterceptPageException
> during
> > the constructor.
> >
> > Any thoughts?
> >
> > Nick
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com 
>


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  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 a quite complicated way before that.

Any chance the same could be done to generate links from outside of
Wicket, which is also quite difficult to get right at the moment?

I'm especially thinking about this recent thread on this subject:
http://markmail.org/thread/a34vmcm6ulxgr3ed

-- 
Guillaume

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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 (thus the component will never be rendered), 2) if your
components were added in a parent container then make sure the markup for
the child container includes them in .

1. [PagingNavigation [Component id = navigation]]
2. [LoopItem [Component id = 0]]
3. [PagingNavigationLink [Component id = pageLink]]
4. [Component id = pageNumber]
5. [LoopItem [Component id = 1]]
6. [PagingNavigationLink [Component id = pageLink]]
7. [Component id = pageNumber]
8. [LoopItem [Component id = 2]]
9. [PagingNavigationLink [Component id = pageLink]]
10. [Component id = pageNumber]
11. [LoopItem [Component id = 3]]
12. [PagingNavigationLink [Component id = pageLink]]
13. [Component id = pageNumber]
14. [LoopItem [Component id = 4]]
15. [PagingNavigationLink [Component id = pageLink]]
16. [Component id = pageNumber]
17. [LoopItem [Component id = 5]]
18. [PagingNavigationLink [Component id = pageLink]]
19. [Component id = pageNumber]
20. [LoopItem [Component id = 6]]
21. [PagingNavigationLink [Component id = pageLink]]
22. [Component id = pageNumber]
23. [LoopItem [Component id = 7]]
24. [PagingNavigationLink [Component id = pageLink]]
25. [Component id = pageNumber]
26. [LoopItem [Component id = 8]]
27. [PagingNavigationLink [Component id = pageLink]]
28. [Component id = pageNumber]
29. [LoopItem [Component id = 9]]
30. [PagingNavigationLink [Component id = pageLink]]
31. [Component id = pageNumber]
32. [PagingNavigationLink [Component id = first]]
33. [PagingNavigationIncrementLink [Component id = prev]]
34. [PagingNavigationIncrementLink [Component id = next]]
35. [PagingNavigationLink [Component id = last]]



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackDefaultDataTable-and-CheckBox-Column-tp4657998p4658119.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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 list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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  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( someParams, someIModel );
>
> This page was then passed to a RedirectPanel, where I did this in the
> Panel's constructor:
>
> add(new AbstractAjaxTimerBehavior( Duration.seconds( 2 ) )
> {
> @Override
>  protected void onTimer( AjaxRequestTarget target )
> {
> this.stop( target );
>  setResponsePage( webPage );
> }
> });
>
> This was working, and if the page I passed in was protected, then Wicket
> intercepted the redirect, showed the login page and allowed authentication,
> and then after successful auth, the page I had constructed was shown.  Now
> with Wicket 6.7.0 Im hitting exceptions during the initial page
> construction - Im getting a RestartResponseAtInterceptPageException during
> the constructor.
>
> Any thoughts?
>
> Nick
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com 


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 constructor:

add(new AbstractAjaxTimerBehavior( Duration.seconds( 2 ) )
{
@Override
 protected void onTimer( AjaxRequestTarget target )
{
this.stop( target );
 setResponsePage( webPage );
}
});

This was working, and if the page I passed in was protected, then Wicket
intercepted the redirect, showed the login page and allowed authentication,
and then after successful auth, the page I had constructed was shown.  Now
with Wicket 6.7.0 Im hitting exceptions during the initial page
construction - Im getting a RestartResponseAtInterceptPageException during
the constructor.

Any thoughts?

Nick


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  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) 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 increasing the Maven memory settings, but even doubling them to
> 1.5g did not fix the issue. Downgrading to 6.6.0 fixed the problem.
>
> Have there been any changes to WicketTester that could cause such a memory
> leak? I can try profiling memory usage next week if necessary.
>
> Cheers,
>
> Thomas
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com 


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 increasing the Maven memory settings, but even doubling them to
1.5g did not fix the issue. Downgrading to 6.6.0 fixed the problem.

Have there been any changes to WicketTester that could cause such a memory
leak? I can try profiling memory usage next week if necessary.

Cheers,

Thomas


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 regular population working but now I have this error:

Last cause: Close tag not found for tag: . For PagingNavigator Components
only raw markup is allow in between the tags but not other Wicket Component.
Component: [PagingNavigator [Component id = navigation]]



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackDefaultDataTable-and-CheckBox-Column-tp4657998p4658100.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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 WebApplication for testing or whatever.

May the Spring framework be also responsable for the interpolation?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Interpolating-variables-inside-web-xml-tp4658095p4658106.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org