WOCheckBoxMatrix
WOCheckBoxMatrix
- Subject: WOCheckBoxMatrix
- From: David Holt <email@hidden>
- Date: Wed, 16 Aug 2006 12:01:19 -0700
Hello all,
I have a WOCheckBoxMatrix component in a WOTabPanel so that I can set
a many to many relationship (Users <--> Events). Once any item has
been selected and saved (i.e. created a relationship between two
EOs), I can't deselect all the items and leave an empty array. Items
can be added and removed so long as there is always one checkbox
selected. When I de-select all the checkboxes it doesn't delete the
relationships, it continues displaying the last array of items after
I save changes (nothing is written to the database). Has anyone else
seen this?
Here are my bindings for edit:
EventCheckboxMatrix: WOCheckboxMatrix { maxColumns = 1;
item = anEvent;
list = eventDisplayGroup.allObjects;
selections = session.user.events;
}
for display:
EventList: WORepetition {
item = anEvent;
list = session.user.events;
}
EventTitle: WOString {
value = anEvent.event_title;
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden