Multiple values for the update attribute on p:commandButton
<p>I am new in Primefaces, i would like to know if i can use two values for the attribute update on primefaces commandButton component:</p>

<p>My code</p>

<pre><code>&lt;p:messages id="messages" ...../&gt;&lt;!-- not always updated --&gt;
&lt;h:form&gt;
    ...
    &lt;p:commandButton ....action="search" update="@all :messages"/&gt;
    ..
&lt;/h:form&gt;
&lt;h:form&gt;
    &lt;p:panel header="Number of element in the the table:#{bean.number}"&gt;
        &lt;!--not always updated --&gt;
        &lt;p:datatable&gt;
            &lt;!-- always updated --&gt;
        &lt;/p:datatable&gt;
    &lt;/p:panel&gt;
&lt;/h:form&gt;
</code></pre>

<p>When i did this, the header of the panel component is not updated.</p>

<p>When i put only <code>update="@all"</code>, the messages component (<code>p:messages</code>) is not updated even with <code>autoUpdate="true"</code></p>

<p>Can you help me please !</p>