Hello ĺist,

I am trying out the wsgi_app.py sample twforms application,
but it keeps showing parts of the form as "raw html".

I have found the following workaround:
replace:





# Display wrappers to display string templates on Genshi
[display.around(
    "_origin(renderable, kw) != 'genshi' and _origin(renderable, kw) !
= 'kid' and "
    "_destination(renderable, kw) == 'genshi'"
    )]
def _filter_through_HTML(next_method, self, renderable, **kw):






with:





def _origin2(self, renderable, **kw):
    return _origin(self, renderable, **kw)

# Display wrappers to display string templates on Genshi
[display.around(
    "_origin2(renderable, kw) != 'genshi' and _origin(renderable, kw) !
= 'kid' and "
    "_destination(renderable, kw) == 'genshi'"
    )]
def _filter_through_HTML(next_method, self, renderable, **kw):


Is this a problem with generic functions? Perhaps just a matter of
wrong
priorities assigned to rules?

Best regards,
Stefaan.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to