NIHVIVO-3772 Incorporate the most recent changes from Eric (2012-06-25)
This commit is contained in:
parent
2df37206ce
commit
54807074a1
3 changed files with 10 additions and 4 deletions
|
@ -174,18 +174,27 @@ orng.RDFConverter = elda
|
|||
orng.tokenservice.port = 8777
|
||||
orng.securityTokenKeyFile = @TOKEN_KEY_FILE@
|
||||
|
||||
#
|
||||
# Note that orng.systemDomain can be commented out in a production environment.
|
||||
# It is used to trigger system specific (VIVO or Profiles) means for URI to URL conversion.
|
||||
# This is sometimes necessary when a "fake" domain is being used in a testing/development environment
|
||||
#
|
||||
|
||||
# orng.system must be set to Profiles or VIVO
|
||||
#orng.system = Profiles
|
||||
#orng.dbDriver = com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
#orng.dbURL = jdbc:sqlserver://dev-sql-ctsi.ucsf.edu;instanceName=default;portNumber=1433;databaseName=profiles_100
|
||||
#orng.dbUser = App_Profiles10
|
||||
#orng.dbPassword = Password1234
|
||||
#orng.systemDomain = http://localhost/profiles
|
||||
|
||||
orng.system = VIVO
|
||||
orng.dbDriver = @DATA_SOURCE_DRIVER@
|
||||
orng.dbURL = @DATA_SOURCE_URL@
|
||||
orng.dbUser = @DATA_SOURCE_USERNAME@
|
||||
orng.dbPassword = @DATA_SOURCE_PASSWORD@
|
||||
orng.systemDomain = NOT_USED
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Binary file not shown.
|
@ -253,9 +253,6 @@ my.generateGadgets = function(metadata) {
|
|||
};
|
||||
|
||||
my.init = function() {
|
||||
// overwrite this RPC function. Do it at this level so that rpc.f (this.f) is accessible for getting module ID
|
||||
// gadgets.rpc.register('requestNavigateTo', doOrngNavigation);
|
||||
|
||||
shindig.container.gadgetClass = OrngGadget;
|
||||
shindig.container.layoutManager = new OrngLayoutManager();
|
||||
shindig.container.setNoCache(my.noCache);
|
||||
|
@ -286,7 +283,7 @@ OrngGadgetService.inherits(shindig.IfrGadgetService);
|
|||
|
||||
OrngGadgetService.prototype.requestNavigateTo = function(view, opt_params) {
|
||||
var viewConfig = gadgets.config.get('views')[view];
|
||||
var url = viewConfig.urlTemplate;
|
||||
var url = '/' + location.pathname.split('/')[1] + '/' + viewConfig.urlTemplate;
|
||||
|
||||
url += window.location.search.substring(1);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue