[richfaces-issues] [JBoss JIRA] Commented: (RF-3559) rich:combobox using different itemValue and itemLabel select item

Georges Berscheid (JIRA) jira-events at lists.jboss.org
Thu Jan 22 09:20:44 EST 2009


    [ https://jira.jboss.org/jira/browse/RF-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12449203#action_12449203 ] 

Georges Berscheid commented on RF-3559:
---------------------------------------

Anyone care to explain why this bug has been rejected? 
The current implementation makes is rather impossible to use comboBox with <s:convertEntity /> because you won't be able to enter meaningful item values as list options.
ComboBox should have the same behavior as <h:selectOneMenu /> with respect to <f:selectItem />.

> rich:combobox using different itemValue and itemLabel select item
> -----------------------------------------------------------------
>
>                 Key: RF-3559
>                 URL: https://jira.jboss.org/jira/browse/RF-3559
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>         Environment: IE7 - Richfaces 3.2.1 CR7 - eclipse europa
>            Reporter: Rafael Jimenez
>            Priority: Optional
>
> In this code:
> -------------------------------------------------------------------------------------------------------
> <f:view>
> <ui:composition>
> <ui:define>
> <h:form>
> <rich:panel style="width:500px; height:300px; overflow:scroll" > 
>     <h:outputText value="ComboBox Scroll Bug" /> 
>         <rich:comboBox> 
>             <f:selectItem itemValue="001" itemLabel="option1" /> 
>             <f:selectItem itemValue="002" itemLabel="option2" /> 
>             <f:selectItem itemValue="003" itemLabel="option3" /> 
>         </rich:comboBox> 
> </rich:panel> 
> </h:form>
> </ui:define>
> </ui:composition>
> </f:view>
> ---------------------------------------------------------------------------------------------------------------
> It must show itemlabels options and get itemvalue but It shows itemvalues and get itemvalue from selectitem.

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