OpenNTF.org - XPages Wiki

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: XPages Wiki (Managed by Steve Castledine, Niklas Heidloff)
Actions:


Response
Subjecta relative path works better
Created 01/28/2010 07:04 AM by sean cull.
Modified<none> by <none>.
Body

Removing the absolute path and just using a relative path seems to fix the problem
originally
//url=@LeftBack(database.getHttpURL(),"/")+facesContext.getExternalContext().getRequestContextPath();

then tried
url="www.deliverytoolkit.com"+facesContext.getExternalContext().getRequestContextPath();

but best is a relative path
url=""+facesContext.getExternalContext().getRequestContextPath();


Feedback

Hide details for The base URLs revert back to the se... ( on 01/27/2010 05:38:48 PM )The base URLs revert back to the se... ( on 01/27/2010 05:38:48 PM )
Hide details for . . See (M. L. on 01/27/2010 09:49:31 PM ). . See (M. L. on 01/27/2010 09:49:31 PM )
Hide details for . . . . ahhh - rss feeds only - hardco... (sean cull on 01/28/2010 06:53:00 AM ). . . . ahhh - rss feeds only - hardco... (sean cull on 01/28/2010 06:53:00 AM )
. . . . . . a relative path works better (sean cull on 01/28/2010 07:04:02 AM )
Check out other projects
Switch to project: