Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Well i created an example thats works for the standard Primefaces showcase. In your page i see something strange. styleclass="noprocess" are you sure you use this? The API says styleClass with a capital C.</p> <p>Here is an example wich works oke:</p> <pre><code>&lt;h:form id="form"&gt; &lt;p:toolbar id="tool"&gt; &lt;p:toolbarGroup id="group"&gt; &lt;p:commandButton value="All" ajax="true" id="btnAll" process="@(input:not(.noprocess))" actionListener="#{personBean.savePerson}" /&gt; &lt;/p:toolbarGroup&gt; &lt;/p:toolbar&gt; &lt;p:messages id="vmsgs" severity="error,warn" autoUpdate="true" /&gt; &lt;p:tabView id="tabViewSections"&gt; &lt;p:tab title="test" id="tab"&gt; &lt;p:panel header="Partial Process"&gt; &lt;p:panelGrid id="grid" columns="2"&gt; &lt;f:facet name="header"&gt; &lt;p:messages /&gt; &lt;/f:facet&gt; &lt;h:outputLabel for="firstname" value="Firstname:" /&gt; &lt;p:inputText id="firstname" value="#{personBean.firstname}" /&gt; &lt;h:outputLabel for="surname" value="Surname: *" /&gt; &lt;p:inputText id="surname" value="#{personBean.surname}" styleClass="noprocess"&gt; &lt;/p:inputText&gt; &lt;/p:panelGrid&gt; &lt;/p:panel&gt; &lt;/p:tab&gt; &lt;/p:tabView&gt; &lt;/h:form&gt; </code></pre> <p>And then bean:</p> <pre><code>public class PersonBean { private String firstname; private String surname; public String getFirstname() { return firstname; } public void setFirstname(String firstname) { this.firstname = firstname; System.out.println("Setted firstname: " +firstname); } public String getSurname() { return surname; } public void setSurname(String surname) { this.surname = surname; System.out.println("Setted surname: " +surname); } public void savePerson(ActionEvent actionEvent) { System.out.println("Fire action event"); } } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload