fixes bug#6402
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@45299 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
372f6d2329
commit
a230e1c7db
|
@ -175,17 +175,7 @@ public class EditarDetDiagramaAutobusController extends MyGenericForwardComposer
|
||||||
List<DetDiagramaAutobus> lsDetDiagramaAutobus = diagramaAutobus.getDetDiagramaAutobusList();
|
List<DetDiagramaAutobus> lsDetDiagramaAutobus = diagramaAutobus.getDetDiagramaAutobusList();
|
||||||
Boolean existeAsiento = Boolean.FALSE;
|
Boolean existeAsiento = Boolean.FALSE;
|
||||||
String novoAsiento = (noEsAsiento(cmbTipo.getSelectedItem().getValue().toString()) ? cmbTipo.getSelectedItem().getValue().toString() : txtAsiento.getValue().toString());// si
|
String novoAsiento = (noEsAsiento(cmbTipo.getSelectedItem().getValue().toString()) ? cmbTipo.getSelectedItem().getValue().toString() : txtAsiento.getValue().toString());// si
|
||||||
// es
|
// combobox
|
||||||
// asiento,
|
|
||||||
// saco
|
|
||||||
// el
|
|
||||||
// numero.
|
|
||||||
// Sino,
|
|
||||||
// saco
|
|
||||||
// la
|
|
||||||
// descripción
|
|
||||||
// del
|
|
||||||
// combobox
|
|
||||||
Boolean temLetraNovoAsiento = novoAsiento.matches("^[a-zA-Z]+$");
|
Boolean temLetraNovoAsiento = novoAsiento.matches("^[a-zA-Z]+$");
|
||||||
if (!temLetraNovoAsiento) {
|
if (!temLetraNovoAsiento) {
|
||||||
for (DetDiagramaAutobus dda : lsDetDiagramaAutobus) {
|
for (DetDiagramaAutobus dda : lsDetDiagramaAutobus) {
|
||||||
|
|
Loading…
Reference in New Issue