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

Andreas Heckel andreas at easyleading.org
Wed Apr 28 12:27:48 EDT 2004


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

The error message is pretty clear. You used thomething like:

<input tal:content="whatever" />

With tal:content you can modify the content between the start and end tag.

<b tal:content="string:hello world">dummy content</b> will render:

<b>hello world</b>

But <input></input> is no valid XHTML ...

Andreas Heckel
http://www.easyleading.org





More information about the Zope mailing list