User contributions
From Documentation
- 06:16, 16 July 2010 diff hist +889 Nm ZK Developer's Reference/Performance Tips/Defer the Creation of Child Components Created page with '{{ZKDevelopersGuidePageHeader}} For sophisticated pages, the performance can be improved if we defer the creation of child components until they are becoming visible. The simple…'
- 05:07, 16 July 2010 diff hist +4,158 Nm ZK Developer's Reference/UI Patterns/Event Threads Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ By default, ZK processes an event in an independent thread called the event processing thread. Thus, the developer can suspend and resum…'
- 05:05, 16 July 2010 diff hist +10 m ZK Developer's Reference/Performance Tips/Use Compiled Java Codes
- 05:02, 16 July 2010 diff hist +3,000 m ZK Developer's Reference/Performance Tips/Use Compiled Java Codes
- 05:00, 16 July 2010 diff hist +429 Nm ZK Developer's Reference/Performance Tips/Use Compiled Java Codes Created page with '{{ZKDevelopersGuidePageHeader}} It is convenient to use zscript in ZUML, but it comes with a price: slower performance. The degradation varies from one application from another.…'
- 04:02, 16 July 2010 diff hist +1,182 Nm ZK Developer's Reference/Internationalization/Warning and Error Messages Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ Messages are stored in properties files which are located at the <tt>/metainfo/mesg</tt> directory of the classpath. Each module is asso…'
- 03:53, 16 July 2010 diff hist +3,826 Nm ZK Developer's Reference/Internationalization/Locale-Dependent Resources Created page with '{{ZKDevelopersGuidePageHeader}} === Browser and Locale-Dependent URI === Many resources depend on the Locale and, sometimes, the browser that a user is used to visit the Web pag…'
- 03:41, 16 July 2010 diff hist +1,793 Nm ZK Developer's Reference/Internationalization/Labels Created page with '{{ZKDevelopersGuidePageHeader}} Developers could separate Locale-dependent data from the ZUML pages (and JSP pages) by storing them in i3-label_''lang''_''CNTY''.properties unde…'
- 03:38, 16 July 2010 diff hist +2,419 Nm ZK Developer's Reference/Internationalization/The First Day of the Week Created page with '{{ZKDevelopersGuidePageHeader}} By default, the first day of the week depends on the locale (e.g., Sunday in US, Monday in France). In fact, it is the value returned by the <tt>…'
- 03:29, 16 July 2010 diff hist +1,663 Nm ZK Developer's Reference/Internationalization/Time Zone Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ The time zone used to process requests and events is, by default, determined by the JVM's preferences (by use of the <tt>getDefault</tt>…'
- 03:27, 16 July 2010 diff hist +4,845 Nm ZK Developer's Reference/Internationalization/Locale Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ The locale used to process requests and events is, by default, determined by the browser's preferences (by use of the <tt>getLocale</tt>…'
- 03:12, 16 July 2010 diff hist +67 Nm ZK Developer's Guide/ZK in Depth/How to Initialise the Page/Initialize by Java Class Created page with '{{ZKDevelopersGuidePageHeader}} {{ ZKDevelopersGuidePageFooter}}' current
- 03:12, 16 July 2010 diff hist +67 Nm ZK Developer's Guide/ZK in Depth/How to Initialise the Page/Initialize by zscript Created page with '{{ZKDevelopersGuidePageHeader}} {{ ZKDevelopersGuidePageFooter}}' current
- 03:10, 16 July 2010 diff hist +388 Nm ZK Developer's Guide/ZK in Depth/How to Initialise the Page/The apply Attribute Created page with '{{ZKDevelopersGuidePageHeader}} It specifies a class, a collection of classes that are used to initialize the component. The class must implement the <tt>org.zkoss.zk.util.Compo…'
- 03:09, 16 July 2010 diff hist -14 m ZK Developer's Guide/ZK in Depth/How to Initialise the Page/ZK Directive: init
- 03:07, 16 July 2010 diff hist +68 m ZK Developer's Guide/ZK in Depth/How to Initialise the Page/ZK Directive: init
- 03:06, 16 July 2010 diff hist +1,710 Nm ZK Developer's Guide/ZK in Depth/How to Initialise the Page/ZK Directive: init Created page with '{{ZKDevelopersGuidePageHeader}} <source lang="xml" > <?init class="..." [arg0="..."] [arg1="..."] [arg2="..."] [arg3="..."]?> <?init zscript="..."?> </source> There are two app…'
- 03:02, 16 July 2010 diff hist +80 Nm ZK Developer's Guide/ZK in Depth/Unit Test/Reference Created page with '{{ZKDevelopersGuidePageHeader}} <references/> {{ ZKDevelopersGuidePageFooter}}' current
- 03:01, 16 July 2010 diff hist 0 N File:Selenium-result.png current
- 03:01, 16 July 2010 diff hist +669 Nm ZK Developer's Guide/ZK in Depth/Unit Test/Running the Test Case Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ ===Running Selenium server=== Go to the '''''SELENIUM_HOME/selenium-server-1.0/''''' directory and launch <pre>java -jar selenium-server…' current
- 02:59, 16 July 2010 diff hist 0 N File:Firebug-targetid.png current
- 02:59, 16 July 2010 diff hist 0 N File:Firebug-inspect.png current
- 02:59, 16 July 2010 diff hist 0 N File:Selenium2.png current
- 02:57, 16 July 2010 diff hist +2,735 Nm ZK Developer's Guide/ZK in Depth/Unit Test/Test Case Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ ====ZK application==== This test case is simple, we have a window, and a button. Once the button is clicked, it changes the title of win…' current
- 02:55, 16 July 2010 diff hist +2,236 Nm ZK Developer's Guide/ZK in Depth/Unit Test/Environment Setup Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ ===ZK=== For client-side debugging, developers must generate a predictable component id allowing client-side unit testing libraries acce…'
- 02:53, 16 July 2010 diff hist +31 m ZK Developer's Guide/ZK in Depth/Unit Test/Version Info current
- 02:53, 16 July 2010 diff hist +597 Nm ZK Developer's Guide/ZK in Depth/Unit Test/Version Info Created page with '{{ZKDevelopersGuidePageHeader}} *Selenium-1.0<ref>Selenium : [http://seleniumhq.org/ Selenium Official Site]</ref> *ZK 3.6 <ref>ZK : [http://www.zkoss.org/ ZK Official Site]</re…'
- 02:52, 16 July 2010 diff hist +446 Nm ZK Developer's Guide/ZK in Depth/Unit Test/Prerequisites Created page with '{{ZKDevelopersGuidePageHeader}} Download and install the following libraries or softwares, *[http://seleniumhq.org/download/ Selenium] *[http://www.zkoss.org/download/zk.dsp ZK]…' current
- 02:51, 16 July 2010 diff hist +323 Nm ZK Developer's Guide/ZK in Depth/Unit Test/Introduction Created page with '{{ZKDevelopersGuidePageHeader}} Selenium is a unit testing suite composed by a unit test runner Selenium Remote Control, some client library for different languages ( we are int…' current
- 08:25, 15 July 2010 diff hist +224 Nm ZK Developer's Guide/ZK in Depth/Live Data, Paging, setModel and Implement your own renderer/Data Binding Created page with '{{ZKDevelopersGuidePageHeader}} Not only showing the data by model, you can also modify underlying model by UI in real time. [[Example Code for Data binding with live data| Ex…'
- 08:24, 15 July 2010 diff hist +236 Nm ZK Developer's Guide/ZK in Depth/Live Data, Paging, setModel and Implement your own renderer/If extreme large data set, say 1,000,000 Created page with '{{ZKDevelopersGuidePageHeader}} [http://en.wikibooks.org/wiki/ZK/How-Tos/Concepts-and-Tricks#How_to_implement_paging_for_listboxes_with_many_items How to implement paging for li…'
- 08:22, 15 July 2010 diff hist +3,496 Nm ZK Developer's Guide/ZK in Depth/Live Data, Paging, setModel and Implement your own renderer/Examples Created page with '{{ZKDevelopersGuidePageHeader}} __TOC__ === Single-Column Example : Using only setModel === In the following example, an array of data("data") is prepared , it is passed as a p…' current
- 08:20, 15 July 2010 diff hist +37 m ZK Developer's Guide/ZK in Depth/Live Data, Paging, setModel and Implement your own renderer/Three Steps to Use Live Data
- 08:20, 15 July 2010 diff hist -690 ZK Developer's Guide/ZK in Depth/Live Data, Paging, setModel and Implement your own renderer/What's Renderer
- 08:19, 15 July 2010 diff hist +685 Nm ZK Developer's Guide/ZK in Depth/Live Data, Paging, setModel and Implement your own renderer/Three Steps to Use Live Data Created page with '{{ZKDevelopersGuidePageHeader}} *Prepare the data in the form of <tt>ListModel</tt>. ZK has a concrete implementation called <tt>org.zkoss.zul.SimpleListModel</tt> for represen…'
- 08:13, 15 July 2010 diff hist +1,012 Nm ZK Developer's Guide/ZK in Depth/Live Data, Paging, setModel and Implement your own renderer/What's Renderer Created page with '{{ZKDevelopersGuidePageHeader}} A renderer is responsible for rendering the layout of certain model. For example, <tt>RowRenderer</tt> is responsible for rendering data stored i…'
- 08:12, 15 July 2010 diff hist +708 Nm ZK Developer's Guide/ZK in Depth/Live Data, Paging, setModel and Implement your own renderer/What's Model Created page with '{{ZKDevelopersGuidePageHeader}} To assign data to a component (e.g. <tt>grid</tt> or <tt>listbox</tt>), you have to prepare the data in certain data model. For example, <tt>list…'
- 08:11, 15 July 2010 diff hist +1,394 Nm ZK Developer's Guide/ZK in Depth/Live Data, Paging, setModel and Implement your own renderer/What's Paging Created page with '{{ZKDevelopersGuidePageHeader}} Paging separates long content into multiple pages. A paging component is used for this purpose. For example, assume that you have 100 items and …'
- 08:10, 15 July 2010 diff hist +358 Nm ZK Developer's Guide/ZK in Depth/Live Data, Paging, setModel and Implement your own renderer/What's Live Data Created page with '{{ZKDevelopersGuidePageHeader}} The main idea of "live data" is to separate data from the view. Developers only have to manipulate the data model, and the data of view (UI Compo…' current
- 08:08, 15 July 2010 diff hist +657 Nm ZK Developer's Guide/ZK in Depth/Live Data, Paging, setModel and Implement your own renderer/Overview Created page with '{{ZKDevelopersGuidePageHeader}} In a real world web application, it's common to collect data from database, and show it in <tt>listbox</tt> or <tt>grid</tt> or <tt>tree</tt>. Th…'
- 07:59, 15 July 2010 diff hist +571 Nm ZK Developer's Guide/ZK in Depth/Style Customization/Parsing of CSS files for image URLs Created page with '{{ZKDevelopersGuidePageHeader}} Embed css file in a dsp file, is the way how ZK preprocess css file to support <tt>encodeURL()</tt> You may unjar zk package and refer to "box.cs…'
- 07:58, 15 July 2010 diff hist +92 Nm ZK Developer's Guide/ZK in Depth/Style Customization/What's wrong Created page with '{{ZKDevelopersGuidePageHeader}} The evaluation sequence: {{ ZKDevelopersGuidePageFooter}}' current
- 07:57, 15 July 2010 diff hist +541 Nm ZK Developer's Guide/ZK in Depth/Style Customization/Absolute position Created page with '{{ZKDevelopersGuidePageHeader}} By setting <tt>window</tt>'s <tt>left</tt>, <tt>top</tt>, <tt>mode="overlapped"</tt>, you can layout <tt>window</tt> by absolute position. Then, …'
- 07:56, 15 July 2010 diff hist +650 Nm ZK Developer's Guide/ZK in Depth/Style Customization/Line it up: hbox, vbox Created page with '{{ZKDevelopersGuidePageHeader}} You can neatly line up components using <tt>hbox</tt> and <tt>vbox</tt>. The <tt>hbox</tt> component is used to create a horizontally oriented bo…'
- 07:43, 15 July 2010 diff hist +422 Nm ZK Developer's Guide/ZK in Depth/Style Customization/Theme Created page with '{{ZKDevelopersGuidePageHeader}} A [http://en.wikipedia.org/wiki/Theme_(computing) theme] is a preset package containing graphical appearance details, used to customize the look …'
- 07:42, 15 July 2010 diff hist +1,165 Nm ZK Developer's Guide/ZK in Depth/Style Customization/Mold Created page with '{{ZKDevelopersGuidePageHeader}} A component could have different appearance even at the same page. The concept is called mold (aka., template). Developers could dynamically chan…'
- 07:38, 15 July 2010 diff hist +749 Nm ZK Developer's Guide/ZK in Depth/Style Customization/The contentStyle Property Created page with '{{ZKDevelopersGuidePageHeader}} Some container component such as <tt>window</tt>, <tt>groupbox</tt>, <tt>detail</tt> have a content block, you have to use <tt>contentStyle</tt> …'
- 07:37, 15 July 2010 diff hist +572 Nm ZK Developer's Guide/ZK in Depth/Style Customization/The Style Class (sclass) Created page with '{{ZKDevelopersGuidePageHeader}} The style component is used to specify CSS styles in a ZUML page. The simplest format is as follows. You can define the <tt>style</tt> property o…'
- 07:36, 15 July 2010 diff hist 0 N File:Firebug 1.JPG current
- 07:34, 15 July 2010 diff hist +920 Nm ZK Developer's Guide/ZK in Depth/Style Customization/firebug : edit, debug, and monitor CSS, HTML, and JavaScript lively Created page with '{{ZKDevelopersGuidePageHeader}} Firebug is a plugin for Firefox. You can use it to inspect how a ZK component is rendered into html, and what CSS is applying. For example, the f…'
- 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…'