#28: CheckBoxList with ForEach validator and mako renderer displays wrong value
--------------------------------------------+-------------------------------
Reporter: ledmonster | Owner:
Type: defect | Status: new
Priority: critical | Version: 0.9
Keywords: ForEach, MultipleSelectionMixin |
--------------------------------------------+-------------------------------
CheckBoxList with ForEach validator and mako renderer displays wrong
value. It happens with following code.
{{{
class MakoCheckBoxList(CheckBoxList):
engine_name="mako"
foo = MakoCheckBoxList(options=("a", "b"),
validator=ForEach(validators.String))
print foo.display()
}}}
This is different from following output:
{{{
bar = MakoCheckBoxList(options=("a", "b"),
validator=validators.String)
print bar.display()
}}}
I have attached the patch for that.
--
Ticket URL: <http://toscawidgets.org/trac/tw.forms/ticket/28>
tw.forms </trac/tw.forms>
tw.forms - Form building widgets