0

私はnotifatiionBarで立ち往生しています。私は彼が表示された後にそれを閉じるのが好きです。

primefaces-rocks.appspot.com/ui/notificationBar.jsf#

<p:commandButton value="Enregistrer Parametre" action="#{optionBean.updateParametre()}" oncomplete="bar.show()" update="panel"/>
    <p:notificationBar position="top" effect="slide" widgetVar="bar" styleClass="top" >  
    <f:facet name="close">  
            <p:graphicImage value="/resources/image/closebar.png" />  
        </f:facet>  
    <h:outputText value="Parametre Enregistre !" style="color:#FFCC00;font-size:36px;" />  
</p:notificationBar> 

しかし、なぜうまくいかないのですか???

4

1 に答える 1