[Catalyst] autocrud/ExtJS question

Oliver Gorwits oliver.gorwits at oucs.ox.ac.uk
Fri Sep 24 12:47:45 GMT 2010

Hash: SHA1

Hi Marc,

On 24/09/2010 12:13, Marc Gamontini wrote:
> I'd like to know if Catalyst-Plugin-AutoCRUD is able to generate
> checkboxes
> (http://dev.sencha.com/deploy/dev/examples/form/check-radio.html)
> via ExtJS automatically for a multivalued field (built on a correct
> 3-table model). Do other Catalyst-mechanisms exist and what are the
> good pratices about that ?

If I understand your question correctly, you are asking whether
many-to-many relationships are supported via checkboxes in the user

I.e. given tables: person - person_animal - animal

The person_animal link table indicates which animals a person owns.
In this case, AutoCRUD will identify the many-to-many relation but
does not allow selection of animals in the person table view. This
is because the module doesn't know how many animals there might be,
so there is no simple user interface to use for all situations.

AutoCRUD will handle the person_animal table correctly though, and
present searchable lists of all person and animal entries there. So
you use this table view to select the related animals but you have
to do it one at a time in the person_animal table.

If anyone does have any suggestions for how this might be done
better in the user interface, please let me know.

I hope that helps,

- -- 
Oliver Gorwits, Network and Telecommunications Group,
Oxford University Computing Services
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


More information about the Catalyst mailing list