Re: redirect after file upload

Matthias Beyer <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[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
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.