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

Luis Tama (JIRA) jira-events at lists.jboss.org
Sat Jul 3 01:19:46 EDT 2010


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

Luis Tama commented on RF-3559:
-------------------------------

Hi guys...

rich:combobox does what it was designed to (an input text component with client-side suggestions).

If we want to use it for selecting of values based on selected labels (rendered by the component), we must wait for a new component to be designed (or design it)... or enhance it on the client-side (as I did)...

In this article I share my (working) approach:

Enhanced rich:comboBox: Values (not only Text) and RegExp Suggestions
http://community.jboss.org/docs/DOC-15534

So please test it and let me know what you think.

God bless you.

Best regards,
Luis Tama

> rich:combobox using different itemValue and itemLabel select item
> -----------------------------------------------------------------
>
>                 Key: RF-3559
>                 URL: https://jira.jboss.org/browse/RF-3559
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.2.1
>         Environment: IE7 - Richfaces 3.2.1 CR7 - eclipse europa
>            Reporter: Rafael Jimenez
>            Assignee: Nick Belaevski
>            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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list