0

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 I press Model button call ChangedBillingLanguage method. How can I not send form when press button inside form?

user5620472
  • 2,352
  • 5
  • 36
  • 82
  • 1
    Possible duplicate of [Understanding PrimeFaces process/update and JSF f:ajax execute/render attributes](http://stackoverflow.com/questions/25339056/understanding-primefaces-process-update-and-jsf-fajax-execute-render-attributes) – Kukeltje Apr 14 '17 at 11:47
  • 1
    So not submit any values? See the duplicate... (or check the PrimeFaces documentation and showcase) – Kukeltje Apr 14 '17 at 11:47
  • 2
    ... use `process="@none"`, or in your case `process="@this"` – Jasper de Vries Apr 14 '17 at 12:28

0 Answers0