Bug 871870 - rich:select with enableManuelInput="true": Validation message is not displayed when the submitted value is not on the list.
Summary: rich:select with enableManuelInput="true": Validation message is not displaye...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: RichFaces
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR1
: 2.1.0
Assignee: Brian Leathem
QA Contact: Pavol Pitonak
URL:
Whiteboard:
: 871937 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-31 15:26 UTC by Karel Piwko
Modified: 2018-11-29 20:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-30 15:34:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RF-12474 0 Critical Resolved rich:select with enableManuelInput="true": Validation message is not displayed when the submitted value is not on the li... 2013-06-05 21:57:29 UTC

Description Karel Piwko 2012-10-31 15:26:19 UTC
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.

Comment 1 ivassile 2012-10-31 18:40:11 UTC
*** Bug 871937 has been marked as a duplicate of this bug. ***

Comment 4 Pavol Pitonak 2012-11-09 13:49:38 UTC
Verified

Comment 5 Karel Piwko 2012-11-30 15:34:12 UTC
Distributed as a part of WFK 2.1.0.GA release.


Note You need to log in before you can comment on or make changes to this bug.