Adm - Tela de Busca de Agência

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@30926 d1611594-4594-4d17-8e1d-87c2c4800839
master
julio 2013-09-13 20:55:51 +00:00
parent 71498dc706
commit 6f4cd7e2fa
2 changed files with 31 additions and 31 deletions

View File

@ -12,40 +12,40 @@ import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
/**
*
*
* @author Administrador
*/
public class RenderPuntoVenta implements ListitemRenderer {
public void render(Listitem lstm, Object o) throws Exception {
PuntoVenta puntoVenta = (PuntoVenta) o;
public void render(Listitem lstm, Object o) throws Exception {
PuntoVenta puntoVenta = (PuntoVenta) o;
Listcell lc = new Listcell(puntoVenta.getPuntoventaId().toString());
lc.setParent(lstm);
Listcell lc = new Listcell(puntoVenta.getNumPuntoVenta().toString());
lc.setParent(lstm);
lc = new Listcell(puntoVenta.getNombpuntoventa());
lc.setParent(lstm);
lc = new Listcell(puntoVenta.getNombpuntoventa());
lc.setParent(lstm);
Empresa empresa = puntoVenta.getEmpresa();
if (empresa != null) {
lc = new Listcell(empresa.getNombempresa());
} else {
lc = new Listcell("");
}
lc.setParent(lstm);
Empresa empresa = puntoVenta.getEmpresa();
if (empresa != null) {
lc = new Listcell(empresa.getNombempresa());
} else {
lc = new Listcell("");
}
lc.setParent(lstm);
lc = new Listcell(puntoVenta.getDireccioncalle());
lc.setParent(lstm);
lc = new Listcell(puntoVenta.getDireccioncalle());
lc.setParent(lstm);
lc = new Listcell(puntoVenta.getDireccionnumero());
lc.setParent(lstm);
lc = new Listcell(puntoVenta.getDireccionnumero());
lc.setParent(lstm);
lc = new Listcell(puntoVenta.getNumtelefonouno());
lc.setParent(lstm);
lc = new Listcell(puntoVenta.getNumtelefonouno());
lc.setParent(lstm);
lc = new Listcell(puntoVenta.getNumtelefonodos());
lc.setParent(lstm);
lc = new Listcell(puntoVenta.getNumtelefonodos());
lc.setParent(lstm);
lstm.setAttribute("data", puntoVenta);
}
lstm.setAttribute("data", puntoVenta);
}
}

View File

@ -8,7 +8,7 @@
<window id="winBusquedaPuntoVenta"
title="${c:l('busquedaPuntoVentaController.window.title')}"
apply="${busquedaPuntoVentaController}" contentStyle="overflow:auto"
height="510px" width="950px" border="normal">
height="510px" width="960px" border="normal">
<toolbar>
<button id="btnRefresh" image="/gui/img/refresh.png"
width="35px"
@ -138,9 +138,9 @@
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false">
<listhead sizable="true">
<listheader image="/gui/img/create_doc.gif" width="55px"
label="${c:l('busquedaPuntoVentaController.lhId.label')}"
sort="auto(puntoventaId)" />
<listheader image="/gui/img/create_doc.gif" width="114px"
label="${c:l('busquedaPuntoVentaController.lhNumero.label')}"
sort="auto(numPuntoVenta)" />
<listheader id="lhDesc" image="/gui/img/create_doc.gif"
label="${c:l('busquedaPuntoVentaController.lhDesc.label')}"
sort="auto(nombpuntoventa)" width="200px" />
@ -152,13 +152,13 @@
sort="auto(direccioncalle)" width="200px" />
<listheader image="/gui/img/create_doc.gif"
label="${c:l('editarPuntoVentaController.lbNumero.value')}"
sort="auto(direccionnumero)" width="110px" />
sort="auto(direccionnumero)" width="95px" />
<listheader image="/gui/img/create_doc.gif"
label="${c:l('editarPuntoVentaController.lbTelefonoUno.value')}"
sort="auto(numtelefonouno)" width="110px" />
sort="auto(numtelefonouno)" width="100px" />
<listheader image="/gui/img/create_doc.gif"
label="${c:l('editarPuntoVentaController.lbTelefonoDos.value')}"
sort="auto(numtelefonodos)" width="110px" />
sort="auto(numtelefonodos)" width="100px" />
</listhead>
</listbox>
</window>