On Monday, May 31, 2010 16:39:25 Luca Verardi wrote:
> Hi all. I have a question.
>
> How can I put a link in a column of an AjaxGrid widget?
> Or how can I trasform a record in a link in an AjaxGrid widget?
I don't know AjaxGrid itself, but usually returning an XML-instance works for
me in widgets - roughly like this:
from genshi import XML
class AcceptGTCFormPart(FormPart):
"""Form section prompts user to accept the GTC."""
class fields(WidgetsList):
accept_gtc = CheckBox(help_text=XML(unicode(_("<span
class='fieldhelp'><p>I have read and I accept Ableton's <a href='/gtc'
target='_blank'>General Terms and Conditions</a>
(GTC)</p></span>")).encode("utf-8"),
suppress_label=True,
)
Diez
--
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en.