[Zope] Re: Getting an Error that I don't understand

Tonico Strasser contact_tonico at yahoo.de
Wed Apr 28 12:49:49 EDT 2004


Laura McCord wrote:

> Here is what the code looks like:
> 
> <html>
> <body tal:define="userid request/userid | nothing">
> <form tal:condition="userid">
> <table repeat="result python: context.qUser(userid=userid)">
> <tr>
> <td>
> <input type="text" name="userid" tal:attributes="value result/userid"
> tal:content="result/userid">
> </td>
> </tr>
> </table> 
> </form>
> </body>
> </html>

What you try is to get something like:

   <input>Hello World</input>

That is not allowed in HTML.

   "Start tag: required, End tag: forbidden" [1]

[1] The 'INPUT' element
     <http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.4>

Tonico




More information about the Zope mailing list