<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=utf-8"></HEAD><BODY><pre style="white-space: pre-wrap; word-wrap: break-word;">WAPresenter>>#initialRequest: aRequest worked for me although I would like to make a call in my code rather than having to alter the base code. Any thought on how I would do that? At the moment I am just copying the uri out to one of my instance variables in that method, which isn't very nice.<div><br></div><div><div><div><br></div>David</div>FYI, I don't have a class WABrowser in my VisualAge implementation so that line was no good to me.</div></pre><br>--------- Original Message ---------<br><b>From:</b> "Norbert Hartl" <norbert@hartl.name><br><b>To:</b> "David Pennington" <david@totallyobjects.com>, "Seaside - general discussion" <seaside@lists.squeakfoundation.org><br><b>Subject:</b> Re: [Seaside] How do I find a REST request in a URL?<br><b>Date:</b> 02/10/2017 10:51:45 (Fri)<br><br><pre style="white-space:pre-wrap; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; word-wrap:break-word;">Have a look at 

WAPresenter>>#initialRequest: aRequest
        "When a new session is started, all visible presenters (components or tasks) receive this message with the request as argument.

        A common usage for this is to initialize their state depending on the URL of the request. This is one building block for bookmarkable URL. The other is updateUrl: where you can manipulate the anchor urls generated by Seaside.

        You can not use #call: in here. Consider using a WATask instead and sending #call: in #go.

        See WABrowser for examples.
        You may want to access the WAPathConsumer (self requestContext consumer) to get a hold of the unconsumed path."


Norbert

> Am 10.02.2017 um 11:39 schrieb David Pennington <david@totallyobjects.com>:

> Hi there. I want to start a Seaside page from a standard web page. 
> I want to use a standard REST format such as http://www.myseasideweb.com:8080/mySeasidePage?oneSpecialImage.
> in mySpecialPage, I want to recover the 'oneSpecialImage' to display a chose image on the page.

> How would I do that in mySeasidePage please?
> David

> Message sent using Winmail Mail Server
> _______________________________________________
> seaside mailing list
> seaside@lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
</david@totallyobjects.com></pre>
</BODY></HTML>
<br><hr><pre>Message sent using Winmail Mail Server</pre>