You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Volker Weber (JIRA)" <de...@myfaces.apache.org> on 2009/08/04 16:03:15 UTC

[jira] Resolved: (TOBAGO-776) special character like German 'Umlaut' in Option are broken

     [ https://issues.apache.org/jira/browse/TOBAGO-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Volker Weber resolved TOBAGO-776.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.22

> 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
>            Assignee: Volker Weber
>             Fix For: 1.0.22
>
>
> 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.