ICEfaces
  1. ICEfaces
  2. ICE-5377

Support for client-side validators for ACE and MOBI input components

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1
    • Labels:
      None
    • Environment:
      ICEfaces 4, ACE and MOBI input components.

      Description

      A great feature would be to support purely client-side validation when possible.

      This would entail implementing common JSF2 validators in JavaScript such that validation could occur in the browser without the need for a JSF lifecycle/roundtrip to occur. Certain static validation types could be supported this way. The relationship between the client-side mode and the normal JSF behavior would need to be carefully considered.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46569 Thu Dec 17 13:00:08 MST 2015 mircea.toma ICE-5377 Reverted previous commit, wrong JIRA case.
          Files Changed
          Commit graph MODIFY /icefaces4/tags/icefaces-4.1.0/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ImmediateComponentCollector.java
          Commit graph MODIFY /icefaces4/tags/icefaces-4.1.0/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46568 Thu Dec 17 12:57:23 MST 2015 mircea.toma ICE-5377 Implemented generic strategy to support 'immediate=true' attributes defined on f:ajax or ace:ajax facets.
          Files Changed
          Commit graph MODIFY /icefaces4/tags/icefaces-4.1.0/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ImmediateComponentCollector.java
          Commit graph MODIFY /icefaces4/tags/icefaces-4.1.0/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46557 Thu Dec 17 06:07:50 MST 2015 mircea.toma ICE-5377 Implemented generic strategy to support "immediate=true" attributes defined on f:ajax or ace:ajax facets.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ImmediateComponentCollector.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46543 Tue Dec 15 15:03:15 MST 2015 mircea.toma ICE-5377 Revert tab set changes for now.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/tabset/tabset.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/core/core.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46537 Tue Dec 15 11:35:25 MST 2015 carlo.guglielmin ICE-5377 - Removed client-side validators for now because there are issues with tabset (set ICE-10894)
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/ace/emporium/src/main/webapp/WEB-INF/includes/settings-tab.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/ace/emporium/src/main/webapp/WEB-INF/includes/post-tab.xhtml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46533 Mon Dec 14 18:40:10 MST 2015 mircea.toma ICE-5377 Search facets as well for the presence of 'immediate' components.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ImmediateComponentCollector.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46532 Mon Dec 14 18:17:57 MST 2015 mircea.toma ICE-5377 Modified tabset client code to change tab's opacity only when submit is actually issued. Introduce new 'onsubmit' callback for ice.ace.AjaxRequest to allow for registering a callback that is invoked just before jsf.ajax.request function will issue the submit.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/tabset/tabset.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/core/core.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46529 Mon Dec 14 13:16:38 MST 2015 mircea.toma ICE-5377 Implemented integration with 'immediate' submitting components.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ImmediateComponentCollector.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/META-INCLUDE/faces-config.xml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46523 Fri Dec 11 14:40:12 MST 2015 mircea.toma ICE-5377 Add id attribute to the select element to allow for the client validation to find the element and its enclosing form.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/simpleselectonemenu/SimpleSelectOneMenuRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46521 Fri Dec 11 11:29:26 MST 2015 ken.fyten ICE-5377 - Tweaked error message text for min/max length validator.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/resources/messages.properties
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46518 Thu Dec 10 18:22:15 MST 2015 mircea.toma ICE-5377 Use clientId for lookup. Simplify code.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46517 Thu Dec 10 18:03:56 MST 2015 mircea.toma ICE-5377 Unify message matching. Verify if message component is still in the tree before using it.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46510 Thu Dec 10 12:35:54 MST 2015 mircea.toma ICE-5377 Implement @inView handling for ace:messages component.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46508 Thu Dec 10 12:21:03 MST 2015 mircea.toma ICE-5377 Override ice.submitFunction when clientvalidator.js resource loads to ensure that the override occurs during partial update as well.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46507 Thu Dec 10 12:15:52 MST 2015 carlo.guglielmin ICE-5377 - Example of client side validators failing with unresponsive script
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/ace/emporium/src/main/webapp/WEB-INF/includes/post-tab.xhtml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46500 Wed Dec 09 15:54:19 MST 2015 mircea.toma ICE-5377 Remove growl messages for the components that pass validation.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46490 Tue Dec 08 04:55:56 MST 2015 mircea.toma ICE-5377 Enable Growl message 'autoHide' feature. Improved Growl message handling when individual messages are changed or removed.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/growlmessages/GrowlMessagesRenderer.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46489 Mon Dec 07 18:18:06 MST 2015 mircea.toma ICE-5377 Add missing commit that fixes JS error.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46488 Mon Dec 07 17:57:15 MST 2015 mircea.toma ICE-5377 Implement @inView component matching for Growl type messages.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46329 Mon Dec 07 06:04:22 MST 2015 mircea.toma ICE-5377 Redefine ice.submitFunction invocation (instead of ice.fullSubmit) to ensure that any kind of submit is captured.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46328 Mon Dec 07 05:29:27 MST 2015 mircea.toma ICE-5377 Add logic that makes sure that growl messages are not duplicated and also allow them to be re-displayed after they disappear.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46327 Mon Dec 07 04:58:52 MST 2015 mircea.toma ICe-5377 Modified ace:clientValidateLength's validation messages to always work regardless if they applied to characters or checkboxes.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/LengthValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/resources/messages.properties
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46326 Mon Dec 07 04:51:53 MST 2015 mircea.toma ICE-5377 Fixed $ variable lookup.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/validate/jquery.validate.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/validate/additional-methods.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46321 Thu Dec 03 12:22:40 MST 2015 mircea.toma ICE-5377 Implemented ace:growlMessages client validation integration.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/LengthValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/growlmessages/GrowlMessagesRenderer.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/DecimalValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ValueRangeValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/RequiredValidator.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46318 Wed Dec 02 16:02:31 MST 2015 mircea.toma ICE-5377 Fix messages cleanup.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46313 Tue Dec 01 16:58:14 MST 2015 mircea.toma ICE-5377 Remove validation messages when an 'immediate' submit is issued to avoid the flicker cause by the update.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46312 Tue Dec 01 16:19:09 MST 2015 mircea.toma ICE-5377 Modified previous rollback to avoid breaking ace:checkboxButtons.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/checkboxbutton/checkboxbutton.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46305 Tue Dec 01 07:11:04 MST 2015 mircea.toma ICE-5377 Rollback remaining client validation changes.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/checkboxbutton/checkboxbutton.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46304 Tue Dec 01 06:42:55 MST 2015 mircea.toma ICE-5377 Added support for skipping client validation when components are marked with immediate="true" attribute.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/LengthValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textentry/TextEntryRenderer.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/DecimalValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ValueRangeValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/RequiredValidator.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46303 Mon Nov 30 17:05:20 MST 2015 mircea.toma ICe-5377 Fallback into using the component ID when label is not defined.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/resources/messages.properties
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46292 Wed Nov 25 12:07:26 MST 2015 mircea.toma ICE-5377 Mark _ace:radioButtons_ as Validateable.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/radiobuttons/RadioButtons.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46291 Wed Nov 25 12:05:40 MST 2015 mircea.toma ICE-5377 Update validation messages to still be meaningful when the corresponding label is missing.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/LengthValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/resources/messages.properties
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/DecimalValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ValueRangeValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/RequiredValidator.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46289 Wed Nov 25 11:30:02 MST 2015 mircea.toma ICE-5377 Modified ace:radioButtons renderer to keep the client side state in a 'select' element instead of multiple hidden input elements thus allowing to the jQuery validation library to run its validation rules on markup that understands.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/checkboxbutton/checkboxbutton.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/radiobuttons/RadioButtonsRenderer.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/radiobutton/radiobutton.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46283 Tue Nov 24 14:40:16 MST 2015 mircea.toma ICe-5377 Modified renderer to keep the client side state in a 'select' element instead of multiple hidden input elements thus allowing to the jQuery validation library to run its validation rules on markup that understands.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/checkboxbuttons/CheckboxButtonsRenderer.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/checkboxbutton/checkboxbutton.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/checkboxbuttons/CheckboxButtons.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46275 Tue Nov 24 03:49:42 MST 2015 mircea.toma ICE-5377 Modified ace:comboBox renderer to support client validation.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/selectmenu/SelectMenuRenderer.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/combobox/combobox.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/combobox/ComboBoxRenderer.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/combobox/ComboBox.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46274 Tue Nov 24 03:26:23 MST 2015 mircea.toma ICE-5377 Modified renderer to support client validation.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/selectmenu/SelectMenuRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46273 Mon Nov 23 16:39:55 MST 2015 mircea.toma ICE-5377 Modified validation messages to use the defined labels.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/EqualToValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/LengthValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/resources/messages.properties
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/DecimalValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ValueRangeValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/RequiredValidator.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46272 Mon Nov 23 16:07:13 MST 2015 mircea.toma ICE-5377 Build lookup map for referencing labels. Modified MessageMatcher to lookup the local label or if missing the referencing label.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/EqualToValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46254 Fri Nov 20 05:42:04 MST 2015 mircea.toma ICE-5377 Refactor to avoid component lookup. Keep message<->validated component association map in the view root.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46224 Mon Nov 16 13:24:31 MST 2015 mircea.toma ICE-5377 Remove execution skipping during restore phase.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46223 Mon Nov 16 06:32:01 MST 2015 mircea.toma ICE-5377 Avoid throwing exception when component lookup fails. Still throw exception when message component cannot be reverse looked up.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46213 Wed Nov 11 17:27:20 MST 2015 mircea.toma ICE-5377 Reorder when valid() and validate() method calls are made.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46202 Tue Nov 10 08:22:24 MST 2015 mircea.toma ICE-5377 Trigger synthetic 'change' event to run client side validation on date/time selection.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datetimeentry/datetimeentry.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46201 Mon Nov 09 18:45:52 MST 2015 mircea.toma ICE-5377 Fix message cleanup and creation.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46200 Mon Nov 09 18:07:16 MST 2015 mircea.toma ICE-5377 Fixed validation message update when multiple validation rules are assigned. Refactored and simplified cleanup code.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46190 Thu Nov 05 16:10:38 MST 2015 mircea.toma ICE-5377 Lookup referenced component by client ID when lookup by component ID fails.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46181 Thu Nov 05 12:18:01 MST 2015 mircea.toma ICE-5377 Modified message lookup to support '@all' keyword or empty string.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46172 Wed Nov 04 14:42:14 MST 2015 mircea.toma ICE-5377 Detect when message's 'for' attribute is missing and throw informative exception.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46171 Wed Nov 04 14:27:57 MST 2015 mircea.toma ICE-5377 Fix message element creation.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46170 Wed Nov 04 11:19:44 MST 2015 mircea.toma ICE-5377 Remove Validateable implementation.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/sliderentry/SliderEntry.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46169 Wed Nov 04 11:13:52 MST 2015 mircea.toma ICE-5377 Implemented Validateable.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/selectmenu/SelectMenu.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntry.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/radiobutton/RadioButton.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/checkboxbutton/CheckboxButton.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/simpleselectonemenu/SimpleSelectOneMenu.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/combobox/ComboBox.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46167 Tue Nov 03 17:00:30 MST 2015 mircea.toma ICE-5377 Implemented integration of client validators with ace:messages component.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/EqualToValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/LengthValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/resources/messages.properties
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/DecimalValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ValueRangeValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/RequiredValidator.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46148 Wed Oct 28 18:31:08 MDT 2015 mircea.toma ICe-5377 Change localized message lookup pattern.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46146 Wed Oct 28 17:12:01 MDT 2015 mircea.toma ICe-5377 Fix pattern definition.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46128 Tue Oct 27 07:54:01 MDT 2015 mircea.toma ICE-5377 Setup onElementUpdate callbacks to reset validator when validated input element are updated. Factored out JS validation setup function to minimize the renderer markup.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MinLengthValidator.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46127 Mon Oct 26 18:48:24 MDT 2015 mircea.toma ICE-5377 Enable client validation for current form only once.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MinLengthValidator.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46126 Mon Oct 26 18:24:18 MDT 2015 mircea.toma ICE-5377 Add component to tree for rendering JS setup code instead of using JavaScriptRunner.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MinLengthValidator.java
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ScriptOutputWriter.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46101 Tue Oct 20 06:00:30 MDT 2015 mircea.toma ICE-5377 Clear validation message only if previous to the form submit the element was invalid.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46100 Tue Oct 20 05:59:13 MDT 2015 mircea.toma ICE-5377 Disable JQuery's validation error hiding since custom rendering is implemented.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MinLengthValidator.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46085 Wed Oct 14 14:39:23 MDT 2015 mircea.toma ICE-5377 Name interface with proper english word.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/sliderentry/SliderEntry.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntry.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/maskedentry/MaskedEntry.java
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/Validateable.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textentry/TextEntry.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntry.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MinLengthValidator.java
          Commit graph DEL /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/Validatable.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textareaentry/TextAreaEntry.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46081 Tue Oct 13 14:11:57 MDT 2015 mircea.toma ICE-5377 Fix reference to renderer.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MinLengthValidatorMeta.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46078 Tue Oct 13 05:30:14 MDT 2015 mircea.toma ICE-5377 Modified input components to implement Validatable interface.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/sliderentry/SliderEntry.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntry.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/maskedentry/MaskedEntry.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textentry/TextEntry.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntry.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MinLengthValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/Validatable.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textareaentry/TextAreaEntry.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46077 Mon Oct 12 17:49:54 MDT 2015 mircea.toma ICE-5377 Added initial implementation for two of the client-side validators, including the required infrastructure.
          Files Changed
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidatorMeta.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/META-INCLUDE/resource-dependency.xml
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MessageMatcher.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/renderkit/CoreRenderer.java
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MinLengthValidator.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/build.xml
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/Validatable.java
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MinLengthValidatorMeta.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/resources/messages_fr.properties
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/validate
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/validate/jquery.validate.js
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/resources/messages.properties
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/PatternValidator.java
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/ComponentUtils.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textentry/TextEntry.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/META-INCLUDE/faces-config.xml
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/validate/additional-methods.js
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ValidatorRenderer.java

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Ken Fyten
            • Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: