title: How to passing value of hiddenFiled as parameter for actionbean?
body: <p>My page display list Category Name. i want to when user clicks category name , it will
  display list product by category name. in this code, i want to passing CateogryId as value of h:inputHidden. it's same as <code>&lt;h:inputText value="#{produtBean.categoryId}"&gt;&lt;/h:inputText&gt;</code> .</p>
  
  <p>Tkanks you for reading !</p>
  
  <p><strong>Code from xhtml</strong></p>
  
  <pre><code>&lt;ui:repeat value="#{productBean.listCategory}" var="c"&gt;
     &lt;h:form&gt;
          &lt;h:inputHidden value="#{productBean.categoryId}" &gt;&lt;/h:inputHidden&gt;
          &lt;h:commandLink value="#{c.name}" action="#{productBean.listProductByCt}" &gt;&lt;/h:commandLink&gt;
     &lt;/h:form&gt;
  &lt;/ui:repeat&gt;
  </code></pre>
  
  <p><strong>Code from ProductBean</strong></p>
  
  <pre><code>public String listProductByCt()
      {
          if(categoryId==0)
          {
              return "index";
          }
          listProduct = new ProductsDB().listProducts(categoryId);
          return "product";
      }  
  </code></pre>