Re: Wicket + Guice + Transactional

2014-03-02 Thread uwe schaefer
On 02.03.2014 14:51, Bill Speirs wrote: field in the object. However it ONLY does this when I mark the methods as @Transactional yes, guice creates a proxy if it needs to (and it needs to if it needs to intercept the method call due to @Transactional). the point is here, try wrapping a wicket

UnsupportedCharsetException

2014-01-06 Thread Uwe Schaefer
Hi Wicketeers, crawling our logs, we found the above exception as a result of a weird request that set the following headers on a GET request: Content-Type: text/html; charset=auto I don't know which UserAgent sent that, but it happened and brought the following exception on tomcat 6.0.37:

Re: unwanted DefaultPageManagerProvider

2013-10-25 Thread uwe schaefer
On 10/25/2013 09:39 AM, Sven Meier wrote: Hi Sven, I think we have to improve Application#setPageMangerProvider(): public synchronized final void setPageManagerProvider(final IPageManagerProvider provider) WDYT? better, but to my understanding, not quite there yet. while that helps

Re: unwanted DefaultPageManagerProvider

2013-10-24 Thread uwe schaefer
On 22.10.2013 10:22, Sven Meier wrote: Hi Sven, currently there's no way to change the PageManager once it's fetched in Application#internalGetPageManager(). agreed. Do you have a stacktrace for the code triggering Application.getPageManagerProvider().get() ? Besides devutils I don't see

Re: unwanted DefaultPageManagerProvider

2013-10-21 Thread uwe schaefer
On 10/21/2013 09:07 AM, Martin Grigorov wrote: Hi Martin, I hope the ticket will describe better what and the damage is done actually means. sorry if i was unclear. looks like i got lost in the details. the actual damage is: there is a Thread started and associated with a

Re: unwanted DefaultPageManagerProvider

2013-10-18 Thread uwe schaefer
On 18.10.2013 09:03, Martin Grigorov wrote: Hi Martin, Can you give more details about the setup and the problem ? of course. we use two Tomcat6 with clustering enabled (Backup-Manager) with apache in front using sticky sessions. when redeploying, we restart tomcat. Now when one tomcat

Re: unwanted DefaultPageManagerProvider

2013-10-17 Thread uwe schaefer
On 14.10.2013 21:41, uwe schaefer wrote: could it also be a racecondition with clustering and public void sessionUnbound(final String sessionId) being called before init() returns? after further investigation it is pretty clear, that the above race condition happens (at least on tomcat6

unwanted DefaultPageManagerProvider

2013-10-14 Thread uwe schaefer
Hi we seem to face a little problem here with wicket 6.11: Application.class:708 setPageManagerProvider(new DefaultPageManagerProvider(this)); sets the default provider here. Lateron [during init()] we replace this one by using the snippet from HttpSessionDataStore's javadocs:

Re: unwanted DefaultPageManagerProvider

2013-10-14 Thread uwe schaefer
On 14.10.2013 21:10, uwe schaefer wrote: Now for the question: what is the suggested way to register a PageManagerProvider BEFORE anyone asks for it? PS: rather than an initializer being the culprit, could it also be a racecondition with clustering and public void sessionUnbound(final

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: clustering and failover

2013-06-30 Thread uwe schaefer
On 06/29/2013 03:49 PM, William Speirs wrote: Another consideration is if you're using any authentication Been there, still have the bite marks from that :-) *g* thanks Bill, i planned to do session clustering, but have the pagemap seperate, so that i hopefully would not run into this. cu

Re: DI Through Constructors w/Wicket

2013-06-30 Thread uwe schaefer
On 06/29/2013 03:13 PM, William Speirs wrote: Hi Bill, 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. me too. well, normally. i came to the idea, that UI-Tests are not stricly unit-tests in most of the

Re: clustering and failover

2013-06-28 Thread uwe schaefer
On 06/28/2013 09:19 AM, Martin Grigorov wrote: Hi Martin, i already saw and consider your memcached-based session management, thanks. the reason i ask the wicket mailing list is, that i assume that wicket only needs part of the pagemap (namely the current page) to serve a request, so that -

wicketstuff-core:jquery accordion broken

2009-04-13 Thread uwe schaefer
hi currently the accordion in jquery-examples does not work in FF or IE. jQuery.filter(expr, [i]).r is undefined http://localhost:8080/resources/org.wicketstuff.jquery.accordion.JQAccordion/jquery.accordion.pack.js Line: 1 is this known, or should i try diggin in? about jquery anyway: i