On 9/17/05, David Baird <[EMAIL PROTECTED]> wrote:

> I think the docs are out of date. The related() method should work
> fine for has_many relationships. Although it's probably broken for
> has_a, unless you get the latest from svn.

Hm, I'm not sure what's out of date in the docs, then- adding the
related() line
from the docs does what he said it should- it associates the beers
table with the
pubs table via the handpumps table... But it doesn't provide any means
to add to the handpumps table, does it?  That's really what I'm after.

> However I don't think the factory templates will build you a multiple
> select, you have to do that yourself. I might be wrong because I
> haven't used the standard Maypole templates for a while.

I'd be happy to write such a template myself, though I'm rather fuzzy on what
Class::DBI tricks are needed to do the table associations properly.
I'm finding a bit
of a learning curve with Class::DBI.

My immediate goal is finding whether maypole can easily do the
many-to-many table updates...

> <plug>
> Or you could look at Maypole::FormBuilder, which does build the multi-select.
> </plug>

I will give that a shot.  Thanks.

-Daniel

>
> 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

Reply via email to