[richfaces-issues] [JBoss JIRA] Commented: (RF-8896) ComboBox: support for regular expression matchers

Luis Tama (JIRA) jira-events at lists.jboss.org
Mon Jul 5 20:44:46 EDT 2010


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

Luis Tama commented on RF-8896:
-------------------------------

This support for regex matchers should be optional, more precisely, rich:comboBox should support these search methods for client-side suggestions (at least):
- "begins with" (default), already available.
- "contains"
- "contains any", a regexp, where a separation token that could be provided (as in rich:suggestion), or would default to space char, as in the regex used in my article (the link provided).

These search methods for suggestions should be available as an attribute when defining the tag in JSF, maybe "searchMethod", with possible values "begins", "contains" and "any", for example:
<rich:comboBox searchMethod="any" ... />

Also, there should be a JS API method to change it on the client-side, for example:
#{rich:component('myComboBox')}.setSearchMethodContains();

Best regards,
Luis Tama

> ComboBox: support for regular expression matchers
> -------------------------------------------------
>
>                 Key: RF-8896
>                 URL: https://jira.jboss.org/browse/RF-8896
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 3.3.3.Final
>            Reporter: Nick Belaevski
>            Assignee: Nick Belaevski
>             Fix For: Future_4.X
>
>
> Details are here: http://community.jboss.org/wiki/EnhancedrichcomboBoxValuesnotonlyTextandRegExpSuggestions

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