Hi,
I have a very simple "index_html".
It s a form in which I ask for an "Id"


        <form action="addFile" method="post">
        <div>Id</div>
        <input  type="text"     name="id"       size="40" />
        <input  type="submit"   name="submit"   value="Add File" />
        </form>

what I want is when the visitor fill the form and then submit it, a
"File" object is created inside the same container.

I added a Python script named "addFile" in the same container, and tried
some things... but always failed.

How to create a "File" then?
Thank you.

PS: I know the danger if an anonymous can do such things as creating an
object into a container, but it's just for learnig prupose at the
moment.


_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to