Hi Chris,
This is very weird since for the library there is no difference in the
code parts. It should be working correctly. One think I would check is
whether the "myListofActions" does not contain "null" value.
Anyway could you send me the stack trace of the exception?
Thanks,
David
Chris Palmer wrote:
Friends!
I was wondering if any has encountered the following problem. When I
have a bunch of actions that I would like to add to a Widget. I have
them in an array.
When I add actions in the following manner:
widget.getActions().addAction(action1);
widget.getActions().addAction(action2);
widget.getActions().addAction(action3);
Everything works.....but if they are in an array.
for ( WidgetAction action : myListofActions ) {
widget:getActions.addAction(action)
}
I get exceptions on mouse over of the Widget. Specifically the
"MoveAction"
I am going to try a stand alone test....