Hi,
I am currently wondering how can I manipulate urls generated by Seaside. In my application I have several components which can be displayed in the main interface. In some of them I create some anchors. First I want to konw how can I add some parameters in this url ? Second, when the link is clicked, how can browse the parameters in my current url in order to take some decisions depending on their values ? For example, imagine a "cloud tag" where each tag is an anchor which should recall another component which could be a kind of research component. From the Seaside FAQ, I read some stuffs about that. It seems that this parameters is stored in the session variable but I have to recognize that I need some more explanations... Thanks in advance. Sylvain _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
De: [hidden email] [mailto:[hidden email]] En nombre de Sylvain Pralon Enviado el: Viernes, 30 de Noviembre de 2007 16:50 Para: Seaside - general discussion Asunto: [Seaside] URL Manipulation
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Sylvain pralon
Url manipulation is for bookmarkable urls. Not for implementing any
kind of behaviour. Your problem sounds as if it would be implemented much easier with annoucements: http://onsmalltalk.com/programming/smalltalk/maintaining-loose-coupling-in-seaside-components/ Cheers Philippe 2007/11/30, Sylvain Pralon <[hidden email]>: > Hi, > > I am currently wondering how can I manipulate urls generated by Seaside. > In my application I have several components which can be displayed in the > main interface. > In some of them I create some anchors. > First I want to konw how can I add some parameters in this url ? > Second, when the link is clicked, how can browse the parameters in my > current url in order > to take some decisions depending on their values ? > > For example, imagine a "cloud tag" where each tag is an anchor which should > recall another component which could be a kind of research component. > > From the Seaside FAQ, I read some stuffs about that. It seems that this > parameters is stored in the session variable but I have to recognize that I > need some more explanations... > > Thanks in advance. > > Sylvain > > > > _______________________________________________ > 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 |
Thanks for these explanations.
You are absolutely right and I will quickly review my design's application. Sylvain 2007/11/30, Philippe Marschall <[hidden email]>: Url manipulation is for bookmarkable urls. Not for implementing any _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |