yes, it works fine.

2007/11/16, Joshua Jackson <[EMAIL PROTECTED]>:
>
> On 11/16/07, Arve Klev <[EMAIL PROTECTED]> wrote:
> > hi,
> > as a novice in regards to Tapestry, I first thought it was a bug,
> > but at last I tried to supply a beanmodel, and everything is fine
> (obvious
> > to others, I think).
> > I found the tip here:
> >
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/beaneditform.html
> .
> >
> > <table t:type="grid" pagerPosition="both" source="persons" model="
> > personModel" reorder="firstName" />
> >
> >    @Inject
> >    private BeanModelSource _beanModelSource;
> >
> >    @Inject
> >    private ComponentResources _resources;
> >
> >    @Retain
> >    private BeanModel _model;
> >
> >    public BeanModel getPersonModell() {
> >        return _model;
> >    }
> >
> >    void pageLoaded() {
> >        _model = _beanModelSource.create(Person.class, false,
> _resources);
> >    }
> >
> > Is this the right way to inform the grid component to use the "
> Person.class
> > "?
>
> Have you tried it yet?
>
>
> --
> What you want today, may not exist tommorrow
>
> Blog: http://joshuajava.wordpress.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to