I have a form that I want to submit with JSF/Richfaces.
To execute the form action, I need to be sure a data from another form is valid.
So my question is, how can I submit a form with data come from another form ?
My code is like this:
<h:form id="form1" >
<h:inputText id="data" validator="#{myBean.validateData}" />
</h:form>
<h:form id="form2" >
<h:inputText id="data2" validator="#{myBean2.validateData2}" />
<a4j:commandLink id="button"
action="#{bandeauTarifController.recalculer}" ajaxSingle="true"
process="data" >
Test link
</a4j:commandLink>
</h:form>
I thought the "process" attribute could do this but not.
Someone have an idea about that ?
Thanks.