Conclusão mantis 6967
Filtro de Numero da linha fixes bug 6967 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@51592 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
2bec6c46c6
commit
f84ad13b32
|
@ -64,6 +64,7 @@ public class BusquedaCatalogoDeRutaController extends MyGenericForwardComposer {
|
||||||
private MyListbox rutaList;
|
private MyListbox rutaList;
|
||||||
private Paging pagingRuta;
|
private Paging pagingRuta;
|
||||||
private Textbox txtNombre;
|
private Textbox txtNombre;
|
||||||
|
private Textbox txtNumRuta;
|
||||||
private Intbox txtId;
|
private Intbox txtId;
|
||||||
private Combobox cmbClaseServicio;
|
private Combobox cmbClaseServicio;
|
||||||
private Combobox cmbOrgaoConcedente;
|
private Combobox cmbOrgaoConcedente;
|
||||||
|
@ -155,6 +156,10 @@ public class BusquedaCatalogoDeRutaController extends MyGenericForwardComposer {
|
||||||
if (txtId.getValue() != null) {
|
if (txtId.getValue() != null) {
|
||||||
rutaBusqueda.addFilterEqual("rutaId", txtId.getValue());
|
rutaBusqueda.addFilterEqual("rutaId", txtId.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(txtNumRuta.getValue() != null && !txtNumRuta.getValue().isEmpty()) {
|
||||||
|
rutaBusqueda.addFilterEqual("numRuta", txtNumRuta.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
rutaBusqueda.addFilterLike("descruta", "%" + txtNombre.getText().trim().concat("%"));
|
rutaBusqueda.addFilterLike("descruta", "%" + txtNombre.getText().trim().concat("%"));
|
||||||
|
|
||||||
|
@ -200,4 +205,5 @@ public class BusquedaCatalogoDeRutaController extends MyGenericForwardComposer {
|
||||||
public void onClick$btnNovo(Event ev) {
|
public void onClick$btnNovo(Event ev) {
|
||||||
verRuta(new Ruta());
|
verRuta(new Ruta());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
}
|
|
@ -72,6 +72,10 @@
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
mold="rounded" buttonVisible="true" width="95%"
|
mold="rounded" buttonVisible="true" width="95%"
|
||||||
model="@{winBusquedaCatalogoDeRutas$composer.lsEmpresa}" />
|
model="@{winBusquedaCatalogoDeRutas$composer.lsEmpresa}" />
|
||||||
|
|
||||||
|
<label value="${c:l('editarCatalogoDeRutaController.lblNumRuta.value')}" />
|
||||||
|
<textbox id="txtNumRuta" width="95%" maxlength="30"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
Loading…
Reference in New Issue