access to enclosing component bindings?

Ondřej Čada <[email protected]> Wed, 22 Feb 2012 13:21:45 +0100
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hello there,

in a structure similar to

<wo:repeat ... list=3D"$something.out.there">
  <wo:MyComponent partOfList=3D"$something.out.there"/>
</wo>
<wo:repeat ... list=3D"$another.list.here">
  <wo:MyComponent partOfList=3D"$another.list.here"/>
</wo>
<wo:repeat ... list=3D"$and.just.another.one">
  <wo:MyComponent partOfList=3D"$and.just.another.one"/>
</wo>

if would be pretty convenient if I could implement MyComponent so that =
instead of binding its "partOfList" explicitly, it finds the enclosing =
WORepetition (innermost if more, crash if none) and reads in its list =
binding.

Is it possible? If so, can you please point me to some hint/example/doc =
of howto?

Thanks a lot,
---
Ondra =C4=8Cada
OCSoftware:     [email protected]               http://www.ocs.cz
private         [email protected]             http://www.ocs.cz/oc