Results 1 to 5 of 5

Thread: [UNKNOWN]3.1.0-combobox droplist doesn't work properly

  1. #1

    Default [UNKNOWN]3.1.0-combobox droplist doesn't work properly

    source code

    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

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    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?

  3. #3

    Default

    local machine is IE8,the other is IE6

    I also try IE7,it's ok


    there are no trailing commas, I am sure

  4. #4
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    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?

  5. #5

    Default

    I see that there is a js error report as follow:

    Code:
    line: 21299
    char: 9
    error: arg invalid
    code: 0
    url: http://192.168.1.49:8080/im
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •