Actually, Action() doesn't have a reference to the object performing the action.
Cant use it. Bob On Thu, Mar 25, 2010 at 2:06 PM, Robert Piotrowski <[email protected]>wrote: > OK. so I populate the Action.NamedActionDictionary with an action called > "onCheckoff", and I can apply that to all checkboxes by setting the action > property to "onCheckoff" ? > > > > Bob > > > On Thu, Mar 25, 2010 at 2:00 PM, Robert Piotrowski <[email protected] > > wrote: > >> so i can't have the same action called "onClick" for all my checkboxes in >> a tablepane? >> >> >> >> >> On Thu, Mar 25, 2010 at 1:58 PM, Greg Brown <[email protected]> wrote: >> >>> Yes, action names must be unique, and they must have already been >>> established before you load your WTKX file. Otherwise, the action name in >>> the <Window.ActionMapping> element won't resolve. >>> >>> On Mar 25, 2010, at 2:50 PM, Robert Piotrowski wrote: >>> >>> One more thing.....do named actions have to be unique? >>> >>> >>> Thanks, >>> Bob >>> >>> On Thu, Mar 25, 2010 at 1:49 PM, Robert Piotrowski < >>> [email protected]> wrote: >>> >>>> I was looking at menubars here: >>>> http://pivot.apache.org/tutorials/menu-bars.html >>>> >>>> .....and I think the "action mapping" is what I was looking for a while >>>> ago when i was looking for a way to bind my java eventhandlers to the >>>> componets defined in wtkx without having to fish them out specifically by >>>> ID >>>> and adding them to the listerner collections for each component (ie, adding >>>> click handlers to a dynamic list of checkboxes). >>>> >>>> Can i do it this way? >>>> >>>> Or am I assuming something? >>>> >>>> Can I call Action.getNamedActions() anytime after the serializer loads >>>> the wtkx file? >>>> >>>> >>>> >>>> Bob >>>> >>> >>> >>> >> >
