I have a page in jsf, where the user enters all the data and clicks on submit button, and it has to be saved in the database. Please find the code i'm currently using.
<h:column>
<f:facet name="header">
<h:outputText value="Registration"/>
</f:facet>
<h:form>
<h:commandLink id = "submit" value="submit" action="#{bean.submitDate}">
<f:param name="sNum" value="#{list.sNumber}" />
<f:param name="firstName" value="#{list.fName}" />
<f:param name="lastname" value="#{list.lName}" />
...
</h:commandLink></h:form>
</h:column>
i wanted know if i can send whole data at a time or I have to send all the fields individually itself as above