[aida] WebMenu limitation?

7 views
Skip to first unread message

Hilaire

unread,
Mar 2, 2015, 5:21:09 AM3/2/15
to ai...@aidaweb.si
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
Ai...@aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
Reply all
Reply to author
Forward
0 new messages