meaning full urls (address and links)

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

meaning full urls (address and links)

nova
Hi,

I built a minimal test case for meaning full urls in seaside. It covers:
       
        a) initial redirect for "wrong" urls - done (thanks to Philippe
           and Johan)

        b) links have a meaningful url - half-done (see below)
        c) page url has a meaningful url - half-done (see below)

b) and c) I get only the one or the other to work - not both the same
time. The test class is named Testurl and I attached its fileout.

b) is done inside the #renderContext: method via the #extraPath: of
   WAUrl

c) is done via the #updateUrl: method

But if both is activated then the urls of the links are AAA/AAA
or BBB/AAA instead of just AAA.

Has anyone a hint for me?

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

Testurl.st (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: meaning full urls (address and links)

Stephan Eggermont-3
What are you trying to achieve here? In end-user terms, I mean.

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

Re: meaning full urls (address and links)

nova

> What are you trying to achieve here? In end-user terms, I mean.

I want that I have in the browser url area always a meaningful url that
can be bookmarked (once the session is gone, the link is still ok)

Also I want that (some selected) links have a meaningful url too (for
the same purpose).

Here is what I get and what I want:


I get:

url: localhost:8081/Testurl/AAA
link1: localhost:8081/Testurl/AAA/AAA
link2: localhost:8081/Testurl/AAA/BBB

I want:

url: localhost:8081/Testurl/AAA
link1: localhost:8081/Testurl/AAA
link2: localhost:8081/Testurl/BBB


I get:

url: localhost:8081/Testurl/BBB
link1: localhost:8081/Testurl/BBB/AAA
link2: localhost:8081/Testurl/BBB/BBB

I want:

url: localhost:8081/Testurl/BBB
link1: localhost:8081/Testurl/AAA
link2: localhost:8081/Testurl/BBB

Hopes this makes my goal more clear.


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