Hi,
I am using
jsf dataTable inside dataTable i am having some <h:input > field
how to do a mandatory field validation inside the dataTable , i had tried with
required message but not showing the validation message.
In the below sample i need to make base fare as mandatory field.
<p:dataTable id="addBookingDataTableShow" style="width:100%;"
value="#{travelRequestBean.travelRequest.booking}" var="booking"
resizableColumns="true">
<p:column style="width:14%;">
<f:facet name="header">
<div align="left">Trip id</div>
</f:facet>
<h:inputText value="#{booking.tripId}" style="width:60%;">
</h:inputText>
</p:column>
<p:column style="width:14%;">
<f:facet name="header">
<div align="left">Base Fare</div>
</f:facet>
</p:dataTable>
Thanks in Advance
Regards,
Sriram