Good find, Matt!
On Wed, Apr 7, 2010 at 3:49 PM, Matt Jones <[email protected]> wrote:
>
> On Apr 7, 2010, at 3:41 PM, Andy Waite wrote:
>
> I have the following in one of my views:
>>
>> <table-plus: with="&@this.account_transactions" fields="this,
>> created_at">
>> <created-at-heading:>Date</created-at-heading:>
>> </table-plus:>
>>
>> I want to use 'this' in my fields list so that there is a link to
>> drill down. But how can I rename the column header? I've tried a tag
>> of <this-heading:> and <account-transaction-heading:> but neither seem
>> to have any effect.
>>
>
> Looking at rapid_support.dryml (for the def of with-field-names), we see
> this:
>
> scope.field_name = n == "this" ? this.member_class.try.name :
> n.to_s.gsub("." , "_")
>
> So, rather un-intuitively, the correct tag will be
> <AccountTransaction-heading:>.
>
> This is almost certainly a bug; in fact, I'm 99% sure I've seen a ticket
> for it.
>
> Hope this helps!
>
> --Matt Jones
>
>
> --
> 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]<hobousers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>
>
--
Thanks,
- Owen
--
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.