[Zope] Modal behaviour wanted!

Luca Manini manini@flashnet.it
Sun, 7 Apr 2002 11:31:35 +0200


>>>>> "Steve" == Steve Drees <drees@rangebroadband.com> writes:

    >>  Of course I don't want the edit_html to know (hard-coded) that
    >> its "backlink" is index_html (it will not always be the case).


    > just redirect to REQUEST.HTTP_REFERER instead of index_html.

    Trying to use REQUEST.HTTP_REFERER I've made this three DTML
    Documents, but the navigation links does not behave like expected!

<!-- navy -->
<dtml-var standard_html_header>
<h2><dtml-var document_id></h2>

<br/><dtml-var URL>

<br/><a href="navy"> navy (that's me) </a>
<br/><a href="edit"> edit             </a>
<br/><a href="list"> list               </a>

<dtml-let link="REQUEST.HTTP_REFERER">
<br/><a href="&dtml-link;"> back </a> (<dtml-var link>)
</dtml-let>

<!-- edit -->
<dtml-var standard_html_header>
<h2><dtml-var document_id></h2>

<br/><dtml-var URL>

<br/><a href="navy"> index            </a>
<br/><a href="edit">   edit (that's me) </a>
<br/><a href="list"> list             </a>

<dtml-let link="REQUEST.HTTP_REFERER">
<br/><a href="&dtml-link;"> back </a> (<dtml-var link>)
</dtml-let>

<!-- list -->
<dtml-var standard_html_header>
<h2><dtml-var document_id></h2>

<br/><dtml-var URL>

<br/><a href="navy"> index            </a>
<br/><a href="edit"> edit             </a>
<br/><a href="list">   list (that's me) </a>

<dtml-let link="REQUEST.HTTP_REFERER">
<br/><a href="&dtml-link;"> back </a> (<dtml-var link>)
</dtml-let>

<dtml-var standard_html_footer>


	any hint?
	TIA, Luca