[ 
https://issues.apache.org/jira/browse/MYFACES-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Marinschek updated MYFACES-1742:
---------------------------------------

    Resolution: Fixed
      Assignee: Martin Marinschek
        Status: Resolved  (was: Patch Available)

Thanks to Michael Kurz for providing this patch.

regards,

Martin

> Improved ViewState handling
> ---------------------------
>
>                 Key: MYFACES-1742
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1742
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General
>    Affects Versions:  1.2.0, 1.2.1-SNAPSHOT
>            Reporter: Michael Kurz
>            Assignee: Martin Marinschek
>            Priority: Minor
>             Fix For: 1.2.1-SNAPSHOT
>
>         Attachments: viewstate-patch-1.2.1.zip
>
>
> I improved the performance of the view state writing in MyFaces 1.2.1 quite a 
> bit with the following 2 changes:
> 1) The algorithm for replacing the form state marker in JspViewHandlerImpl is 
> much faster now (improved indexOf, buffered writing, StringBuilder)
> 2) The view state can now be rendered with javascript. If this feature is 
> enabled (via context parameter "org.apache.myfaces.VIEWSTATE_JAVASCRIPT") the 
> view state hidden inputs in the forms are rendered with empty value 
> attributes. The actual viewstate is then filled in on the client with a 
> rendered javascript function that simply iterates over all forms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to