public void setearCmbShort(Maestro dtoM) { vistaMaestro vista = (vistaMaestro) this.getSession().getVista(); if (dtoM.getDtomaestro() == null) { // TODO this.cargarCmbShort(vista.getCmbshrnivel(), vista.getCmbdtomaestro()); this.cargarCmbShort(vista.getCmbshrpos_rel(), vista.getCmbdtomaestro()); } else { opcionListaCombo opcion = new opcionListaCombo(dtoM.getIntpos_rel(), "Pos: " + dtoM.getIntpos_rel()); vista.getCmbshrpos_rel().setSelectedItem(opcion); } }