--------------F75E07B45284B0D8023AB919
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



"Mark F. Murphy" schrieb:

> How does one make a "Return To Previous Page" link?  I would think it would
> just be a matter of getting the "referer" URI/URL.

One way is to set an instance variable in every page that is initialized just
before the jump to the next page is initiated like below


    public WOCompoent nextPage() {

        WONextPage nextPage =
(WONextPage)application().pageWithName("WOMailURL");
        nextPage.setPrevPage(application().context().page());

        return nextPage;
    }


> However, I know there's got to be a way to do this and I'm just trying to
> save time pouring over the manuals.

It not properly described in the manuals. Another reason why a cookbook is
urgently required.

>
> Any suggestions or pointers?

We have developed a framework that handles such cases.

> Thanks.
>
> mark

Regards

-- Marco



>
> ---------------------------------------------------------------------------
>  Mark F. Murphy, Director Software Development   <mailto:[EMAIL PROTECTED]>
>  Tyrell Software Corp                            <http://www.tyrell.com>
>  PowerPerl(tm), Add Power To Your Webpage!       <http://www.powerperl.com>
> ---------------------------------------------------------------------------
> Member of Families Against Internet Censorship: rainbow.rmi.net/~fagin/faic

------------------------------------------------
              Marco Lawrenz

Condat GmbH              Tel: +49-30-39094-208
AltMoabit 91 d           Fax: +49-30-39094-300
10559 Berlin             mailto:[EMAIL PROTECTED]
          http://www.condat.de

CONDAT auf der CeBIT: Halle 3, Stand C64
------------------------------------------------


--------------F75E07B45284B0D8023AB919
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
&nbsp;
<p>"Mark F. Murphy" schrieb:
<blockquote TYPE=CITE>How does one make a "Return To Previous Page" link?&nbsp;
I would think it would just be a matter of getting the "referer" URI/URL.</blockquote>
One way is to set an instance variable in every page that is initialized
just before the jump to the next page is initiated like below
<br>&nbsp;
<p><tt>&nbsp;&nbsp;&nbsp; public WOCompoent nextPage() {</tt>
<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WONextPage nextPage =
(WONextPage)application().pageWithName("WOMailURL");</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
nextPage.setPrevPage(application().context().page());</tt>
<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return nextPage;</tt>
<br><tt>&nbsp;&nbsp;&nbsp; }</tt>
<br>&nbsp;
<blockquote TYPE=CITE>However, I know there's got to be a way to do this
and I'm just trying to save time pouring over the manuals.</blockquote>
It not properly described in the manuals. Another reason why a cookbook
is urgently required.
<blockquote TYPE=CITE>&nbsp;
<br>Any suggestions or pointers?</blockquote>
We have developed a framework that handles such cases.
<blockquote TYPE=CITE>Thanks.
<p>mark</blockquote>
Regards
<p>-- Marco
<br>&nbsp;
<br>&nbsp;
<blockquote TYPE=CITE>&nbsp;
<br>---------------------------------------------------------------------------
<br>&nbsp;Mark F. Murphy, Director Software Development&nbsp;&nbsp; &lt;<a 
href="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</a>>
<br>&nbsp;Tyrell Software 
Corp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;<a href="http://www.tyrell.com">http://www.tyrell.com</a>>
<br>&nbsp;PowerPerl(tm), Add Power To Your Webpage!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;<a href="http://www.powerperl.com">http://www.powerperl.com</a>>
<br>---------------------------------------------------------------------------
<br>Member of Families Against Internet Censorship: 
rainbow.rmi.net/~fagin/faic</blockquote>
------------------------------------------------
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Marco Lawrenz
<p>Condat 
GmbH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Tel: +49-30-39094-208
<br>AltMoabit 91 d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Fax: +49-30-39094-300
<br>10559 
Berlin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<A HREF="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A 
HREF="http://www.condat.de">http://www.condat.de</A>
<p>CONDAT auf der CeBIT: Halle 3, Stand C64
<br>------------------------------------------------
<br>&nbsp;</html>

--------------F75E07B45284B0D8023AB919--

Reply via email to