Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4363021 By: kmagnani
Hi, all! I'm using Struts with Displaytag. There is a JSP page with some buttons inside my application. When the users clicks in any of the buttons, the value of a hidden field called 'sender' is set to the name of the method that should be called in the action class that inherits from DispatchAction. In this very same JSP page, there is also a table that is showed through a <display:table> tag. At first, when the title of the column was clicked in order to get the data sorted, the request did not arrive to the action, and the filled fields were made empty. Accordingly the displaytag documentation, I put an attribute called 'requestURI' inside <display:table>. So, when the title of a column is clicked, the table is sorted and my action is called, but the problem is that the called method is the last one called, because the value of the attribute 'sender' remains the same, even if I change the value of the 'sender' property in the actionform to null or "". What I would like to know is a way to specify the method that will be called when the title of the table is clicked. Does anyone could help me? thanks a lot! ______________________________________________________________________ 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=249318 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user