[richfaces-issues] [JBoss JIRA] Created: (RF-3069) inplaceSelect: works wrong if non-valid value defined

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Mon Apr 14 13:28:54 EDT 2008


inplaceSelect: works wrong if non-valid value defined
-----------------------------------------------------

                 Key: RF-3069
                 URL: http://jira.jboss.com/jira/browse/RF-3069
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.0
            Reporter: Ilya Shaikovsky


	<h:selectOneMenu value="qwer">	
		<f:selectItem itemValue="0" itemLabel="Option 1" />
		<f:selectItem itemValue="1" itemLabel="Option 2" />
		<f:selectItem itemValue="2" itemLabel="Option 3" />
		<f:selectItem itemValue="3" itemLabel="Option 4" />
		<f:selectItem itemValue="4" itemLabel="Option 5" />
	 
	</h:selectOneMenu> 

After initial rendering - just first item active because there is no such element in items(no messages, no excetions).

If you perform the same for inplaceSelect - invalidArgument exception will be thrown. 
just defaultLabel should be rendered/

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list