• 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
WOPopupButton and DirectAction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOPopupButton and DirectAction


  • Subject: WOPopupButton and DirectAction
  • From: Baiss Eric Magnusson <email@hidden>
  • Date: Mon, 28 Mar 2005 11:00:15 -0800

I'm trying to make my app becoming session-less by changing all the action bindings to directActions.
I now have 2 widgets left to change, a WOPopupButton and a JSModalWindow.
I'm stuck on the WOPopupButton at the moment.


I found that I could wrap a WOHyperLink around the WOPopupButton and have the directAction called, it was originally implemented with a <onChange "submit();"> action.

But I can't get the <selection> binding, which was <curRegion>, sent to the direct action. I've tried both the <selection> and the <selectedValue> attribute of the WOPopupButton, and then tried various combinations of the binding:

	?curRegion curRegion.regionName
	?curRegionName curRegionName

But I only get <null> from the <stringFormValueForKey> method call in the directAction.
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>


_______________________________________________
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


  • Follow-Ups:
    • Re: WOPopupButton and DirectAction
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Testing WO app with VPC IE6 browser
  • Next by Date: Re: WOPopupButton and DirectAction
  • Previous by thread: Re: Testing WO app with VPC IE6 browser
  • Next by thread: Re: WOPopupButton and DirectAction
  • Index(es):
    • Date
    • Thread