git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@30982 d1611594-4594-4d17-8e1d-87c2c4800839
parent
c2adf18330
commit
234acbf14c
|
@ -12,7 +12,6 @@ import org.zkoss.zk.ui.Component;
|
|||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zul.Combobox;
|
||||
import org.zkoss.zul.Messagebox;
|
||||
import org.zkoss.zul.Paging;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||
import com.rjconsultores.ventaboletos.service.ConexionService;
|
||||
|
@ -28,10 +27,10 @@ import com.rjconsultores.ventaboletos.web.utilerias.render.RenderConexion;
|
|||
@Scope("prototype")
|
||||
public class BusquedaConexionController extends MyGenericForwardComposer {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@Autowired
|
||||
private ConexionService conexionService;
|
||||
private MyListbox conexionesList;
|
||||
private Paging pagingConexiones;
|
||||
private Combobox cmbParadaOrigem;
|
||||
private Combobox cmbParadaDestino;
|
||||
|
||||
|
@ -62,6 +61,6 @@ public class BusquedaConexionController extends MyGenericForwardComposer {
|
|||
}
|
||||
|
||||
private void refreshLista() {
|
||||
conexionesList.setData(conexionService.buscarConexiones( ((Parada) cmbParadaOrigem.getSelectedItem().getValue()).getParadaId(),((Parada) cmbParadaDestino.getSelectedItem().getValue()).getParadaId()));
|
||||
conexionesList.setData(conexionService.buscarConexiones(((Parada) cmbParadaOrigem.getSelectedItem().getValue()).getParadaId(), ((Parada) cmbParadaDestino.getSelectedItem().getValue()).getParadaId()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue