You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org> on 2007/10/10 22:25:50 UTC

[jira] Updated: (MYFACES-1742) Improved ViewState handling

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

Mike Kienenberger updated MYFACES-1742:
---------------------------------------

    Status: Patch Available  (was: Open)

> 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
>            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.