How to link to a Seaside root from outside Seaside with parm

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to link to a Seaside root from outside Seaside with parm

Louis LaBrunda
Hi,

I have a need to link to a Seaside root component from a web page that was
not generated with Seaside.  There would be more than one of these links on
the page all going to the same Seaside root, each with a different
parameter.

An example of the link and how to get the parameter in the Seaside root
will be very much appreciated.

Lou
-----------------------------------------------------------
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:[hidden email] http://www.Keystone-Software.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to link to a Seaside root from outside Seaside with parm

jgfoster
Hi Lou,

See the comment in WAPresenter>>#'initialRequest:' and an example in  
WABrowser>>#'initialRequest:'.

James

On Mar 6, 2009, at 6:38 AM, Louis LaBrunda wrote:

> Hi,
>
> I have a need to link to a Seaside root component from a web page  
> that was
> not generated with Seaside.  There would be more than one of these  
> links on
> the page all going to the same Seaside root, each with a different
> parameter.
>
> An example of the link and how to get the parameter in the Seaside  
> root
> will be very much appreciated.
>
> Lou
> -----------------------------------------------------------
> Louis LaBrunda
> Keystone Software Corp.
> SkypeMe callto://PhotonDemon
> mailto:[hidden email] http://www.Keystone-Software.com
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: How to link to a Seaside root from outside Seaside withparm

Sebastian Sastre-2
In reply to this post by Louis LaBrunda
Hi Louis,
yes, as James said, your main component will receive #initialRequest: in the
first request :) and you can use that to read the parameters, implement
bookmarkeables, etc
cheers,
sebastian

> -----Mensaje original-----
> De: [hidden email]
> [mailto:[hidden email]] En nombre
> de Louis LaBrunda
> Enviado el: Friday, March 06, 2009 11:39
> Para: [hidden email]
> Asunto: [Seaside] How to link to a Seaside root from outside
> Seaside withparm
>
> Hi,
>
> I have a need to link to a Seaside root component from a web
> page that was
> not generated with Seaside.  There would be more than one of
> these links on
> the page all going to the same Seaside root, each with a different
> parameter.
>
> An example of the link and how to get the parameter in the
> Seaside root
> will be very much appreciated.
>
> Lou
> -----------------------------------------------------------
> Louis LaBrunda
> Keystone Software Corp.
> SkypeMe callto://PhotonDemon
> mailto:[hidden email] http://www.Keystone-Software.com
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside