[Zope] Product - default Folders/Documents...

Juergen R. Plasser / HEXAGON plasser@hexagon.at
Thu, 07 Feb 2002 17:13:23 +0100


Just got it! I forgot to specify the subobjects for the folderish main=20
class. Sorry ;-)

--On Donnerstag, 07. Februar 2002 16:53 +0100 "Juergen R. Plasser /=20
HEXAGON" <plasser@hexagon.at> wrote:

> I have tried copy/paste with this code snippet:
>
> <dtml-with "Control_Panel.Products.Test.defFiles">
>   <dtml-let clip=3D"manage_copyObjects(objectIds())">
>     <dtml-with "_.getitem(REQUEST['id'])">
>       <dtml-call "manage_pasteObjects(clip)">
>     </dtml-with>
>   </dtml-let>
> </dtml-with>
>
> in the Test_add constructor, but Zope tells me that "The object
> editor_browse_files.html does not support this operation ". Seems to be a
> right problem...
>
> --On Donnerstag, 07. Februar 2002 15:37 +0100 "Juergen R. Plasser /
> HEXAGON" <plasser@hexagon.at> wrote:
>
>> Hi all!
>>
>> I want to copy some default folders and documents (as well as other
>> objects) into the created product (I want to use the ieeditor from
>> http://vsbabu.org/webdev/zopedev/ieeditor.html and copy the files
>> programmatically)
>>
>> When I have a folder containing some other folders/documents/objects in
>> the product folder in the control panel (puhh) I want to copy this =
folder
>> object to the product instance at creation time (in the product add
>> method). How can I implement this with dtml (preferred) or python
>> scripts?
>>
>> Thanks for your time,
>> Juergen
>>
>> _______________________________________________
>> Zope maillist  -  Zope@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 )
>>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@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 )
>
>



--=20
Mit freundlichen Gr=FC=DFen,
DI J=FCrgen R. Plasser
Gesellschafter

plasser@hexagon.at
Tel.: +43 / 732 / 640 530 DW 40

HEXAGON EDV-Dienstleistungen Hosiner OEG
A-4221 Steyregg
Weissenwolffstra=DFe 14
Tel.: +43 / 732 / 640 530
Fax: +43 / 732 / 640 530 - 20
http://www.hexagon.at
info@hexagon.at

Bankverbindung: Allg. Sparkasse O=D6, BLZ: 20320, Kto.-Nr.: 1900003623
Firmenbuchnummer: FN 167631t
Firmenbuchgericht: Handelsgericht Linz