[twill] Twill Scripting Limitations?

kron filter kronfilter at hotmail.com
Sat Apr 24 14:11:43 PDT 2010


The doLogin() function that the "in_bu_Login" of type button (JavaScript) is trying to execute is as follows:

 
function doLogin()
{
    var persistInfo = true;
    var cb = getRememberCheckbox();
    if (!persistInfo || !cb || !cb.checked)
    {
        deleteLoginInfo();
    }
    else
    {
        var userName = '';
        var usr = getUserTextbox();
        if (usr) { userName = usr.value; }
        var authSource = 0;
        var sel = getAutoSourceSelect();
        if (sel) { authSource = sel.selectedIndex; }
        storeLoginInfo(userName,authSource);
    }
    var loginForm = document.lform;
    var hiddenLogin = loginForm.in_hi_dologin;
    hiddenLogin.value = 'true';
    loginForm.submit();
}

 

 



More information about the twill mailing list