how use required true input or any fields
Posted: 03 Feb 2019, 14:57
the intent will use the attribute " required true "
and does not work does not generate
a message and continues to the controller.
<p:inputNumber id="txtValorApertura" value="#{maeCajaController.cajaAbierta.valorApertura}" required="true"
placeholder="Valor Inicial Caja"
>
or
<p:selectOneMenu id="txtTipoGasto" value="#{maeCajaController.tipoGastoView}" filter="true"
filterMatchMode="contains" style="margin-bottom:10px;" placeholder="Tipo Gasto">
<f:selectItem itemLabel="- Seleccione ingreso o egreso-" itemValue="" />
<f:selectItems value="#{maeCajaController.listaGastos}" var="suc"
not working
and does not work does not generate
a message and continues to the controller.
<p:inputNumber id="txtValorApertura" value="#{maeCajaController.cajaAbierta.valorApertura}" required="true"
placeholder="Valor Inicial Caja"
>
or
<p:selectOneMenu id="txtTipoGasto" value="#{maeCajaController.tipoGastoView}" filter="true"
filterMatchMode="contains" style="margin-bottom:10px;" placeholder="Tipo Gasto">
<f:selectItem itemLabel="- Seleccione ingreso o egreso-" itemValue="" />
<f:selectItems value="#{maeCajaController.listaGastos}" var="suc"
not working