Re: T5 Grid with interfaces as source

2007-02-22 Thread Howard Lewis Ship
I've found a bug. One thing I can't work around: for interfaces, Javassist can't find a line number, so you'll want to @Order the properties to keep them from just coming out in alphbetical order. On 2/22/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: I'll create a test case around this examp

Re: T5 Grid with interfaces as source

2007-02-22 Thread Howard Lewis Ship
I'll create a test case around this example and check it out. On 2/22/07, Peter Beshai <[EMAIL PROTECTED]> wrote: Thanks for the fast reply... I tried it out, but I got a NullPointerException: java.lang.NullPointerException Stack trace - org.apache.tapestry.internal.TapestryUtils.computeDep

Re: T5 Grid with interfaces as source

2007-02-22 Thread Peter Beshai
Thanks for the fast reply... I tried it out, but I got a NullPointerException: java.lang.NullPointerException Stack trace - org.apache.tapestry.internal.TapestryUtils.computeDepth( TapestryUtils.java:375) - org.apache.tapestry.internal.TapestryUtils.orderProperties( TapestryUtils.java:35

Re: T5 Grid with interfaces as source

2007-02-22 Thread Howard Lewis Ship
@Inject private BeanModelSource _modelSource; @Inject private ComponentResources _resources; public BeanModel getModelForGrid() { return _modelSource.create(MyInterface.class, false, _resources); } ... and bind the Grid's model parameter to the modelForGrid property. On 2/22/07, Peter Beshai