History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: BPM-285
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Wouter Zoons
Reporter: Philip Mark Donaghy
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
Bpm4Struts Cartridge

escapeHtml and escapeJavascript for special characters

Created: 03/May/06 02:58 PM   Updated: 03/May/06 02:58 PM
Component/s: CRUD
Affects Version/s: 3.2-RC1
Fix Version/s: None


 Description   
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.


 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.