Hi Your BeanEditForm REQUIRES object, so you have to provide it... In your template, it is not . Have you bound it in java class ??
Also, if you will elaborate/rephrase your problem, it will help regards Taha On Wed, Apr 6, 2011 at 6:23 PM, selenar <nicolasderr...@hotmail.com> wrote: > Hello, > > I am doing a form component that can edit the object bound to it. > > Here is an exemple: > > I am editing a resource wich has a type, so I did this: > > > > > > > > > I use the class, labelFields and pkField to retrieve the corresponding > values in the bound object. > > The template part: > > > > > ${fetchButton} > > > > > > > > ${label} > ${cancelFetchButton} > > > > > > > > > > > > > > I use javascript to handle the clic on the img tag. The block fetchBlock > appears when I clic on the img and disappears when I clic on the cancel > img. > But the Bean editor is empty, with just the Create/save button. It is like > the resType object have no properties. > > > I don't know how to solve this. > > Does someone tried to do something similar? > > If you need more info, just tell me. > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/How-to-use-a-BeanEditForm-with-a-bean-without-knowing-the-bean-class-tp4286211p4286211.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >