escapeHtml and escapeJavascript for special characters ------------------------------------------------------
Key: BPM-285 URL: http://jira.andromda.org/browse/BPM-285 Project: Bpm4Struts Cartridge Type: Improvement Components: CRUD Versions: 3.2-RC1 Reporter: Philip Mark Donaghy Assigned to: Wouter Zoons When using database records as lists in html or javascript menus there are errors in javascript or validation for records containing special characters. The CRUD methods could do an internal StringEscapeUtils.escapeHtml or StringEscapeUtils.escapeJavascript on properties of the Entity. There is an advantage to doing this at the CRUD level. Iterating over very long lists can be avoided. One way to do this would be to add tagged values to the properties of Manageable Entities for both escapeHtml and escapeJavascript One may want this to be done to all String properties of an Entity. So a tagged value at the class level should also be created. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642