pseudo code alert.
<def tag="tabs">
<set-scoped tabs="&[]">
<ul param="default"/>
<repeat with="&scope.tabs">
<div .../>
</repeat>
</set-scoped>
</def>
<def tag="tab" attrs="label">
<% die if scoped.tabs.nil?
scope.tabs << [label, parameters.default] %>
<div>
<%= parameters.default %>
</div>
</def>
I think you've figured out all of this except for the
"parameters.default" part which is what I think you were asking for.
cheers,
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/tr9nm0otPPkJ.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>