• 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
Checkbox inside a WORepetition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Checkbox inside a WORepetition


  • Subject: Checkbox inside a WORepetition
  • From: "Riaz Lalehzari" <email@hidden>
  • Date: Thu, 06 Feb 2003 02:58:29 +0000

Hello,

Has anyone used the stepwise example using checkboxes inside of a WORepetition? (http://www.stepwise.com/Articles/Technical/WOF_Checkboxes.html)
The only way I could think of to save which ones have been clicked is to add a binding 'onClick' that calls a function which adds the item to a NSMutableArray. But the EOModeler always gives an error when I add the binding.
In the example the function used to set the list of checkboxes checked is:


    public void setPersonChecked(boolean newPersonChecked) {

        if (newPersonChecked) {
            if (!selectionList.containsObject(currentPerson)) {
                selectionList.addObject(currentPerson);
            }
        }
        else
            if (selectionList.containsObject(currentPerson)) {
                selectionList.removeObject(currentPerson);
            }
    }

How can I call this without using a binding 'onClick'? How did they call it in the example to update this selectionList?

Thanks,

Riaz


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Checkbox inside a WORepetition
      • From: George Domurot <email@hidden>
  • Prev by Date: Re: Java Client beginner question
  • Next by Date: Re: wotaskd hangs
  • Previous by thread: Deployment Q's to webobjects-deploy (was Re: wotaskd hangs)
  • Next by thread: Re: Checkbox inside a WORepetition
  • Index(es):
    • Date
    • Thread