随笔分类 - ZK笔记
摘要:前台: <?page title="Grid使用" contentType="text/html;charset=UTF-8"?> <zk xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zkoss.or
        阅读全文
                
摘要:官方文档说明: ZK Developer's Reference文档,章节为Minimize Number of JavaScript Files to Load,按照文档步骤执行,最后需在 web.xml中添加servlet, <servlet> <servlet-name>dspLoader</
        阅读全文
                
摘要:1、execution.sendRedirect(url) 当使用方法execution.sendRedirect(url)进行页面跳转时,在url中添加参数:url?test=5; 跳转页面获取参数: 2、(1)include.src(url) (Include.zul)前台写法: java后台写
        阅读全文
                
摘要:test.zul: 邮箱:test19.java:package test;import org.zkoss.zk.ui.Component;import org.zkoss.zk.ui.WrongValueException;import org.zkoss.zk.ui.util.Gen...
        阅读全文
                
摘要:.z-textbox{ height:100px; font-size:30px; padding:20px;}效果如下:
        阅读全文
                
摘要:参考:http://tsinglongwu.iteye.com/blog/849923以下代码模拟数据量大时情况,采用“”组件方式前台Listbox.zul : View CodeListboxCtrl.java :pac...
        阅读全文
                
摘要:LongProcess.zul: String url = "/Progressmeter.zul"; Window window = (Window)Executions.createComponents(url, null, n...
        阅读全文
                
摘要:前台Tree.zul 后台treeCtrl.java:package test;import java.util.ArrayList;import j...
        阅读全文
                
摘要:参考:http://stackoverflow.com/questions/11416386/how-to-access-au-response-sent-from-server-side-at-client-side前台(test.zul): 后台(ListboxCtrl.java):pac...
        阅读全文
                
摘要:前台(Drop.zul) Unique Visitors of ZK: ...
        阅读全文
                
摘要:父窗口代码: 前台(test.zul) 后台(test19.java) 附图: 子窗口代码: 前台(Exit.zul) 后台(Exit.java)
        阅读全文
                
摘要:前台(test.zul):web.xml添加 testUrl test.testUrl testUrl /Bandbox/test.html testUrl.java:public class testUrl extends HttpServlet{ pri...
        阅读全文
                
摘要:Label控件本身无法换行,不过div却可以,只要设置了div的宽度,那么就想如果在Label控件外套个div会怎样,结果可喜可乐: 如果直接在使用div也可以实现了解,他不会轻易发表这样的言论,一定是什么事没有处理好,让他忍无可使用Label可以在后台控制内容变化。
        阅读全文
                
摘要:1、设置xsd 打开eclipse,Window-Preference,进行如下设置:2、创建zul文件(1)打开File—New—Other窗口,新建XML File文件;(2)选择新建文件所在工程目录,填写文件名,但需注意原先后缀为xml,修改为zul,点击下一步,如下所示:(3)选择第二选项...
        阅读全文
                
摘要:(参考:http://www.dotblogs.com.tw/rockywang/archive/2010/01/13/12995.aspx)HttpServletRequest request = (HttpServletRequest) Executions.getCurrent().getNa...
        阅读全文
                
摘要:private Textbox testTextB;testTextB.addEventListener(Events.ON_OK, new EventListener() { @Override public void onEvent(Event eve...
        阅读全文
                
摘要:jQuery_effects.zul: jQuery Effect Test jQuery_effects_ctrl.zul: ...
        阅读全文
                
摘要:前台(test.zul): 后台(test.java):package test;import java.util.ArrayList;import java.util.Comparator;import java.util.List;impor...
        阅读全文
                
摘要:上传按扭监听器写法: uploadBtn.addEventListener(Events.ON_UPLOAD, new EventListener() { @Override public void onEvent(Event event) throws Exception { // TODO Au
        阅读全文
                
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号