Re: Handling a form submission
Thomas Waldmann <[email protected]> Mon, 24 Jan 2005 12:52:52 +0100
| Newsgroups | gmane.comp.web.wiki.moin.devel |
|---|---|
| Message-ID | <[email protected]> |
> I'm plugging in an app of mine using a processor plugin that I'm writing. What > I'm not sure how to do with Moin is present a form, and handle the submission. > I do this in CGI all the time, but I'm not sure where to hook this in to > Moin's architecture. > > Currently, the output of my plugin is done with a simple processor, and that's > easy enough to do. But, I'm not sure how to do a form submission. > > Can someone point me in the right direction for how to do this with Moin? Stuff using forms in moin is e.g. in userform.py and in AttachFile.py. Often a combination of an action with a macro (processor, parser) is used for processing (or generating) forms. Form values can be retrieved from request.form, maybe grep for that. > Also, are there processor API docs anywhere? I didn't see anything in > HelpOnProcessors. There isn't much except the source. And except some ancient beginning of a Form handling (no current developer ever used or touched it), there isn't much of an API for that stuff. If you want to work on it, feel free (but development should be based at minimum on 1.3.current, or 1.4.current - but 1.4 for sure isn't intended for production). > I'm using Moin 1.2.4. You maybe want to upgrade to 1.3.2 now. :) ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl