Excellent - the alias works. Thanks Tom. I had thought about using an
alias but I'd assumed that it would be evaluated at runtime (and
therefore just refer to the extended <collection> definition) rather
than at startup/compile time (I hope that makes sense).

Incidentally I originally did it the way that Bryan suggested, but
obviously using an alias is far more DRY


On Aug 20, 11:28 pm, Bryan Larsen <[email protected]> wrote:
> One possibility is to copy the current definition out of
> rapid_generics.dryml and name it something else.  Not very DRY, but it's
> one copy in one place rather than in 30+ different places.
>
> Bryan
>
>
>
> Iain wrote:
> > I have what sounds like a simple question, but I can't find the
> > answer:
>
> > Given a tag that you've overridden is it possible to call the original
> > version of the tag in your pages? I was hoping that <old-%> would work
> > (eg. <old-collection>) but it seems that this only works inside
> > <extend> tags.
>
> > In my case I've redefined <collection> to show a <table-plus> as I'd
> > prefer dense tables for my data 95% of the time, however, there are
> > cases where I'd like to have lists of cards (as the original
> > collection does). Doing <collection replace> each time collections
> > appear would definitely not be DRY (I must have 30+ visible
> > collections). But it'd be nice to be able to call the original tag
> > occasionally as well.
>
> > Thoughts? (and thanks!!!!)
--~--~---------~--~----~------------~-------~--~----~
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