logo       

Using ServerConfigurationService.getPortalUrl and site URLs?: msg#00743

cms.sakai.devel

Subject: Using ServerConfigurationService.getPortalUrl and site URLs?

This does not seem to actually return the portal URL correctly. It seems
to return ServerConfigurationService.getServerUrl() + "/portal" which
does not work correctly in the mercury portal.

I suspect I am doing something wrong but that's nothing new.

The goal here is to get the URL to a site or a tool within a site. All
the examples I have been able to find seem to generate a URL which has
things hardcoded into it (like "/portal/" or "/tool/").

What is the right way to generate the URL to a site or a tool within a
site?
-AZ

--
Aaron Zeckoski (aaronz@xxxxxx)
Lead Developer - Learning Technologies - Virginia Tech

----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise