myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Weber (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (TOBAGO-776) special character like German 'Umlaut' in Option are broken
Date Wed, 05 Aug 2009 14:27:14 GMT

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

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

    Resolution: Fixed

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


Mime
View raw message