Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2992

Metadata is not created for views created by a navigation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.0.3
    • JSR-314
    • None

    Description

      if you post back to a page the first time DefaultFaceletsStateManagementStrategy#restoreView
      line List<String> clientIdsAdded = getClientIdsAdded(view);
      returns 1 entry if you added a component dynamically.
      if you have further postbacks (same page), you get null

      currently that breaks e.g. the new clientside-windowhandler of codi!

      example for the prev. description:
      https://svn.apache.org/repos/asf/myfaces/extensions/cdi/trunk/examples/jsf-examples/windowhandler_jsf20/

      link: "List sample"
      -> http://localhost:8080/listsample/sampleList.xhtml
      -> select an entry and on the details page click 2x on the button reload.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            gpetracek Gerhard Petracek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: