myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dora Rajappan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3542) The render attribute of AjaxBehavior should support late value expression evaluation
Date Wed, 25 Sep 2013 16:04:03 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13777676#comment-13777676
] 

Dora Rajappan commented on MYFACES-3542:
----------------------------------------

There is no problem with c:if component behaviour with visit algorithm also. Info2 component
is in execute and when the checkbox was deselected subsequent ajax request test2 got skipped
which is expected. If info2 is removed from execute ajax render wont skip test2 . Preference
is clearly for ajax. I misunderstood the problem was with skipping components and not purely
for late value expression evaluation for render attribute.
                
> The render attribute of AjaxBehavior should support late value expression evaluation
> ------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3542
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3542
>             Project: MyFaces Core
>          Issue Type: New Feature
>            Reporter: Bernd Bohmann
>         Attachments: late-render-expression-0.png, late-render-expression-1.png, late-render-expression-2.png,
late-render-expression-3.png, late-render-expression-4.png, late-render-expression.tgz
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message