primefaces - How can I not send form when press button inside form? -


i have primefaces form

<h:form id="profilegridform"> <h:panelgroup>                         <p:inplace id="myid" editor="#{bean.changelangenabled}">                             <h:selectonemenu value="#{bean.changedbillinglanguage}">                                 ...                             </h:selectonemenu>                         </p:inplace>                     </h:panelgroup>  <h:panelgroup>                         <p:commandbutton value="model" update="modelform" action="#{modelbean.clear}" ajax="true"                                          oncomplete="pf('showmodel').show()"/>                     </h:panelgroup>  </h:form> 

when press model button call changedbillinglanguage method. how can not send form when press button inside form?


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -