It would be good to use this as one example in the taglibs section of
the cookbook:

http://cookbook.hobocentral.net/api_tag_defs/name

The explanation of the <name> tag:


"Renders the name of the current context using a variety of methods."


I find that a little confusing, but it may be just me.

-Owen

On Mar 13, 2:45 am, Tom Locke <[email protected]> wrote:
> > Current user:  <a with ="&current_user.name"> </a>'
>
> That's actually trying to create a link to the current user's name, which 
> doesn't work - you can't link to fields, only to records.
>
> A link to the current user is (assuming you have a user show page in your 
> app), is
>
> <a with="&current_user"/>
> (uses the user's name for the link text)
>
> To view the current user's name
>
> <name with="&current_user"/>
>
> 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.

Reply via email to