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

RH Bugzilla Integration commented on RF-12474:
----------------------------------------------

Karel Piwko <[email protected]> made a comment on [bug 
871870|https://bugzilla.redhat.com/show_bug.cgi?id=871870]

Per the RichFaces documentation:
...If an invalid value is entered, it is highlighted as erroneous and 
validation messages appear with the submission...
The validation message is not displayed when entering an invalid value (which 
is not on the list) and submitting it.
Test code:
<rich:select id="idSelect" value="#{backingBean.value}" 
enableManualInput="true">
    <f:selectItem itemLabel="Option 1" itemValue="Option 1" />
    <f:selectItem itemLabel="Option 2" itemValue="Option 2" />                  
</rich:select>

Steps to reproduce:

checkout https://github.com/papousek/richfaces-sanbox/tree/RF-12474, build it 
and deploy on JBoss AS 7
open http://localhost:8080/richfaces-sandbox-jee6/
select "a" item from the first rich:select and click on the first "send" button
type "AAA" into the first rich:select and click on the first "send" button
validation message should be present, but it isn't.
                
> rich:select with enableManuelInput="true": Validation message is not 
> displayed when the submitted value is not on the list. 
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-12474
>                 URL: https://issues.jboss.org/browse/RF-12474
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-selects
>    Affects Versions: 4.2.2.Final
>            Reporter: Ilia Vassilev
>            Assignee: Jan Papousek
>            Priority: Critical
>             Fix For: 4.2.4, 4.3.0.M2
>
>
> Per the [RichFaces 
> documentation|https://access.redhat.com/knowledge/docs/en-US/JBoss_Web_Framework_Kit/2/html/RichFaces_Component_Reference_Guide/sect-Component_Reference-richselect-Using_manual_input.html]:
> {quote}
> ...If an invalid value is entered, it is highlighted as erroneous and 
> validation messages appear with the submission...
> {quote}
> The validation message is not displayed when entering an invalid value (which 
> is not on the list) and submitting it.
> Test code:
> {code}
> <rich:select id="idSelect" value="#{backingBean.value}" 
> enableManualInput="true">
>     <f:selectItem itemLabel="Option 1" itemValue="Option 1" />
>     <f:selectItem itemLabel="Option 2" itemValue="Option 2" />                
> </rich:select>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to