AdmMono/VentaBoletosAdm/web/gui/seguridad/editarPerfil.zul

157 lines
5.7 KiB
XML

<?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="winEditarPerfil"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk>
<window id="winEditarPerfil" border="normal"
apply="${editarPerfilController}" width="800px" height="520px"
contentStyle="overflow:auto"
title="${c:l('editarPerfilController.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('editarPerfilController.btnApagar.tooltiptext')}" />
<button id="btnSalvar" height="20"
image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('editarPerfilController.btnSalvar.tooltiptext')}" />
<button id="btnFechar" height="20"
image="/gui/img/exit.png" width="35px"
onClick="winEditarPerfil.detach()"
tooltiptext="${c:l('editarPerfilController.btnFechar.tooltiptext')}" />
<separator orient="vertical" />
<button id="btnCopiar" height="20"
image="/gui/img/copiar.png" width="35px"
tooltiptext="${c:l('editarPerfilController.btnCopiar.tooltiptext')}" />
</hbox>
</toolbar>
<grid>
<columns>
<column width="20%" />
<column width="80%" />
</columns>
<rows>
<row>
<label id="lbNome"
value="${c:l('editarPerfilController.lbNome.value')}" />
<textbox id="txtDescPerfil" constraint="no empty"
width="99%" maxlength="20"
value="@{winEditarPerfil$composer.perfil.descperfil}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<label
value="${c:l('editarPerfilController.lhPermiso.label')}" />
<bandbox id="bbPesquisaLinha" width="100%"
mold="rounded" readonly="true">
<bandpopup>
<vbox>
<hbox>
<textbox
id="txtPalavraPesquisaPermissao" />
<button id="btnPesquisaPermissao"
image="/gui/img/find.png"
label="${c:l('relatorioLinhasHorarioController.btnPesquisa.label')}" />
<button id="btnLimparLinha"
image="/gui/img/eraser.png"
label="${c:l('relatorioLinhasHorarioController.btnLimpar.label')}" />
</hbox>
<listbox id="permissaoSelecionadaList"
mold="paging"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false" height="60%" width="710px">
<listhead>
<listheader
label="${c:l('editarPerfilController.lhPermiso.label')}"
width="65%" />
<listheader
label="Permissao"
width="29%" />
<listheader align="center" label=" "
width="6%" />
</listhead>
</listbox>
<paging id="pagingLinha" pageSize="10" />
</vbox>
</bandpopup>
</bandbox>
</row>
<row>
<cell colspan="4">
<borderlayout height="140px" width="100%">
<center border="0">
<listbox id="permissoListSelList"
mold="paging"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="true" height="50%" width="100%">
<listhead>
<listheader id="lhPermisoAux"
image="/gui/img/create_doc.gif"
label="${c:l('editarPerfilController.lhPermiso.label')}"
sort="auto(funcionSistema.nombfuncion)" width="60%" />
<listheader align="center"
image="/gui/img/create_doc.gif"
label="${c:l('editarPerfilController.lhLectura.label')}"
width="17%" />
<listheader align="center"
image="/gui/img/create_doc.gif"
label="${c:l('editarPerfilController.lhEscritura.label')}"
width="17%" />
<listheader align="center" width="10%" />
</listhead>
</listbox>
</center>
</borderlayout>
</cell>
</row>
</rows>
</grid>
<toolbar>
<button id="btnAdicionarPermiso" height="20"
image="/gui/img/add.png" width="35px"
tooltiptext="${c:l('editarPerfilController.btnAddPermiso.tooltiptext')}" />
<button id="btnRemoverPermiso" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarPerfilController.btnBorrarPermiso.tooltiptext')}" />
</toolbar>
<toolbar>
<label id="lbFiltro"
value="${c:l('editarPerfilController.lbFiltro.value')}" width="80px" height="20"/>
<textbox id="txtFiltro" width="200px" maxlength="20"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
<button id="btnAplicarFiltro" height="20"
image="/gui/img/find.png" width="35px"
tooltiptext="${c:l('editarPerfilController.btnFiltrar.tooltiptext')}" />
<button id="btnRemoverFiltro" height="20"
image="/gui/img/eraser.png" width="35px"
tooltiptext="${c:l('editarPerfilController.btnRemoverFiltro.tooltiptext')}" />
</toolbar>
<paging id="pagingPermiso"
use="com.rjconsultores.ventaboletos.web.utilerias.MyPaging" />
<listbox id="permisoList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
multiple="false">
<listhead sizable="true">
<listheader id="lhPermiso"
image="/gui/img/create_doc.gif"
label="${c:l('editarPerfilController.lhPermiso.label')}"
sort="auto(funcionSistema.nombfuncion)" width="70%" />
<listheader align="center" image="/gui/img/create_doc.gif"
label="${c:l('editarPerfilController.lhLectura.label')}"
width="15%" />
<listheader align="center" image="/gui/img/create_doc.gif"
label="${c:l('editarPerfilController.lhEscritura.label')}"
width="15%" />
</listhead>
</listbox>
</window>
</zk>