Le 3/20/15 10:11 AM, nicolas petton a écrit :
> > But I wonder why is Iliad using the "class" attribute instead of the
> > "id" attribute to update the widget ?
>
> The reason is that the same widget might be rendered several times in
> the same page. If we were using ids, it would not be possible.
Oh, it seems obvious now that you say it.
Well, what would be nice now that it's common to have multiple css
class on one html element would be to make Iliad more aware of it. To be
able to change the css class of a widget without breaking this mecanism.
I will look into it.
By the way I have added the caption element from a table to Iliad. You
can found the code on Smalltalk Hub :
http://smalltalkhub.com/#!/~BenoitAstruc/Iliad.
Benoit