title: Submit custom data/inputfield while `p:autocomplete` sends a query for fetching suggestions
body: <p>How do I submit some <code>h:inputText</code> field/send custom data while <code>p:autocomplete</code> sends a query for fetching suggestions from server. I tried doing like this:</p>
  
  <pre><code>&lt;p:autoComplete completeMethod="..." &gt;
      &lt;p:ajax event="query" onstart="method1()" process="@this, field1"/&gt;
  &lt;/p:autoComplete&gt;
  &lt;h:inputHidden id="field1" value="#{search.value2}"/&gt;
  </code></pre>
  
  <p>The field seems to be submitted along with the sent data to the server however the value is not set in managed bean. Probably the process attribute of above <code>p:ajax</code> does not seem to work correctly for above case. So, How do I submit this h:inputHidden#field1 along with query for suggestions ?</p>