[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-doc
Subject:    [PEAR-DOC] cvs: peardoc /en/package/html/html-quickform-controller faq.xml
From:       "Alexey Borzov" <avb () php ! net>
Date:       2007-08-12 21:27:47
Message-ID: cvsavb1186954067 () cvsserver
[Download RAW message or body]

avb		Sun Aug 12 21:27:47 2007 UTC

  Modified files:              
    /peardoc/en/package/html/html-quickform-controller	faq.xml 
  Log:
  A couple of guys managed to contact me via the website's form with this question... \
Let's put it right at the top.  Remove the noob "question", it doesn't seem to scare \
noobs away. ::sigh::  
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-controller/faq.xml?r1=1.4&r2=1.5&diff_format=u
                
Index: peardoc/en/package/html/html-quickform-controller/faq.xml
diff -u peardoc/en/package/html/html-quickform-controller/faq.xml:1.4 \
                peardoc/en/package/html/html-quickform-controller/faq.xml:1.5
--- peardoc/en/package/html/html-quickform-controller/faq.xml:1.4	Thu Sep 30 10:21:01 \
                2004
+++ peardoc/en/package/html/html-quickform-controller/faq.xml	Sun Aug 12 21:27:47 \
2007 @@ -1,4 +1,4 @@
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <refentry id="package.html.html-quickform-controller.faq">
    <refnamediv>
     <refname>FAQ</refname>
@@ -10,13 +10,10 @@
 This document is based on questions asked on <ulink \
url="mailto:&email.pear.general;">PEAR general mailing list</ulink>. You are \
encouraged to search the list archives to find more verbose answers and examples.  \
</para>  </refsect1>
-   <refsect1 id="package.html.html-quickform-controller.faq.noob">
-    <title>The package is so complex! I don&apos;t understand anything!</title>
+   <refsect1 id="package.html.html-quickform-controller.faq.formaction">
+    <title>How do I change the <varname>action</varname> attribute of the \
<varname>&lt;form&gt;</varname> tag?</title>  <para>
-    Sorry, <classname>HTML_QuickForm_Controller</classname> is not intended for PHP \
newbies. If you don't understand what classes are, if you have no prior experience \
with QuickForm, if you are a fan of copy-paste programming then this package is not \
                for you.
-    </para>
-    <para>
-    The package is indeed complex, but so are the problems it is trying to solve. \
Try to rewrite any of the enclosed multipage form examples without using such a \
package and you&apos;ll see what we mean. +      The only reason constructor of \
<classname>HTML_QuickForm_Page</classname> does not provide a means to set the \
<varname>action</varname> attribute is to make it harder to shoot oneself in the \
foot. That being said, the attribute can still be changed by \
<function>setAttribute</function> or <function>updateAttributes</function> method of \
<classname>HTML_QuickForm_Page</classname> (these are inherited from \
<classname>HTML_Common</classname>, and you should really consider learning its API). \
</para>  </refsect1>
    <refsect1 id="package.html.html-quickform-controller.faq.actions">

-- 
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic