Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 3.2
-
Fix Version/s: EE-3.2.0.BETA, EE-3.2.0.GA, 3.3
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Salesforce Case Reference:
Description
An ace:dateTimeEntry as a custom validation defined. If the date selected is later than todays date then it will throw a validation error. The ace:ajax component is used on dateSelect. The error message is only shown when using render="@all". Anything else doesn't display the message (@form, any component id).
Nothing wrong with component.
@all message was shown by JSF development PROJECT_STAGE setting, not by <h:message>. See screenshot-01. So actually none of @all, @form or @id worked.
Then problem was in the addMessage() call in the backing bean. Component id should be specified instead of null. See screenshot-02.
See screenshot-03 for the result after the fix. Tested @all, @form and @id.