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

Re: WOPopUp


  • Subject: Re: WOPopUp
  • From: Christopher Pavicich <email@hidden>
  • Date: Fri, 15 Aug 2003 08:27:44 -0400

JF:

JavaScript is your friend here, but you will have to (i think) do a form submit:

Set the 'onClick' binding of the radio button to a javascript method in your page.
Have the javascript submit a form on your page. Something like the following:


doMyRadioButtonAction() {
	document.DUMMY_FORM.submit()
}

Put a Form on the page called DUMMY_FORM, and set the 'action' binding to 'MY_METHOD'
Then define MY_METHOD to look something like:


public WOActionResults MY_METHOD() {

	//Do the stuff you want to do
	//Do more stuff
	return context().page();
}

I recently had this problem myself, and could find away around NOT having a form submittal,
but you don't have to have a button, per se, that is handled by the script.


--CMP


On Friday, August 15, 2003, at 4:30 AM, Jonathan Fleming wrote:

G'day one and all,

How can I get a WOPopup menu to perform an action upon the selection of a value. eg. say I have "Yes", "No" & "Inter" in my list and I choose "Inter"... I then want to set a conditional if necessary because the value will warrant this. I don't want a submit button, that won't work.

Help will be appreciated

Kind regards
Jonathan :^)

_________________________________________________________________
Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
_______________________________________________
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.
_______________________________________________
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.

References: 
 >WOPopUp (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: Project Builder Build Query
  • Next by Date: determining what instances are running on server?
  • Previous by thread: WOPopUp
  • Next by thread: Project Builder Build Query
  • Index(es):
    • Date
    • Thread