Menu

Display tag/AJAX/Popup div: Request dropped

svijaya
2009-05-21
2012-10-09
  • svijaya

    svijaya - 2009-05-21

    Hi,
    I have a display:table with one column - containing a text value. I am trying to add two more columns to it. These two columns contain 'Edit' and 'Delete' links. The delete link calls a JS function on click, which sends an AJAX request to delete the row from the database and subsequently remove it from the display:table. The Edit link opens up a popup div which allows the user to edit the text value in the display table and save, again based on AJAX. I have also specified a requestURI to my action controller in this display:table.

    If I include only the delete column (and its associated JS handlers) in my JSP, everything works fine. However, when I also include the 'Edit' functionality (with its popup div and the JS AJAX function), everything stops working. Although the JS functions are called, the request is not submitted to the action controller. It seems to be dropped somewhere.

    I am using Display Tag version 1.1.1. I use this with JSTL, YUI (for AJAX calls) with SpringMVC framework.

    I have implemented similar functionality with a popup div calling a JS AJAX function to save elsewhere and it works fine. Any ideas on what I am missing here will be greatly appreciated.

    Thanks,
    sv

     
    • svijaya

      svijaya - 2009-05-21

      This is now resolved, it was due to an error in the original JSP. After debugging some more, I realized that it is unrelated to display tag. Thanks anyway.

       

Log in to post a comment.

MongoDB Logo MongoDB