Generating table header ids for multiple tables pe rpage

2016-05-13 Thread Thorsten Schöning
Hi all, I have a page where one and the same table (in terms of markup) is rendered multiple times with different data at the same time, simply underneath each other. The markup uses "id" and "headers" attributes, but with static values in the markup and with multiple instances of the table this i

Re: bug of feature?

2016-05-13 Thread Martin Grigorov
HI Ernesto, On Thu, May 12, 2016 at 5:05 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > I have a custom component which uses wicket AJAX to call server. > > *MyNameSpace.*SlimTechnologiesLazyListPanel.filter = *function*(url, elem, > event) { > *var *name = *$*(elem).attr(*"tec

Markupstream.hasMore vs. MarkupStream.next

2016-05-13 Thread Thorsten Schöning
Hi all, hasMore: return currentIndex < markup.size(); next:if (++currentIndex < markup.size()) {...} me: while (markupStream.hasMore()) {...} I get a null element within the while loop which I wouldn't expect to get. markup.size() is 73, currentIndex 72, so hasMore returns true, while ne

best way to set up tests with WicketTester Spring and Hibernate

2016-05-13 Thread hansheinrichbraun
i try to build my tests for my wicket applications with wicket 6.19.0 spring 3.2.2.RELEASE and hibernate 4.1.8.Final the tests run fine only when OpenSessionInViewFilter is used I get the Error could not initialize proxy - no sessionwhat is the best way to deal with problem. I read a remark only

Re: Best way to track logged in users?

2016-05-13 Thread Martin Grigorov
Wicket creates Session objects but until they are something calls Session#bind() there is no Http Session created, i.e. the Wicket Session is temporary for the current request. ISessionListener is notified when Wicket Session is created. Martin Grigorov Wicket Training and Consulting https://twitt

Re: Best way to track logged in users?

2016-05-13 Thread Tom Götz
Hi Martin, thanks for the pointers, will have a look at 2): can I also use org.apache.wicket.ISessionListener? What’s the difference to org.apache.wicket.session.ISessionStore.BindListener (besides that the bind/unbind methods are split into two separate interfaces)? Cheers, Tom > On 13.05

Re: Best way to track logged in users?

2016-05-13 Thread Christoph Läubrich
In fact there is no reliable way, since a client can close whenever it needs to without notify the server. You can try to guess it by observing sessions, and the you should use a session-listener for maximum felxibility. In this listener you can of course obtain the WicketSession it is stored