Andy Pruitt wrote:

Is there a detailed description or running demo of this concept?
I'm trying to figure out exactly what an 'editable table' is.

At first glance, it seems like this logic could be handled in a JSP body. Is there more that I am missing?


Perhaps calling it an editable table isn't exactly correct. What I am talking about is creating a table which contains form controls, and the names and values of those form controls can be controlled via the tag itself. For example imagine I have a list of employees displayed in a table, and there is a text box in one of the rows for their telephone extension. You enter a value and submit the form. The code handling the submit (for example struts) will have to identify from the name of the form control which telephone extension you are actually changing. You can easily create a ColumnDecorator to create a text field with the correct value in it, but you cannot properly name the field as you have no real idea as to where the cell occurs - you don't know if its the first row or the 30th.

--
sam
http://www.magpiebrain.com/




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to