calling script with parameters
hallo can anybody help with this problem? i try serch in zope maling list but without succes i will call object for example some python script with few parameters i try this <span tal:content="here/nameOfObject(Param1=5,Param2=3)">content</span> and zope return this Error Type: KeyError Error Value: select() where is problem? -- Martin Herceg ==========================================
Martin Herceg wrote:
can anybody help with this problem? i try serch in zope maling list but without succes
i will call object for example some python script with few parameters i try this <span tal:content="here/nameOfObject(Param1=5,Param2=3)">content</span> and zope return this Error Type: KeyError Error Value: select() where is problem?
One problem is that you're mixing calling syntaxes. The TALES path syntax doesn't accept parameters. If you want to do that you must use the 'python:' declaration to do it in Python (dotted) syntax. --jcc -- "He who fights with monsters should look to it that he himself does not become a monster. And when you gaze long into an abyss the abyss also gazes into you."
participants (2)
-
J Cameron Cooper -
Martin Herceg