Ondřej Čada
2012-02-22 12:21:45 UTC
Hello there,
in a structure similar to
<wo:repeat ... list="$something.out.there">
<wo:MyComponent partOfList="$something.out.there"/>
</wo>
<wo:repeat ... list="$another.list.here">
<wo:MyComponent partOfList="$another.list.here"/>
</wo>
<wo:repeat ... list="$and.just.another.one">
<wo:MyComponent partOfList="$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 Čada
OCSoftware: ***@ocs.cz http://www.ocs.cz
private ***@ocs.cz http://www.ocs.cz/oc
in a structure similar to
<wo:repeat ... list="$something.out.there">
<wo:MyComponent partOfList="$something.out.there"/>
</wo>
<wo:repeat ... list="$another.list.here">
<wo:MyComponent partOfList="$another.list.here"/>
</wo>
<wo:repeat ... list="$and.just.another.one">
<wo:MyComponent partOfList="$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 Čada
OCSoftware: ***@ocs.cz http://www.ocs.cz
private ***@ocs.cz http://www.ocs.cz/oc