ICEfaces
  1. ICEfaces
  2. ICE-8313

outputScript target=head does not load the scripts into the head

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: EE-3.0.0.GA, 3.1.0.BETA2
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      All
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      There are a few potential workarounds:
       - Use a redirect navigation.
       - Remove the target="head" from the outputScript tag.
       - Load the script in the template page.
      Show
      There are a few potential workarounds:  - Use a redirect navigation.  - Remove the target="head" from the outputScript tag.  - Load the script in the template page.

      Description

      Issue scenario: There are two pages that use the same facelets template. Page one will navigate to page two. On page two there is an h:outputScript tag that uses target="head". This script does not get loaded when page two is rendered. This only occurs through a forward navigation, using a redirect navigation works since it is doing a full page refresh.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case that shows issue.

        Steps:

        • Load pageOne.jsf
        • Click on Start button, pageTwo is now loaded
        • Click on Click Me button, JS error is thrown since the script was not loaded.
        Show
        Arran Mccullough added a comment - Attached test case that shows issue. Steps: Load pageOne.jsf Click on Start button, pageTwo is now loaded Click on Click Me button, JS error is thrown since the script was not loaded.

          People

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

            Dates

            • Created:
              Updated: