-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi
I'm trying to use the showBusy method on a jsp page using zk jsp tags, but I can't make it work, there is no any processing window showing on the browser. Here is the code am using
<%@ include file="/WEB-INF/jsp/jspf/taglibs.jsp" %>
<%@ taglib uri="http://www.zkoss.org/jsp/zul" prefix="z"%>
<html>
<z:page zscriptLanguage="java
<z:window id="mainWindow">
<z:attribute name="onLater">
Thread.sleep(5000);
Clients.showBusy(null, false);
</z:attribute>
......
......
<z:button id="boton" label="ENTER">
<z:attribute name="onClick">
Clients.showBusy("Validanting", true);
Clients.submitForm("loginForm");
Events.echoEvent("onLater", mainWindow, null);
</z:attribute>
</z:button>
This was based on http://www.zkoss.org/smalltalks/echoevent/
Please can someone tell me what am I doing wrong? why is not showing anything on the browser? Thanks
Asked: 2009-04-25 02:41:17 +0800
Seen: 425 times
Last updated: May 26 '09