You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Josh Kamau <jo...@gmail.com> on 2010/11/09 12:20:12 UTC
BeanEditForm support for embedded types
Hi there;
Does the beanEditForm have support for Embedded Types and images out of the
box? It doesnt seem to work for me and i was wondering if there was
something i was doing wrong
Regards.
Josh.
Re: BeanEditForm support for embedded types
Posted by Josh Kamau <jo...@gmail.com>.
Thanks.
For editing an image i think i would create a file uproad edition block.
I thought it would automatically create an upload field for properties of
type Byte[]. -- the way grails does it.
I will read more of customizing the bean editor form.
regards.
On Tue, Nov 9, 2010 at 6:46 AM, Thiago H. de Paula Figueiredo <
thiagohp@gmail.com> wrote:
> On Tue, 09 Nov 2010 09:20:12 -0200, Josh Kamau <jo...@gmail.com>
> wrote:
>
> Hi there;
>>
>
> Hi!
>
>
> Does the beanEditForm have support for Embedded Types and images out of
>> the box?
>>
>
> BeanEditor (which is used internally by BeanEditForm) supports any type of
> object as long there's an edition block for it. See the Adding New Property
> Editors in http://tapestry.apache.org/tapestry5.1/guide/beaneditform.htmlfor more details on how it works. BeanEditor isn't recursive, just creating
> form fields for properties of the object, not the properties of the
> properties of the object.
>
> What do you mean by editing an image? File upload?
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: BeanEditForm support for embedded types
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Tue, 09 Nov 2010 09:20:12 -0200, Josh Kamau <jo...@gmail.com>
wrote:
> Hi there;
Hi!
> Does the beanEditForm have support for Embedded Types and images out of
> the box?
BeanEditor (which is used internally by BeanEditForm) supports any type of
object as long there's an edition block for it. See the Adding New
Property Editors in
http://tapestry.apache.org/tapestry5.1/guide/beaneditform.html for more
details on how it works. BeanEditor isn't recursive, just creating form
fields for properties of the object, not the properties of the properties
of the object.
What do you mean by editing an image? File upload?
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org