Re: [Zope3-Users] Re: redirects in a formlib EditForm

2006-02-28 Thread Gary Poster
On Feb 27, 2006, at 10:52 PM, Joel Moxley wrote: Thank you so much, Gary. Let me know if I should do anything to follow up on this bug. It would be great if you would put it in the Zope 3 collector. http://www.zope.org/Collectors/Zope3-dev Thanks Gary __

Re: [Zope3-Users] Re: redirects in a formlib EditForm

2006-02-27 Thread Joel Moxley
Yahtzee! On 2/27/06, Gary Poster <[EMAIL PROTECTED]> wrote: > > Damn, I still can't get this working right after following all of the > > instructions here. I can successfully stash the refering url in a > > hidden form, but it's not showing up in my request. > > I can think of two possible thin

Re: [Zope3-Users] Re: redirects in a formlib EditForm

2006-02-27 Thread Gary Poster
On Feb 27, 2006, at 8:39 PM, Joel Moxley wrote: Damn, I still can't get this working right after following all of the instructions here. I can successfully stash the refering url in a hidden form, but it's not showing up in my request. I can think of two possible things. One is that you are

Re: [Zope3-Users] Re: redirects in a formlib EditForm

2006-02-27 Thread Joel Moxley
On 2/27/06, Gary Poster <[EMAIL PROTECTED]> wrote: > > On Feb 27, 2006, at 6:52 AM, jürgen Kartnaller wrote: > > > Gary Poster wrote: > [...] > >> Yes, we write custom templates that use hidden input fields. We > >> reuse > >> the existing template by putting the default template on another > >> a

Re: [Zope3-Users] Re: redirects in a formlib EditForm

2006-02-27 Thread Gary Poster
On Feb 27, 2006, at 6:52 AM, jürgen Kartnaller wrote: Gary Poster wrote: [...] Yes, we write custom templates that use hidden input fields. We reuse the existing template by putting the default template on another attribute of the view class, and then saying 'metal:use- macro="view/...'

Re: [Zope3-Users] Re: redirects in a formlib EditForm

2006-02-26 Thread Joel Moxley
On 2/26/06, Gary Poster <[EMAIL PROTECTED]> wrote: > > On Feb 26, 2006, at 4:17 PM, jürgen Kartnaller wrote: > > > Joel Moxley wrote: > ** What is the best way to use a formlib EditForm to redirect a > user > after applying changes without fully cloning a "handle_edit_action" >

Re: [Zope3-Users] Re: redirects in a formlib EditForm

2006-02-26 Thread Gary Poster
On Feb 26, 2006, at 4:17 PM, jürgen Kartnaller wrote: Joel Moxley wrote: ** What is the best way to use a formlib EditForm to redirect a user after applying changes without fully cloning a "handle_edit_action" method? ** I'm doing it this way : def render(self): if self.errors

Re: [Zope3-Users] Re: redirects in a formlib EditForm

2006-02-26 Thread Joel Moxley
> > ** What is the best way to use a formlib EditForm to redirect a user > > after applying changes without fully cloning a "handle_edit_action" > > method? ** > > > > I'm doing it this way : > > def render(self): > if self.errors is None or self.errors: > return super(EditP