ICEfaces
  1. ICEfaces
  2. ICE-10991

Javascript error when no client validators are defined

    Details

      Description

      Whenever ACE components are not defined on the page and _icefaces-ace.jar_ is loaded a Javascript error is triggered on the client.

        Activity

        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Description Whenever ACE components are not defined on the page and _icefaces-ace.jar_ is loaded a Javascript error is triggered on the client:
        {code}
        TypeError: window.ice.ace is undefined
        </form><span id="vvonmujw3_icefaces_config"><script>ice.setupBridge('vvonmujw3_i...
        {code}
        Whenever ACE components are not defined on the page and _icefaces-ace.jar_ is loaded a Javascript error is triggered on the client:

        "TypeError: window.ice.ace is undefined
        </form><span id="vvonmujw3_icefaces_config"><script>ice.setupBridge('vvonmujw3_i..."
        Mircea Toma made changes -
        Description Whenever ACE components are not defined on the page and _icefaces-ace.jar_ is loaded a Javascript error is triggered on the client:

        "TypeError: window.ice.ace is undefined
        </form><span id="vvonmujw3_icefaces_config"><script>ice.setupBridge('vvonmujw3_i..."
        Whenever ACE components are not defined on the page and _icefaces-ace.jar_ is loaded a Javascript error is triggered on the client.
        Hide
        Mircea Toma added a comment - - edited

        The triggered error is:

        TypeError: window.ice.ace is undefined	
        </form><span id="vvonmujw3_icefaces_config"><script>ice.setupBridge('vvonmujw3_i..."
        
        Show
        Mircea Toma added a comment - - edited The triggered error is: TypeError: window.ice.ace is undefined </form><span id= "vvonmujw3_icefaces_config" ><script>ice.setupBridge('vvonmujw3_i..."
        Hide
        Mircea Toma added a comment -

        Modified ImmediateComponentCollector to render the list of "immediate=true" components only when client validators are defined on the page. Added marking Validator interface to all client validators.

        Show
        Mircea Toma added a comment - Modified ImmediateComponentCollector to render the list of "immediate=true" components only when client validators are defined on the page. Added marking Validator interface to all client validators.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mircea Toma made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Fix Version/s EE-4.1.0.GA [ 12171 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48533 Tue Mar 22 05:17:39 MDT 2016 mircea.toma ICE-10991 Render the list with "immediate=true" components only when client validators are defined.
        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 #48534 Tue Mar 22 05:19:49 MDT 2016 mircea.toma ICE-10991 Added marking Validator interface to all client validators.
        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/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 ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/Validator.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/RequiredValidator.java
        Ken Fyten made changes -
        Fix Version/s EE-4.1.0.BETA [ 13072 ]
        Ken Fyten made changes -
        Fix Version/s 4.2.BETA [ 13091 ]
        Fix Version/s 4.2 [ 12870 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: