Re: JPA annotations

2012-12-23 Thread Ron Smits
check http://jeff-schwartz.blogspot.nl/2011/03/java-ee6-wicket.html its a good series of articles about using Java EE and wicket I Haven't Lost My Mind - It's Backed Up On Disk Somewhere On Fri, Dec 21, 2012 at 1:30 PM, Lucio Crusca lu...@sulweb.org wrote: Hello *, I've started this short

Re: JPA annotations

2012-12-23 Thread martin.dilger
Hi, I really don't understand your question. You want to know how to get jpa-annotations to work. Well, you just need to get hold of an entitymanager. If you ask me, go with spring, it's easier than jee or even Guice. Regards Martin -- View this message in context:

Re: Attempting to establish session for static resources in Wicket 6

2012-12-23 Thread Andrea Del Bene
I don't remember quite well how it used to work with 1.5, but looking at your stacktrace I see you used some kind of redirection policy that involves class RestartResponseAtInterceptPageException. This class needs to build a permanent session as you can see in its method InterceptData.set:

A little Christmas present

2012-12-23 Thread Jochen Mader
We (Olaf Siefart and me) have prepared a little christmas present for you. It's a small Wicket application showcasing different approaches to doing asynchronous loading in Wicket (WebSockets, HeartBeat, ...). We built it for our company developer conference and afterward decided to open source it.

Parsing company id from url

2012-12-23 Thread jchappelle
I'm hoping this will be an easy question to answer for the wicket gurus out there. I'm developing an app that will have pages specific to companies. They will be able to configure styles and logos and all the pages will be branded for their company. The root url looks like http://server/app. I'm

Re: Parsing company id from url

2012-12-23 Thread Sven Meier
Hi Josh, LocaleFirstMapper from wicket-examples seems like something you're looking for, it reads the locale from the first url segment. Sven On 12/23/2012 10:33 PM, jchappelle wrote: I'm hoping this will be an easy question to answer for the wicket gurus out there. I'm developing an app

Re: Attempting to establish session for static resources in Wicket 6

2012-12-23 Thread Sven Meier
Hi Chris, as already written, these are temporary sessions that should do no harm. Nevertheless I've added a check into RestartResponseAtInterceptPageException#InterceptData (which probes every request to be able to restore post parameters from before an intercept page) whether a session

RE: Attempting to establish session for static resources in Wicket 6

2012-12-23 Thread Chris Colman
I don't remember quite well how it used to work with 1.5, but looking at your stacktrace I see you used some kind of redirection policy that involves class RestartResponseAtInterceptPageException. I had the same reaction when I first saw the redirect but I can assure you that we're not doing any

RE: Attempting to establish session for static resources in Wicket 6

2012-12-23 Thread Chris Colman
Ah excellent! Thanks Sven. I was thinking about the creation of a simple test to be added to the test suite that would override WebApplication#newSession and then make a request for a static resource and then throw an exception if newSession gets called. This would help trap any future regression