• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOCheckBoxMatrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: WOCheckBoxMatrix
      • From: Timo Hoepfner <email@hidden>
    • Re: WOCheckBoxMatrix
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: WebObjects Foundation
  • Next by Date: Re: WOCheckBoxMatrix
  • Previous by thread: WO/Java Developer opening
  • Next by thread: Re: WOCheckBoxMatrix
  • Index(es):
    • Date
    • Thread