[Zope] Re: question on python script, dtml method and options

2005-07-20 Thread Josef Meile
Hi Erik, next_state does get initialized - it is the name of the submit buttons on my various forms. So, then it should be in the request object. Just to test it, put the following at the begining of your python script (You don't have to delelete anything): return request Then submit the form

Re: [Zope] Re: question on python script, dtml method and options

2005-07-19 Thread Erik Myllymaki
next_state does get initialized - it is the name of the submit buttons on my various forms. Josef Meile wrote: Hi Erik, I don't get a traceback, i just get error and message back as empty strings; their initiallized value. very strange. Looking at your python script I saw that initially

[Zope] Re: question on python script, dtml method and options

2005-07-19 Thread Josef Meile
Hi Erik, I don't get a traceback, i just get error and message back as empty strings; their initiallized value. very strange. Looking at your python script I saw that initially you set error and message to the empty string ''. I guess the script is not detecting a 'next_state' keyword in the