Checkbox inside a WORepetition
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.