Re: Formbuilder and big crosslinks
| From: | Justin Patrin | Date: | Tue, 21 Dec 2004 19:56:26 +0000 |
| Subject: | Re: Formbuilder and big crosslinks | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16384@lists.php.net to get a copy of this message | ||
On Tue, 21 Dec 2004 11:54:58 -0800, Justin Patrin <papercrane@gmail.com> wrote:
> On Tue, 21 Dec 2004 19:12:15 +0100, Rodrigo Alvarez Fernández
> <papipo@gmail.com> wrote:
> > On Tue, 21 Dec 2004 10:00:14 -0800, Justin Patrin <papercrane@gmail.com> wrote:
> > > On Tue, 21 Dec 2004 16:39:01 +0100, Rodrigo Alvarez Fernández
> > > <papipo@gmail.com> wrote:
> > > > Hi PEARs,
> > > >
> > > > I'm trying FromBuilder with a crosslink that points to a table with
> > > > more than 900 rows.
> > >
> > > Well, the crosslink pulls all the rows...
> > >
> > > >
> > > > preGenerateForm(&$fb) {
> > > > $idCustomer = HTML_QuickForm::createElement('hidden',
> > > > 'idCustomer');
> > > > $this->preDefElements['idCustomer'] = $idCustomer;
> > > > }
> > > >
> > > > I thought than using that, values for select won't be loaded, but it
> > > > seems that I was wrong, since Page gives 30 seconds timeout!
> > >
> > > What did you expect this to do? I don't understand. Crosslinks are
> > > checkboxes (well, they can be a multi-select, too). What exactly are
> > > you trying to do here?
> > >
> > Ok, I said crosslinks when I wanted to say simple limks.
> > Example config:
> >
BTW, if you need to change the records pulled (i.e. limit to certain
ones) there is also the prepareLinkedDataObject callback.
http://opensource.21st.de/tiki-index.php?page=Callback+methods#id859116
--
Justin Patrin