Processing...

Suggested case list:

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

identify firefox or not in server side

1TonyQ198.203.175.1751nv2qreDec 10, 2011 4:25:04 AMlink

ZK addThis integration

1TonyQ198.203.175.1751apl96jNov 5, 2011 4:12:50 AMlink

Latest 10 Fiddles :

Another new ZK fiddle

4guest115.254.63.503rsnu2qJul 23, 2019 3:15:35 PMlink

Another new ZK fiddle

3guest115.254.63.503rsnu2qJul 23, 2019 3:14:37 PMlink

Another new ZK fiddle

2guest115.254.63.503rsnu2qJul 23, 2019 3:13:58 PMlink

Another new ZK fiddle

1guest115.254.63.503rsnu2qJul 23, 2019 3:13:43 PMlink

Another new ZK fiddle

29guest116.68.96.203f7t904Jul 23, 2019 11:05:14 AMlink

Another new ZK fiddle

28guest116.68.96.203f7t904Jul 23, 2019 11:04:57 AMlink

Another new ZK fiddle

27guest116.68.96.203f7t904Jul 23, 2019 11:04:31 AMlink

Another new ZK fiddle

26guest116.68.96.203f7t904Jul 23, 2019 11:03:52 AMlink

Another new ZK fiddle

25guest116.68.96.203f7t904Jul 23, 2019 11:01:05 AMlink

Another new ZK fiddle

24guest116.68.96.203f7t904Jul 23, 2019 11:00:33 AMlink

Another new ZK fiddle

14guest181.175.219.24636vihd1Mar 20, 2019 9:20:29 PMlink

resources

