[aida] WebMenu limitation?

Hilaire hilaire at drgeo.eu
Mon Mar 2 11:20:39 CET 2015


Hi there,

I found my self stick in the following situation:

I have a collection of association as
countries := {#en->'English' . #es ->'Spain'. #uk->'United Kingdom'}
I want to display in a WebMenu the values of these association, and
store the key in my model.

It appears I can't just do that.

I can store the key, but only the keys are displayed in the menu..
Or I can display the wished text, but at best the association is stored
in my model...

self
        addMenuAspect: #value
        collection: countries
        selectedToAspect: #code
        of: model.

Am I missing something ?

Thanks

Hilaire

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu




More information about the Aida mailing list