[tw.forms] #30: tw.forms ListForm genshi template broken

3 views
Skip to first unread message

Trac from toscawidgets.org

unread,
Jun 11, 2009, 10:22:00 AM6/11/09
to toscawidge...@groups.google.com
#30: tw.forms ListForm genshi template broken
-------------------+--------------------------------------------------------
Reporter: amol | Owner:
Type: defect | Status: new
Priority: major | Version: 0.9
Keywords: |
-------------------+--------------------------------------------------------
when using a ListForm with genshi instead of the form the user gets the
form code itself.

This is caused by the fact that tw/forms/templates/list_form.html calls
''field.display(value_for(field), **args_for(field))'' without
sourrounding it with ''XML()''

replacing each call to ''field.display(value_for(field),
**args_for(field))'' with ''XML(field.display(value_for(field),
**args_for(field)))'' solves the problem

--
Ticket URL: <http://toscawidgets.org/trac/tw.forms/ticket/30>
tw.forms </trac/tw.forms>
tw.forms - Form building widgets

Trac from toscawidgets.org

unread,
Jun 19, 2009, 3:13:46 PM6/19/09
to toscawidge...@groups.google.com
#30: tw.forms ListForm genshi template broken
---------------------+------------------------------------------------------
Reporter: amol | Owner:
Type: defect | Status: closed
Priority: major | Version: 0.9
Resolution: fixed | Keywords:
---------------------+------------------------------------------------------
Changes (by alberto):

* status: new => closed
* resolution: => fixed


Comment:

Fixed in TW & tw.forms 0.9.7

--
Ticket URL: <http://toscawidgets.org/trac/tw.forms/ticket/30#comment:1>

Reply all
Reply to author
Forward
0 new messages