[
https://jira.jboss.org/jira/browse/RF-4388?page=com.atlassian.jira.plugin...
]
Nick Belaevski resolved RF-4388.
--------------------------------
Fix Version/s: (was: Future)
Resolution: Rejected
Assignee: Alexander Dubovsky (was: Nick Belaevski)
Use sourceRequired/targetRequired attributes
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: Alexander Dubovsky
# 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