ICEfaces
  1. ICEfaces
  2. ICE-2799

Initial load of dynamically included ICEfaces content doesn't work with MyFaces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.7Beta1
    • Fix Version/s: 2.0-Alpha3
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      MyFaces

      Description

      When attempting to do a dynamic include of ICEfaces content, the initial attempt does not work. It appears that the lifecycle runs twice and two separate views are created. Interaction with the resulting page does not work properly - likely because the visible view does not correspond with the view that's being updated on the server side. Opening a second tab or window and pointing it at the application seems to work fine. The problem only appears to manifest running on MyFaces and with concurrentDomViews set to true.

        Activity

        Deryk Sinotte created issue -
        Hide
        Deryk Sinotte added a comment -

        Here is a screenshot of the browser that shows the initially loaded content. The heading is displayed twice and Firebug console shows that two separate views have been created.

        Show
        Deryk Sinotte added a comment - Here is a screenshot of the browser that shows the initially loaded content. The heading is displayed twice and Firebug console shows that two separate views have been created.
        Deryk Sinotte made changes -
        Field Original Value New Value
        Attachment dynamic-inc-myfaces.png [ 10847 ]
        Hide
        Deryk Sinotte added a comment -

        Attached is a zip file contains are ready to deploy inc.war (with MyFaces), a test app that should show the problem. It's configured to use on Tomcat 5.5. It also contains the source code.

        Show
        Deryk Sinotte added a comment - Attached is a zip file contains are ready to deploy inc.war (with MyFaces), a test app that should show the problem. It's configured to use on Tomcat 5.5. It also contains the source code.
        Deryk Sinotte made changes -
        Attachment inc.zip [ 10848 ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Assignee Ted Goddard [ ted.goddard ]
        Hide
        Ted Goddard added a comment -

        Can the customer switch to the Sun RI?

        Show
        Ted Goddard added a comment - Can the customer switch to the Sun RI?
        Hide
        Ken Fyten added a comment -

        No, they are using Tomahawk as well.

        Show
        Ken Fyten added a comment - No, they are using Tomahawk as well.
        Hide
        Ted Goddard added a comment -

        The forum posting doesn't seem to match this JIRA ... or is this a secondary problem in the same test case?

        Deryk, could you revise the forum reference or describe how this is related to "Extra 'Restore View' and 'Render Response' phase being executed"?

        Show
        Ted Goddard added a comment - The forum posting doesn't seem to match this JIRA ... or is this a secondary problem in the same test case? Deryk, could you revise the forum reference or describe how this is related to "Extra 'Restore View' and 'Render Response' phase being executed"?
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Deryk Sinotte [ deryk.sinotte ]
        Hide
        Ted Goddard added a comment -

        As Ken pointed out, dynamic JSP inclusion has current, known, problems.
        Revising the test case as follows seems to work. Is that sufficient
        for the customer's application at this time? (Full JSP dynamic inclusion
        would have to be moved to ICEfaces 2.0 or potentially 1.7.1.)

        <body>
        <%@ include file="inc.jsp" %>
        </body>

        Show
        Ted Goddard added a comment - As Ken pointed out, dynamic JSP inclusion has current, known, problems. Revising the test case as follows seems to work. Is that sufficient for the customer's application at this time? (Full JSP dynamic inclusion would have to be moved to ICEfaces 2.0 or potentially 1.7.1.) <body> <%@ include file="inc.jsp" %> </body>
        Ken Fyten made changes -
        Fix Version/s 1.7.1 [ 10122 ]
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Fix Version/s 2.0 [ 10032 ]
        Fix Version/s 1.7.1 [ 10122 ]
        Assignee Deryk Sinotte [ deryk.sinotte ]
        Hide
        Ken Fyten added a comment -

        ICEfaces 2.0 is not supporting JSPs.

        Show
        Ken Fyten added a comment - ICEfaces 2.0 is not supporting JSPs.
        Ken Fyten made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: