bug #9347 - adm
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@72689 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
70fd7bac3e
commit
b7a5eedc5c
|
@ -1,6 +1,7 @@
|
||||||
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
@ -12,99 +13,91 @@ import org.zkoss.zhtml.Messagebox;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zk.ui.event.EventListener;
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
import org.zkoss.zul.Intbox;
|
import org.zkoss.zul.Combobox;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Cliente;
|
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empleado;
|
import com.rjconsultores.ventaboletos.entidad.MensagemRecusa;
|
||||||
|
import com.rjconsultores.ventaboletos.service.CategoriaService;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderCliente;
|
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderEmpleado;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderEmpleado;
|
||||||
import com.trg.search.Filter;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderMensagemRecusa;
|
||||||
|
|
||||||
@Controller("busquedaEmpleadoController")
|
@Controller("BusquedaEmpleadoController")
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class BusquedaEmpleadoController extends MyGenericForwardComposer {
|
public class BusquedaEmpleadoController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private transient PagedListWrapper<Empleado> plwEmpleado;
|
private CategoriaService categoriaService;
|
||||||
private MyListbox empleadoList;
|
|
||||||
private Paging pagingEmpleado;
|
@Autowired
|
||||||
private MyTextbox txtNombEmpleado;
|
private transient PagedListWrapper<MensagemRecusa> plwMensagemRecusa;
|
||||||
private MyTextbox txtApelidoPaterno;
|
private MyListbox mensagemRecusaList;
|
||||||
private MyTextbox txtApelidoMaterno;
|
private Paging pagingMensagemRecusa;
|
||||||
private MyTextbox txtCveEmpleado;
|
|
||||||
|
private Combobox cbmCategoria;
|
||||||
|
private List<Categoria> lsCategoria;
|
||||||
|
private MyTextbox txtDescricao;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
mensagemRecusaList.setItemRenderer(new RenderMensagemRecusa());
|
||||||
|
lsCategoria = categoriaService.obtenerTodasCategoriasVisibles();
|
||||||
|
|
||||||
empleadoList.setItemRenderer(new RenderEmpleado());
|
|
||||||
empleadoList.addEventListener("onDoubleClick", new EventListener() {
|
mensagemRecusaList.addEventListener("onDoubleClick", new EventListener() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
Empleado e = (Empleado) empleadoList.getSelected();
|
MensagemRecusa m = (MensagemRecusa) mensagemRecusaList.getSelected();
|
||||||
verEmpleado(e);
|
verMensagemRecusa(m);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
refreshLista();
|
refreshLista(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$btnPesquisa(Event ev) {
|
public void onClick$btnPesquisa(Event ev) {
|
||||||
refreshLista();
|
refreshLista(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$btnRefresh(Event ev) {
|
public void onClick$btnRefresh(Event ev) {
|
||||||
refreshLista();
|
refreshLista(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$btnNovo(Event ev) {
|
public void onClick$btnNovo(Event ev) {
|
||||||
verEmpleado(new Empleado());
|
verMensagemRecusa(new MensagemRecusa());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void refreshLista() {
|
private void refreshLista(Boolean showmsg) {
|
||||||
HibernateSearchObject<Empleado> sistemaBusqueda =
|
HibernateSearchObject<MensagemRecusa> sistemaBusqueda = new HibernateSearchObject<MensagemRecusa>(MensagemRecusa.class, pagingMensagemRecusa.getPageSize());
|
||||||
new HibernateSearchObject<Empleado>(Empleado.class, pagingEmpleado.getPageSize());
|
|
||||||
|
|
||||||
String cveEmpleado = txtCveEmpleado.getValue();
|
String descricao = txtDescricao.getValue();
|
||||||
if (cveEmpleado != null && StringUtils.isNotBlank(cveEmpleado)) {
|
if (descricao != null && StringUtils.isNotBlank(descricao)) {
|
||||||
sistemaBusqueda.addFilterLike("cveEmpleado", "%".concat(cveEmpleado.trim().concat("%")));
|
sistemaBusqueda.addFilterLike("descricao", "%".concat(descricao.trim().concat("%")));
|
||||||
}
|
}
|
||||||
|
|
||||||
String nombempleado = txtNombEmpleado.getText();
|
Categoria categoria = cbmCategoria.getSelectedItem() != null ? (Categoria) cbmCategoria.getSelectedItem().getValue() : null;
|
||||||
if (nombempleado != null && StringUtils.isNotBlank(nombempleado)) {
|
if (categoria != null) {
|
||||||
sistemaBusqueda.addFilterLike("nombEmpleado", "%" + nombempleado.trim().concat("%"));
|
sistemaBusqueda.addFilterEqual("categoria", categoria);
|
||||||
}
|
|
||||||
|
|
||||||
String apellidopaterno = txtApelidoPaterno.getText();
|
|
||||||
if (apellidopaterno != null && StringUtils.isNotBlank(apellidopaterno)) {
|
|
||||||
sistemaBusqueda.addFilterLike("nombPaterno", "%" + apellidopaterno.trim().concat("%"));
|
|
||||||
}
|
|
||||||
|
|
||||||
String apellidomaterno = txtApelidoMaterno.getText();
|
|
||||||
if (apellidomaterno != null && StringUtils.isNotBlank(apellidomaterno)) {
|
|
||||||
sistemaBusqueda.addFilterLike("nombMaterno", "%" + apellidomaterno.trim().concat("%"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sistemaBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
sistemaBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||||
sistemaBusqueda.addSortAsc("nombEmpleado");
|
|
||||||
sistemaBusqueda.addFilterNotEqual("empleadoId", -1);
|
|
||||||
|
|
||||||
plwEmpleado.init(sistemaBusqueda, empleadoList, pagingEmpleado);
|
plwMensagemRecusa.init(sistemaBusqueda, mensagemRecusaList, pagingMensagemRecusa);
|
||||||
|
|
||||||
if (empleadoList.getData().length == 0) {
|
if (showmsg && mensagemRecusaList.getData().length == 0) {
|
||||||
try {
|
try {
|
||||||
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||||
Labels.getLabel("busquedaEmpleadoController.window.title"),
|
Labels.getLabel("busquedaMensagemRecusa.window.title"),
|
||||||
Messagebox.OK, Messagebox.INFORMATION);
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
} catch (InterruptedException ex) {
|
} catch (InterruptedException ex) {
|
||||||
}
|
}
|
||||||
|
@ -112,58 +105,49 @@ public class BusquedaEmpleadoController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
private void verEmpleado(Empleado e) {
|
private void verMensagemRecusa(MensagemRecusa m) {
|
||||||
if (e == null) {
|
if (m == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Map args = new HashMap();
|
Map args = new HashMap();
|
||||||
args.put("empleado", e);
|
args.put("mensagemRecusa", m);
|
||||||
args.put("empleadoList", empleadoList);
|
args.put("mensagemRecusaList", mensagemRecusaList);
|
||||||
|
|
||||||
openWindow("/gui/catalogos/editarEmpleado.zul",
|
openWindow("/gui/catalogos/editarMensagemRecusa.zul",
|
||||||
Labels.getLabel("editarEmpleadoController.window.title"), args, MODAL);
|
Labels.getLabel("editarMensagemRecusaController.window.title"), args, MODAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
public MyListbox getEmpleadoList() {
|
public MyListbox getMensagemRecusaList() {
|
||||||
return empleadoList;
|
return mensagemRecusaList;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEmpleadoList(MyListbox empleadoList) {
|
public void setMensagemRecusaList(MyListbox mensagemRecusaList) {
|
||||||
this.empleadoList = empleadoList;
|
this.mensagemRecusaList = mensagemRecusaList;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MyTextbox getTxtNombEmpleado() {
|
public Combobox getCbmCategoria() {
|
||||||
return txtNombEmpleado;
|
return cbmCategoria;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTxtNombEmpleado(MyTextbox txtNombEmpleado) {
|
public void setCbmCategoria(Combobox cbmCategoria) {
|
||||||
this.txtNombEmpleado = txtNombEmpleado;
|
this.cbmCategoria = cbmCategoria;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MyTextbox getTxtApelidoPaterno() {
|
public MyTextbox getTxtDescricao() {
|
||||||
return txtApelidoPaterno;
|
return txtDescricao;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTxtApelidoPaterno(MyTextbox txtApelidoPaterno) {
|
public void setTxtDescricao(MyTextbox txtDescricao) {
|
||||||
this.txtApelidoPaterno = txtApelidoPaterno;
|
this.txtDescricao = txtDescricao;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MyTextbox getTxtApelidoMaterno() {
|
public List<Categoria> getLsCategoria() {
|
||||||
return txtApelidoMaterno;
|
return lsCategoria;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTxtApelidoMaterno(MyTextbox txtApelidoMaterno) {
|
public void setLsCategoria(List<Categoria> lsCategoria) {
|
||||||
this.txtApelidoMaterno = txtApelidoMaterno;
|
this.lsCategoria = lsCategoria;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MyTextbox getTxtCveEmpleado() {
|
|
||||||
return txtCveEmpleado;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTxtCveEmpleado(MyTextbox txtCveEmpleado) {
|
|
||||||
this.txtCveEmpleado = txtCveEmpleado;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,152 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Scope;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zhtml.Messagebox;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
|
import org.zkoss.zul.Combobox;
|
||||||
|
import org.zkoss.zul.Paging;
|
||||||
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.MensagemRecusa;
|
||||||
|
import com.rjconsultores.ventaboletos.service.CategoriaService;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderMensagemRecusa;
|
||||||
|
|
||||||
|
@Controller("busquedaMensagemRecusaController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class BusquedaMensagemRecusaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private CategoriaService categoriaService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private transient PagedListWrapper<MensagemRecusa> plwMensagemRecusa;
|
||||||
|
private MyListbox mensagemRecusaList;
|
||||||
|
private Paging pagingMensagemRecusa;
|
||||||
|
|
||||||
|
private Combobox cbmCategoria;
|
||||||
|
private List<Categoria> lsCategoria;
|
||||||
|
private Textbox txtDescricao;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
mensagemRecusaList.setItemRenderer(new RenderMensagemRecusa());
|
||||||
|
lsCategoria = categoriaService.obtenerTodos();
|
||||||
|
|
||||||
|
mensagemRecusaList.addEventListener("onDoubleClick", new EventListener() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onEvent(Event event) throws Exception {
|
||||||
|
MensagemRecusa m = (MensagemRecusa) mensagemRecusaList.getSelected();
|
||||||
|
verMensagemRecusa(m);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
refreshLista(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisa(Event ev) {
|
||||||
|
refreshLista(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnRefresh(Event ev) {
|
||||||
|
refreshLista(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnNovo(Event ev) {
|
||||||
|
verMensagemRecusa(new MensagemRecusa());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void refreshLista(Boolean showmsg) {
|
||||||
|
HibernateSearchObject<MensagemRecusa> sistemaBusqueda = new HibernateSearchObject<MensagemRecusa>(MensagemRecusa.class, pagingMensagemRecusa.getPageSize());
|
||||||
|
|
||||||
|
String descricao = txtDescricao.getValue();
|
||||||
|
if (descricao != null && StringUtils.isNotBlank(descricao)) {
|
||||||
|
sistemaBusqueda.addFilterLike("descricao", "%".concat(descricao.trim().concat("%")));
|
||||||
|
}
|
||||||
|
|
||||||
|
Categoria categoria = cbmCategoria.getSelectedItem() != null ? (Categoria) cbmCategoria.getSelectedItem().getValue() : null;
|
||||||
|
if (categoria != null) {
|
||||||
|
sistemaBusqueda.addFilterEqual("categoria", categoria);
|
||||||
|
}
|
||||||
|
|
||||||
|
sistemaBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
|
||||||
|
plwMensagemRecusa.init(sistemaBusqueda, mensagemRecusaList, pagingMensagemRecusa);
|
||||||
|
|
||||||
|
if (showmsg && mensagemRecusaList.getData().length == 0) {
|
||||||
|
try {
|
||||||
|
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||||
|
Labels.getLabel("busquedaMensagemRecusa.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
} catch (InterruptedException ex) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
|
private void verMensagemRecusa(MensagemRecusa m) {
|
||||||
|
if (m == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Map args = new HashMap();
|
||||||
|
args.put("mensagemRecusa", m);
|
||||||
|
args.put("mensagemRecusaList", mensagemRecusaList);
|
||||||
|
args.put("busquedaMensagemRecusaController", this);
|
||||||
|
|
||||||
|
openWindow("/gui/catalogos/editarMensagemRecusa.zul",
|
||||||
|
Labels.getLabel("editarMensagemRecusaController.window.title"), args, MODAL);
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyListbox getMensagemRecusaList() {
|
||||||
|
return mensagemRecusaList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMensagemRecusaList(MyListbox mensagemRecusaList) {
|
||||||
|
this.mensagemRecusaList = mensagemRecusaList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Combobox getCbmCategoria() {
|
||||||
|
return cbmCategoria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCbmCategoria(Combobox cbmCategoria) {
|
||||||
|
this.cbmCategoria = cbmCategoria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Textbox getTxtDescricao() {
|
||||||
|
return txtDescricao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtDescricao(Textbox txtDescricao) {
|
||||||
|
this.txtDescricao = txtDescricao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Categoria> getLsCategoria() {
|
||||||
|
return lsCategoria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsCategoria(List<Categoria> lsCategoria) {
|
||||||
|
this.lsCategoria = lsCategoria;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,220 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
import org.zkoss.zul.Textbox;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Scope;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.Executions;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zul.Button;
|
||||||
|
import org.zkoss.zul.Combobox;
|
||||||
|
import org.zkoss.zul.Messagebox;
|
||||||
|
import org.zkoss.zul.Radio;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.MensagemRecusa;
|
||||||
|
import com.rjconsultores.ventaboletos.exception.BusinessException;
|
||||||
|
import com.rjconsultores.ventaboletos.service.CategoriaService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.MensagemRecusaService;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
|
||||||
|
@Controller("editarMensagemRecusaController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class EditarMensagemRecusaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
private static Logger log = Logger.getLogger(EditarMensagemRecusaController.class);
|
||||||
|
|
||||||
|
private MensagemRecusa mensagemRecusa;
|
||||||
|
private BusquedaMensagemRecusaController busquedaMensagemRecusaController;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private MensagemRecusaService mensagemRecusaService;
|
||||||
|
@Autowired
|
||||||
|
private CategoriaService categoriaService;
|
||||||
|
|
||||||
|
private Button btnApagar;
|
||||||
|
private Button btnSalvar;
|
||||||
|
private Button btnFechar;
|
||||||
|
|
||||||
|
private Radio radTipoIdoso;
|
||||||
|
private Radio radTipoJovem;
|
||||||
|
private Radio radPasseLivre;
|
||||||
|
|
||||||
|
private Combobox cmbTipoEmpleado;
|
||||||
|
private Textbox txtDescricao;
|
||||||
|
private MyListbox mensagemRecusaList;
|
||||||
|
|
||||||
|
private List<Categoria> lsCategoria;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
lsCategoria = categoriaService.obtenerTodos();
|
||||||
|
|
||||||
|
mensagemRecusa = (MensagemRecusa) Executions.getCurrent().getArg().get("mensagemRecusa");
|
||||||
|
selecionarRadio();
|
||||||
|
mensagemRecusaList = (MyListbox) Executions.getCurrent().getArg().get("mensagemRecusaList");
|
||||||
|
busquedaMensagemRecusaController = (BusquedaMensagemRecusaController) Executions.getCurrent().getArg().get("busquedaMensagemRecusaController");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void selecionarRadio() {
|
||||||
|
if (mensagemRecusa != null) {
|
||||||
|
switch (mensagemRecusa.getTipoRelatorio()) {
|
||||||
|
case 1:
|
||||||
|
radTipoIdoso.setSelected(true);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
radTipoJovem.setSelected(true);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
radPasseLivre.setSelected(true);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||||
|
cmbTipoEmpleado.getValue();
|
||||||
|
txtDescricao.getValue();
|
||||||
|
try {
|
||||||
|
mensagemRecusa.setActivo(true);
|
||||||
|
mensagemRecusa.setFecmodif(new Date());
|
||||||
|
mensagemRecusa.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||||
|
mensagemRecusa.setTipoRelatorio(getTipoRelatorio());
|
||||||
|
|
||||||
|
mensagemRecusaService.suscribirActualizar(mensagemRecusa);
|
||||||
|
Messagebox.show(Labels.getLabel("editarMensagemRecusaController.MSG.suscribirOK"),
|
||||||
|
Labels.getLabel("editarEmpleadoController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
busquedaMensagemRecusaController.refreshLista(false);
|
||||||
|
closeWindow();
|
||||||
|
} catch (BusinessException e) {
|
||||||
|
log.error(e);
|
||||||
|
Messagebox.show(Labels.getLabel("editarMensagemRecusaController.MSG.error"),
|
||||||
|
Labels.getLabel("editarEmpleadoController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private Short getTipoRelatorio() {
|
||||||
|
if (radTipoIdoso.isSelected()) {
|
||||||
|
return (short) 1;
|
||||||
|
} else if (radTipoJovem.isSelected()) {
|
||||||
|
return (short) 2;
|
||||||
|
} else {
|
||||||
|
return (short) 3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnApagar(Event ev) throws InterruptedException {
|
||||||
|
|
||||||
|
// int resp = Messagebox.show(
|
||||||
|
// Labels.getLabel("editarEmpleadoController.MSG.borrarPergunta"),
|
||||||
|
// Labels.getLabel("editarEmpleadoController.window.title"),
|
||||||
|
// Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
|
||||||
|
//
|
||||||
|
// if (resp == Messagebox.YES) {
|
||||||
|
// empleadoService.borrar(empleado);
|
||||||
|
//
|
||||||
|
// Messagebox.show(
|
||||||
|
// Labels.getLabel("editarEmpleadoController.MSG.borrarOK"),
|
||||||
|
// Labels.getLabel("editarEmpleadoController.window.title"),
|
||||||
|
// Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
//
|
||||||
|
// closeWindow();
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
|
||||||
|
public MensagemRecusa getMensagemRecusa() {
|
||||||
|
return mensagemRecusa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMensagemRecusa(MensagemRecusa mensagemRecusa) {
|
||||||
|
this.mensagemRecusa = mensagemRecusa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MensagemRecusaService getMensagemRecusaService() {
|
||||||
|
return mensagemRecusaService;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMensagemRecusaService(MensagemRecusaService mensagemRecusaService) {
|
||||||
|
this.mensagemRecusaService = mensagemRecusaService;
|
||||||
|
}
|
||||||
|
|
||||||
|
public CategoriaService getCategoriaService() {
|
||||||
|
return categoriaService;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCategoriaService(CategoriaService categoriaService) {
|
||||||
|
this.categoriaService = categoriaService;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Button getBtnApagar() {
|
||||||
|
return btnApagar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBtnApagar(Button btnApagar) {
|
||||||
|
this.btnApagar = btnApagar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Button getBtnSalvar() {
|
||||||
|
return btnSalvar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBtnSalvar(Button btnSalvar) {
|
||||||
|
this.btnSalvar = btnSalvar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Button getBtnFechar() {
|
||||||
|
return btnFechar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBtnFechar(Button btnFechar) {
|
||||||
|
this.btnFechar = btnFechar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Combobox getCmbTipoEmpleado() {
|
||||||
|
return cmbTipoEmpleado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCmbTipoEmpleado(Combobox cmbTipoEmpleado) {
|
||||||
|
this.cmbTipoEmpleado = cmbTipoEmpleado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Textbox getTxtDescricao() {
|
||||||
|
return txtDescricao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtDescricao(Textbox txtDescricao) {
|
||||||
|
this.txtDescricao = txtDescricao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyListbox getMensagemRecusaList() {
|
||||||
|
return mensagemRecusaList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMensagemRecusaList(MyListbox mensagemRecusaList) {
|
||||||
|
this.mensagemRecusaList = mensagemRecusaList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Categoria> getLsCategoria() {
|
||||||
|
return lsCategoria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsCategoria(List<Categoria> lsCategoria) {
|
||||||
|
this.lsCategoria = lsCategoria;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.catalogos;
|
||||||
|
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||||
|
|
||||||
|
public class ItemMenuMensagemRecusa extends DefaultItemMenuSistema {
|
||||||
|
|
||||||
|
public ItemMenuMensagemRecusa() {
|
||||||
|
super("indexController.mnimMensagemRecusa.label");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getClaveMenu() {
|
||||||
|
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.CATALOGO.MENU.MENSAGEMRECUSA";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void ejecutar() {
|
||||||
|
PantallaUtileria.openWindow("/gui/catalogos/busquedaMensagemRecusa.zul",
|
||||||
|
Labels.getLabel("busquedaMensagemRecusa.window.title"),
|
||||||
|
getArgs(), desktop);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.MensagemRecusa;
|
||||||
|
|
||||||
|
import org.zkoss.zul.Listcell;
|
||||||
|
import org.zkoss.zul.Listitem;
|
||||||
|
import org.zkoss.zul.ListitemRenderer;
|
||||||
|
|
||||||
|
|
||||||
|
public class RenderMensagemRecusa implements ListitemRenderer {
|
||||||
|
|
||||||
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
|
MensagemRecusa mensagem = (MensagemRecusa) o;
|
||||||
|
|
||||||
|
Listcell lc = new Listcell(mensagem.getMensagemRecusaId().toString());
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lc = new Listcell(mensagem.getCategoria().getDesccategoria());
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lc = new Listcell(mensagem.getDescricao());
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lstm.setAttribute("data", mensagem);
|
||||||
|
}
|
||||||
|
}
|
|
@ -459,8 +459,7 @@
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.RutaEmbarqueDesembarque</value>
|
<value>com.rjconsultores.ventaboletos.entidad.RutaEmbarqueDesembarque</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaCorridaEmbarqueDesembarque</value>
|
<value>com.rjconsultores.ventaboletos.entidad.EsquemaCorridaEmbarqueDesembarque</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.ContaMD</value>
|
<value>com.rjconsultores.ventaboletos.entidad.ContaMD</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaContaMD</value>
|
<value>com.rjconsultores.ventaboletos.entidad.PtovtaContaMD</value> <value>com.rjconsultores.ventaboletos.entidad.MensagemRecusa</value> </list>
|
||||||
</list>
|
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
<property name="hibernateProperties">
|
<property name="hibernateProperties">
|
||||||
|
|
|
@ -5868,6 +5868,19 @@ busquedaEmpleadoController.descCalle.label = Calle
|
||||||
busquedaEmpleadoController.codPostal.label = Cod Postal
|
busquedaEmpleadoController.codPostal.label = Cod Postal
|
||||||
busquedaEmpleadoController.nombempresa.label = Empresa
|
busquedaEmpleadoController.nombempresa.label = Empresa
|
||||||
|
|
||||||
|
#busquedaMensagemRecusa
|
||||||
|
indexController.mnimMensagemRecusa.label = Mensagem Recusa
|
||||||
|
busquedaMensagemRecusa.window.title = Mensagem Recusa
|
||||||
|
editarMensagemRecusaController.window.title = Editar Mensagem Recusa
|
||||||
|
busquedaMensagemRecusa.lblTipoRelatorio.label = Tipo de Relatório
|
||||||
|
busquedaMensagemRecusa.lblTipoRelatorio.TipoIdoso.label=Viagem do Idoso
|
||||||
|
busquedaMensagemRecusa.lblTipoRelatorio.TipoJovem.label=Viagem do Jovem
|
||||||
|
busquedaMensagemRecusa.lblTipoRelatorio.PasseLivre.label=Passe Livre
|
||||||
|
busquedaMensagemRecusa.lblDescricao.label = Descrição
|
||||||
|
busquedaMensagemRecusa.lblCategoria.label = Categoria
|
||||||
|
busquedaMensagemRecusa.lblMensagemRecusaId.label = ID
|
||||||
|
busquedaMensagemRecusa.lblTipoMensagem.label = Tipo Mensagem
|
||||||
|
|
||||||
# BusquedaConfigFeriado
|
# BusquedaConfigFeriado
|
||||||
busquedaConfigFeriadoController.window.title = Configuración de feriado
|
busquedaConfigFeriadoController.window.title = Configuración de feriado
|
||||||
busquedaConfigFeriadoController.btnRefresh.tooltiptext = Actualizar
|
busquedaConfigFeriadoController.btnRefresh.tooltiptext = Actualizar
|
||||||
|
|
|
@ -6154,6 +6154,21 @@ busquedaEmpleadoController.codPostal.label = Cod Postal
|
||||||
busquedaEmpleadoController.nombempresa.label = Empresa
|
busquedaEmpleadoController.nombempresa.label = Empresa
|
||||||
|
|
||||||
|
|
||||||
|
#busquedaMensagemRecusa
|
||||||
|
indexController.mnimMensagemRecusa.label = Mensagem Recusa
|
||||||
|
busquedaMensagemRecusa.window.title = Mensagem Recusa
|
||||||
|
editarMensagemRecusaController.window.title = Editar Mensagem Recusa
|
||||||
|
busquedaMensagemRecusa.lblDescricao.label = Descrição
|
||||||
|
busquedaMensagemRecusa.lblTipoRelatorio.label=Tipo de Relatório
|
||||||
|
busquedaMensagemRecusa.lblTipoRelatorio.TipoIdoso.label=Viagem do Idoso
|
||||||
|
busquedaMensagemRecusa.lblTipoRelatorio.TipoJovem.label=Viagem do Jovem
|
||||||
|
busquedaMensagemRecusa.lblTipoRelatorio.PasseLivre.label=Passe Livre
|
||||||
|
busquedaMensagemRecusa.lblCategoria.label = Categoria
|
||||||
|
busquedaMensagemRecusa.lblMensagemRecusaId.label = ID
|
||||||
|
busquedaMensagemRecusa.lblTipoMensagem.label = Tipo Mensagem
|
||||||
|
editarMensagemRecusaController.MSG.suscribirOK = Mensagem Recusa Registrada com Sucesso.
|
||||||
|
editarMensagemRecusaController.MSG.error = Erro ao salvar Mensagem Recusa.
|
||||||
|
|
||||||
# BusquedaConfigFeriado
|
# BusquedaConfigFeriado
|
||||||
busquedaConfigFeriadoController.window.title = Configuração de Feriado
|
busquedaConfigFeriadoController.window.title = Configuração de Feriado
|
||||||
busquedaConfigFeriadoController.btnRefresh.tooltiptext = Atualizar
|
busquedaConfigFeriadoController.btnRefresh.tooltiptext = Atualizar
|
||||||
|
|
|
@ -0,0 +1,71 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?page contentType="text/html;charset=UTF-8"?>
|
||||||
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||||
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winBusquedaMensagemRecusa"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winBusquedaMensagemRecusa"
|
||||||
|
title="${c:l('busquedaMensagemRecusa.window.title')}"
|
||||||
|
apply="${busquedaMensagemRecusaController}" contentStyle="overflow:auto"
|
||||||
|
height="500px" width="950px" border="normal">
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnRefresh" image="/gui/img/refresh.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('busquedaEmpleadoController.btnRefresh.tooltiptext')}" />
|
||||||
|
<separator orient="vertical" />
|
||||||
|
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
||||||
|
tooltiptext="${c:l('busquedaEmpleadoController.btnNovo.tooltiptext')}" />
|
||||||
|
<separator orient="vertical" />
|
||||||
|
<button id="btnCerrar" onClick="winBusquedaMensagemRecusa.detach()"
|
||||||
|
image="/gui/img/exit.png" width="35px"
|
||||||
|
tooltiptext="${c:l('busquedaEmpleadoController.btnCerrar.tooltiptext')}" />
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="15%" />
|
||||||
|
<column width="35%" />
|
||||||
|
<column width="15%" />
|
||||||
|
<column width="35%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('busquedaMensagemRecusa.lblDescricao.label')}" />
|
||||||
|
<textbox id="txtDescricao" width="90%"
|
||||||
|
maxlength="20" />
|
||||||
|
|
||||||
|
<label value="${c:l('busquedaMensagemRecusa.lblCategoria.label')}" />
|
||||||
|
<combobox id="cbmCategoria"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
mold="rounded" buttonVisible="true" width="95%"
|
||||||
|
model="@{winBusquedaMensagemRecusa$composer.lsCategoria}" />
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnPesquisa" image="/gui/img/find.png"
|
||||||
|
label="${c:l('busquedaEmpleadoController.btnPesquisa.label')}" />
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<paging id="pagingMensagemRecusa" pageSize="20" />
|
||||||
|
<listbox id="mensagemRecusaList"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
|
multiple="false">
|
||||||
|
<listhead sizable="true">
|
||||||
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('busquedaMensagemRecusa.lblMensagemRecusaId.label')}"
|
||||||
|
sort="auto(mensagemRecusaId)" />
|
||||||
|
|
||||||
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('busquedaMensagemRecusa.lblCategoria.label')}"
|
||||||
|
sort="auto(categoria.desccategoria)" />
|
||||||
|
|
||||||
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('busquedaMensagemRecusa.lblDescricao.label')}"
|
||||||
|
sort="auto(descricao)" />
|
||||||
|
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</window>
|
||||||
|
</zk>
|
|
@ -0,0 +1,67 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?page contentType="text/html;charset=UTF-8"?>
|
||||||
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||||
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarMensagemRecusa"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winEditarMensagemRecusa" border="normal"
|
||||||
|
apply="${editarMensagemRecusaController}" width="600px"
|
||||||
|
contentStyle="overflow:auto" xmlns:h="http://www.w3.org/1999/xhtml"
|
||||||
|
title="${c:l('editarMensagemRecusaController.window.title')}">
|
||||||
|
<toolbar>
|
||||||
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
|
<button id="btnApagar" height="20"
|
||||||
|
image="/gui/img/remove.png" width="35px"
|
||||||
|
tooltiptext="${c:l('editarEmpleadoController.btnApagar.tooltiptext')}" />
|
||||||
|
<button id="btnSalvar" height="20"
|
||||||
|
image="/gui/img/save.png" width="35px"
|
||||||
|
tooltiptext="${c:l('editarEmpleadoController.btnSalvar.tooltiptext')}" />
|
||||||
|
<button id="btnFechar" height="20"
|
||||||
|
image="/gui/img/exit.png" width="35px"
|
||||||
|
onClick="winEditarMensagemRecusa.detach()"
|
||||||
|
tooltiptext="${c:l('editarEmpleadoController.btnFechar.tooltiptext')}" />
|
||||||
|
</hbox>
|
||||||
|
</toolbar>
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="75%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('busquedaMensagemRecusa.lblCategoria.label')}" />
|
||||||
|
<combobox id="cmbTipoEmpleado" width="70%"
|
||||||
|
maxlength="60" mold="rounded" buttonVisible="true" constraint="no empty"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
model="@{winEditarMensagemRecusa$composer.lsCategoria}"
|
||||||
|
selectedItem="@{winEditarMensagemRecusa$composer.mensagemRecusa.categoria}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('busquedaMensagemRecusa.lblDescricao.label')}" />
|
||||||
|
<textbox id="txtDescricao" width="95%"
|
||||||
|
maxlength="250" constraint="no empty"
|
||||||
|
rows="5" cols="50"
|
||||||
|
value="@{winEditarMensagemRecusa$composer.mensagemRecusa.descricao}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('busquedaMensagemRecusa.lblTipoRelatorio.label')}" />
|
||||||
|
<radiogroup Id="indTipoRelatorio">
|
||||||
|
<radio id="radTipoIdoso" selected='true'
|
||||||
|
label="${c:l('busquedaMensagemRecusa.lblTipoRelatorio.TipoIdoso.label')}" />
|
||||||
|
<radio id="radTipoJovem"
|
||||||
|
label="${c:l('busquedaMensagemRecusa.lblTipoRelatorio.TipoJovem.label')}" />
|
||||||
|
<radio id="radPasseLivre"
|
||||||
|
label="${c:l('busquedaMensagemRecusa.lblTipoRelatorio.PasseLivre.label')}" />
|
||||||
|
</radiogroup>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</window>
|
||||||
|
</zk>
|
Loading…
Reference in New Issue