Re: WORepetition, checked attribute question
Re: WORepetition, checked attribute question
- Subject: Re: WORepetition, checked attribute question
- From: Mark Morris <email@hidden>
- Date: Wed, 25 Oct 2006 16:48:33 -0500
Mike,
I just want to second David's comments. onClick is not what you're looking for here, and just have the WOForm in your Edit.wo, with the Display.wo embedded within your form (and with no form of its own). All of your bound variables and methods will get called properly, regardless of which component they're in.
Regards, Mark On Oct 25, 2006, at 3:35 PM, Chip Myers wrote: Mark: Thanks for your reply. I was able to get the setItemSelected() method to execute. I have one more issue, as follows:
Basically, the WOCheckBox is embedded in a WORepetition. These are part of one page, let's call it Display.wo. Display.wo the functionality of showing a list of individual names, with checkboxes appearing beside them.
___________________________________________________________________ Display.wo
CheckBox 1 Individual 1 CheckBox 2 Individual 2 CheckBox 3 Individual 3 etc.... ____________________________________________________________________
Display.wo is then called from a separate WebObjects file, let's call it Edit.wo. This is done for the purpose of generating a nice scrolling bar to help navigate through the list. Edit.wo offers several modfication buttons... Edit, Delete, Add.
____________________________________________________________________ Edit.wo Please search for your individual ___TEXTBOX__________
*********************************************************************************************** Display.wo CheckBox 1 Individual 1 CheckBox 2 Individual 2 CheckBox 3 Individual 3 etc....
********************************************************************************************* EditButton DeleteButton AddButton
_____________________________________________________________________
The problem lies here. Clicking edit, delete, or add... will not submit the form for Display.wo, since they are part of a separate .wo file. Instead of I've added an onClick attribute to my WOCheckBox, which successfully is able to invoke the setItemSelected() method.... but only when it is checked (not when unchecked). How do I call setItem Selected() when unchecking a WOCheckBox? Or, is there a way to submit an inner page, by clicking a button from the outer page?
Thanks, Mike
|
_______________________________________________
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