I love it! Not perfect but I use send quite a bit so this is a wonderful
nugget of knowledge.  Thanks tom.

Sent from my EVO

On Jun 21, 2010 4:49 AM, "Tom Locke" <[email protected]> wrote:

You could take advantage of <call-tag> which allows you dynamically set the
name of the tag you want to call, rather like send in Ruby

e.g. (not tested)

<def tag="nav">
 <call-tag tag="#{this.state}-nav" merge/>
</def>

<def tag="active-nav">...</nav>
<def tag="disabled-nav">...</nav>
<def tag="closed-nav">...</nav>

Calling <nav> will then result in the appropriate tag being called

Tom



On 20 Jun 2010, at 02:49, Chris Apolzon wrote:

> I've looked and not seen anything like this. Is...

-- 
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