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

2000-11-02 Thread Bill Anderson

Looking for some docs, however incomplete, on programmatically (DTML OR
Python) add a Specialist (or Specialist Derived ZClass) and set up teh
defaultRack, and add a Skinscript/Trigger.

I would also like to be able to set the ZClass storage too ...

That's not asking much, is i ? :)


--
E PLURIBUS LINUX


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




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

2000-11-02 Thread Steve Spicklemire


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

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )