Re: HTML_QuickForm_Controller: Best way to pilot page transition with link elements?
| From: | Alexey Borzov | Date: | Tue, 09 Dec 2003 15:01:59 +0000 |
| Subject: | Re: HTML_QuickForm_Controller: Best way to pilot page transition with link elements? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9416@lists.php.net to get a copy of this message | ||
Hi!
Massimiliano Bariola wrote:
I would like to realize a 3-page entity for managing complex records (info, list of attached files, etc.) representing press releases. First page would contain a list of the records, sorted by date. Each row entry would be composed of be a link (this is the point) leading to page 2, detailing the item corresponding to the link, and a "preview" link showing the current rendering of the item. Second page would contain some editable properties of the record, indexed by id. Third page would contain file upload and file list management for this record/press release. I think that the best way to do it is to use the HTML_QuickForm_Controller framework, creating the set of three pages as separate instances of QuickForm_Page , etc.Well, as you probably noticed yourself, the first page has *nothing* to do with forms. Thus I see no real reason in creating it via QF/QFC. The other two pages can easily be done using QFC, there are examples in the package, one of them shows how to work with file uploads.