This is a migrated thread and some comments may be shown as answers.

unable to call read task and dependencies.

8 Answers 175 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Nagaraj
Top achievements
Rank 1
Nagaraj asked on 28 Nov 2015, 06:39 AM

I am trying to use gantt chart in a jsp file. I am using spring mvc and maven for the project. I was following the tutorial given in spring demos, but still I am not getting the result. Nothing is getting displayed in the jsp page. I have attached my jsp file and controller bellow. I also used debug mode to run the project but request is going only till /index method and no request is getting send to /gantt/tasks/read or /gantt/dependency/read  methods.

I dont know where I went wrong. could you help me find the error any configuration setting I might be missing.

8 Answers, 1 is accepted

Sort by
0
Nagaraj
Top achievements
Rank 1
answered on 30 Nov 2015, 10:07 AM
Okay I had done some silly mistake i forgot to include the js and css files to my jsp. i have include it now. When i use debug mode it is retrieving the tasks and dependencies but it is not showing it in my jsp. I can only see the empty chart window. please somebody help.
0
Dimitar Terziev
Telerik team
answered on 01 Dec 2015, 08:00 AM
Hello Nagaraj,

Could you log your traffic using Fiddler and send me the log file so I could inspect the data being returned from the controller's method for the tasks and the dependecies.

Regards,
Dimitar Terziev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Nagaraj
Top achievements
Rank 1
answered on 01 Dec 2015, 10:32 AM

Hello Sir,

Thank you so much for replying to my post.

I have captured the screenshot on fiddler. I have attached it to this post.  I am using kendo ui for the first time so i am not sure where i went wrong.

 

Thanks and Regards,

Nagaraj.

0
Nagaraj
Top achievements
Rank 1
answered on 02 Dec 2015, 07:05 AM

Hello Sir,

I tried few more things to see whether I could work it out on my own. But am still not getting anything displayed on my chart.

I have attached the photo of my console and gantt chart to this post. Please have a look. I am using sql server 2008, hibernate and spring. 

I would really appreciate it if you could help me to solve this. 

 

Thanks and Regards,

Nagaraj

0
Dimitar Terziev
Telerik team
answered on 02 Dec 2015, 07:35 AM
Hello Nagaraj,

I have inspected the provided fiddler log and the necessary resources are loaded correctly. Attached is a sample based on the provided implementation, which is working correctly at my end. Here is a video of the behaviour of the attached sample at my end.

Regards,
Dimitar Terziev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Nagaraj
Top achievements
Rank 1
answered on 02 Dec 2015, 07:54 AM

Thank you so much for your reply sir,

 I have tried the same thing which you have attached in the sample. But still I am not getting any result.

I have captured the data while debugging. I have attached it to the post.

I dont know where i am going wrong even though i have followed the tutorial exactly.

0
Nagaraj
Top achievements
Rank 1
answered on 02 Dec 2015, 08:01 AM
I have also attached my fiddler capture to this post. I cant see  the json value of my tasks and dependencies. but still nothing is there on my gantt chart. I dont know why.
0
Nagaraj
Top achievements
Rank 1
answered on 02 Dec 2015, 08:08 AM

Thank you so much sir. I think I got the answer. I was assigning 0 value to my parent node. And there was no node with id 0. So nothing was getting shown on the chart. 

I really apologize for troubling you for this. I really appreciate your help.

Thank you so much.

Regards,

 Nagaraj

Tags
Gantt
Asked by
Nagaraj
Top achievements
Rank 1
Answers by
Nagaraj
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Share this question
or