salvar null no campo tiempo [bug#5755]
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@39044 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e84d2c3100
commit
66cb6b564e
|
@ -4,15 +4,9 @@
|
|||
*/
|
||||
package com.rjconsultores.ventaboletos.web.gui.controladores.esquemaoperacional;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.DiagramaAutobus;
|
||||
import com.rjconsultores.ventaboletos.entidad.RolOperativo;
|
||||
import com.rjconsultores.ventaboletos.service.DiagramaAutobusService;
|
||||
import com.rjconsultores.ventaboletos.service.RolOperativoService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.RegistroConDependenciaException;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
import java.util.Calendar;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
|
@ -28,6 +22,14 @@ import org.zkoss.zul.Messagebox;
|
|||
import org.zkoss.zul.Textbox;
|
||||
import org.zkoss.zul.Timebox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.DiagramaAutobus;
|
||||
import com.rjconsultores.ventaboletos.entidad.RolOperativo;
|
||||
import com.rjconsultores.ventaboletos.service.DiagramaAutobusService;
|
||||
import com.rjconsultores.ventaboletos.service.RolOperativoService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.RegistroConDependenciaException;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Shiro
|
||||
|
|
|
@ -27,7 +27,12 @@ public class RenderRolOperativo implements ListitemRenderer {
|
|||
lc = new Listcell(rol.getDescroloperativo());
|
||||
lc.setParent(lstm);
|
||||
|
||||
if (rol.getTiempoprevio() != null){
|
||||
lc = new Listcell(sf.format(rol.getTiempoprevio()));
|
||||
}else{
|
||||
lc = new Listcell("");
|
||||
}
|
||||
|
||||
lc.setParent(lstm);
|
||||
|
||||
lc = new Listcell((rol.getDiagramaAutobus() == null) ? "" : rol.getDiagramaAutobus().getDescDiagrama());
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
</row>
|
||||
<row>
|
||||
<label id="lblTimepre" value="${c:l('editarRolOperativoController.lblTimepre.value')}"/>
|
||||
<timebox id="timeprevio" cols="14" format="HH:mm" mold="rounded" constraint="no empty"
|
||||
<timebox id="timeprevio" cols="14" format="HH:mm" mold="rounded"
|
||||
value="@{winEditarRolOperativo$composer.rolOperativo.tiempoprevio}"/>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue