[PHPTAL] tal:attributes="onclick php: 'javascript:document.getElementById(\'\')'" send onclick="javascript:document.getElementById(' ' )" and I want getElementById('')

KLEIN Stéphane klein.stephane at gmail.com
Tue Sep 26 16:46:31 CEST 2006


2006/9/26, Luciano Andrade <andrade.luciano at gmail.com>:
> try
> <a tal:attributes="onclick structure:
> 'javascript:document.getElementById(\'\')'" onclick="">Caption</a>

I've this error :

Unknown phptal modifier structure function phptal_tales_structure does
not exists

It seem than structure don't exists with tal:attributes...



More information about the PHPTAL mailing list