You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (JIRA)" <de...@myfaces.apache.org> on 2016/08/10 17:17:22 UTC

[jira] [Commented] (TOBAGO-1574) AJAX not working from change-facet-command

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

Hudson commented on TOBAGO-1574:
--------------------------------

SUCCESS: Integrated in Tobago 3.0.x #447 (See [https://builds.apache.org/job/Tobago%203.0.x/447/])
TOBAGO-1574: AJAX not working from change-facet-command
* hack to make after and before facets runable with AJAX buttons (lofwyr: [http://svn.apache.org/viewvc/?view=rev&rev=1755782])
* tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtils.java


> AJAX not working from change-facet-command
> ------------------------------------------
>
>                 Key: TOBAGO-1574
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1574
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha-3
>            Reporter: Matthias Wronka
>            Assignee: Volker Weber
>             Fix For: 3.0.0-beta-1, 3.0.0
>
>
> It seems to me, that an <f:ajax> inside a change-facet-command does not work. A full request is executed. The effect is visible in the demo:
> http://www.irian.biz/tobago-example-demo-3.0.x/faces/content/30-concept/50-partial/partial.xhtml?dswid=3358 -> the "on Change"-SelectOneChoice causes a full roundtrip.
> In my tests it doesn´t matter if the renderedPartially-attribute of tc:command is used (as in your demo) or if an <f:ajax> is a child of the command like
> <tc:selectOneChoice ...>
>   <f:facet name="change">
>     <tc:command action... actionListener ...>
>       <f:ajax execute.... render.... />
>     </tc:command>
>   </f:facet>
> </tc:selectOneChoice>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)