erro combo não selecionado
parent
3081b3f0a1
commit
98fad8ab0e
|
@ -10,6 +10,8 @@ import java.util.Map;
|
|||
import javax.sql.DataSource;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
@ -38,6 +40,7 @@ import com.rjconsultores.ventaboletos.service.AidfService;
|
|||
import com.rjconsultores.ventaboletos.service.DetAbastoBoletoService;
|
||||
import com.rjconsultores.ventaboletos.service.EstadoService;
|
||||
import com.rjconsultores.ventaboletos.service.MovimentacionBilhetesService;
|
||||
import com.rjconsultores.ventaboletos.service.impl.CorridaServiceImpl;
|
||||
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
||||
import com.rjconsultores.ventaboletos.utilerias.CustomEnum;
|
||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||
|
@ -51,6 +54,8 @@ public class MovimentacionBilhetesController extends MyGenericForwardComposer {
|
|||
|
||||
private static final long serialVersionUID = -5047032264890781980L;
|
||||
|
||||
private static final Logger log = LogManager.getLogger(MovimentacionBilhetesController.class);
|
||||
|
||||
@Autowired
|
||||
private MovimentacionBilhetesService movimentacionBilhetesService;
|
||||
|
||||
|
@ -111,6 +116,7 @@ public class MovimentacionBilhetesController extends MyGenericForwardComposer {
|
|||
cmbAidf.getValue();
|
||||
cmbPuntoVentaDestino.getValue();
|
||||
cmbPuntoVentaOrigem.getValue();
|
||||
cmbTipoMovimentacion.getValue();
|
||||
|
||||
try{
|
||||
|
||||
|
@ -216,6 +222,8 @@ public class MovimentacionBilhetesController extends MyGenericForwardComposer {
|
|||
Labels.getLabel(TITULO),
|
||||
Messagebox.OK, Messagebox.ERROR);
|
||||
} catch (Exception ex) {
|
||||
log.error(String.format("Erro salvar movimentacao. %s",TITULO),ex);
|
||||
|
||||
Messagebox.show(
|
||||
Labels.getLabel("MSG.Error"),
|
||||
Labels.getLabel(TITULO),
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
value="${c:l('winMovimentacionBilhetes.tipoMovimentacion.label')}" />
|
||||
<combobox id="cmbTipoMovimentacion"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
width="90%" mold="rounded" buttonVisible="true"
|
||||
width="90%" mold="rounded" buttonVisible="true" constraint="no empty"
|
||||
model="@{winMovimentacionBilhetes$composer.lsTipoMovimentacion}"/>
|
||||
</row>
|
||||
|
||||
|
|
Loading…
Reference in New Issue