Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=7403398
By: svijaya2009

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

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249317

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to