Adding messages to defined tag

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

Adding messages to defined tag

raphonic
Hi,

Is there a way to add properties to a tag after having stored it in a local variable. For example i'm trying to do this

   renderContentOn: html
   |input|
   input:= html textInput.
   input class: 'some-class'.

But it didn't work. I also tried writing to the input's canvas, but that is not publicly accessible.

I'm trying this because i'd like to reuse a few properties across many tags without subclassing.