User contributions
From Documentation
- 07:31, 15 July 2010 diff hist +1,104 Nm ZK Developer's Guide/ZK in Depth/Style Customization/CSS Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ Cascading Style Sheets ([http://en.wikipedia.org/wiki/Cascading_Style_Sheets CSS]) is a stylesheet language used to describe the present…'
- 07:27, 15 July 2010 diff hist +31 m ZK Developer's Guide/ZK in Depth/Event listening and processing/Initialization and Cleanup of Event Processing Thread
- 07:26, 15 July 2010 diff hist +3,241 Nm ZK Developer's Guide/ZK in Depth/Event listening and processing/Initialization and Cleanup of Event Processing Thread Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ === Initialization Before Processing Each Event === An event listener is executed in an event processing thread. Sometimes, you have to …'
- 07:23, 15 July 2010 diff hist +2,831 Nm ZK Developer's Guide/ZK in Depth/Event listening and processing/Thread Model Created page with '{{ZKDevelopersGuidePageHeader}} For each desktop, events are processed sequentially, so thread model is simple. Like developing desktop applications, you don't need to worry abo…'
- 07:18, 15 July 2010 diff hist +2,560 Nm ZK Developer's Guide/ZK in Depth/Event listening and processing/Send, Post and Echo Events from an Event Listener Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ In addition to receiving events, an application could communicate among event listeners by posting or sending events to them. === Post …'
- 07:08, 15 July 2010 diff hist +31 m ZK Developer's Guide/ZK in Depth/Event listening and processing/Add and Remove Event Listeners by Program
- 06:59, 15 July 2010 diff hist +17 m ZK Developer's Guide/ZK in Depth/Event listening and processing/Add and Remove Event Listeners by Program
- 06:56, 15 July 2010 diff hist +7,220 Nm ZK Developer's Guide/ZK in Depth/Event listening and processing/Add and Remove Event Listeners by Program Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ There are two ways to add event listeners by program. === Declare a Member === When overriding a component by use of your own class, yo…'
- 06:46, 15 July 2010 diff hist +415 Nm ZK Developer's Guide/ZK in Depth/Event listening and processing/Add Event Listeners by Markup Languages Created page with '{{ZKDevelopersGuidePageHeader}} The simplest way to add an event listener is to declare an attribute in a ZUML page. The value of the attribute for listening an event is any Jav…'
- 06:38, 15 July 2010 diff hist +2,125 Nm ZK Developer's Guide/ZK in Depth/Inter Page, App Communication/Inter-Web-Application Communication Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ An EAR file could have multiple WAR files. Each of them is a Web application. There are no standard way to communicate between two Web a…'
- 06:34, 15 July 2010 diff hist +1,198 Nm ZK Developer's Guide/ZK in Depth/Inter Page, App Communication/Use cookies Created page with '{{ZKDevelopersGuidePageHeader}} For a Web application, [http://en.wikipedia.org/wiki/HTTP_cookie <tt>cookies</tt>] are used for maintaining specific information about users at c…'
- 06:31, 15 July 2010 diff hist +2,834 Nm ZK Developer's Guide/ZK in Depth/Inter Page, App Communication/Inter-Page Communication Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ Communications among pages in the same desktop is straightforward. First, you can use attributes to share data. Second, you can use even…'
- 06:25, 15 July 2010 diff hist +427 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/Clients Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/5.0/zk/org/zkoss/zk/ui/util/Clients.html Clients] :<tt>evalJavaScript</tt>: Asks the browser to evaluate the speci…'
- 06:23, 15 July 2010 diff hist +224 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/Path Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/path.html org.zkoss.zk.ui.Path] :<tt>getComponent</tt> : Returns the component of the spe…'
- 06:22, 15 July 2010 diff hist +911 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/Executions Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/executions.html org.zkoss.zk.ui.Executions] :<tt>createComponents</tt> : Creates componen…'
- 06:20, 15 July 2010 diff hist +539 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/event Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/event/event.html <javadoc>org.zkoss.zk.ui.event.Event</javadoc>] or derived :<tt>stopPro…'
- 06:12, 15 July 2010 diff hist +349 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/application Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/webapp.html <javadoc type="interface">org.zkoss.zk.ui.WebApp</javadoc>] :<tt>getConfigura…'
- 06:10, 15 July 2010 diff hist +17 m ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/session
- 06:10, 15 July 2010 diff hist +10 m ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/session
- 06:10, 15 July 2010 diff hist +698 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/session Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/session.html <tt>org.zkoss.zk.ui.Session</tt>] :<tt>setAttribute</tt> : Sets the value of…'
- 05:05, 15 July 2010 diff hist +27 m ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/execution
- 05:05, 15 July 2010 diff hist +395 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/execution Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/execution.html <tt>org.zkoss.zk.ui.Execution</tt>] :<tt>getArg</tt> : Returns the paramet…'
- 05:01, 15 July 2010 diff hist +17 m ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/desktop
- 05:01, 15 July 2010 diff hist +355 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/desktop Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/desktop.html <javadoc>org.zkoss.zk.ui.Desktop</javadoc>] :<tt>enableServerPush</tt> : to …'
- 04:57, 15 July 2010 diff hist +17 m ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/page current
- 04:57, 15 July 2010 diff hist +173 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/page Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/page.html <javadoc>org.zkoss.zk.ui.Page</javadoc>] {{ ZKDevelopersGuidePageFooter}}'
- 04:56, 15 July 2010 diff hist +247 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/spaceOwner Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/idspace.html <javadoc type="interface">org.zkoss.zk.ui.IdSpace</javadoc>] In most case, i…'
- 04:52, 15 July 2010 diff hist +690 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/self Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/Component.html <javadoc type="interface">org.zkoss.zk.ui.Component</javadoc>] :<tt>setVis…'
- 04:50, 15 July 2010 diff hist +467 Nm ZK Developer's Guide/ZK in Depth/Most used api for Implicit Objects and Static Classes/Overview Created page with '{{ZKDevelopersGuidePageHeader}} Besides <tt>setAttribute</tt>, <tt>getAttribute</tt>. We will list some useful api of implicit object and Static Classes like <tt>[http://www.zko…'
- 04:46, 15 July 2010 diff hist +5,029 Nm ZK Developer's Guide/ZK in Depth/Component Path and Accesibility/Access UI Component Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ ===Use Java=== Every ZUL component has its mapping java class. Every ZUL element declared in ZUML has its mapping java object. You can …'
- 04:17, 15 July 2010 diff hist +1,640 Nm ZK Developer's Guide/ZK in Depth/Zscript, java, EL/GenericAutowireComposer Created page with '{{ZKDevelopersGuidePageHeader}} If you want to access UI object, you have to call <tt>getFellow</tt> to get its mapping java object. But why not just bind these components and d…'
- 04:15, 15 July 2010 diff hist +2,485 Nm ZK Developer's Guide/ZK in Depth/Zscript, java, EL/event handler Created page with '{{ZKDevelopersGuidePageHeader}} You can write event handler code in <tt>zscript</tt> or <tt>forward</tt> to event handler in java. If the code is really simple, you can write i…'
- 04:12, 15 July 2010 diff hist +299 Nm ZK Developer's Guide/ZK in Depth/Zscript, java, EL/Macro Component Created page with '{{ZKDevelopersGuidePageHeader}} ZK provides two way to provide additional methods to macro component. One is through java, and the other is through <tt>zscript</tt>. Please refe…'
- 04:10, 15 July 2010 diff hist +1,828 N ZK Developer's Guide/ZK in Depth/Zscript, java, EL/foreach Created page with '{{ZKDevelopersGuidePageHeader}} It's a common usage of <tt>zscript</tt> to define array of object for <tt>forEach</tt> <source lang="xml" > <window> <zscript><![CDATA[ contac…'
- 04:09, 15 July 2010 diff hist +562 Nm ZK Developer's Guide/ZK in Depth/Zscript, java, EL/The Scripting Codes in a Separate File Created page with '{{ZKDevelopersGuidePageHeader}} To separate codes and views, developers could put the scripting codes in a separated file, say sayHello.zs, and then use the src attribute to ref…' current
- 04:07, 15 July 2010 diff hist +1,253 Nm ZK Developer's Guide/ZK in Depth/Zscript, java, EL/getVariable VS. getZScriptVariable Created page with '{{ZKDevelopersGuidePageHeader}} Variables defined in the namespace can be retrieved by use of the <tt>getVariable</tt> method. On the other hand, variables defined in <tt>zscri…'
- 04:07, 15 July 2010 diff hist +1,131 Nm ZK Developer's Guide/ZK in Depth/Zscript, java, EL/access implicit object Created page with '{{ZKDevelopersGuidePageHeader}} In <tt>zscript</tt>, you can access implicit object like they are declared global variable. <source lang="xml" > <window> <zscript> self.tit…'
- 04:05, 15 July 2010 diff hist +543 Nm ZK Developer's Guide/ZK in Depth/Zscript, java, EL/Define class and methods in zscript Created page with '{{ZKDevelopersGuidePageHeader}} Thanks to the power of BeanShell, the implementation of Java classes can be done in zscript as follows. <source lang="xml" > <zscript> publi…'
- 04:03, 15 July 2010 diff hist +825 Nm ZK Developer's Guide/ZK in Depth/Zscript, java, EL/define Variable in zscript and access by EL Created page with '{{ZKDevelopersGuidePageHeader}} Variable defined in <tt>zscript</tt> can be easily accessed by EL. <source lang="xml" > <window> <zscript><![CDATA[ var="abc"; ]]> </zscrip…'
- 04:01, 15 July 2010 diff hist +578 Nm ZK Developer's Guide/ZK in Depth/Zscript, java, EL/access UI component by ID Created page with '{{ZKDevelopersGuidePageHeader}} <tt>zscript</tt> can access UI component by ID, in the following example, <source lang="xml" > <window id="win_1"> <zscript><![CDATA[ win_1…'
- 03:56, 15 July 2010 diff hist +760 Nm ZK Developer's Guide/ZK in Depth/Zscript, java, EL/Use zscript to initialize Created page with '{{ZKDevelopersGuidePageHeader}} In Page Initial Phase, ZK processes the processing instructions, called <tt>init</tt>. Use <tt>zscript</tt> to init the page,simply specify a f…'
- 03:54, 15 July 2010 diff hist +1,405 Nm ZK Developer's Guide/ZK in Depth/Zscript, java, EL/Overview Created page with '{{ZKDevelopersGuidePageHeader}} By default, code in <tt>zscript</tt> is Java language. Therefore, any code written in <tt>zscript</tt> can move to java file by slightly modifica…'
- 03:43, 15 July 2010 diff hist +9,880 Nm ZK Developer's Guide/ZK in Depth/Macro Component/Regular Macros Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ ZK created a real component (called a macro component) to represent the regular macro as described in the previous section. For sake of…'
- 03:36, 15 July 2010 diff hist +2,818 Nm ZK Developer's Guide/ZK in Depth/Macro Component/Inline Macros Created page with '{{ZKDevelopersGuidePageHeader}} There are two kinds of macro components: inline<ref>Inline macro components are added since ZK 2.3.</ref> and regular. By default, regular macros…'
- 03:34, 15 July 2010 diff hist +3,611 Nm ZK Developer's Guide/ZK in Depth/Macro Component/Three Steps to Use Macro Components Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ It takes three steps to use macro components as follows. # Implements a macro component by a ZUML page. # Declare the macro component i…'
- 03:31, 15 July 2010 diff hist +901 Nm ZK Developer's Guide/ZK in Depth/Macro Component/Macro Components Created page with '{{ZKDevelopersGuidePageHeader}} There are two ways to implement a component. One is to implement a class deriving from the <javadoc>org.zkoss.zk.ui.AbstractComponent</javadoc> c…'
- 03:16, 15 July 2010 diff hist +1,578 Nm ZK Developer's Reference/Data Binding/Define the Access Privilege of Data Binding Manager Created page with '{{ZKDevelopersGuidePageHeader}} For better control of data-binding manager, you can set the access mode of the attribute-name of the component-name to be <tt>both</tt>(load/save…'
- 03:16, 15 July 2010 diff hist +2,765 Nm ZK Developer's Reference/Data Binding/Customization of Conversion between the Data Source and UI Components Created page with '{{ZKDevelopersGuidePageHeader}} If you want to do the conversion between the Data Source and UI components by yourself, you could specify the class name of the converter in the …'
- 03:14, 15 July 2010 diff hist +1,903 Nm ZK Developer's Reference/Data Binding/Associate UI Components with a Collection Created page with '{{ZKDevelopersGuidePageHeader}} It can be very useful to associate a collection with a UI components, and Data Binding Manager will convert the collection into UI components acc…'
- 03:10, 15 July 2010 diff hist +1,496 Nm ZK Developer's Reference/Data Binding/Associate the Same Data Source with Multiple UI Components Created page with '{{ZKDevelopersGuidePageHeader}} One data source could be associated with multiple UI components. Once the data source had been modified, those associated UI components will be u…'