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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 2.0.11
    • Fix Version/s: 2.0.13, 2.1.7
    • Component/s: JSR-314
    • Labels:
      None
    • Environment:
      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" ?)

        Activity

          People

          • Assignee:
            Martin Kočí
            Reporter:
            Martin Kočí
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development