unable to call read task and dependencies.

9 posts, 0 answers
  1. Nagaraj
    Nagaraj avatar
    15 posts
    Member since:
    Jan 2015

    Posted 28 Nov 2015 Link to this post

    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.

  2. Nagaraj
    Nagaraj avatar
    15 posts
    Member since:
    Jan 2015

    Posted 30 Nov 2015 in reply to Nagaraj Link to this post

    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.
  3. UI for ASP.NET AJAX banner
  4. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 01 Dec 2015 Link to this post

    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!
     
  5. Nagaraj
    Nagaraj avatar
    15 posts
    Member since:
    Jan 2015

    Posted 01 Dec 2015 Link to this post

    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.

  6. Nagaraj
    Nagaraj avatar
    15 posts
    Member since:
    Jan 2015

    Posted 02 Dec 2015 Link to this post

    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

  7. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 02 Dec 2015 Link to this post

    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!
     
  8. Nagaraj
    Nagaraj avatar
    15 posts
    Member since:
    Jan 2015

    Posted 02 Dec 2015 Link to this post

    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.

  9. Nagaraj
    Nagaraj avatar
    15 posts
    Member since:
    Jan 2015

    Posted 02 Dec 2015 Link to this post

    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.
  10. Nagaraj
    Nagaraj avatar
    15 posts
    Member since:
    Jan 2015

    Posted 02 Dec 2015 Link to this post

    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

Back to Top
UI for ASP.NET AJAX banner