Re: Easy POST example for Plone to handle POST data

"Jens W. Klein" <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization Klein & Partner KEG, BlueDynamics Alliance
Message-ID <1267051103.5904.36.camel@minime>
Am Mittwoch, den 24.02.2010, 23:07 +0100 schrieb Lars Reimann:
> Hi all,
> 
> I am in need of an example which shown how Plone 2.1 can handle data
> which ist send to a script on the same Plone server.

also im python script einfach ein:

value = context.REQUEST.form.get('INPUTNAME', 'default')

und du hast den wert.

hilft das?

Post und Get wird nicht so arg unterschieden.

files usw kommen als spezielle objecte daher - diesen kannst du
filename, usw und die daten als file-like object entnehmen.

lg Jens

> For example, I want to post to a (python)script available in the ZMI.
> The python script then should do something with the POST data, like
> computing / storing data.
> 
> I found no valid ressource as google and search terms about plone, POST
> and other topics do not reveal any useful information.
> 
> So, if you have worked with POST-data in Plone, please give me a hint.
> 
> Greetings,
> L.R.
> 
> _______________________________________________
> zope mailing list
> [email protected]
> https://mail.dzug.org/mailman/listinfo/zope



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.