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

          Ken Fyten created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Salesforce Case []
          Fix Version/s 2.0.0 [ 10230 ]
          Affects [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial]
          Ken Fyten made changes -
          Component/s ACE-Components [ 10050 ]
          Component/s Components [ 10012 ]
          Ken Fyten made changes -
          Fix Version/s 2.1 [ 10241 ]
          Fix Version/s 2.0.0 [ 10230 ]
          Ken Fyten made changes -
          Fix Version/s 3.1 [ 10312 ]
          Fix Version/s 3.0 [ 10241 ]
          Ken Fyten made changes -
          Fix Version/s 3.1 [ 10312 ]
          Ken Fyten made changes -
          Fix Version/s 4.1 [ 11375 ]
          Ken Fyten made changes -
          Environment ICEfaces 2.0 ICEfaces 4, ACE and MOBI input components.
          Ken Fyten made changes -
          Component/s MOBI-Components [ 10270 ]
          Ken Fyten made changes -
          Summary Support for client-side validators Support for client-side validators for ACE and MOBI input components
          Arran Mccullough made changes -
          Support Case References Support Case #12790 - https://icesoft.my.salesforce.com/5007000000c0y8f
          Ken Fyten made changes -
          Assignee Ken Fyten [ ken.fyten ]
          Ken Fyten made changes -
          Assignee Priority P1 [ 10010 ]
          Ken Fyten made changes -
          Assignee Ken Fyten [ ken.fyten ] Mircea Toma [ mircea.toma ]
          Mircea Toma made changes -
          Attachment clientValidator.zip [ 21881 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-10823 [ ICE-10823 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-10824 [ ICE-10824 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-10825 [ ICE-10825 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-10820 [ ICE-10820 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-10821 [ ICE-10821 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-10819 [ ICE-10819 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-10822 [ ICE-10822 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-10827 [ ICE-10827 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-10821 [ ICE-10821 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-10825 [ ICE-10825 ]
          Liana Munroe made changes -
          Attachment maskedEntry.PNG [ 21988 ]
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Liana Munroe made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Liana Munroe made changes -
          Attachment textEntry.PNG [ 21996 ]
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Liana Munroe made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Liana Munroe made changes -
          Attachment textEntry2.PNG [ 22014 ]
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Mircea Toma made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Liana Munroe made changes -
          Attachment growlMessages.PNG [ 22015 ]
          Carlo Guglielmin made changes -
          Comment [ EDIT: Invalid now, Mircea's last check-in seems to have resolved this issue.

          Seeing an unresponsive script hangup in Firefox on both Linux and Windows when trying to use client side validators inside the Emporium demo.

          Checked in the problem under r46507. The validator is on the "Add Auction" tab, and is just a simple clientValidateRequired. It's inside a tabset though, which might be a use case we haven't tested.

          I tried putting another client validator on the main page, to see if it needed to be preloaded, but that didn't help. I also tried turning off the interval pushing that happens, but that also didn't help.

          To replicate:
          1. Build and deploy Emporium trunk (ossrepo/icefaces4/trunk/icefaces/samples/ace/emporium)
          2. Click "Add Auction" tab
          3. On Linux this was maxing my CPU and Firefox eventually popped up an "unresponsive script" warning. Windows does the same, just without the max CPU. ]
          Ken Fyten made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: