On Jun 26, 2010, at 8:50 PM, storitel wrote:
hi Matt
thank you for this. the scope stuff works fine.
but somehow I can't get the <a> tag to work?
<a to="previous_record">Prev</a> just renders as the naked text
Prev
in fact anything i try in for the to= parameter fails to give me a
link eg <a to="www.google.com"/>
i feel so *dumb* :-(
In this case, *I'm* the one feeling dumb - I forgot that to= doesn't
do the same magic as if= and repeat=, where non-& strings are
interpreted as calls to methods on 'this'; this code:
<a to="&this.previous_record>Prev</a>
Will do what it's supposed to...
BTW, to= actually takes a record object, and generates a link to it
(if you've got the appropriate permisson), To link to a URL, just use
the standard href= parameter.
--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].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.