I have been looking at adding some simple support to the Display Tag foreditable tables. My current idea is to extend the ColumnDecorator class's decorate method. Currently, the method just takes the object value. My proposed alteration would have the column name and row number passed in. This would allow a decorator to create a properly named form control. The main problem with this is that all existing column decorators would have to change - as a result perhaps a new ColumnDecorator interface could be used, and have an editable flag on the table itself? If editable is false, a normal ColumnDecorator will be used, otherwise an EditableColumnDecorator is used. I would appreciate comments/suggestions as I've only just started thinking about this!
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
