combobox: unicode display incorrect during first navigation to page with component(myfaces
only)
------------------------------------------------------------------------------------------------
Key: RF-5639
URL:
https://jira.jboss.org/jira/browse/RF-5639
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.CR3) myfaces 1.2.5
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Jsp code:
<?xml version="1.0" encoding="UTF-8"?>
...
<h:form id="formID">
<h:commandButton value="submit" />
<rich:comboBox>
<f:selectItems value="#{custom.items}"/>
</rich:comboBox>
</h:form>
#2. Java bean code:
items = new SelectItem[3];
for(int i=0;i<3;i++){
items[i] = new SelectItem(i+"\u00a0"+i,i+"\u00a0"+i);
}
#3. Navigate to page and click component button.
#4. Verify comboBox items.
#5. Press submit and repeat Step #4.
Actual behavior:
When page display at 1st time, following values display in box: 1\u00a01,2\u00a02.. But
after submit values look such way: 1 1, 2 2...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira