Hmm... Seems like autoconnect does not work for me as I expect.

I checked in setupRender() inside EditorComponent and found that
'entity' is null, while Page.setupRender() assigns new value to its
same named property.

What am I doing wrong?

On Sat, Nov 7, 2009 at 7:50 PM, Alexey Hanin <gagari...@gmail.com> wrote:
> Hello,
>
> Recently I found that autoconnect-parameters are being copied instead
> of being set as reference to parent parameter.
>
> What I want is to implement various editor-components containing
> BeanEditForm accessing parent property.
>
> class Page {
>
> �...@property
>  private EntityObject entity;
>
>  void onSuccess() {
>   // save entity here
>  }
>
> }
>
> class EditorComponent {
>
> �...@property
> �...@parameter(autoconnect = true)
>  private EntityObject entity;
>
> }
>
> Which way do I have to start to dig to?
>
> Alexey.
>

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

Reply via email to