pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccp999 <ccp...@hotmail.com>
Subject Action.getNamedActions() cannot be updated with an new action
Date Thu, 05 Jul 2012 06:43:27 GMT
Hi,

I followed tutorial example to setup a menu bars.  I put dummy action in the
constructor because I need to set a parameter after the initialization of
the screen objects.  I set a function to replace the dummy action as:

Action.getNamedActions().put("xxx", new action (){
xxx
});

but the put function doesn't replace the dummy action, even I insert:
Action.getNamedActions().remove("xxx");

it doesn't help.

Did I miss anything? or it is a bug.



--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Action-getNamedActions-cannot-be-updated-with-an-new-action-tp4021939.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Mime
View raw message