[Zope] epoz and zpt

Milos Prudek prudek at bvx.cz
Tue Jan 25 07:07:40 EST 2005


Could someone please post the simplest working example of Epoz 
in ZPT? An example that would edit a file called 'text'.

The following code I figured out works but it does not save to 
a file:

ZPT method /epoz/a:

<form action="/epoz/a" method="post">
<span tal:define="text here/text|string:"
   tal:replace="structure python: here.Epoz('text', data=text,
                                            toolbox='/',
                                            lang='en',
                                            style='width: 
620px; height: 250px; border: 1px solid #000000;')" />

<input type="submit" name="submit" value=" Save Changes " >
</form>

What's wrong with my example?

-- 
Milos Prudek


More information about the Zope mailing list