setBasicAuthentication and selects html pulldowns

You must Login before you can answer or comment on any questions.

Hy,

I need an authentication on my dev server to call my external pages. I use the setBasicAuthentication function (webview object) to verify me on the server ... But when i use this functionality all my select boxes dont work. When i touch this box they dont open or somthing else ... when i remove the line and test it, the select is working.

tests with android (emu/device, 1.6,2.2,3.0) and external/internal pages.

how i can create this issue for the core developer?

thx -- Thomas

— asked 2 years ago by Thomas Reitel
1 Comment
  • you should post some sample code to demonstrate the problem

    — commented 2 years ago by Aaron Saunders

2 Answers

Thomas, this should be fixed in the latest CI build now

— answered 2 years ago by Matt Apperson
answer permalink
1 Comment
  • i test it with mobilesdk 1.7.1 and android emu 2.3.3 3.0 and 3.1 ... and its not work with my example...

    — commented 2 years ago by Thomas Reitel

sample (you need a test.html file with a select box ):

<select name="selectBox">
<option value="val1">Value 1</option>
<option value="val2">Value 2</option>
<option value="val3">Value 3</option>
</select>
and js:
var tabGroup = Titanium.UI.createTabGroup();
 
var win = Titanium.UI.createWindow({
    title:'win_test'
});
 
var webView = Titanium.UI.createWebView();
win.add(webView);
 
webView.url = 'test.html';
 
//thats the problem line
webView.setBasicAuthentication('user','pass');
 
var tab = Titanium.UI.createTab({
    icon:'',
    title:'Test',
    window:win       
});
 
tabGroup.addTab(tab);
tabGroup.open();

Your Answer

Think you can help? Login to answer this question!