Re: Alternatives for Page.componentChanged(Component, MarkupContainer) - Wicket 6.5.0

2013-07-01 Thread Martin Grigorov
Hi, You can use org.apache.wicket.application.IComponentInitializationListener. See org.apache.wicket.Application#getComponentInitializationListeners().add(..) On Mon, Jul 1, 2013 at 8:04 AM, Rakesh A iamrakes...@rediffmail.com wrote: Hi, In 1.4.x implementation, we were overriding this

Re: DI Through Constructors w/Wicket

2013-07-01 Thread Martin Grigorov
Hi, On Sat, Jun 29, 2013 at 4:13 PM, William Speirs wspe...@apache.org wrote: I'm just getting to this now... weekend coder. @MartinGrigorov - this looks exactly like what I want, or parts of it at least... I'll certainly check it out. And you're right, I shouldn't be so skeptical, you

Re: clustering and failover

2013-07-01 Thread Martin Grigorov
Hi Uwe, There are no pagemaps since 1.5.0. Only the last used stateful page instance is kept in the memory (as an attribute in the http session). The Memcached Session Manager for Tomcat is just an internal of how Tomcat will manage its http sessions. For the application there is no change at

Re: wicket and flow

2013-07-01 Thread Martin Grigorov
Hi, You can do all this with a custom root request mapper. On Sat, Jun 29, 2013 at 2:50 PM, Piratenvisier hansheinrichbr...@yahoo.dewrote: Hello Martin, a central class in Webflow is PageFlowRequestCycleProcessor: public class PageFlowRequestCycleProcessor extends

Re: Static image

2013-07-01 Thread arronlee
Here is the source of org.apache.wicket.markup.html.image.Image#getStatelessHint() { return (getImageResource() == null || getImageResource() == localizedImageResource.getResource()) localizedImageResource.isStateless(); } I.e. if the image uses a IResource then it is stateful because

Re: DI Through Constructors w/Wicket

2013-07-01 Thread uwe schaefer
On 06/29/2013 03:13 PM, William Speirs wrote: I'm strongly leaning towards the best practice of: If you're having to create an injector in your unit test, then you're doing it wrong. maybe it makes it worse in your perspective, but yuo might want to have a look at jukito.

Re: DI Through Constructors w/Wicket

2013-07-01 Thread William Speirs
There are a few of these libraries to make running Guice in JUnit easier, Onami is another: http://onami.apache.org/test/ However, if you have to add all of this extra stuff to your unit test, is it really worth it? Still struggling with all of this... but starting to hone in on my project's

[ANNOUNCE] Apache Wicket 6.9.0 released

2013-07-01 Thread Martijn Dashorst
The Apache Wicket PMC is proud to announce Apache Wicket 6.9.0! This release marks the ninth minor release of Wicket 6. Starting with Wicket 6 we use semantic versioning for the future development of Wicket, and as such no API breaks are present in this release compared to 6.0.0. New and

Re: [ANNOUNCE] Apache Wicket 6.9.0 released

2013-07-01 Thread Joachim Schrod
Martijn Dashorst wrote: The Apache Wicket PMC is proud to announce Apache Wicket 6.9.0! Thanks a lot for providing these updates. :-) :-) New and noteworthy -- Switch between jQuery 1.x and 2.x depending on the user agent. For IE 6/7/8 jQuery ver. 1.x will be used, for any

NoSuchMethodError after upgrading to 6.9.0

2013-07-01 Thread Maxim Solodovnik
Hello All, Just have upgraded to 6.9.0 and start getting: Caused by: java.lang.NoSuchMethodError: org.joda.time.LocalDate.toDate()Ljava/util/Date; at org.apache.wicket.extensions.yui.calendar.DateTimeField.onBeforeRender(DateTimeField.java:446) ~[wicket-datetime-jar-6.9.0.jar:6.9.0] 6.8.0 works