I cannot reproduce this problem :).
Are you sure that you selected the item before hand?
In any case, take a look at the code examples from MooseBrowsers. For example:
MooseBrowsers>>navigationBrowserOn: scopeSelector
...
actions: [ :tree | tree selection mooseInterestingEntity mooseFinderActions ]
Cheers,
Doru
I'm trying to set some actions on items in a glamour tree presentation, say:
actions: [:tree | tree selection xMenuItems ]
But #selection called on the widget returns nil. Is this the expected behaviour?
I managed to get what I wanted after diving in the object:
actions: [:tree | tree selectionPath last xMenuItems ]
--
Simon
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev