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

Re: WOPopUpButton and strings


  • Subject: Re: WOPopUpButton and strings
  • From: Ray Ackland <email@hidden>
  • Date: Thu, 6 Nov 2003 08:26:00 +1300

Dave,

So you are saying that you have one pop-up menu in the web page, and another one in a separate component (on the same page) and you want to pass the value from the first component to the second before the page is submitted?

In this case, the problem you are faced with is that the WO server (the bit you are writing) has got no idea what is happening in the web page, until the "page" is sent back to the server (ie form submitted or some other link followed).

If you want things to happen on the page itself (rather than touching something on the page and have a new page generated) you would need to look at javascript (something I have never delved into myself).

Other options are to have the page being submitted and regenerated using a component in a conditional statement (eg if value from first menu not null, display second pop-up menu stuff). If you wanted much more interactivity you could look at something like applets, but this is getting into more intense learning.

Ray.

On Thursday, Nov 6, 2003, at 01:00 Pacific/Auckland, David Griffith wrote:

I need to get the value before the form is submitted.. Perhaps this is the
problem. Any ideas on how I can do this? I need to get the value as soon
as the user changes them more so than when (or if) the form is ever
submitted.
_______________________________________________
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.

  • Prev by Date: Components and sub-components
  • Next by Date: Re: Newbie Question:WOCheckBox
  • Previous by thread: Re: WOPopUpButton and strings
  • Next by thread: WOBuilder on Panther, Xcode and WO5.2.2
  • Index(es):
    • Date
    • Thread