Komodo XUL test suite
In my pursuit of a task list tab for Komodo, I decided one of my first items was to see if I could work up a preliminary UI in XUL. After consulting Creating Applications with Mozilla, I could see that the listbox control that I wanted to use wasn't editable by default. After wasting time looking at XBL and JavaScript examples used to extend and customize XUL, it still wasn't apparent on how I was going to make a listbox editable without a lot of work.
Through dumb luck, though, I was exploring the Komodo directory structure when I noticed that there were some Komodo-specific XUL test suites (specifically one called koListBox.xul) in the mozilla/chrome/jaguar/content/bindings/test directory. When I tried to run the Komodo test suites with Firefox though, it wouldn't show anything on the screen.
Suddenly I realized that Komodo's own version of Mozilla must have been customized in order to run the test suite. When I ran the mozilla.exe in Komodo's mozilla folder against the koListBox.xul file with
mozilla.exe -chrome "file://c:\program files\activestate komodo 3.1\mozilla\chrome\jaguar\content\bindings\test\koListBox.xul"
poof! it came up and showed the listbox sample. And what do you know, the ActiveState guys had already made an editable listbox! What a relief ...
One more big hurdle down!
Through dumb luck, though, I was exploring the Komodo directory structure when I noticed that there were some Komodo-specific XUL test suites (specifically one called koListBox.xul) in the mozilla/chrome/jaguar/content/bindings/test directory. When I tried to run the Komodo test suites with Firefox though, it wouldn't show anything on the screen.
Suddenly I realized that Komodo's own version of Mozilla must have been customized in order to run the test suite. When I ran the mozilla.exe in Komodo's mozilla folder against the koListBox.xul file with
mozilla.exe -chrome "file://c:\program files\activestate komodo 3.1\mozilla\chrome\jaguar\content\bindings\test\koListBox.xul"
poof! it came up and showed the listbox sample. And what do you know, the ActiveState guys had already made an editable listbox! What a relief ...
One more big hurdle down!
