tag:blogger.com,1999:blog-34454975.post1508909266803897371..comments2023-06-28T16:58:41.189+02:00Comments on Web Reflection: [COW] locAction - hash JavaScript location wrapperAndrea Giammarchihttp://www.blogger.com/profile/16277820774810688474noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-34454975.post-36642119348074323352007-10-20T18:52:00.000+02:002007-10-20T18:52:00.000+02:00Hello Roberto, locAction concept is designed for g...Hello Roberto,<BR/> locAction concept is designed for graceful enanchment while your ajax example will not work with javascript disabled browsers (as backbase didn't redirect correctly with javascript disabled browsers).<BR/><BR/>The new idea of locAction is that You can manage separately two different version of sites starting from a compatible url schema.<BR/><BR/>To obtain the same result You could use a link like <A HREF="http://www.3site.eu/examples/locAction/index.html?test=value#examples/locAction/index.html?test=value" REL="nofollow">this one</A> but it should be better to use a different pathname for JavaScript / Ajax interaction to simplify client/server interactions too.<BR/><BR/>It's quite difficult for me to explain better locAction power, however I hope someone will use them one day :DAndrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-19788235661640893822007-10-20T18:34:00.000+02:002007-10-20T18:34:00.000+02:00Andrea, I experimented with a similar concept, I h...Andrea, I experimented with a similar concept, I however tried to make the normal and the ajax url look as similar as possible, see example:<BR/><BR/>normal:<BR/>=========<BR/>http://foo.com/page/id<BR/><BR/>ajax:<BR/>======<BR/>http://foo.com/#/page/id<BR/><BR/>I tried to redirect (keeping state, from URL in a cookie) to ajax URL schema when an JS-enabled browser started with a normal URL, unfortunately that caused trouble and I have disabled the testpage I had running that, but will eventually look again into that probably with an approach as the yours, with links keeping both states ...Roberto Sacconhttps://www.blogger.com/profile/17372747301844271000noreply@blogger.com