Login  Register

WebMenu proposal for changes

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

WebMenu proposal for changes

HilaireFernandes
1396 posts
Hi there,

I have factored a bit WebMenu to let the user set a text to display for
a nil value.

From the menu list you may want the user to select an entry explicitly
named "I am nil" to set the model to nil.
This also remove, for the situation, the unused empty entry in the menu.

Usage:
    form := self addMenuAspect: #symbol collection: aCollection
selectedToAspect: #item of: model.
    form textForEmpty: I am nil".

aCollection should contain a nil element.

Janko it will be nice you take a look to it because I am still unused
about AidaWeb internal.
Then I will commit it to the SmaltalkHub repo.

Thanks

Hilaire

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


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

AidaWebMenuWithTextForNil.1.cs (3K) Download Attachment