Damjan
gdamjan at mail.net.mk
Thu Oct 21 18:20:36 EDT 2004
> A question on what people perceive as being best practice as far as dealing > with forms when using mod_python. How about this: You have the FORM spec in an XML file with the [lets say] .pyfrm extension. This extension is associated with a special mod_python handler [mod_python.form]. The spec file, specifies form elements, required and optional enties, valid value types, ranges etc. It would be a nice option if the form can span several pages.. wizard-like. The spec file would also specify what happens at the end (call a python function or...?). Then I'd be able to insert the form even in plain HTML using an iframe... <iframe src='/newuser.pyfrm'>you need a new browser</iframe> BTW. does pytohn's PSP have a internal url include functionality? Like apache's SSI "#include virtual"? http://httpd.apache.org/docs-2.0/howto/ssi.html#basic -- damjan | дамјан This is my jabber ID --> damjan at bagra.net.mk <-- not my mail address!!!
|