ICEfaces
  1. ICEfaces
  2. ICE-10081

Compat components resources not loaded after navigation

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: EE-3.3.0.GA_P02
    • Fix Version/s: None
    • Component/s: Framework, ICE-Components
    • Labels:
      None
    • Environment:
      EE 3.3.0 P02
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
       - Use ICE components on the first page that is accessed in the app.
       - Use the following context param:

          <context-param>
              <param-name>org.icefaces.mandatoryResourceConfiguration</param-name>
              <param-value>all</param-value>
          </context-param>

      Or:
          <context-param>
              <param-name>org.icefaces.mandatoryResourceConfiguration</param-name>
              <param-value>inputRichText</param-value>
          </context-param>

      These will ensure that the Compat resources are loaded on initial access.
      Show
       - Use ICE components on the first page that is accessed in the app.  - Use the following context param:     <context-param>         <param-name>org.icefaces.mandatoryResourceConfiguration</param-name>         <param-value>all</param-value>     </context-param> Or:     <context-param>         <param-name>org.icefaces.mandatoryResourceConfiguration</param-name>         <param-value>inputRichText</param-value>     </context-param> These will ensure that the Compat resources are loaded on initial access.

      Description

      Issue Scenario: After a forward navigation to a page that uses ICE components, JavaScript errors are thrown as the Compat resources are not loaded.

      If the first page uses ICE components then the resources are loaded correctly. This is not an issue with the EE 3.3.0 P01 release.

        Activity

        Arran Mccullough created issue -
        Hide
        Arran Mccullough added a comment -

        Attached test case that shows the issue. The icefaces-ee jar files need to be added into the war to run.

        Steps:

        • Load welcomeICEfaces.jsf
        • Click on the Menu button, this does a forward navigation.
        • In the JS console, errors will be shown on load of the new page and when clicking on the selectOneMenu.
        Show
        Arran Mccullough added a comment - Attached test case that shows the issue. The icefaces-ee jar files need to be added into the war to run. Steps: Load welcomeICEfaces.jsf Click on the Menu button, this does a forward navigation. In the JS console, errors will be shown on load of the new page and when clicking on the selectOneMenu.
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case12878Example.war [ 17225 ]
        Attachment Case12878Example.zip [ 17226 ]
        Attachment Compat-Errors.jpg [ 17227 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: