ajax progressbar tutorial with firefox

Hi.i followed the ajax tutorial for the progress bar component, but wit firefox doesn磘 work properly (progress component don磘 work and thre arent any error) but with IE is OK.What must i do to resolve the problem.Thanks
[247 byte] By [m6626wda] at [2007-11-26 21:26:22]
# 1
Hi,Can u send me the Code
Chellama at 2007-7-10 3:06:47 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
hithe code wasa generated with netbeans 5.5, where do i send the code?
m6626wda at 2007-7-10 3:06:47 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
I think that It's a browser compatability issue. Some CSS and HTML / Javascript work in one browser and don't work the exact same way in another browser. First if you could identify where exactly things get incompatible then, the rest becomes easier.
appy77a at 2007-7-10 3:06:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Try using Firebug (https://addons.mozilla.org/firefox/1843/) to identify where exactly the code fails. Then we could find some way around it.
benubacha at 2007-7-10 3:06:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5

Hi (& thanks for your reply) i install firebug then i load the tutorial page, press f12 for firebug an then i saw the folowing.

bpui is not defined

[Break on this error] bpui.load("/ProgressBar/faces/static/META-INF/dojo/dojo.js");

ProgressBar (line 51)

bpui is not defined

[Break on this error] bpui.progressbar.unparameterizedUrl = "/ProgressBar/faces/dynamic/bpui_progressb...

ProgressBar (line 66)

bpui is not defined

[Break on this error] bpui.load("/ProgressBar/faces/static/META-INF/dojo/dojo.js");

ProgressBar (line 88)

bpui is not defined

[Break on this error] new bpui.progressbar.Instance("form1:progressBar2", 241, 0, "#{SessionBean1.task...

what must i do to resolve the problem?

m6626wda at 2007-7-10 3:06:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
Weird. It works OK on my Netbeans 5.5.1, Glassfish V2 Milestone 4 (SunAppServ 9.1) and Firefox 2.0.0.2. Can you tell us your versions?
benubacha at 2007-7-10 3:06:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7
Ok Netbeans 5.5Visaul WepPack 070104_2 Apache Tomcat/5.5.17
m6626wda at 2007-7-10 3:06:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 8
The solution.Write an extra character (\n) in the script functions, the rebuild, it works fine for me.
7284FLLa at 2007-7-10 3:06:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...