Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1634

Zero state for autoscroll script and hidden field

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.14
    • None
    • None

    Description

      When autoscroll is used, the code generates some bytes in the state, because the containers used for head, body and form are used after markInitialState() call.

      The solution is subscribe a listener that adds and remove a dummy resource when the container is not created by other code.

      Also, it is a good idea to set the ids of the added components (body script and hidden field). In this way, it is not necessary to generate an unique value and store it into UIViewRoot.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: