Hello James, I guess you should just do some string magic in the string getLoadURL() gives you - i.e. remove everything after 'lps' or whatever. Another way is to invoke some JS function on the HTML page but this is quite non-trivial (requires fscommand usage probably).
JH> I'm deploying my Laszlo application and I've configured an Apache/Tomcat JH> environment to launch the application just by going to a particular web JH> site (e.g. http://foo.bar.com) I have an index.html file which contains JH> the deployment code generated by Laszlo. The application launches just JH> fine and works fine. I have a 'Log Off' button which does the following: JH> LzBrowser.loadURL(LzBrowser.getLoadURL()); JH> The problem is that when this code gets executed, the URL isn't JH> http://foo.bar.com, but rather JH> http://foo.bar.com/lps-3.1.1/blah/blah.lzx?blah=blah&blah=blah?etc JH> Without hardcoding the URL, how can I configure things so that the JH> application gets reloaded using the same URL that launched it? -- Regards, Mike mailto:[EMAIL PROTECTED] _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
