ICEfaces
  1. ICEfaces
  2. ICE-9598

ace:submitMonitor > mandatoryResourceConfig not functioning when including the component dynamically

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.BETA
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces3 trunk revision# 38223
    • Assignee Priority:
      P2

      Description

      The submitMonitor component doesn't load when including it dynamically on the page with <icecore:config mandatoryResource="submitMonitor"/>. JS errors are seen on the page and the component is not rendered.

      In Firefox:
      TypeError: ice.ace is undefined
      http://localhost:8080/submitMonitor/javax.faces.resource/icefaces-compat.js.jsf?ln=ice.compat&v=3_4_0_130919
      Line 8

      In IE10:
      Message: Unable to get property 'create' of undefined or null reference
      Line: 1
      Char: 1
      Code: 0
      URI: http://localhost:8080/submitMonitor/submitMonitorMandResConf.jsf

      To reproduce:
      1) Build / deploy test app located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Manual/submitMonitor
      2) Navigate to 'SubmitMonitor with MandatoryResourceConfig '
      3) Click the checkbox to include the submitMonitor on the page.
      JS error is seen and the component is not rendered.

        Activity

        Hide
        Arturo Zambrano added a comment -

        Committed fix to trunk at revision 38229. Added missing @MandatoryResourceComponent annotation.

        Show
        Arturo Zambrano added a comment - Committed fix to trunk at revision 38229. Added missing @MandatoryResourceComponent annotation.
        Hide
        Cruz Miraback added a comment -

        Thanks, confirmed fixed on trunk revision# 38229.

        Show
        Cruz Miraback added a comment - Thanks, confirmed fixed on trunk revision# 38229.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: