Re: Render a Wicket page to a string for HTML email

2008-11-06 Thread cjlyth
Yeah this is about the same, I think you would still have to do it in its own thread. try { return Executors.newSingleThreadExecutor().submit( new Callable() { public S

Re: Render a Wicket page to a string for HTML email

2008-11-06 Thread cjlyth
getBinaryContent was not returning anything for me. When i simply changed it to return tester.getServletResponse().getDocument() everything seemed to work. Here is the sample that works in a jUnit test, I have not yet integrated this into any real applications. public String renderPage

Re: warning: [deprecation] AuthenticatedWebSession(AuthenticatedWebApplication,Request)

2008-04-15 Thread cjlyth
I get it as well with 1.3.3 with the single parameter constructor. When I downgrade to 1.3.2 the error goes away. sindibade wrote: > > Hi all, > > I still encounter the same problem with wicket 1.3.3 > > Thanx, > > Tarik > > > > > Mr Mean wrote: >> >> AuthenticatedWebApplication used t

OpenEntityManagerInView and wicket dataview question

2008-03-28 Thread cjlyth
I posted a reply to another post this afternoon expanding on a question the OP had about openEntityManagerInView. I want to ask in a different thread and a different way. I have a page that displays a ListOwner object. The ListOwner has a collection of lazy loaded ListEntry objects. I can NOT get

Re: Lazy load exception wicket and hibernate

2008-03-28 Thread cjlyth
I have been getting the same error. I feel like im missing something. Maybe I am doing something horibly wrong but I haven't been able to figure out what it is. I am using spring 2.5, Wicket 1.3.2, and I have put the OpenEntityManagerInViewFilter in my web xml. The filter is loading ok, im not