WOPopupButton and DirectAction
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