Re: redirect after file upload

Vladislav Vorobiev <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hallo,

du schreibst ja das du dein eigenen Content-Type hast. Ich weiß nicht
wie Plone das managed, aber es müsste ja eine "Konstruktor" Methode
geben die dein REQUEST nach dem abschicken entgegen nimmt, dein Object
erstellt und dann dich irgendwo hin Leitet.

Gruß
Vlad

Am 21. März 2010 21:22 schrieb Matthias Beyer <[email protected]>:
> ja, aber wo implementiere ich diesen Code?
> Ich hätte es gern, dass der User, sobald der Request abgehandelt ist
> automatisch umgeleitet wird. Momentan gelangt man, wenn man ein File
> hochlädt, zum /view der entsprechenden Datei.
>
> Gruß
> Matthias
>
> Vladislav Vorobiev schrieb:
>>
>> return self.REQUEST.RESPONSE.redirect(self.absolute_url())
>>
>> order
>>
>> return self.REQUEST.RESPONSE.redirect(self.aq_parent.absolute_url())
>>
>> abhängig von kontext, sollte dies tun.
>>
>> Gruß
>> Vlad
>>
>>
>> Am 19. März 2010 20:34 schrieb Matthias Beyer <[email protected]>:
>>
>>>
>>> hallo zusammen,
>>>
>>> ich habe einen von ATFile abgeleiteten Content Typen. Welche
>>> Möglichkeiten
>>> gibt es, nachdem der User solch ein Objekt über die Weboberfläche
>>> erstellt
>>> hat, eine Umleitung zu erzwingen (bei mir konkret auf den parent folder)?
>>>
>>> danke und gruß
>>> matthias
>>>
>>>
>>>
>>> _______________________________________________
>>> zope mailing list
>>> [email protected]
>>> https://mail.dzug.org/mailman/listinfo/zope
>>>
>>>
>>>
>>
>>
>>
>>  ------------------------------------------------------------------------
>>
>>
>>
>> _______________________________________________
>> zope mailing list
>> [email protected]
>> https://mail.dzug.org/mailman/listinfo/zope
>>
>
>
>
>
> _______________________________________________
> zope mailing list
> [email protected]
> https://mail.dzug.org/mailman/listinfo/zope
>
>



-- 
Best Regards
Vlad Vorobiev



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.