File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes dojo loading FilteringTable problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "dojo loading FilteringTable problem" Watch "dojo loading FilteringTable problem" New topic
Author

dojo loading FilteringTable problem

Ahmed M. Omar
Ranch Hand

Joined: Mar 02, 2010
Posts: 43
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
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Mar 02, 2010
Posts: 43
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
Rancher

Joined: Sep 29, 2008
Posts: 12617

What, specifically, happens? What happens when you debug the JavaScript?
Ahmed M. Omar
Ranch Hand

Joined: Mar 02, 2010
Posts: 43
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
Rancher

Joined: Sep 29, 2008
Posts: 12617

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dojo loading FilteringTable problem
 
Similar Threads
dojo loading FilteringTable problem
loading data from dojo rpc to dojo datagrid
DOJO Grid and JSON
dojo and javascript DOM issue
Help needed with DOJO and JSP