> In WAComponent subclass i have the method:
>
> renderAddOn: html
> html form:[
> html textInput callback:[ :value| self add: value].
> html submitButtton text:'add'].
>
> Now i can render the textInput based on specific descriptionKey ?
I don't quite understand what you intend to do with the textInput field.
Do you want to read/write some described data? If so, use something
like the following:
object readUsing: description.
object write: value using: description.
Do you want to use different descriptions depending on some context?
Use something like:
self description select: [ :each | each isForContextX ]
> Any pointers would be greatly appreciated!
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki