[Zope3-Users] Schemas / Interfaces / Constructor Arguments
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sun Sep 11 11:03:54 EDT 2005
On Monday 05 September 2005 10:52, Chris Lehmann wrote:
> I've been trying to use the browser:addForm zcml directive to auto
> generate forms to add these objects. How do (can I?) specify the
> additional arguments to the implementing classes without them actually
> being in the schema or must I define a schema for every single object?
I would suggest creating two derived interfaces ILocalMusicPlayer and
IRemoteMusicPlayer that define the attributes. It should then be easy to use
the addform directive tp generate the desired form.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-users
mailing list