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

AjaxBehavior.isImmediateSet(): information allows an associated client behavior renderer to fall back on the parent component's immediate status

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.5, 2.0.11
    • 2.0.13, 2.1.7
    • JSR-314
    • None
    • myfaces trunk

    Description

      1) JavaDoc AjaxBehavior.isImmediateSet():
      Tests whether the immediate attribute is specified. Returns true if the immediate attribute is specified, either as a locally set property or as a value expression. This information allows an associated client behavior renderer to fall back on the parent component's immediate status when immediate is not explicitly specified on the AjaxBehavior.

      myfaces don't implement this feature in HtmlAjaxBehaviorRenderer

      2) isComponentImmediate use introspection for evaluation of isImmediate - that is unefficient (Contains code comment: Currently implemented by ActionSource and EditableValueHolder but we cannot be sure about both interfaces so lets make introspection calls here - but what means "we cannot be sure about both interfaces" ?)

      Attachments

        1. MYFACES-3419.patch
          3 kB
          Martin Kočí

        Activity

          People

            markoc50 Martin Kočí
            markoc50 Martin Kočí
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: