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.1, 3.2.0.SR1, 3.2.0
         Environment: Windows XP/W2K3, IE 6.x, IE 7.x, Mozilla Firefox
            Reporter: krystan honour


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: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to