You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ganesh Jung (JIRA)" <de...@myfaces.apache.org> on 2009/04/11 06:41:15 UTC

[jira] Created: (MYFACES-2194) Make the queue size configurable through myfaces params

Make the queue size configurable through myfaces params
-------------------------------------------------------

                 Key: MYFACES-2194
                 URL: https://issues.apache.org/jira/browse/MYFACES-2194
             Project: MyFaces Core
          Issue Type: Sub-task
            Reporter: Ganesh Jung




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


[jira] Updated: (MYFACES-2194) Make the queue size configurable through myfaces params

Posted by "Ganesh Jung (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganesh Jung updated MYFACES-2194:
---------------------------------

    Status: Patch Available  (was: Open)

> Make the queue size configurable through myfaces params
> -------------------------------------------------------
>
>                 Key: MYFACES-2194
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2194
>             Project: MyFaces Core
>          Issue Type: Sub-task
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>         Environment: Javascript
>            Reporter: Ganesh Jung
>            Priority: Minor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> In 13.3.2 the spec says: >>All Ajax requests must be put into a client side request queue before they are sent to the server to ensure Ajax requests are processed in the order they are sent.<<
> So, if you trigger a queue of n Ajax requests each of them would include the same ViewState that was collected at the time when the request was queued. But with each response the view state will have changed, making the former collected view state obsolete! With javax.faces.STATE_SAVING_METHOD==server the old view state may even be gone if the queue size exceeds the number of view states stored in the session.

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


[jira] Updated: (MYFACES-2194) Make the queue size configurable through myfaces params

Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Punz updated MYFACES-2194:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

code is merged


> Make the queue size configurable through myfaces params
> -------------------------------------------------------
>
>                 Key: MYFACES-2194
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2194
>             Project: MyFaces Core
>          Issue Type: Sub-task
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>         Environment: Javascript
>            Reporter: Ganesh Jung
>            Priority: Minor
>         Attachments: patch-2194.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> In 13.3.2 the spec says: >>All Ajax requests must be put into a client side request queue before they are sent to the server to ensure Ajax requests are processed in the order they are sent.<<
> So, if you trigger a queue of n Ajax requests each of them would include the same ViewState that was collected at the time when the request was queued. But with each response the view state will have changed, making the former collected view state obsolete! With javax.faces.STATE_SAVING_METHOD==server the old view state may even be gone if the queue size exceeds the number of view states stored in the session.

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