Populate a Combobox with a list of all instances of an Objec
Posted: Fri Aug 07, 2009 10:25 am
by Anonymous >> Wed, 28 Jul 2004 13:54:22 GMT
Object A and Object B are linked via a many-to-many relationship.
I have a form which browses all instances of Object A.
I would like to add a combobox control to my form which is populated with all instances of Object B, where a user can select an item from the list and click a button to add it to the myBs collection.
I have a feeling i ought to be using 'foreach' and 'addItem' somehow, but I'm new to Jade so I may well be barking up the wrong tree. Any help would be greatly appreciated!
Object A and Object B are linked via a many-to-many relationship.
I have a form which browses all instances of Object A.
I would like to add a combobox control to my form which is populated with all instances of Object B, where a user can select an item from the list and click a button to add it to the myBs collection.
I have a feeling i ought to be using 'foreach' and 'addItem' somehow, but I'm new to Jade so I may well be barking up the wrong tree. Any help would be greatly appreciated!