On 9/22/05, Ron McClain <[EMAIL PROTECTED]> wrote:
> Still no luck.  In the users table, I now do:
> sub display_fields { qw(groups); }
> and in Auth_role I do:
> sub display_fields {qw(users}; }
>
> For one-many relationships, it works, but doesn't do what I really want.
> I can add multiple NEW tickets to a host, but I want to be able to
> associate existing tickets to a host, with a multiple select box.  Is
> this not possible, or in the works?  I can look at adding it myself if
> not.

It should be pretty easy. A new template, a new action, and a new form
configuration in setup_form_mode(). Let me know if you get stuck, and
send me the code if you get it working!


> For many-many relationships, like the user/group scenario..  The
> behavior is still exactly as I described below.  When I edit a user, I
> get a form to create an auth_role.  If I submit it, it creates the
> auth_role, but does not associate the user with it.  Also, what I'm
> really looking for is a multiple select box to associate the user with
> existing groups.. not create a new one.

I have to do a bit of work on an FB site over the next few days, I'll
test out many-many operations. Again, for associating to existing
rows, you'll need to come up with your own code, but it's supposed to
work when creating new rows.

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