title: Exclude field from a form in JSF
body: <p>I have the following question: Let's assume the code below:</p>
  
  <pre><code>...
       &lt;h:form id=".."&gt;
          &lt;table&gt;
  
          &lt;table border="1"&gt;
           &lt;tr&gt;
           &lt;td&gt;&lt;h:outputText value="#{msg.prompt1}"/&gt;&lt;/td&gt;
           &lt;td&gt;&lt;h:inputText value="#{personBean.personData1}" /&gt; 
                    &lt;!-- This field must not participate in the form. There would be 
                         other JSF form and tags here --&gt;
                &lt;h:commandButton action="other_action_with_ajax"/&gt;
           &lt;/td&gt; 
           &lt;/tr&gt;
           &lt;tr&gt;
           &lt;td&gt;&lt;h:outputText value="#{msg.promp2}"/&gt;&lt;/td&gt;
           &lt;td&gt;&lt;h:inputText value="#{personBean.personData2}" /&gt;&lt;/td&gt;
           &lt;/tr&gt;
           &lt;tr&gt;
           &lt;td&gt;&lt;h:outputText value="#{msg.msg}"/&gt;&lt;/td&gt;
           &lt;td&gt;&lt;h:commandButton action="greeting" value="#{msg.button_text}" /&gt;&lt;/td&gt;
           &lt;/tr&gt;
          &lt;/table&gt;
       &lt;/h:form&gt;
  ...
  </code></pre>
  
  <p>I need to exclude one field from a form which is in a table (currently plane html) as this field is readonly and handled and treated differently from the others. It will be part of other form which does not the wrapping form of this table. But this field must be placed in this table to be formated correctly. And I cant put form in a form. What is the best way to put two forms in one table without splitting it into two tables wrapped in forms?</p>