Current url on a domino page

Hello. i am trying to obtain a text representation of the current url in computed text scope on a domino page. The problem is that the page contains lists and there are relative urls behind the entries…

meanwhile…the page can be accessed three different ways…which potentially hoses the links…

www.mysite.com/WelcomePage?OpenPage

since this isn’t a form, i haven’t been able to use cgi or javascript to grab the url since i have no fields to store it for computed text access. I also tried to use javascript in the onload to force the url to the first option above but then that messes with the browser history…it adds an extraneous entry and it also triggers the same onload and pretty much locks the back button.

I just need something like @URLCurrent in computed text scope but i can’t seem to find a viable solution. Thank you very much for reading this…any suggestions are appreciated.

Subject: current url on a domino page

On your page create a DIVexample :=

Then in the onLoad event of the page

use your javascript code to set the value of the DIV

URLHtml.innerHTML= “”;

Subject: RE: current url on a domino page

wow, ok…i’ll give that a try…thank you.

i also tweaked javascript to replace the url with the base option (as opposed to just setting the location) and that seemed to handle the history problems but i like your suggestion better…i’m hating javascript which is becoming a last resort type of thing and loving css type stuff (although the div still uses javascript a little). Thank you very much.