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

The render attribute of AjaxBehavior should support late value expression evaluation

    Details

    • Type: New Feature
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The render attribute of AjaxBehavior should evaluated during post-back after 'Invoke Application' and before 'Render Response'. It's easly to add this feature with a own PartialViewContext. But there is no call to processPartial with 'Invoke Application'. The Phase 'Render Response' is too late if you are using c:if to skip components from the component tree. See attached example app and pictures.

        Attachments

        1. laterender.patch
          7 kB
          Dora Rajappan
        2. late-render-expression-4.png
          2 kB
          Bernd Bohmann
        3. late-render-expression-3.png
          4 kB
          Bernd Bohmann
        4. late-render-expression-2.png
          4 kB
          Bernd Bohmann
        5. late-render-expression-1.png
          3 kB
          Bernd Bohmann
        6. late-render-expression-0.png
          4 kB
          Bernd Bohmann
        7. late-render-expression.tgz
          6 kB
          Bernd Bohmann

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bommel Bernd Bohmann
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: