This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Mar 11, 2011, 5:19 PM
16 Posts

Xpages and Url Path

  • Category: Other
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 2
Hi,
I am working on an Xpage application with many links. Currently the url path is http:\\server.domain.com/dbname/xpagename.xsp. I will create a website document to point to this with something simple list http:\\myapp.domain.com. My question is that for the various links they open other Xpages. I want for the url path to always be http:\\myapp.domain.com as I don't want the users to see the man behind the curtain :). Is this possible and how?

I am a newbie in web design so be gentile.

Thanks

Nov 22, 2011, 7:07 PM
1 Posts
Re: Xpages and Url Path
Hi all,
 
I'm going through the same thing at the moment. I want all urls to from the root of the domain so xpages will be accessed so:
 
mydomain.com\xpage.xsp
 
The problem is that I can use substitution to point an nsf at the domain root, but the urls for resources and links are generated with the nsf path and filename. So this
 
<xp:styleSheet href="/timePicker.css"></xp:styleSheet>
 
turns into this:
 
<link rel="stylesheet" type="text/css" href="/DBFolder/filename.nsf/timePicker.css">
 
Is there a way to control the way URLs are generated, or in some way have my xpage app URLs not include the folder and filenames?
 
Regards,
 
Nathan
Nov 23, 2011, 8:42 AM
261 Posts
Re: Xpages and Url Path
Nathan,
 
The root of your server (the domino\html folder) can be reached by prefixing a url with /.ibmxspres/domino/ 
 
<xp:styleSheet href="/.ibmxspres/domino/styleSheet.css"></xp:styleSheet>
 
Mark

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal