Hi,
I'm new to JSF, I want top know how can I get the input values from the dataTable . My senario like this,
I have tha dataTable in that I'm displaying the some values ffrom database and some input fields to all rows. My problem is how can I get the all values from the dataTable.
My code is like this,
<h:dataTable value="#{courseControl.courseDetails}" var="process" >
<h:column>
<f:facet name="header">
<h:outputText value="Task Name " style="font-weight: bold"></h:outputText>
</f:facet>
<h:inputText readonly="true" value="#{process.taskID}">
</h:inputText>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Assigned To " style="font-weight: bold"></h:outputText>
</f:facet>
<h:selectOneMenu value="#{process.assignTo}">
<f:selectItems value="#{courseControl.data}" />
</h:selectOneMenu>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Est. Start Date" style="font-weight: bold"></h:outputText>
</f:facet>
<h:inputText value="#{process.startDate}">
</h:inputText>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Est. End Date " style="font-weight: bold"></h:outputText>
</f:facet>
<h:inputText value="#{process.endDate}">
</h:inputText>
</h:column>
</h:dataTable>
Please help me on this...
give me the some sample codes....
Thanks in advance to all,
Regards,
BR