[Zope] Return to a DTML page
Dennis Allison
allison@sumeru.stanford.EDU
Thu, 25 Apr 2002 11:24:46 -0700 (PDT)
The parent of the method show is C. If you want to
return to B, you need to return to the grandparent,
that is, the parent of the parent.
On 25 Apr 2002, Antonio Beamud Montero wrote:
> Hello all:
> I have a little problem. I have the next hierarchy:
>
> A
> |
> B
> |
> C
>
> In C I have a method to process a form, until here all ok, but the
> return of this method is:
>
> return self.getParentNode().show()
>
> And this works, but the url is like this:
> A/B/C/show
>
> C has and edit_html() dtml method and B also has the same method but
> whit different meaning.
>
> In the show() page, exist a link to the edit_html() method, but zope
> when I click in that link redirects me to the C.edit_html() method and
> not to the B.edit_html() method...
>