I'd suggest that you use formkit to manage forms. It's really simple to use. With it, I don't need any templating language (which I find not really useful...)
formencode does the trick also, but its too bad it doesn't have an automatic layout by default. I had to write my own simple layout management for formkit, that I will contribute some times. Regards Salman Toor a écrit : > Hi I am salman Toor and i just started my thesis....... I have to use > python with webware ....... can any body guide me like how to i get > the information about the basic modules and the methods of python web > components ..... what is the good IDE to use Now i have a basic > problem .... > > > i want to handle a checkbox in a python script > > ******************************************************************** > <form ......> > <input type="checkbox" name="Donit" > > ....... > </form> > > > def func(self) : > ................ > f1 = self.request().field('Donit') > ....... > > self.write( > > """<tr><th>Check_Box_Output</th><td>%s</td></tr> """" % (f1)) > > ********************************************************************** > > when i checked the checkbox it dose not give me error but if i do not > checked the check box it gives me error msg ..... > > ******************************************** > f1 = self.request().field('Donit') > KeyError: 'Donit' > ******************************************** > > I know its a basic problem but i want to learn what function is for > what and how many functions are available in the classes that are for > this python web programming ...... > > Thankz in advance > > Best Regards.... > Salman Toor.. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Webware-discuss mailing list > Webware-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/webware-discuss > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss