MyFaces Core
  1. MyFaces Core
  2. MYFACES-3542

The render attribute of AjaxBehavior should support late value expression evaluation

    Details

    • Type: New Feature New Feature
    • Status: Patch Available
    • Priority: Major 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.

      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

        Dora Rajappan made changes -
        Attachment laterender.patch [ 12610317 ]
        Dora Rajappan made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Bernd Bohmann made changes -
        Attachment late-render-expression.tgz [ 12526113 ]
        Attachment late-render-expression-0.png [ 12526114 ]
        Attachment late-render-expression-1.png [ 12526115 ]
        Attachment late-render-expression-2.png [ 12526116 ]
        Attachment late-render-expression-3.png [ 12526117 ]
        Attachment late-render-expression-4.png [ 12526118 ]
        Bernd Bohmann made changes -
        Field Original Value New Value
        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 to late if you are using c:if to skip components from the component tree. See attached example app and pictures. 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.
        Bernd Bohmann created issue -

          People

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

            Dates

            • Created:
              Updated:

              Development