You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Alexey Hanin <ga...@gmail.com> on 2009/11/07 18:29:26 UTC

Accessing autoconnect-parameter by reference, not by value

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-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org