[Zope-dev] ZPatterns, Racks, Customizers, etc.

Steve Spicklemire steve@spvi.com
Thu, 2 Nov 2000 12:44:31 -0500 (EST)


Would something like this work?

    newSpecialist = Specialists.Specialist()
    newSpecialist.id = 'goobers'
    newSpecialist.title = "Goober Manager"
    
    myFolder._setObject(newSpecialist.id, newSpecialist)

    newSpecialist = newSpecialist.__of__(myFolder)
    newSpecialist.RacksGroup._constructPlugIn('Rack', id='defaultRack')

    newRack = newSpecialist.defaultRack
    newRack.manage_addSSMethod('mySSMethod','')

Most of this can be 'gotten' by poking around in the HTML documents
in the management interface....

-steve