Re: QuickForm: Blocknames in ITDynamic
| From: | Marco Schuler | Date: | Thu, 05 Jun 2003 10:52:03 +0000 |
| Subject: | Re: QuickForm: Blocknames in ITDynamic | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5819@lists.php.net to get a copy of this message | ||
Hi Alexey!
Am Don, 2003-06-05 um 12.30 schrieb Alexey Borzov:
> Hi!
>
> Marco Schuler wrote:
> > In ITDynamic_example.php not all the elements/groups are assigned to
> > blocks at the end of the script. For example the text-input itxtTest
> > isn't assigned to any block within the script.
> >
> > Is there a naming convention for blocks (like qf_text) that the renderer
> > uses for text-input-elements?
> >
> > Furthermore, what is the secret behind the *_loop tags for blocks?
>
> I *hope* this has the answers to most of your questions:
>
> http://www.appelsiini.net/~tuupola/php/peardoc2/package.html.html-quickform.html-quickform-renderer-itdynamic.html
>
> If something is unclear there, tell me and I'll fix it. ;]
Thank you for the link. Explained me exactly what I wanted to know.
Just one little question left regarding loop. In the document (link that
you gave me), explanation is as follows:
------------------------------------------------------------------------
qf_main_loop
This block should always be present and should be a parent for all
visible elements' blocks. It is used to implement "flow", to render
elements one after another.
------------------------------------------------------------------------
Can you explain me "flow" a little bit more concisely?
Thanks!
--
Cheers!
Marco