Leonardo Uribe created TOMAHAWK-1634:
----------------------------------------
Summary: Zero state for autoscroll script and hidden field
Key: TOMAHAWK-1634
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1634
Project: MyFaces Tomahawk
Issue Type: Improvement
Reporter: Leonardo Uribe
Assignee: Leonardo Uribe
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira