You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2012/09/01 23:46:07 UTC
[jira] [Created] (TOMAHAWK-1634) Zero state for autoscroll script
and hidden field
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
[jira] [Resolved] (TOMAHAWK-1634) Zero state for autoscroll script
and hidden field
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-1634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved TOMAHAWK-1634.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.14-SNAPSHOT
> 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
> Fix For: 1.1.14-SNAPSHOT
>
>
> 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