[Zope] Re: created a structured document
by Maik Jablonski other posts by this author
Dec 18 2002 9:56AM messages near this date
[Zope] created a structured document
|
[Zope] RE: Any comments from ex-PHP developers?
David Bear wrote:
> I would like to created a structure text document in a folder called docStor.
>
> The hiearchy looks like this :
>
> \-- "my add form lives here"
> \docStor "this is where I want to create the structured doc"
>
> I have created a form at '\' called addDoc
> and a script at '\' to grab fields from the form. However, I don't know the api to call t
o add a structured document. I've got the zope book and it uses
>
> context.manage_addProduct['OFSP'].manage_addDTMLDocument ...
>
> but I don't want to add a dtml doc.
>
> Any pointers?
Depends on the Product you use. If you use StructuredDocument
[http://www.zope.org/Members/mjablonski/StructuredDocument] something like:
context.manage_addProduct['StructuredDocument'].manage_addStructuredDocument(...)
should do the job.
cheers, Maik
--
Maik Jablonski __o
www.zfl.uni-bielefeld.de _ \<_ Deutsche Zope User Group
Bielefeld, Germany (_)/(_) www.dzug.org
_______________________________________________
Zope maillist - Zope@[...].org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )
Thread:
David Bear
Maik Jablonski
|