How to use newline_to_br?
Scenario: - a tried to show a multi-line text field in HTML with the current return line feeds converted to <BR> - I made a request form with a text field called data - in the response method there is a <dtml-var data fmt="newline_to_br"> On viewing the former, and then submitting it to the latter: Error Type: TypeError Error Value: not all arguments converted ?? I tried some alternatives, but nothing worked. _____________________________________________________________________________________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
Almost got it <dtml-var data newline_to_br> :) -Andy
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Roland C. Reumerman Sent: 04 December 2000 12:30 To: zope@zope.org Subject: [Zope] How to use newline_to_br?
Scenario: - a tried to show a multi-line text field in HTML with the current return line feeds converted to <BR> - I made a request form with a text field called data - in the response method there is a <dtml-var data fmt="newline_to_br"> On viewing the former, and then submitting it to the latter: Error Type: TypeError Error Value: not all arguments converted ?? I tried some alternatives, but nothing worked.
__________________________________________________________________ ___________________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andy Dawkins -
Roland C. Reumerman