Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/DISPL-83 Here is an overview of the issue: --------------------------------------------------------------------- Key: DISPL-83 Summary: tag lib does not take care of reserved chars Type: Improvement Status: Unassigned Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: DisplayTag Components: Decorators Fix Fors: 1.1 Versions: 1.0 RC1 Assignee: Reporter: fabrizio giustina Created: Tue, 26 Oct 2004 8:42 AM Updated: Tue, 26 Oct 2004 8:42 AM Description: ==== imported from sf tracker id 969470 http://sourceforge.net/support/tracker.php?aid=969470 ==== It seems that the tag lib does not take care of reserved chars like < or > or ' which are not allowed in valid html. If the bean used to build the table content contains such chars, the resulting html is not valid. For example: The Bean contains the value "hello <td></td> how are you". the resulting html should look like this: hello <td></td> how are you But it looks like this: hello <td></td> how are you The resulting Table looks not very good. I think the tag lib is responsible to convert the values before rendering it to html because that is the normal behaviour of a tag lib (struts, jstl, ...). If the developer is resonsible to do the conversion he has a lot of work because he has to develop the beans twice. One that contains the values used in the internal logic and one for the representation containing the converted values. When he builds the list he has to manually convert all the attributes. An other way is to develop ReportTableDecorators containing getter methods for each attribute to do the conversion. Because i was not able find any flag to configure this behaviour i think that this is an bug. It should be possible to turn on and of the conversion for each collumns like shown in the following line: <display:column property="PMAuftragsID" title="OrderID" convert="true"/> Date: 2004-06-18 21:22 Sender: fgiust Logged In: YES user_id=798060 xml escaping is not currently supported by the taglib, but you can use a simple columnDecorator to do that (there is no need for a specific tableDecorator) moving to the feature request tracker, it will probably be handled in future by a column decorator shipped within the taglib distribution --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel