-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi lee,

thanks for your answer.

you have pointed me to another issue.

now i've made a widget, with the intention to display already formated
xhtml text segments. hence, i'd like not to escape the markup.

XML() would work, if i prepend a valid xml header. i need to invoke a
function for that somewhere in the widget class or module.

would you recommend a <?python ... ?> segment?

hope for help,

alex

Lee McFadden wrote:
> Hi Alex,
> 
> On Dec 27, 2007 2:41 PM, alex bodnaru <[EMAIL PROTECTED]> wrote:
> --8<--snip--8<--
>> i've tried to put it in the widget.py and in the widget class
>> definition, but kid complains it can't find it.
>>
> 
> You can use variable providers to make this function available to your
> templates.  Check out this post[1] for more info.
> 
> [1]: http://tinyurl.com/3a4rju
> 
> Lee
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBR3PqLtpwN1sq38njAQKLvwP9GCyOwFckf2R7/xUtz+Fyq704r1bebqns
LhJJxF6Sg7A13zqU3lAb+HggBIADbnXGfe4jATZV+OVJMvT24H8L+gSmZjFSivWJ
mJyE6rQYKW1ggkMsr9BXhHT3QAc6yds2NnvUnwtbOshWQWgcu1fMAJ3yNpF9lC3g
3tDP8c7N3KI=
=ZPee
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to