[Seaside] Smalltalk question
dima-sender-3c337a at yasp.com
Fri Aug 5 16:42:10 CEST 2005
I'd like to create an instance of class by knowing only a class name.
something like this:
classname := anObject class asString , 'Controller'.
"expect something like FSBlockListController in a classname"
controller := Smalltalk giveMeInstanceOf: classname.
"expect result of /FSBlockListController new/ in controller"
I know it should be possible in Squeak in one line of code,
but i am still a newbie...
Thank you very much.
More information about the Seaside