bug #7788
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@65156 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0c545f6eff
commit
0eb8df5f5d
|
@ -23,6 +23,8 @@ import java.util.Date;
|
|||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Observable;
|
||||
import java.util.Observer;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipOutputStream;
|
||||
|
||||
|
@ -145,6 +147,7 @@ import com.rjconsultores.ws.totvs.service.GeradorTitulosIntegracion;
|
|||
import com.rjconsultores.ws.totvs.service.GerenciadorEnvioTitulosWS;
|
||||
import com.rjconsultores.ws.utileria.RetornoTotvs.TipoRetorno;
|
||||
import com.rjconsultores.wsag.GeradorTitulosAG;
|
||||
import com.rjconsultores.wsag.WSAGLog;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -327,6 +330,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
private Textbox txtNomeBanco;
|
||||
private Textbox numtelefonodos;
|
||||
private Textbox numtelefonouno;
|
||||
private Textbox logResultAG;
|
||||
private Checkbox checkInformatizada;
|
||||
private Checkbox checkBilheteInfo;
|
||||
private Checkbox checkVendaInternet;
|
||||
|
@ -1041,8 +1045,21 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
}
|
||||
|
||||
public void onClick$btnEnviaAG(Event ev) throws InterruptedException {
|
||||
Connection myConn = null;
|
||||
Connection myConn = null;
|
||||
Observer wsevents = new Observer() {
|
||||
|
||||
@Override
|
||||
public void update(Observable o, Object arg) {
|
||||
logResultAG.setText(((WSAGLog)o).toString());
|
||||
}
|
||||
};
|
||||
|
||||
try {
|
||||
|
||||
WSAGLog wslog = WSAGLog.getInstance();
|
||||
wslog.clear();
|
||||
wslog.addObserver(wsevents);
|
||||
|
||||
myConn = dataSource.getConnection();
|
||||
Date dateInicio = fecInicioAG.getValue();
|
||||
|
||||
|
|
Loading…
Reference in New Issue