> As a workaround, I am thinking I maybe can change <if test="&fields">
> to <if test="&all_attributes['fields']">
Yep, although I wouldn't call it a workaround, as this is how it's
supposed to work : )
You could also do:
<extend tag="table" attrs="fields">
<old-table merge-params merge-attrs="&all_attributes">
...
- Only fields listed in the attrs attribute are available as local
variables
- By default the 'attributes' hash is merged (i.e. all attributes
_except_ those listed in attrs - this is usually what you want), here
we're explicitly passing all_attributes instead.
Tom
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---