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

Laura McCord Laura.McCord at doucet-austin.com
Wed Apr 28 12:25:05 EDT 2004


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>


Thanks, 
 Laura








----Original Message-----
From: Mark Gibson [mailto:mark at kaivo.com] 
Sent: Wednesday, April 28, 2004 11:32 AM
To: Laura McCord
Cc: zope at zope.org
Subject: Re: [Zope] Getting an Error that I don't understand


I'm only guessing - an empty html tag would be somthing like a <br> or 
  <hr>.  Putting a tal:content within such a tag doesn't make any 
sense, becuase these tags don't surround content.

If this doesn't help, post the source of the page template that's 
producing this error.

Mark

Laura McCord wrote:
> Could someone tell me what this means and what is the resolution.
> 
> Compilation failed
> TAL.TALDefs.TALError: empty HTML tags cannot use tal:content: 'input',

> at line 7, column 1
> 
> I tried googling it but couldn't find an explaination or resolution.
> 
> Thanks,
>  Laura
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org 
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )




More information about the Zope mailing list