no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@185 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Frederico Palma 21 years ago
parent 80ceb82ad4
commit 70023e9882

@ -90,19 +90,19 @@ public class SIPRPDataLoader implements CompanyDataLoader
Singleton.setInstance( SingletonConstants.WEB_DB_NAME, "siprp" ); Singleton.setInstance( SingletonConstants.WEB_DB_NAME, "siprp" );
Singleton.setInstance( SingletonConstants.WEB_DRIVER_NAME, "org.postgresql.Driver" ); Singleton.setInstance( SingletonConstants.WEB_DRIVER_NAME, "org.postgresql.Driver" );
// Singleton.setInstance( SingletonConstants.LOCAL_USER, "root" ); Singleton.setInstance( SingletonConstants.LOCAL_USER, "root" );
// Singleton.setInstance( SingletonConstants.LOCAL_PASSWORD, "UNIXLuvsU" ); Singleton.setInstance( SingletonConstants.LOCAL_PASSWORD, "UNIXLuvsU" );
// Singleton.setInstance( SingletonConstants.LOCAL_URL_PREFIX, "jdbc:mysql://" ); Singleton.setInstance( SingletonConstants.LOCAL_URL_PREFIX, "jdbc:mysql://" );
// Singleton.setInstance( SingletonConstants.LOCAL_URL, "localhost" ); Singleton.setInstance( SingletonConstants.LOCAL_URL, "localhost" );
// Singleton.setInstance( SingletonConstants.LOCAL_DB_NAME, "siprp" ); Singleton.setInstance( SingletonConstants.LOCAL_DB_NAME, "siprp" );
// Singleton.setInstance( SingletonConstants.LOCAL_DRIVER_NAME, "com.mysql.jdbc.Driver" ); Singleton.setInstance( SingletonConstants.LOCAL_DRIVER_NAME, "com.mysql.jdbc.Driver" );
Singleton.setInstance( SingletonConstants.LOCAL_USER, "postgres" ); // Singleton.setInstance( SingletonConstants.LOCAL_USER, "postgres" );
Singleton.setInstance( SingletonConstants.LOCAL_PASSWORD, "Typein" ); // Singleton.setInstance( SingletonConstants.LOCAL_PASSWORD, "Typein" );
Singleton.setInstance( SingletonConstants.LOCAL_URL_PREFIX, "jdbc:postgresql://" ); // Singleton.setInstance( SingletonConstants.LOCAL_URL_PREFIX, "jdbc:postgresql://" );
Singleton.setInstance( SingletonConstants.LOCAL_URL, "localhost:5432" ); // Singleton.setInstance( SingletonConstants.LOCAL_URL, "localhost:5432" );
Singleton.setInstance( SingletonConstants.LOCAL_DB_NAME, "shst" ); // Singleton.setInstance( SingletonConstants.LOCAL_DB_NAME, "siprp" );
Singleton.setInstance( SingletonConstants.LOCAL_DRIVER_NAME, "org.postgresql.Driver" ); // Singleton.setInstance( SingletonConstants.LOCAL_DRIVER_NAME, "org.postgresql.Driver" );
} }
} }

@ -157,21 +157,21 @@ public class FichaWindow extends TabbedWindow
"Apagar Fichas Anteriores", null, "Apagar Fichas Anteriores", null,
0, false ); 0, false );
registerAction( new ActionHandler(){ // registerAction( new ActionHandler(){
public void execute() // public void execute()
{ // {
excel(); // excel();
} // }
//
public boolean activate( boolean newAction, boolean editAction, // public boolean activate( boolean newAction, boolean editAction,
boolean cancelAction, boolean saveAction, // boolean cancelAction, boolean saveAction,
boolean deleteAction, boolean selectAction ) // boolean deleteAction, boolean selectAction )
{ // {
return saveAction; // return saveAction;
} // }
}, "Importar", // }, "Importar",
"Importar de Excel", "excel", // "Importar de Excel", "excel",
0, true ); // 0, true );
} }
public boolean save( int index ) public boolean save( int index )
@ -295,7 +295,7 @@ public class FichaWindow extends TabbedWindow
// { // {
// search = new SearchDialog( fdpProvider, null, true, null, true ); // search = new SearchDialog( fdpProvider, null, true, null, true );
// } // }
search = new SearchDialog( fdpProvider, null, true, null, true ); search = new SearchDialog( fdpProvider, null, false, null, true );
empresaID = ( Integer )search.getSelected(); empresaID = ( Integer )search.getSelected();
if( empresaID == null ) if( empresaID == null )
@ -332,7 +332,7 @@ public class FichaWindow extends TabbedWindow
// { // {
// search = new SearchDialog( fdpProvider, null, true, null, true ); // search = new SearchDialog( fdpProvider, null, true, null, true );
// } // }
search = new SearchDialog( fdpProvider, null, true, null, true ); search = new SearchDialog( fdpProvider, null, false, null, true );
estabelecimentoID = ( Integer )search.getSelected(); estabelecimentoID = ( Integer )search.getSelected();
if( estabelecimentoID == null ) if( estabelecimentoID == null )
@ -351,7 +351,7 @@ public class FichaWindow extends TabbedWindow
fdpProvider.setSearch( FichaDataProvider.SEARCH_TRABALHADORES ); fdpProvider.setSearch( FichaDataProvider.SEARCH_TRABALHADORES );
fdpProvider.setSearchID( FichaDataProvider.SEARCH_ESTABELECIMENTOS, estabelecimentoID.intValue() ); fdpProvider.setSearchID( FichaDataProvider.SEARCH_ESTABELECIMENTOS, estabelecimentoID.intValue() );
search = new SearchDialog( fdpProvider, null, true, null, true ); search = new SearchDialog( fdpProvider, null, false, null, true );
trabalhadorID = ( Integer )search.getSelected(); trabalhadorID = ( Integer )search.getSelected();
if( trabalhadorID == null ) if( trabalhadorID == null )

Loading…
Cancel
Save