« Return to Thread: Is there an easy way to decorate Canvas elements to incorporate other toolkits?

Re: Is there an easy way to decorate Canvas elements toincorporate other toolkits?

by Tim M-4 :: Rate this Message:

Reply to Author | View in Thread

Hi philippe,

> If you only need the dojoType you can simply make a class extentsion
> in WATagBrush
>
> dojoType: aString
> self atttrubuteAt: 'dojoType' put: aString
> html textInput
> html textInput
> on: #userName of: self user;
> dojoType: 'dijit.form.TextBox'


Thanks for the tip - I didn't know you could do it that way. I think that
along with Boris's pointer about overriding in a WARenderCanvas subclass
will give me everything I need - with a plugable solution that would change
all my code without me having to go around adding #dojoType: everywhere.

I hadn't clicked on to the fact that you specify your new canvas in the application
config screen - I keep forgetting to look there.

Thanks again  to you and Boris,

Tim



_______________________________________________
seaside mailing list
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 « Return to Thread: Is there an easy way to decorate Canvas elements to incorporate other toolkits?

LightInTheBox - Buy quality products at wholesale price