Hi Mark,

I am not able to make it work using a relative path.
I also see that when changes were made to make all modules relocatable, it 
was not sone for i18n modules. Any reason why ?

like in util.js we have this:
define(['./lang','sbt/i18n!sbt/nls/util','./log'],function(lang, nls, log) 
{


Thanks,

Rajmeet Singh Bal.
DLSI 3F A161
India Software Lab,
IBM India Pvt Ltd.
Opp. 32nd Milestone, NH-8, 
Sector 30, Gurgoan 
DLF Silokhera
Haryana- 122002
Land Line - 91 124 4134729



From:   Mark Wallace <notifications@github.com>
To:     OpenNTF/SocialSDK <SocialSDK@noreply.github.com>, 
Cc:     Rajmeet S Bal/India/IBM@IBMIN
Date:   07/15/2013 05:58 PM
Subject:        Re: [SocialSDK] Added code to localize main Window ui of 
basic auth. (#282)



In src/j2ee/com.ibm.sbt.web/WebContent/js/sdk/sbt/authenticator/Basic.js:
> @@ -123,19 +123,25 @@ return declare(null, {
>                },
> 
>                _authMainWindow: function(options, loginPage, sbtUrl) {
> -                              var proxy = options.proxy.proxyUrl;
> -                              var actionURL = 
proxy.substring(0,proxy.lastIndexOf("/"))+"/basicAuth/"+options.proxyPath+"/JSApp";
> -                              var urlParamsMap = {
> -            actionURL: actionURL,
> -            redirectURL: document.URL,
> -            loginUi: 'mainWindow',
> -            showWrongCredsMessage: 'false'
> -        };
> - 
> -        var urlParams = util.createQuery(urlParamsMap, "&");
> -                              var url = sbtUrl+loginPage + '?' + 
urlParams;
> -                              window.location.href = url;
> - 
> +                              require(["sbt/i18n!sbt/nls/loginForm"], 
function(loginForm) {

Use relative path rather than sbt/i18n
—
Reply to this email directly or view it on GitHub.