DataGrid - PropertyModel returns wrong propertyName

2009-01-24 Thread Piero Sartini
I am trying to build a generic DataSource for my JPA managed Beans. This seems to be not that complicated. But there is a small problem. Assume a bean with property "eMail", getter "getEMail()" and setter "setEMail()". In the impl of DataSource.prepare( int startIndex, int endIndex, List s

Advanced Component help

2009-01-24 Thread James Sherwood
Hello, I am looking for a good tutorial(or help) on advanced components with forms and event bubbling. In particular a component that takes a value(with some paramaters) then spits out a form with a form fragment inside a zone. When the user clicks a button in this component the value par

Re: Weird bug

2009-01-24 Thread superoverdrive
The same (if you mean the hibernate session). With get it works instead of load...but Strange that getDomainName() which is in the same table cause it to load associated tables Original-Nachricht > Datum: Sun, 25 Jan 2009 01:11:54 +0100 > Von: Tomas Kolda > An: Tapestry us

Re: Weird bug

2009-01-24 Thread superoverdrive
Not quite...ideally it would at least not crash completely and manage to display a Tapestry error message Eager fetches are not an option for me in this case... Original-Nachricht > Datum: Sun, 25 Jan 2009 00:34:05 +0100 > Von: Andy Pahne > An: Tapestry users > Betreff:

Re: Weird bug

2009-01-24 Thread Tomas Kolda
What happen when you use injected session instead of sessionmanager? @Inject private Session session; public Object onActivate(int domainID) { domain = (Domain)this.session.get(Domain.class, Integer.valueOf(domainID)); return this; } Tomas superoverdr...@gmx.de napsal(a): The followin

Re: Weird bug

2009-01-24 Thread Andy Pahne
Hi, this is complety unrelate to Tapestry. Go and ask the Hibernate forums or read Hibernate docs (API of load() and get() would be a good starter). Cheers, Andy superoverdr...@gmx.de schrieb: The following code: public Object onActivate(int domainID) { domain = (Domain)sessi

Weird bug

2009-01-24 Thread superoverdrive
The following code: public Object onActivate(int domainID) { domain = (Domain)sessionManager.getSession().load(Domain.class, new Integer(domainID)); return this; } leads to: HTTP ERROR: 500 Render queue error in BeginRender[core/ExceptionReport:renderobject_0]: could not initializ

Coming Soon: Tapestry360!

2009-01-24 Thread Howard Lewis Ship
Lately, I've been pulled in a couple of directions. I'm working on a number of Tapestry-related things (new presentations, a DZone Refcard, articles and a new tutorial). I've also been working on Tapestry360: http://tapestry.formos.com You may be familiar with this site already; for about two ye

Access to requestglobals in assetfactory

2009-01-24 Thread Petrus09
Hi, i have written my own assetfactory to locate file absolute on a server. This works very fine, but now i have to decide between secure and nonsecure request to load files with or without ssl. How can i get the requestinformation in my assetfactory? Inject of Requestglobals will not work. thx

Re: Anyone got Jetty-T5-OpenEJB-Hibernate working?

2009-01-24 Thread Adam Zimowski
Thanks Geoff!! I'll play with it today then :) Do you have a built-in support for running openEJB on a remote server, or is it a matter of an easy configuration, in case of jumpstart? -adam On Sat, Jan 24, 2009 at 7:56 AM, Geoff Callender wrote: > Yes, I got it working and released it as JumpSta

Re: Anyone got Jetty-T5-OpenEJB-Hibernate working?

2009-01-24 Thread Geoff Callender
Yes, I got it working and released it as JumpStart 4.0 ( http://jumpstart.doublenegative.com.au/installation.html ). You develop with OpenEJB and can still deploy to JBoss. I'm working on expanding the deployment servers list. The next one will be Glassfish. With any luck I'll also add Ge

Re: Anyone got Jetty-T5-OpenEJB-Hibernate working?

2009-01-24 Thread Adam Zimowski
Geoff - any further news on your Jetty-T5-OpenEJB-Hibernate stack? I'm on the same boat, except for me it is a requirement. I'm just at the beginning of the research phase, and thought I'd check the list for any shorter routes.. -adam On Sun, Jan 18, 2009 at 5:36 AM, Geoff Callender wrote: > For