Sigma Php Ajax framework, Ajax Components, GUI Builder
February 09, 2012, 10:26:41 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: combobox  (Read 1383 times)
esteban
Jr. Member
**
Posts: 15


View Profile
« on: February 20, 2009, 07:00:56 PM »

Hi

nice stuff! testing with it... awesome so far...

couple of questions with linb.UI.ComboInput (type combobox)

first: how can I load the options from a JSON file kept on my web server

and second...

I'm having issues with the options popping up in IE (using v7)
it does pop up first time but once changed I cannot make the options pop up again

thanks,
Esteban
Logged
esteban
Jr. Member
**
Posts: 15


View Profile
« Reply #1 on: February 20, 2009, 09:01:15 PM »

got the JSON load from file working... still having trouble with IE
Logged
linb
Administrator
Hero Member
*****
Posts: 433


View Profile
« Reply #2 on: February 22, 2009, 06:03:04 PM »

In the current version, you have to call [clearPopCache] function to clear the dom cache before you reset the items. This problem([setItems] in linb.UI.ComboInput) will be enhanced in the next release!
Logged
esteban
Jr. Member
**
Posts: 15


View Profile
« Reply #3 on: February 22, 2009, 08:16:51 PM »

Thanks for the reply... tried it but still having trouble

        _onready:function (com, threadid) {
            // do the global var
            SPA=this;

            // load the states combobox
            linb.request(
            "JSON/stateStore.json",
            null,
            function(rep){
                SPA['dbm:emstate'].clearPopCache();
                SPA['dbm:emstate'].setItems(_.unserialize(rep));
            });
        },

works fine in firefox but it doesn't work at all in IE


thanks!
Esteban
Logged
linb
Administrator
Hero Member
*****
Posts: 433


View Profile
« Reply #4 on: February 22, 2009, 11:53:07 PM »

It's not the 'resetting occasion',  [clearPopCache] function is necessary here.

I tested with your code, It works well.

Can you attach your demo?
Logged
esteban
Jr. Member
**
Posts: 15


View Profile
« Reply #5 on: March 10, 2009, 02:14:05 PM »

I think its my IE version (Corporate)
I've read in some posts that this sort of issue happens with this version of IE v 7.0.5730.13CO

Thanks,
Esteban
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!