Mercurial > p > roundup > code
view website/issues/html/query.item.html @ 4878:f6e76a03b502
HTML* classes for cgi are now all new-style
Add regression test for old behaviour: Lookup of a value of a
HTMLProperty was possibly via getitem -- for old-style classes this
worked because __getattr__ returned the __getitem__ of a newly created
HTMLItem object, this does no longer work for new-style classes as these
look up special method only on the class not the instance.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Sat, 29 Mar 2014 10:52:20 +0100 |
| parents | c2d0d3e9099d |
| children | 578b5294e888 |
line wrap: on
line source
<!-- query.item --> <span tal:replace="structure context/renderQueryForm" />
