Processing...

Suggested case list:

Using timer to refresh a grid

383guest172.69.33.12125nk0uiMay 7, 2020 7:23:47 AMlink

user model to move item to another listbox

120guest162.158.193.148d0n3krApr 2, 2020 5:28:28 AMlink

Disabled list item row passed to VM-1981

296fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:44 PMlink

Disabled list item row passed to VM-1981

295fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:16 PMlink

Disabled list item row passed to VM-1981

294fatih123160.83.36.13225nk0uiFeb 13, 2018 3:30:44 PMlink

grid sample with ListModel/RowRenderer

816guest80.82.2.1312vah9ajFeb 21, 2017 11:42:21 AMlink

grid sample with ListModel/RowRenderer

809guest175.98.113.1622vah9ajJan 26, 2017 9:19:33 AMlink

grid sample with ListModel/RowRenderer

196guest79.185.142.402vah9ajApr 26, 2014 10:53:57 PMlink

grid sample with ListModel/RowRenderer

195guest79.185.142.402vah9ajApr 26, 2014 10:53:54 PMlink

grid sample with ListModel/RowRenderer

194guest79.185.142.402vah9ajApr 26, 2014 10:53:51 PMlink

grid sample with ListModel/RowRenderer

193guest79.185.142.402vah9ajApr 26, 2014 10:53:48 PMlink

grid sample with ListModel/RowRenderer

192guest79.185.142.402vah9ajApr 26, 2014 10:53:44 PMlink

grid sample with ListModel/RowRenderer

191guest79.185.142.402vah9ajApr 26, 2014 10:53:40 PMlink

Hierarchy table without using ZK PE/EE

1aaknai151.28.135.2131s871daJul 29, 2013 11:02:46 PMlink

grid sample with ListModel/RowRenderer

128aaknai151.28.135.2132vah9ajJul 29, 2013 7:20:00 PMlink

user model to move item to another listbox

1TonyQ114.25.109.94d0n3krApr 21, 2012 10:43:27 AMlink

Using timer to refresh a grid

1TonyQ220.133.44.3725nk0uiFeb 17, 2012 3:17:34 AMlink

Fire a event from child iframe

1TonyQ220.133.44.372eupjotFeb 3, 2012 5:04:52 AMlink

Textbox input restriction sample

1TonyQ72.21.245.2431b3nlr0Dec 20, 2011 10:09:10 AMlink

Test web core taglib in ZUL

1TonyQ198.203.175.175ofqkemDec 17, 2011 3:36:08 AMlink

Latest 10 Fiddles :

constraint binding textbox

3guest172.68.151.16220peldaDec 5, 2025 5:08:19 PMlink

Another new ZK fiddle

2guest172.68.151.16320peldaDec 5, 2025 5:07:51 PMlink

Another new ZK fiddle

1guest172.68.151.16220peldaDec 5, 2025 5:07:32 PMlink

Another new ZK fiddle

1peggypeng172.71.154.99364f4neDec 5, 2025 9:24:31 AMlink

tooltip example

2guest104.22.23.13rc1ntoDec 4, 2025 2:23:45 PMlink

Another new ZK fiddle

1guest172.69.134.2277t7602Dec 4, 2025 1:40:46 PMlink

Another new ZK fiddle

1peggypeng104.22.17.1802df6e3oDec 4, 2025 8:41:29 AMlink

onClose

1peggypeng172.68.87.248j8kd8aDec 3, 2025 4:10:26 AMlink

Another new ZK fiddle

1peggypeng172.69.134.2271rm7f4eNov 26, 2025 3:31:24 AMlink

ZK-5912-Suggestion

2rebeccalai104.22.20.1442qrmiiuNov 26, 2025 2:07:15 AMlink

Operacion

6Edison108.162.210.254oh34p7Jul 15, 2020 6:32:10 PMlink

resources

