special character like German 'Umlaut' in Option are broken
-----------------------------------------------------------
Key: TOBAGO-776
URL: https://issues.apache.org/jira/browse/TOBAGO-776
Project: MyFaces Tobago
Issue Type: Bug
Components: Themes
Affects Versions: 1.0.21
Reporter: Sven Bunge
The Problem is well described in:
> http://stackoverflow.com/questions/425234/javascript-how-to-dynamically-create-an-option-that-contains-an-html-entity
Solution:
In tree.js in the function tobagoTreeListboxCreateOption(node, index, hiddenId)
you have to set the label-text to option.innerHTML after creating the Option:
var option = new Option(label, index);
++ option.innerHTML = label;
option.hiddenId = hiddenId;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.