Hi,

It's Glamour, not Glamorous. And the development tools form the Glamorous Toolkit :)

The Glamour widgets do not propagate changes to the model by default. But, you can get notified when something changes in a port. See below an example:

browser := GLMTabulator new.
browser row: #one.
browser transmit to: #one; andShow: [:a |
a dropDownList
display: [ :x | x ];
onChangeOfPort: #selection 
act: [ :dropDownListPresentation | dropDownListPresentation selection inspect ] ].
browser openOn: (1 to: 42)



Cheers,
Doru



On Tue, Dec 30, 2014 at 11:39 PM, Juraj Kubelka <juraj.kubelka@gmail.com> wrote:
Hi!

There is an example GLMBasicExamples>>dropDownList where a user can select a value from drop down list. If I change some lines like this:

-=-=-
browser := GLMTabulator new.
browser row: #one size: 30; row: #two.
browser transmit to: #one; andShow: [:a |
a dropDownList
display: [ :myModelObject | myModelObject valuesForDropDownList ] ].
-=-=-

How can I update selected value in myModelObject when a user select something? 
Thanks!
Juraj

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--
www.tudorgirba.com

"Every thing has its own flow"