[richfaces-issues] [JBoss JIRA] Created: (RF-4388) pickList: incorrect behavior if "required=true"

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Wed Sep 3 12:20:38 EDT 2008


pickList: incorrect behavior if "required=true"
-----------------------------------------------

                 Key: RF-4388
                 URL: https://jira.jboss.org/jira/browse/RF-4388
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
         Environment: 3.2.2.CR2
            Reporter: Alexander Dubovsky
            Assignee: Nick Belaevski


# Open page with pickList (source see below)
# Submit page => Required message appears
# Move some item to the right
# Submit page => Required message disappears
# Move all items to the left
# Submit page
Result: items moves to the right, message appears

Items should not move to the right!

Source:
<rich:pickList id="testList" copyAllControlLabel="Add All"
			copyControlLabel="Add" listsHeight="90" sourceListWidth="200"
			targetListWidth="200" required="true"
			requiredMessage="Error input is required.">
			<f:selectItem itemLabel="Human Resources" itemValue="1" />
			<f:selectItem itemLabel="Product Development" itemValue="2" />
			<f:selectItem itemLabel="Marketing" itemValue="3" />
			<f:selectItem itemLabel="Sales" itemValue="4" />
		</rich:pickList>
		<h:commandButton value="submit()" />
		<rich:messages></rich:messages>

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

        



More information about the richfaces-issues mailing list