Two separate beans--you create one bean on your view page (to be passed into
BeanDisplay), another bean on your edit page (to be passed into
BeanEditForm).   They can have completely distinct sets of properties.

On Mon, Jun 8, 2009 at 11:38 AM, Michael Gerzabek
<michael.gerza...@gmx.net>wrote:

> Hi,
>
> BeanModelSource now has deprecated create(..) in favor of
> createDisplayModel(..) and createEditModel(..). This is a nice feature
> leaving me with one question:
>
> I want to edit a bean that has some properties that should not be displayed
> at all (@NonVisual), some properties that should be displayed but not
> enabled for editing. Those properties can have setters but some also don't
> have setters at all. And then there are some properties that should be
> editable. How would I achive this?
>
> Thanks for your help,
> Michael
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to