WebMenu limitation?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

WebMenu limitation?

HilaireFernandes
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


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida