Re: DataObject_FormBuilder bug?
| From: | Justin Patrin | Date: | Tue, 19 Oct 2004 05:52:55 +0000 |
| Subject: | Re: DataObject_FormBuilder bug? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14966@lists.php.net to get a copy of this message | ||
On Mon, 18 Oct 2004 21:29:40 -0700, Ken Restivo <ken@restivo.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> This is the kind of request I know from years of experience that nobody's going to reply
> to, except for a shrug and a "works for me" or a "nobody actually uses that".
> But I'm going to throw it over the transom anyway.
>
> I've built the very simple tutorial example from Markus Wolff's FormBuilder
> presentation. I've populated my db.links.ini file. My links show up and the select's show
> up.
>
> But FormBuilder refuses to pay any attention to the $fieldLabels, $select_display_field, or
> $textFields from my DO classes! It's very frustrating: the selects have ID's in them, not
> the select_display_fields. The labels are the column names, not my labels. And any date fields show
> up blank: just a label and nothing else. Bah.
>
Yep. That's because those are old instructions. For more up to date
ones (*all* options have descriptions and there's lots of example
code), use the FB wiki:
http://opensource.21st.de/tiki-index.php?page=DB_DataObject_FormBuilder
> I print_r'ed the DO, and sure enough the select_display_field and fieldLabels are right
> there where they're supposed to be. I've tried running with DO debuglevel at 5,
> didn't see any signs of trouble.
>
> I thought, well, maybe I've mistyped something or done something silly. So I downloaded
> the (fabulous, BTW) DB_DataObject_FormBuilder_Frontend demo and tried that. The problems with this
> are even worse: any linked fields don't show up at *all*in its table view, and in the edit view
> the select's are empty. I looked through his code and didn't see any clues why this would
> be happening.
>
Thanks, you're one of the few who have even tried it. The Frontend
that you downloaded may be old, I haven't updated the tarball in a
while. If youre selects aren't showing up, are you sure that you set
up the paths correctly? Well, you probably did...it's probably an old
Frontend. If you still want it, I can throw together a new "realease".
> Anyway, I would *really really* like to use this package. If it's deprecated or abandoned,
> and I should instead be using a different one, please feel free to let me know.
>
DB_DO_FB is not deprecated or abandoned. We are working on it, we're
just like most PEAR developers...we have limited time. If you have
ideas or patches, we'd love to hear about them. Or if you'd like to
write a tutorial or some more docs. ;-)
--
paperCrane --Justin Patrin--