On 11.06.09 15:09, Hedley Roos wrote:
> Andreas Jung wrote:
>> Hi there,
>>
>> following use case: an AT-Event derived content-type contains provides
>> a "create sub-event" link within its default view. Clicking on the link
>> will create a new event and add the new event to a referencefield within
>> the original event (standard master-slave relationship). This works fine
>> with invokeFactory() and updating the related fields within a browser
>> view.
>> However I want to use portal_factory in order to avoid orphan event. Any
>> idea
>> how to update the referencefield of the master event after the creating
>> of the
>> slave event through portal_factory?
>>
>> Andreas
>>
>>
>
> Hi Andreas
>
> Have you tried setting keepReferencesOnCopy=1 on the field which
> references the sub-event?

keepReferencesOnCopy seems to be a dead horse. There is no code -
neither in Archetypes
nor Plone actually using it :-)

Andreas


-- 
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [email protected] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting


begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to