私は 2 つのフォーム、1 つのボタンを持っています。
<h:form>
<h:outputLabel value="Form Name: *" />
<p:inputText required="true" value="#{currentTemplate.name}" />
</h:form>
1 つのボタンを別の形で。
<h:form id="orderListForm">
<p:commandButton value="Submit"
action="#{orderListBean.callPersist}" style="margin-top:5px"
id="btnCitySubmit" />
</h:form>
最初のフォームの値を2番目のフォームに保存したい。
あなたの答えに本当に感謝します!