Result of widget.getWidgetTitle() can sometimes contain html span tags which
may upset javascript code in jsps
--------------------------------------------------------------------------------------------------------------
Key: WOOKIE-178
URL: https://issues.apache.org/jira/browse/WOOKIE-178
Project: Wookie
Issue Type: Improvement
Components: Web Admin
Affects Versions: 0.9.1
Environment: Windows Vista sp2 firefox & Ie 8
Reporter: Paul Sharples
Assignee: Paul Sharples
Priority: Trivial
Fix For: 0.9.1
The call to widget.getWidgetTitle() can result in the returned string
containing HTML span tags
<span style="unicode-bidi:embed; direction:ltr">You decide</span>
Normally this would not be a problem, but there are instances where the result
of that function call is passed to a javascript function within a jsp. The
jsps then have UI problems. As a temporary measure the code has been altered
for 0.9.x so that the javascript functions receive only an empty string.(the
value is only used in an alert box anyway) An improvement would be to parse
the result of the above function call and extract the text. 'You decide' and
pass that to the javascript code.
See jsp pages webcontent/admin/listall.jsp and
webcontent/admin/listallfordelete.jsp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.