[richfaces-issues] [JBoss JIRA] Created: (RF-5710) inplaceSelect: if values list contains items with the same labels, selected in the list item will be displayed incorrectly

Tatyana Romanovich (JIRA) jira-events at lists.jboss.org
Tue Jan 13 09:00:21 EST 2009


inplaceSelect: if values list contains items with the same labels, selected in the list item will be displayed incorrectly
--------------------------------------------------------------------------------------------------------------------------

                 Key: RF-5710
                 URL: https://jira.jboss.org/jira/browse/RF-5710
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0
         Environment: RF-3.3.0.GA
            Reporter: Tatyana Romanovich
            Assignee: Nick Belaevski
            Priority: Minor
         Attachments: isSelection.gif

1. Create any test page with inplaceSelect component, which contains some items with the same labels
example:
<rich:inplaceSelect value="#{user.name}" defaultLabel="select please something">
						<f:selectItem itemValue="0" itemLabel="11111" />
						<f:selectItem itemValue="1" itemLabel="22222" />
						<f:selectItem itemValue="3" itemLabel="11111" />
						<f:selectItem itemValue="4" itemLabel="22222" />
...
2. Go to the application, select third element in the list (with value=3, and label="11111")
3. Verify itemValue:
Result: getValue returns 3.
4. Expand popup and verify selected label
FAILURE: first and third elements are displayed as selected

5. Expand list and select fours element (value=4, label="22222")
6. Click Submit button
7. Verify itemValue:
Result: getValue returns 4.
8. Expand popup and verify selected label
FAILURE: second element is displayed as selected



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

        



More information about the richfaces-issues mailing list