Re: How do I find a REST request in a URL?

Norbert Hartl <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
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 <[email protected]>:
> 
> 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
> [email protected]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.