ICEfaces
  1. ICEfaces
  2. ICE-6015

Require a standard way to determine if a lifecycle is a push triggered lifecycle.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta1
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 2.0

      Description

      Problem: Require a standard way to determine if a lifecycle is a push triggered lifecycle.

      - Both in 1.8 and 2.0 there has always been a need for a framework hook that would allow a developer to know if a particular request was the result
      of a push or some user generated request.

      - In 2.0 users request can be distinguished from push request by using an input hidden on a page form and then looking for this parameter name in the
      requestParamaterMap. This is a bit clumsy and would instead prefer to see that the form at the bottom of the page that is responsible for generating the push to have a param marking the push request as a push. Users could check when needed if this parameter was in the requestParameterMap.

      - Application developers could then write a page level phase listener to look for the push parameter and do any push related work before the render
      response phase is called.

      - In most cases the action event that generated the push request could kick off any application scoped model update. But in most application, session
      scoped data would also have to be updated which would have to be deferred to the lifecycle generated by a given push request.

      - There is an existing submit parameter called 'ice.submit.type' that might be adapted to provide the necessary information that a push request is being processed. Reference for the existing 'ice.submit.type' parameter: http://jira.icefaces.org/browse/ICE-5832?focusedCommentId=29786&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_29786

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22314 Fri Sep 10 09:18:44 MDT 2010 mircea.toma ICE-6015 Add ice.submit.type parameter to the requests used for retrieving the asynchronous updates.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/application.js

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: