Adit Ranadive schrieb:
Hi,
My question is follows:
I have a couple of page templates and a python script. The first page
template
contains a form for users to fill in their data. This form is submitted to
another server and a perl script executes on the data on the form and
sends back
the response to the second page template. The second page template
displays the
response.
I want to turn this into a product.
What is the best possible way to do this?
Also, keeping in mind that Im using Plone 2.5.1 and will be shifting to
Plone
2.5.2 soon. For future compatibility in what way should the product be
designed?
Thanks,
Adit
P.S. : I dont know what the perl script does but I submit it data and it
redirects the response to the second template.
Hi Adit,
do you know formlib. This is a zope 3 package, which is usable
through five. I find it very useful. Maybe this is an option
for you new product. It renders you automatically the input_form
from an interface of your Product. And it takes care on validation.
You can get some info about formlib here:
http://svn.zope.org/zope.formlib/branches/f12gsprint-widget/src/zope/formlib/form.txt?rev=38253&view=markup
The integration into plone:
http://plone.org/documentation/tutorial/using-zope-formlib-with-plone/?searchterm=formlib%20plone
hth Christian
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers