Hi,
On 25 Oct 2010, at 12:44, Esteban Lorenzano wrote:
Hi,
I'm making my "first steps" with glamour and I have a question (a couple of
then, actually).
1) I what to hear some events, like for example when something changes in a list
You can send #updateOn:from: to any presentation/browser.
You can see a basic example in GLMBasicExamples>>updatableBrowser.
Another example can be found in the MoosePanel, we update the models list when the root
MooseModel sends MooseEntityAdded
updateOn: MooseEntityAdded from: [ :root | root announcer ];
2) I what to pre-select some item in a list
Just populate the #select port. See an example in:
GLMBasicExamples>>listsWithUpdatedSelection
Cheers,
Doru
How I can do this?
Thanks,
Esteban
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Be rather willing to give than demanding to get."