index.zulzul<zk > <!--<?link rel="icon" type="image/x-icon" href="/sweaden.ico"?> --> <style> .mainCaption { display: flex; } .mainCaption .z-caption-content { display: flex; flex-grow: 1; } .mainCaption .z-caption-content > .captionButtons { display: inline-block; flex-grow: 1; text-align: right; margin-right: 1px; } .captionButton { font-size: 18px; margin: 0px 0px 0px -1px; padding: 2px 6px; border: 1px solid #cfcfcf; color: #636363; } .fgrid tr.z-row td.z-row-inner,tr.z-row,div.z-grid-body div.z-cell,div.z-grid { border: none; overflow: hidden; zoom: 1; background: white; border-top: none; border-left: none; border-right: none; border-bottom: none; } .fgrid .z-grid-odd .fgrid .z-row-inner,.fgrid .z-grid-odd .z-cell { background-color: #F7F7F7; border-bottom: 1px solid transparent; border-left: 1px solid transparent; border-top: 1px solid transparent; } .fgrid .z-grid-odd .fgrid.z-row-inner,.fgrid.z-grid-odd .z-cell,.fgrid.z-grid-odd { background: none repeat scroll 0 0 transparent; } .fgrid tr.z-grid-odd td.z-row-inner,.fgrid tr.z-grid-odd .z-cell,.fgrid tr.z-grid-odd { background: white } .fgrid tr.z-row td.z-row-inner,.fgrid tr.z-row .z-cell { background: white; border-top: none; } </style> <window border="normal" width="970px" height="800px"> <!--viewModel="@id('vm')@init('modelo.comercial.trans.ordenEmisionVM')" --> <caption height="10px" sclass="mainCaption"> <div align="center" sclass="captionButtons"> <button image="/imagenes/help20.png" sclass="captionButton" onClick="@command('visualizarManual')" tooltiptext="Visualizar Manual"/> </div> </caption> <!-- <toolbar> <toolbarbutton image="/imagenes/nuevo20.png" tooltiptext="Nueva Orden" onClick="@command('nuevaOrden1')"/> <toolbarbutton image="/imagenes/save20.png" tooltiptext="Guardar Orden" onClick="@command('guardarOrden')"/> <toolbarbutton image="/imagenes/pdf20.png" tooltiptext="Ver Orden" disabled="false" onClick="@command('verOrden')"/> </toolbar>--> <tabbox width="100%" height="45%" > <!--500px--> <tabs> <tab label="Afianzados" selected="@bind(vm.seleccionaDatos)" style="font-size : 10px;" /> <tab label="Mantenimiento" selected="@bind(vm.seleccionaConsultas)" style="font-size : 10px;" /> </tabs> <tabpanels> <tabpanel> <vbox> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> <listbox id="" width="" height="" onSelect=""> <listhead> <listheader label="RUC" style="font-size : 10px;color: #000000 !important;" width="80px"/> <listheader label="Nombre" style="font-size : 10px;color: #000000 !important;"/> <listheader label="Cupo" style="font-size : 10px;color: #000000 !important;"/> <listheader label="Cúmulo" style="font-size : 10px;color: #000000 !important;"/> <listheader label="Estado" style="font-size : 10px;color: #000000 !important;" width="120px"/> <listheader label="Acción" style="font-size : 10px;color: #000000 !important;" width="60px"/> </listhead> <listitem> <listcell label="0503152456001" style="font-size : 9px;color: #000000 !important;"/> <listcell label="INSTITUTO DE ALTOS ESTUDIOS NACIONALES" style="font-size : 10px;color: #000000 !important;"/> <listcell label="300,000.00" style="font-size : 10px;color: #000000 !important;"/> <listcell label="300,000.00" style="font-size : 10px;color: #000000 !important;"/> <listcell label="CALIFICADO" style="font-size : 10px;color: #000000 !important;"/> <listcell label="" style="font-size : 10px;color: #000000 !important;"> <hbox> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> </hbox> </listcell> </listitem> </listbox> </vbox> </tabpanel> <tabpanel> <grid> <columns> <column label="" width="80px"/> <column label="" width="160px"/> <column label="" width="70px"/> <column label="" width="110px"/> <column label="" width="70px"/> <column label="" width="50px"/> <column label="" width="150px"/> <column label="" width="50px"/> <column label="" width="100%"/> </columns> <rows> <row> <label value="Tipo de Doc.:" style="font-size : 10px;"/> <combobox width="100%" model="@load(vm.tiposID)" readonly="true" style="font-size : 10px;color: #000000 !important;" placeholder="SELECCIONE UN TIPO" selectedItem="@bind(vm.tipoIDClie)" disabled="@bind(vm.tipoDocAfControl)" onSelect="@command('cambioTipoIDClie')"> <template name="model"> <comboitem label="@load(each)" style="font-size : 10px"/> </template> </combobox> <label value="Documento:" style="font-size : 10px;"/> <vlayout xmlns:w="client"> <textbox value="@bind(vm.identificacionClie)" width="100%" style="font-size : 10px;color: #000000 !important;" maxlength="@bind(vm.cantidadDigitosClie)" disabled="@bind(vm.identificacionAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "0123456789")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> <label value="Nombre:" style="font-size : 10px;"/> <cell colspan="3"> <vlayout xmlns:w="client"> <textbox value="@bind(vm.nombreClie)" width="100%" style="font-size : 10px;color: #000000 !important;text-transform:uppercase;" disabled="@bind(vm.nombresAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "abcdefghijklmñnopqrstuvwxyz ABCDEFGHIJKLMÑNOPQRSTUVWXYZ")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> </cell> </row> <row> <label value="Dirección:" style="font-size : 10px;"/> <cell colspan="3"> <vlayout xmlns:w="client"> <textbox value="@bind(vm.direccionClie)" width="100%" style="font-size : 10px;color: #000000 !important;text-transform:uppercase;" disabled="@bind(vm.direccionAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "abcdefghijklmñnopqrstuvwxyz ABCDEFGHIJKLMÑNOPQRSTUVWXYZ 0123456789")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> </cell> <label value="Email:" style="font-size : 10px;"/> <cell colspan="2"> <textbox value="@bind(vm.emailClie)" width="100%" style="font-size : 10px;color: #000000 !important;" disabled="@bind(vm.emailAfControl)" constraint="/.+@.+\.[a-z]+/: Por favor ingrese un Email válido"/> </cell> <label value="Teléfono:" style="font-size : 10px;"/> <vlayout xmlns:w="client"> <textbox value="@bind(vm.telefonosClie)" width="100%" style="font-size : 10px;color: #000000 !important;" maxlength="10" disabled="@bind(vm.telefonoAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "0123456789")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> </row> </rows> </grid> <hlayout> <groupbox width="500px" visible="@bind(vm.panelNatural)"> <caption style="font-size : 10px;"> <label value="Garantes" style="font-size : 10px;"/> </caption> <vbox> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> <listbox id="" width="" height="" onSelect=""> <listhead> <listheader label="CI/RUC" style="font-size : 10px;color: #000000 !important;" width="60px"/> <listheader label="Nombre" style="font-size : 10px;color: #000000 !important;" width="200px"/> <listheader label="Cargo" style="font-size : 10px;color: #000000 !important;" width="115px"/> <listheader label="Acción" style="font-size : 10px;color: #000000 !important;"/> </listhead> <listitem> <listcell label="1803735982001" style="font-size : 9px;color: #000000 !important;"/> <listcell label="VASQUEZ MENA ADRIANA ELIZABETH" style="font-size : 10px;color: #000000 !important;"/> <listcell label="PROFESORA" style="font-size : 10px;color: #000000 !important;"/> <listcell label="" style="font-size : 10px;color: #000000 !important;"> <hbox> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> </hbox> </listcell> </listitem> </listbox> </vbox> </groupbox> <groupbox width="430px" visible="@bind(vm.panelNatural)"> <caption style="font-size : 10px;"> <label value="Documentación" style="font-size : 10px;"/> </caption> <vbox> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> <listbox id="" width="" height="" onSelect=""> <listhead> <listheader label="Documento" style="font-size : 10px;color: #000000 !important;" width="180px"/> <listheader label="Tipo de Documento" style="font-size : 10px;color: #000000 !important;" width="135px"/> <listheader label="Acción" style="font-size : 10px;color: #000000 !important;"/> </listhead> <listitem> <listcell label="CERTIFICADO_OBLIGACIONES1.pdf" style="font-size : 9px;color: #000000 !important;"/> <listcell label="Certificado de Obligaciones" style="font-size : 10px;color: #000000 !important;"/> <listcell label="" style="font-size : 10px;color: #000000 !important;"> <hbox> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> </hbox> </listcell> </listitem> </listbox> </vbox> </groupbox> </hlayout> </tabpanel> </tabpanels> </tabbox> <space/> <tabbox width="100%" height="45%" > <!--500px--> <tabs> <tab label="Solicitudes" selected="@bind(vm.seleccionaDatos)" style="font-size : 10px;" /> <tab label="Mantenimiento" selected="@bind(vm.seleccionaConsultas)" style="font-size : 10px;" /> </tabs> <tabpanels> <tabpanel> <vbox> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> <listbox id="" width="" height="" onSelect=""> <listhead> <listheader label="Número" style="font-size : 10px;color: #000000 !important;" width="80px"/> <listheader label="Fecha" style="font-size : 10px;color: #000000 !important;"/> <listheader label="Beneficiario" style="font-size : 10px;color: #000000 !important;" width="120px"/> <listheader label="Monto" style="font-size : 10px;color: #000000 !important;" width="120px"/> <listheader label="Estado" style="font-size : 10px;color: #000000 !important;" width="120px"/> <listheader label="Acción" style="font-size : 10px;color: #000000 !important;" width="60px"/> </listhead> <listitem> <listcell label="2019010001" style="font-size : 9px;color: #000000 !important;"/> <listcell label="19/03/2019" style="font-size : 10px;color: #000000 !important;"/> <listcell label="EDISON PAUL YANCHATIPAN SUAREZ" style="font-size : 10px;color: #000000 !important;"/> <listcell label="$ 200,000.00" style="font-size : 10px;color: #000000 !important;"/> <listcell label="PENDIENTE" style="font-size : 10px;color: #000000 !important;"/> </listitem> </listbox> </vbox> </tabpanel> <tabpanel> <grid> <columns> <column label="" width="80px"/> <column label="" width="160px"/> <column label="" width="70px"/> <column label="" width="110px"/> <column label="" width="70px"/> <column label="" width="50px"/> <column label="" width="150px"/> <column label="" width="50px"/> <column label="" width="100%"/> </columns> <rows> <row> <label value="Tipo de Doc.:" style="font-size : 10px;"/> <combobox width="100%" model="@load(vm.tiposID)" readonly="true" style="font-size : 10px;color: #000000 !important;" placeholder="SELECCIONE UN TIPO" selectedItem="@bind(vm.tipoIDClie)" disabled="@bind(vm.tipoDocAfControl)" onSelect="@command('cambioTipoIDClie')"> <template name="model"> <comboitem label="@load(each)" style="font-size : 10px"/> </template> </combobox> <label value="Documento:" style="font-size : 10px;"/> <vlayout xmlns:w="client"> <textbox value="@bind(vm.identificacionClie)" width="100%" style="font-size : 10px;color: #000000 !important;" maxlength="@bind(vm.cantidadDigitosClie)" disabled="@bind(vm.identificacionAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "0123456789")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> <label value="Nombre:" style="font-size : 10px;"/> <cell colspan="3"> <vlayout xmlns:w="client"> <textbox value="@bind(vm.nombreClie)" width="100%" style="font-size : 10px;color: #000000 !important;text-transform:uppercase;" disabled="@bind(vm.nombresAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "abcdefghijklmñnopqrstuvwxyz ABCDEFGHIJKLMÑNOPQRSTUVWXYZ")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> </cell> </row> <row> <label value="Dirección:" style="font-size : 10px;"/> <cell colspan="3"> <vlayout xmlns:w="client"> <textbox value="@bind(vm.direccionClie)" width="100%" style="font-size : 10px;color: #000000 !important;text-transform:uppercase;" disabled="@bind(vm.direccionAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "abcdefghijklmñnopqrstuvwxyz ABCDEFGHIJKLMÑNOPQRSTUVWXYZ 0123456789")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> </cell> <label value="Email:" style="font-size : 10px;"/> <cell colspan="2"> <textbox value="@bind(vm.emailClie)" width="100%" style="font-size : 10px;color: #000000 !important;" disabled="@bind(vm.emailAfControl)" constraint="/.+@.+\.[a-z]+/: Por favor ingrese un Email válido"/> </cell> <label value="Teléfono:" style="font-size : 10px;"/> <vlayout xmlns:w="client"> <textbox value="@bind(vm.telefonosClie)" width="100%" style="font-size : 10px;color: #000000 !important;" maxlength="10" disabled="@bind(vm.telefonoAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "0123456789")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> </row> </rows> </grid> </tabpanel> <tabpanel> <groupbox width="100%"> <caption style="font-size : 10px;"> <label value="Beneficiario" style="font-size : 10px;"/> </caption> <grid> <columns> <column label="" width="80px"/> <column label="" width="160px"/> <column label="" width="70px"/> <column label="" width="110px"/> <column label="" width="70px"/> <column label="" width="50px"/> <column label="" width="150px"/> <column label="" width="50px"/> <column label="" width="100%"/> </columns> <rows> <row> <label value="Tipo de Doc.:" style="font-size : 10px;"/> <combobox width="100%" model="@load(vm.tiposID)" readonly="true" style="font-size : 10px;color: #000000 !important;" placeholder="SELECCIONE UN TIPO" selectedItem="@bind(vm.tipoIDClie)" disabled="@bind(vm.tipoDocAfControl)" onSelect="@command('cambioTipoIDClie')"> <template name="model"> <comboitem label="@load(each)" style="font-size : 10px"/> </template> </combobox> <label value="Documento:" style="font-size : 10px;"/> <vlayout xmlns:w="client"> <textbox value="@bind(vm.identificacionClie)" width="100%" style="font-size : 10px;color: #000000 !important;" maxlength="@bind(vm.cantidadDigitosClie)" disabled="@bind(vm.identificacionAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "0123456789")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> <button image="/imagenes/Search16.png" style="font-size : 10px;" onClick="@command('cargarDatosAfianzado')" tooltiptext="Buscar Cliente" disabled="@bind(vm.consultarAseguradoAfControl)"/> <label value="Nombre:" style="font-size : 10px;"/> <cell colspan="3"> <vlayout xmlns:w="client"> <textbox value="@bind(vm.nombreClie)" width="100%" style="font-size : 10px;color: #000000 !important;text-transform:uppercase;" disabled="@bind(vm.nombresAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "abcdefghijklmñnopqrstuvwxyz ABCDEFGHIJKLMÑNOPQRSTUVWXYZ")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> </cell> </row> <row> <label value="Dirección:" style="font-size : 10px;"/> <cell colspan="3"> <vlayout xmlns:w="client"> <textbox value="@bind(vm.direccionClie)" width="100%" style="font-size : 10px;color: #000000 !important;text-transform:uppercase;" disabled="@bind(vm.direccionAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "abcdefghijklmñnopqrstuvwxyz ABCDEFGHIJKLMÑNOPQRSTUVWXYZ 0123456789")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> </cell> <label value="Email:" style="font-size : 10px;"/> <cell colspan="2"> <textbox value="@bind(vm.emailClie)" width="100%" style="font-size : 10px;color: #000000 !important;" disabled="@bind(vm.emailAfControl)" constraint="/.+@.+\.[a-z]+/: Por favor ingrese un Email válido"/> </cell> <label value="Teléfono:" style="font-size : 10px;"/> <vlayout xmlns:w="client"> <textbox value="@bind(vm.telefonosClie)" width="100%" style="font-size : 10px;color: #000000 !important;" maxlength="10" disabled="@bind(vm.telefonoAfControl)"> <attribute w:name="doKeyPress_"> <![CDATA[ function(evt) { if (!this._shallIgnore(evt, "0123456789")) this.$doKeyPress_(evt); } ]]> </attribute> </textbox> </vlayout> </row> </rows> </grid> </groupbox> </tabpanel> </tabpanels> </tabbox> </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"); } }