index.zulzul<?xml version="1.0" encoding="UTF-8"?> <?link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"?> <?link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" id="awesome-css"?> <?script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"?> <?script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"?> <zk xmlns="http://www.zkoss.org/2005/zul" xmlns:x="native"> <window > <!--viewModel="@id('vm')@init('modelo.comercial.trans.operacionCarteraVM')"--> <groupbox id="groupBoxI" width="100%" mold="3d" open="false"> <caption label="" iconSclass="z-icon-fas fa-sort" style="text-align: center;" /> <grid> <columns> <column width="100px"/> <column width="450px"/> <column width="150px"/> <column width="250px"/> <column width="100px"/> <column width="250px"/> <column width="250px"/> </columns> <rows> <row> <label value="Ramo:"/> <hbox> <textbox width="50px" value="@bind(vm.ramo)" onChange="@command('cargarRamo')"/> <combobox width="100%" model="@load(vm.listaRamos)" readonly="true" style="font-size : 10px;color: #000000 !important;" placeholder="SELECCIONE UN RAMO" selectedItem="@bind(vm.ramoSeleccionado)"> <template name="model"> <comboitem label="@load(each.descripcion)" style="font-size : 10px;color: #000000 !important;"/> </template> </combobox> </hbox> <label value="Póliza"/> <textbox value="@bind(vm.poliza)" onChange="@command('completarPoliza')"/> <label value="Endoso:"/> <textbox value="@bind(vm.endoso)" onChange="@command('completarEndoso')"/> </row> <row> <label value="Asegurado:"/> <hbox> <textbox width="80px" value="@bind(vm.codigoAsegurado)" class="form-control" onChange="@command('consultaraseguradoCodigo')" style="font-size:12px;"/> <textbox class="form-control" readonly="true" value="@bind(vm.aseguradoBuscado)" width="360px"/> </hbox> <hbox> <div class="input-group-btn"> <button type="button" class="btn btn-default dropdown-toggle" iconSclass="z-icon-search" popup="consultarAsegurado"/> </div> <label value="Factura:"/> </hbox> <textbox class="form-control"/> <div class="input-group-btn"> <button type="button" class="btn btn-default dropdown-toggle" iconSclass="z-icon-search"/> </div> </row> <row> <label value="Condicion de Pago:"/> <textbox class="form-control"/> <hbox> <div class="input-group-btn"> <button type="button" class="btn btn-default dropdown-toggle" iconSclass="z-icon-search"/> </div> <label value="Item/Aplicación:"/> </hbox> <textbox class="form-control"/> <div class="input-group-btn"> <button type="button" class="btn btn-default dropdown-toggle" iconSclass="z-icon-search"/> </div> </row> </rows> </grid> </groupbox> <separator/> <listbox width="100%" mold="paging" > <listhead> <listheader label="Ramo" style="font-size : 9px;" /> <listheader label="Descripcion" style="font-size : 9px;"/> <listheader label="Póliza" style="font-size : 9px;"/> <listheader label="Endoso" style="font-size : 9px;"/> <listheader label="Fecha Emision" style="font-size : 9px;"/> <listheader label="Fecha Vigencia" style="font-size : 9px;"/> <listheader label="Prima Neta" style="font-size : 9px"/> <listheader label="Tipo" style="font-size : 9px;"/> <listheader label="Firmada" style="font-size : 9px;"/> </listhead> <template name="model"> <listitem > <listcell label="@load(each.ramo.descripcion)" style="font-size : 9px;"/> </listitem> </template> <listfoot > <listfooter> <label value=""/> </listfooter> <listfooter> <label value=""/> </listfooter> <listfooter> <label value=""/> </listfooter> <listfooter> <label value=""/> </listfooter> <listfooter> <label value=""/> </listfooter> <listfooter> <label value=""/> </listfooter> <listfooter> <label value=""/> </listfooter> <listfooter> <label value=""/> </listfooter> <listfooter> <label value="TOTAL" style="font-size : 11px;font-weight: bold;"/> </listfooter> <listfooter align="right"> <label style="text-align:right;font-size : 10px; font-weight: bold;"/> </listfooter> </listfoot> </listbox> <separator/> <div style="overflow-y: auto;height:500px;"> <x:ul class="nav nav-tabs"> <x:li class="active"><x:a data-toggle="tab" href="#home">Datos</x:a></x:li> <x:li><x:a data-toggle="tab" href="#menu1">Items</x:a></x:li> <x:li><x:a data-toggle="tab" href="#menu2">Saldos</x:a></x:li> </x:ul> <x:div class="tab-content"> <x:div id="home" class="tab-pane fade in active"> <grid> <columns> <column width="90px" label=""/> <column width="140px" label=""/> <column width="120px" label=""/> <column width="100px" label=""/> <column width="100px" label=""/> <column width="80px" label="" /> <column width="80px" label=""/> <column width="150px" label=""/> <column width="80px" label=""/> <column width="100px" label=""/> <column width="100px" label=""/> <column width="100%" label=""/> </columns> <rows> <row> <label value="Agencia:" style="font-weight:bold"/> <label value="AMBATO"/> <label value="Fecha Emisión:" style="font-weight:bold"/> <label value="29/09/2020"/> <label value="Renueva a:" style="font-weight:bold"/> <label value="000000"/> <label value="Vigencia:" style="font-weight:bold"/> <hbox> <label value="00/00/0000"/> <label value="00/00/0000"/> </hbox> <label value="Días:" style="font-weight:bold"/> <label value="700"/> <label value="Renovada por:" style="font-weight:bold"/> <label value="0000000"/> </row> <row> <label value="Asegurado:" style="font-weight:bold"/> <cell colspan="4"> <label value="000000 - YANCHATIPAN SUAREZ EDISON PAUL" zclass="text-primary" /> </cell> <label value="Contratante:" style="font-weight:bold"/> <cell colspan="6"> <label value="000000 - YANCHATIPAN SUAREZ EDISON PAUL" zclass="text-primary"/> </cell> </row> <row> <label value="Moneda:" style="font-weight:bold"/> <label value="DOLARES"/> <label value="T/Cambio:" style="font-weight:bold"/> <label value="1.000"/> <label value="Prima Deveng:" style="font-weight:bold"/> <label value="0.00"/> <label value="Operación:" style="font-weight:bold"/> <label value="POLIZA NUEVA"/> <label value="Motivo:" style="font-weight:bold"/> <label value="POLIZA NUEVA"/> <label value="Ej. Cuenta:" style="font-weight:bold"/> <label value="DOLORES SALCEDO" style="font-size:11px"/> </row> <row> <label value="Condición:" style="font-weight:bold"/> <label value="00000000 CONTADO"/> <label value="Usuario:" style="font-weight:bold"/> <label value="gvillafu"/> <label value="Fec. Pago:" style="font-weight:bold"/> <label value="00/00/0000"/> <label value="Caract. de Póliza:" style="font-weight:bold"/> <label value="NORMAL"/> <label value="Método de Cálculo:" style="font-weight:bold"/> <label value="A PRORRATA"/> <label value="Fac/NC:" style="font-weight:bold"/> <label value="001-002-000058740"/> </row> <row> <label value="Tipo:" style="font-weight:bold"/> <label value="SEGURO PROPIO"/> </row> </rows> </grid> <x:ul class="list-group" width="25%"> <x:li class="list-group-item">Suma Asegurada $:<x:span class="badge">12,000.00</x:span></x:li> <x:li class="list-group-item">Prima Neta $: <x:span class="badge">5</x:span></x:li> <x:li class="list-group-item">Contribución SuperIntendencia de Compañias Valores y Seguros: <x:span class="badge">3</x:span></x:li> </x:ul> <div class="list-group" width="25%"> <a href="#" class="list-group-item active"> <label value="Suma Asegurada $:"/> <label value="1000"/> </a> <a href="#" class="list-group-item"> <label value="Prima Neta$:"/> <label value="1000"/> </a> <a href="#" class="list-group-item">Third item</a> </div> <!--<div class="panel panel-primary"> <div class="panel-heading"> <span class="fa fa-usd"></span> <label value="Valores"/> </div> <div class="panel-body"> </div> </div>--> </x:div> <x:div id="menu1" class="tab-pane fade"> <label value="Condicion de Pago2:"/> </x:div> <x:div id="menu2" class="tab-pane fade"> <label value="Condicion de Pago3:"/> </x:div> </x:div> </div> <popup id="consultarAsegurado" width="500px"> <vbox> <grid> <columns> <column label="" width="30%"/> <column label="" width="70%"/> </columns> <rows> <row> <label value="Tipo de Búsqueda:" style="font-size : 10px;"/> <radiogroup selectedItem="@bind(vm.opcionAsegurado)"> <radio label="Nombre" style="font-size : 10px;" value="1" /> <radio label="Identificación" style="font-size : 10px;" value="2"/> <radio label="Código" style="font-size : 10px;" value="3"/> </radiogroup> </row> <row> <label value="Asegurado:"/> <hbox> <textbox value="@bind(vm.asegurado)" width="240px" style="font-size : 10px;text-transform:uppercase;" forward="onOK=consulta.onClick" onCreate="self.focus()"/> <button id="consulta" image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('consultaAsegurados')" tooltiptext="Consultar" /> </hbox> </row> </rows> </grid> <separator /> <hbox> <listbox model="@load(vm.aseguradosList)" selectedItem="@bind(vm.aseguradoSelec)" onSelect="@command('cargaAsegurado')" mold="paging" pageSize="8"> <listhead> <listheader label="Asegurado" style="font-size : 10px; " width="100px"/> <listheader label="Nombre" style="font-size : 10px;" width="300px"/> </listhead> <template name="model"> <listitem> <listcell label="@load(each.asegurado)" style="font-size : 10px;"/> <listcell label="@load(each.nombre_corto)" style="font-size : 10px;"/> </listitem> </template> </listbox> </hbox> <separator /> </vbox> </popup> </window> </zk> TestComposer.javajavaimport org.zkoss.zk.ui.*; import org.zkoss.zk.ui.event.*; import org.zkoss.zk.ui.util.*; import org.zkoss.zk.ui.ext.*; import org.zkoss.zk.au.*; import org.zkoss.zk.au.out.*; import org.zkoss.zul.*; public class TestComposer extends GenericForwardComposer{ public void doAfterCompose(Component comp) throws Exception { super.doAfterCompose(comp); } public void onClick$btn(Event e) throws InterruptedException{ Messagebox.show("Hi btn"); } }