On 11/5/05, Jim Mintha <[EMAIL PROTECTED]> wrote: > > > Don't make the setup() call at this point. Several of the plugins need > > access to config data during the setup() call, but that data doesn't > > exist yet. > > > BeerDB->config->relationships( > > [ > > "a brewery produces beers", > > "a style defines beers", > > "a pub has beers on handpumps" > > ] ); > > > > This is the point where you should call setup(). > > > > Hope this helps, let us know how you get on. > > Great! That did help, doing the setup last and adding loading > FormBuilder I was able to get further, and after fixing the remaining > few other small problems I finally got it going. > > Having worked backwards to the beerdb example, I'm now trying to get > it to work with my real database which is using Oracle. This is not > working and it seems to be a problem that the C:D:Oracle module > doesn't do enough to keep formbuilder happy. Anyone else running > formbuilder with Oracle? Or even just standard Maypole with Oracle > (which does work, but took a bit of hacking) I will spend some time > digging in the C::D::Formbuilder stuff to see if I can make it work > with Oracle (or convince management to use MySQL for this DB :) )
Great! The code you need to look at is probably in CDBI::FormBuilder::Meta::Table and CDBI::FormBuilder::Meta::Column. These are standalone, so you can try setting up a simple test script that uses these modules to try and read metadata from your database. I'm keen to release these as an independent package, but I've only run them against MySQL and SQLite, so I want to know if they work against other beasts before going ahead. d. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Maypole-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maypole-users
