semi-static URLs in Seaside

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

semi-static URLs in Seaside

Udo Schneider
All,

I'm aware of the updateUrl:/initialRequest: combo to generate
bookmarkable URLs. However I just noticed that on seaside.st (Pier) even
the calling components' links to child components are already altered!
How is this achieved?

CU,

Udo

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

Re: semi-static URLs in Seaside

Lukas Renggli
> I'm aware of the updateUrl:/initialRequest: combo to generate bookmarkable
> URLs. However I just noticed that on seaside.st (Pier) even the calling
> components' links to child components are already altered! How is this
> achieved?

Have a look at the implementation, for example in the one-click image.
The start is in WAAnchorTag>>#goto: that sets the callback and
dispatches to different other objects to modify the URL accordingly.
Of course you don't have to add such a class extension. There is a
read-accessor WAAnchorTag>>#url, that lets you change the URL object
the same way you are used to from #updateUrl:.

Cheers,
Lukas

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

Re: semi-static URLs in Seaside

Udo Schneider
Lukas Renggli schrieb:
> Have a look at the implementation, for example in the one-click image.
> The start is in WAAnchorTag>>#goto: that sets the callback and
> dispatches to different other objects to modify the URL accordingly.
> Of course you don't have to add such a class extension. There is a
> read-accessor WAAnchorTag>>#url, that lets you change the URL object
> the same way you are used to from #updateUrl:.
Thanks for your help. I'll take a look at it.

CU.

Udo

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