ICEfaces
  1. ICEfaces
  2. ICE-11488

ice:loadBundle not working correctly when used in template

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: EE-3.3.0.GA_P07
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      When ice:loadBundle is in a template page, there are issues when loading pages dynamically and displaying the correct messages on the pages. In particular, messages in the h:head section (e.g. in the <title> element) aren't updated dynamically, whereas when using f:loadBundle and no icefaces at all they are updated as expected, as can be seen in the customer-provided test-app. Also, even when using f:loadBundle, if the app contains the icefaces.jar, the messages used in the titles of the pages aren't updated as one navigates pages dynamically. Messages in the page body seem to be update dynamically as expected.
      1. ui_composition_problem.docx
        36 kB
        Arturo Zambrano

        Activity

        Hide
        Arturo Zambrano added a comment -

        The solution to this only requires adding this context parameter to web.xml:

        <context-param>
        <param-name>org.icefaces.generateHeadUpdate</param-name>
        <param-value>true</param-value>
        </context-param>

        This prevents Icefaces from skipping updating the contents of the head when navigating dynamically to another view.

        Show
        Arturo Zambrano added a comment - The solution to this only requires adding this context parameter to web.xml: <context-param> <param-name>org.icefaces.generateHeadUpdate</param-name> <param-value>true</param-value> </context-param> This prevents Icefaces from skipping updating the contents of the head when navigating dynamically to another view.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: