Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2 Sprint 8
    • Fix Version/s: 2.2
    • Component/s: Components/Renderers
    • Labels:
      None
    • Status Whiteboard:
      Hide

      size_medium importance_medium

      Show
      size_medium importance_medium

      Description

      In UIComponentBase implementation, PreValidate/PostValidate events are
      published as below:

      Application app = context.getApplication();
      app.publishEvent(context, PreValidateEvent.class, this);
      // Process all the facets and children of this component
      Iterator kids = getFacetsAndChildren();
      while (kids.hasNext())

      { UIComponent kid = (UIComponent) kids.next(); kid.processValidators(context); }

      app.publishEvent(context, PostValidateEvent.class, this);

      This makes overrided methods of subclasses cannot publish these events
      properly. For example in UIInput as below:

      super.processValidators(context);
      if (!isImmediate())

      { executeValidate(context); }

      You can see, the PostValidate event for UIInput will always be published BEFORE
      its own actual validating

        Activity

        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          People

          • Assignee:
            Unassigned
            Reporter:
            rogerk
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: