pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Piotrowski <rpiotrow...@azonic.net>
Subject Re: action mapping
Date Thu, 25 Mar 2010 19:06:51 GMT
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
<rpiotrowski@azonic.net>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 <gkbrown@mac.com> 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 <
>> rpiotrowski@azonic.net> 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
>>>
>>
>>
>>
>

Mime
View raw message