myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wronka (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TOBAGO-1574) AJAX not working from change-facet-command
Date Mon, 11 Jul 2016 13:33:11 GMT
Matthias Wronka created TOBAGO-1574:
---------------------------------------

             Summary: 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


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)

Mime
View raw message