• 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
Re: WOCheckBoxMatrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOCheckBoxMatrix


  • Subject: Re: WOCheckBoxMatrix
  • From: Timo Hoepfner <email@hidden>
  • Date: Wed, 16 Aug 2006 21:22:39 +0200


Am 16.08.2006 um 21:01 schrieb David Holt:

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?


Problem is, then when there are only Checkboxes on the form, which are deselected, it is interpreted as en empty form, which doesn't need to be submitted. Add an hidden field (static one should be enough) with some arbitrary value to it and everything will be fine. AFAIK this is a general HTML problem, not WO specific.

Timo

 _______________________________________________
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 [SOLVED]
      • From: David Holt <email@hidden>
References: 
 >WOCheckBoxMatrix (From: David Holt <email@hidden>)

  • Prev by Date: Re: whywebobjects.org - WWDC followup [and URLs]
  • Next by Date: Re: whywebobjects.org - WWDC followup [and URLs]
  • Previous by thread: Re: WOCheckBoxMatrix
  • Next by thread: Re: WOCheckBoxMatrix [SOLVED]
  • Index(es):
    • Date
    • Thread