]
Vladimir Molotkov resolved RF-4006.
-----------------------------------
Resolution: Cannot Reproduce Bug
Assignee: Tsikhon Kuprevich (was: Vladimir Molotkov)
can't reproduce a bug (facelets,jsp)
pickList requiredMessage does not take effect
---------------------------------------------
Key: RF-4006
URL:
https://jira.jboss.org/jira/browse/RF-4006
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0, 3.2.0.SR1, 3.2.1
Environment: Windows XP/W2K3, IE 6.x, IE 7.x, Mozilla Firefox
Reporter: krystan honour
Assignee: Tsikhon Kuprevich
Fix For: 3.2.2
When setting the requiredMessage on the pickList component with the required attribute
set to "true" the requiredMessage, whether hardcoded or an expression does not
override the global validators message.
Test code is as follows:
<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>
This functionality works for other rich components and is affecting a live development.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: