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…'