gleimar 2012-12-21 13:53:06 +00:00
parent c2c30b863f
commit 1edceb7a2f
5 changed files with 8 additions and 6 deletions

View File

@ -482,7 +482,7 @@ public class EditarConfiguracionCancelacionController extends MyGenericForwardCo
Messagebox.OK, Messagebox.EXCLAMATION);
}
} catch (Exception ex) {
log.error("Erro adicionar cargo : " + ex);
log.error("Erro adicionar cargo" ,ex);
Messagebox.show(
Labels.getLabel("MSG.Error"),
Labels.getLabel("editarCategoriaController.window.title"),

View File

@ -214,7 +214,7 @@ public class EditarEstacionController extends MyGenericForwardComposer {
EstacionSitef es = (EstacionSitef) estacionSitefList.getSelected();
estacionSitefList.removeItem(es);
estacionSitefList.removeSelectedItem();
if (es.getEstacionsitefId() != null){
es.setFecmodif(Calendar.getInstance().getTime());

View File

@ -47,7 +47,6 @@ public class MyComboboxParada extends Combobox {
@Override
public void onEvent(Event event) throws Exception {
System.out.println("onOK");
String strParada = MyComboboxParada.this.getText().toUpperCase();
if (strParada.length() < MyComboboxParada.minLength) {
return;
@ -82,7 +81,6 @@ public class MyComboboxParada extends Combobox {
@Override
public void onEvent(Event event) throws Exception {
System.out.println("onChanging");
InputEvent ev = (InputEvent) event;
String strParada = ev.getValue();
if (strParada.length() < 2) {

View File

@ -68,7 +68,11 @@ public class MyListbox extends Listbox {
}
}
public Object removeItem(Object item) {
public void removeItem(Object item) {
this.modelList.remove(item);
}
public Object removeSelectedItem() {
int index = this.getSelectedIndex();
if (index != -1) {

View File

@ -7,7 +7,7 @@
# <controler>. <id>. <propiedade> = XXX
#Versao do VentaBoleto:
versao = ADM_20121220_1RC92
versao = ADM_20121221_1RC93
# MSG Defaut:
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100