Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3225

myfaces 2.1.1 AjaxHandler$AjaxBehaviorListenerImpl

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.0.8, 2.1.2
    • Component/s: General
    • Labels:
      None
    • Environment:
      tomcat 7.0.14 myfaces 2.1.1 ubuntu linux 10.10 jdk1.6.0_22

      Description

      hi
      at first, i'm not native english speaker.

      let's see follow code.

      ===
      javax.faces.PARTIAL_STATE_SAVING=true
      javax.faces.STATE_SAVING_METHOD=client

      <h:selectOneMenu ...>
      <f:ajax listener="#

      {...}

      "/>
      </h:selectOneMenu>
      ===

      in this case, behavior map's saveState result is not null. because AjaxHandler.AjaxBehaviorListenerImpl didnt implement PartialStateHolder, instead at implemented StateHolder.

      since making new listener instance at every view re-building can be expensive, so is this better good?
      nor just mistake?

      thanks for reading. have a nice day.

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              imcharsi lkw
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 336h
                336h
                Remaining:
                Remaining Estimate - 336h
                336h
                Logged:
                Time Spent - Not Specified
                Not Specified