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 :

upload canvas

10cor3000162.158.119.313g4588eJul 8, 2020 3:23:19 AMlink

datebox five digit year

7guest162.158.178.20713k6niJul 8, 2020 2:51:10 AMlink

datebox five digit year

6guest162.158.178.20713k6niJul 8, 2020 2:49:55 AMlink

datebox five digit year

5guest162.158.118.22213k6niJul 8, 2020 2:36:45 AMlink

datebox five digit year

4guest162.158.119.8313k6niJul 8, 2020 1:40:50 AMlink

datebox five digit year

3guest162.158.119.8313k6niJul 8, 2020 1:40:30 AMlink

datebox five digit year

2guest162.158.119.8313k6niJul 8, 2020 1:40:04 AMlink

Ordenes Emision

1Edison108.162.212.33gm98f6Jul 7, 2020 9:32:34 PMlink

Bandbox

15guest172.68.129.14232pdvbrJul 7, 2020 8:16:59 PMlink

paste data and upload

954patman162.158.126.1283g4588eJul 7, 2020 4:35:45 PMlink

Another new ZK fiddle

3Edison108.162.237.2225egc74May 23, 2020 1:23:59 AMlink

resources

index.zulzul<?xml version="1.0" encoding="UTF-8"?> <zk xmlns="http://www.zkoss.org/2005/zul"> <window width="700px"> <!--viewModel="@id('vm')@init('com.sweadenseguros.diamante.controller.comercial.ingresoObjetosVm')" width="550px" closable="true"--> <toolbarbutton label="Aceptar" onClick="@command('enviarObjetoVH')" visible="@bind(vm.modificarObjeto)" iconSclass="z-icon-check" style="font-size:12px"/> <toolbarbutton label="Modificar" visible="@bind(!vm.modificarObjeto)" onClick="@command('modificarObjetoCargado')" style="font-size:12px"/> <grid > <columns> <column width="170px"/> <column width="100%"/> </columns> <rows> <row> <radiogroup> <radio label="Cédula/RUC" style="font-size:10px"/> <radio label="Placa/Chasis" style="font-size:10px"/> </radiogroup> <textbox value="@bind(vm.txtExtra)" style="font-size:10px" width="100%" placeholder="Ingrese la Cédula o RUC"/> </row> </rows> </grid> <grid> <columns> <column width="60px"/> <column width="300px"/> <column width="67px"/> <column width="100px"/> <column width="60px"/> <column width="90px"/> </columns> <rows> <row> <label value="Asegurado:" style="font-size:10px"/> <textbox value="@bind(vm.txtExtra)" style="font-size:10px" width="100%"/> <label value="Identificación:" style="font-size:10px"/> <textbox value="@bind(vm.txtExtra)" style="font-size:10px" width="100%"/> <label value="Código:" style="font-size:10px"/> <textbox value="@bind(vm.txtExtra)" style="font-size:10px" width="100%"/> </row> </rows> </grid> <div visible="@bind(vm.modificarObjeto)"> <grid visible="@bind(vm.ramoVehiculosExtra)"> <columns> <column width="60px"/> <column width="100%"/> </columns> <rows> <row> <label value="Extra:" style="font-size:10px"/> <textbox value="@bind(vm.txtExtra)" style="font-size:10px" width="100%"/> </row> </rows> </grid> <grid visible="@bind(vm.otrosRamos)"> <columns> <column width="60px"/> <column width="100%"/> </columns> <rows> <row> <label value="Objeto:" style="font-size:10px"/> <textbox value="@bind(vm.txtObjeto)" style="font-size:10px" width="100%"/> </row> </rows> </grid> <grid visible="@bind(vm.ramoVehiculos)"> <columns> <column width="500px"/> </columns> <rows> <row> <hbox> <label value="Vehículos Encontrados:"/> <combobox placeholder="SELECCIONE UNA OPCIÓN" model="@load(vm.listaVehiculos)" readonly="true" style="font-size : 10px;" width="300px" selectedItem="@bind(vm.vehiculoSeleccionado)" onSelect="@command('cargarDatosVehiculo')"> <template name="listaVehiculos"> <comboitem label="@load(listaVehiculos)" style="font-size : 10px" /> </template> </combobox> </hbox> </row> <row> <hbox> <label value="Placa:" style="font-size:10px"/> <textbox value="@bind(vm.placa)" onOK="@command('buscarVehiculo')" disabled="@bind(vm.camposEditables)" style="font-size:10px"/> <button onClick="@command('buscarVehiculo')" class="glyphicon glyphicon-search" disabled="@bind(vm.camposEditables)" style="font-size:10px"/> <label value="Marca:" style="font-size:10px"/> <textbox value="@bind(vm.txtMarca)" visible="@bind(vm.marcaEncontrada)" readonly="true" style="font-size:10px"/> <combobox placeholder="SELECCIONE UNA MARCA" model="@load(vm.listaMarcas)" readonly="true" style="font-size : 10px;" width="200px" selectedItem="@bind(vm.marcaSeleccionada)" visible="@bind(!vm.marcaEncontrada)" disabled="@bind(vm.camposEditables)"> <template name="model"> <comboitem label="@load(each.descripcion)" style="font-size : 10px" /> </template> </combobox> </hbox> </row> <row> <hbox> <label value="Modelo:" style="font-size:10px"/> <textbox value="@bind(vm.modelo)" disabled="@bind(vm.camposEditables)" style="font-size:10px"/> <label value="Año:" style="font-size:10px"/> <spinner value="@bind(vm.anio)" disabled="@bind(vm.camposEditables)" style="font-size:10px"/> </hbox> </row> </rows> </grid> </div> <grid> <columns> <column width="105px"/> <column width="150px"/> <column width="60px"/> <column width="100px"/> </columns> <rows> <row> <label value="Valor Asegurado:" style="font-size:10px"/> <decimalbox value="@bind(vm.valor_asegurado)" onChange="@command('calcularValores')" style="font-size:10px" width="100%" format="###,###,##0.00" locale="zh_TW"/> <label value="Tasa %:" style="font-size:10px"/> <decimalbox width="100%" value="@bind(vm.tasa)" style="font-size : 10px;" onChange="@command('calcularValores')" format="###,###,##0.00" locale="zh_TW"/> </row> <row> <label value="Prima Neta:" style="font-size:10px"/> <cell colspan="3"> <doublebox value="@bind(vm.prima_neta)" readonly="true" style="font-size:10px" width="100%" format="###,###,##0.00" locale="zh_TW"/> </cell> </row> </rows> </grid> </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"); } }