• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

dojo loading FilteringTable problem

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using dojo library


the problem in line

this statement don't execute properly when i put the

for example the alert dos not appear

i am using firefox
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anything in the JavaScript console?

For what it's worth, if you're using the stock Struts 2 Dojo, you're using a *very* old version of Dojo. Personally, I'm against using that old of a version of Dojo.
 
Ahmed M. Omar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first of all there is no thing appeared in the console

i am using struts 2 and the latest version of dojo
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What, specifically, happens? What happens when you debug the JavaScript?
 
Ahmed M. Omar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry it is a detailed description

i am using the latest version of dojo tool kit

in a function that is added to the onLoad event i am using

to get a

but it does not execute, the errors appeared in the console:

i am using dojo with java struts 2 and chrome browser please help ME.

the full code
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like some of Dojo isn't loading for some reason--it could be that it doesn't exist, it could be you've used a custom Dojo build that didn't include it, etc.

While debugging, use isDebug: true, by the way.
 
Whatever. Here's a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic