On Thu, 20 Oct 2005 20:20:17 -0700
Naotoshi Seo <[EMAIL PROTECTED]> wrote:
> So, this is just redirecting to different page after users add object.
> I have no idea to access to the data of the added object at
> 'nexturl.html'. If possible, I can show what users inputted.

You can use "add" method in view class.

from zope.app.zapi import absoluteURL

class MyAddView:

    def add(self, content):
        content = self.context.add(content) # you need locatable object.
        self.next_url = absoluteURL(content, self.request)

    def nextURL(self):
        return self.next_url

Best Regards,
Tahara Yusei
Zope3-users mailing list

Reply via email to