You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Marcus <mv...@gmail.com> on 2008/01/29 18:43:59 UTC

T5 - BeanEditForm and ASO

Hi,

All tests of BeanEditForm (in tapestry-core) are using an ASO
(RegistrationData).
ASO is not required for use BeanEditForm or BeanEditor, right?
Using ASO is the best pratice?

Thanks,

Marcus

Re: T5 - BeanEditForm and ASO

Posted by Thiago HP <th...@gmail.com>.
On 1/29/08, Howard Lewis Ship <hl...@gmail.com> wrote:
> Not required.
>
> However, you will generally want the property to be @Persistent if it
> is not an ASO, otherwise the data provided in a form submission can be
> lost during the redirect to the render of the page.

I would suggest flash persistence specifically: @Persist("flash"), so
that field would not be in the session when it's not being edited.

-- 
Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 - BeanEditForm and ASO

Posted by Howard Lewis Ship <hl...@gmail.com>.
Not required.

However, you will generally want the property to be @Persistent if it
is not an ASO, otherwise the data provided in a form submission can be
lost during the redirect to the render of the page.

On Jan 29, 2008 9:43 AM, Marcus <mv...@gmail.com> wrote:
> Hi,
>
> All tests of BeanEditForm (in tapestry-core) are using an ASO
> (RegistrationData).
> ASO is not required for use BeanEditForm or BeanEditor, right?
> Using ASO is the best pratice?
>
> Thanks,
>
> Marcus
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org