[richfaces-issues] [JBoss JIRA] Commented: (RF-11305) [rich:select] enableManualInput="true": allow search with "contains" and not only with "startsWith"

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Tue Sep 27 17:27:26 EDT 2011


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

Ilya Shaikovsky commented on RF-11305:
--------------------------------------

Just wanted to give an idea. It's not ideal from user prospective as requires a fwe lines of custom code ( :) ) but still valid and gives much more freedom(what if I want not contains but containsIgnoreCase, or do not want ignore case?):

http://richfaces-showcase.appspot.com/richfaces/component-sample.jsf?demo=autocomplete&sample=clientFilter&skin=blueSky

and calendar also provides that for styling/disablement:

http://richfaces-showcase.appspot.com/richfaces/component-sample.jsf?demo=calendar&sample=clientStylingDisablement&skin=blueSky

> [rich:select] enableManualInput="true": allow search with "contains" and not only with "startsWith"
> ---------------------------------------------------------------------------------------------------
>
>                 Key: RF-11305
>                 URL: https://issues.jboss.org/browse/RF-11305
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-selects
>    Affects Versions: 4.0.0.Final
>            Reporter: Rene O
>            Assignee: Brian Leathem
>             Fix For: 4.1.0.Tracking
>
>
> If you use rich:select with enableManualInput="true", you can only search with the default behaviour startsWith:
> Example: http://richfaces-showcase.appspot.com/richfaces/component-sample.jsf?demo=select&skin=blueSky
> If you type: "alas" -> "Alaska" appears (search with startsWith)
> but it should also be possible to achieve the same result if you type "ska"  (search with contains)
> A good solution may be to control this behaviour with an extra attribute?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list