p:commandButton update doesn't work in ui:include

Posted by Roberto de Santis on Stack Overflow See other posts from Stack Overflow or by Roberto de Santis
Published on 2010-12-27T18:05:16Z Indexed on 2010/12/27 21:54 UTC
Read the original article Hit count: 149

Filed under:
|
|
|

Hi guys. I want to update a part of a page by PPR. This is the part of page that i want to update:

 <h:panelGroup id="aggiungiAuto"
                  rendered="#{!autoBean.operazioneOk}">
        <ui:include src="../component/aggiungi_auto.xhtml"/>
 </h:panelGroup>

While this is the commandButton present in aggiungi_auto.xhtml

 <p:commandButton value="Submit"
                  update="growl aggiungiAuto aggiungiFoto"
                  actionListener="#{autoBean.insert}"/>

Any Idea?

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about jsf