<p:button /> do not perform submit!

UI Components for JSF
Post Reply
GuitarBrasil
Posts: 221
Joined: 04 Aug 2011, 22:00

12 Sep 2011, 22:19

how can I made my p:button not send GET requests? basically I'd like this component to perform this because I want it to hadle only client side events like clear, back and stuff like that! Not to submit the screen
PrimeFaces 3.5 + JSF 2.1.4 + Tomcat 7.X

arturo
Posts: 90
Joined: 23 Aug 2011, 09:57
Location: Mexico

13 Sep 2011, 16:34

You should use <p:commandButton>, by default is ajax enabled so you can select components to process and bean method to execute
PrimeFaces 4.0 | Extensions 1.1.0 | GlassFish 4.0 | Mojarra 2.2.4 | NetBeans 7.3.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 37 guests