View Full Version : [UNKNOWN]3.1.0-combobox droplist doesn't work properly

28 Jan 2010, 1:44 AM
source code

new Ext.form.ComboBox({
id: 'teamSelect',
fieldLabel: 'Member to',
hiddenName: 'user.team.team_id',
store: new Ext.data.JsonStore({
root: 'root',
fields: [
name: 'teamId',
mapping: 'team_id'
name: 'teamName',
mapping: 'teamName'
proxy: new Ext.data.ScriptTagProxy({
url: 'team!getAllTeam.action'
editable : false,
forceSelection: true,
loadingText: 'loading team....',
value: null,
valueField: 'teamId',
displayField: 'teamName',
typeAhead: false,
triggerAction: 'all'
My local computer show droplist well,both on IE and FireFox.
when I try on the other machine,FireFox perform as well as the above,but IE,on the other hand...
the first time I click,keeps loading forever.I assure the background function return data as before.

reclick,it submit no requests

28 Jan 2010, 1:46 AM
What's the difference between the IE on your local machine and the other one?

ps. Are you sure the returned javascript from 'team!getAllTeam.action' doesn't contain any trailing commas?

28 Jan 2010, 2:03 AM
local machine is IE8,the other is IE6

I also try IE7,it's ok

there are no trailing commas, I am sure

28 Jan 2010, 3:26 AM
First thing you should do is check if the loadexception (or exception) event is fired on the combobox store (when viewing with IE6). If yes, then examine the event arguments to determine the problem.

ps. Could the security settings in IE6 have anything to do with this problem?

28 Jan 2010, 6:59 PM
I see that there is a js error report as follow:

line: 21299
char: 9
error: arg invalid
code: 0
But I think it's quite hard for me to debug it for the time being.So I will postpone this matter.IE6 is getting out of tide.>:)