I'm working up a table view, and have run into this problem:

I'm iterating over a collection of objects. In each iteration, I want
to iterate over a separate, unassociated collection of other objects,
but inside the second iteration, I need to access the parent context,
and I can't find anything that would let me do that. this_parent
doesn't want to work because the second iteration set is unassociated.
like so:

 <append-tr:> <-- I'm accessing the first iteration set via the <table> tag
       <repeat with="&@goals">
       <td>(here I need to access attributes of the collection <table> is
working on AND attributes of the individual @goals)</td>
       </repeat>
 </append-tr:>

how would I accomplish this? is there some way I can pass the
attribute down the chain? something like

<repeat with="&@goals"  send-attr-as-blah="@parent.attr">
<td><this.blah><this.other_stuff></td>
</repeat>

ps irc channel is dead, needs more people.


-- 
Aleks Clark

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to