Re: HTML_QuickForm QuickGuide

From: Date: Mon, 18 Aug 2003 09:50:31 +0000
Subject: Re: HTML_QuickForm QuickGuide
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7268@lists.php.net to get a copy of this message
On Mon, 18 Aug 2003 12:57:16 +0400 Alexey Borzov <borz_off@cs.msu.su> wrote: > In "Defaults, Constants and processing" you probably need to address > getting the values of the elements, not only setting them. I'm happy to add that, but why would someone want to do that? Presumably if no defaults have been set then text boxes, text areas, etc, are set to an empty string, select boxes have the first in the list selected, etc; if defaults have been set then we know the values. I'm probably missing something... > In "Element groups" you give only the 'aesthetic' reason to using > groups, while there are more. OK, I'm new to PEAR. Could you elaborate? > You mention "Warning: The setDefaults line must precede the addElement > line". This should in fact work in any order. If it does not, please > submit a bug report with example code. The warning only applies to hierselect - do you believe that the order is still unimportant for hierselect? If so then I will submit a bug report (where do I do that?). > It would be cool to make method names link to official docs. Nice idea: I'll add that. > BTW, what was this tutorial written in? I suspect the HTML was > generated, can you please post the 'source' as well? It was written using the Gentoo documentation toolkit (Gentoo is a Linux distro). See http://www.gentoo.org/ in general and http://www.gentoo.org/doc/en/xml-guide.xml in particular. The source is XML; I'm happy to make that available but perhaps anyone who wants it could contact me via mail. > I'd also like to borrow some parts from "Filters" and "Defaults, > Constants and processing" for the official docs. Is it OK? Of course. The documentation I have written is provided under the Creative Commons license - see http://creativecommons.org/licenses/by-sa/1.0/. Thanks for the comments, much appreciated. I'll try to update the pages in the next few days and post here when they are. -- Keith Edmunds

« previous php.pear.general (#7268) next »