Search results
From Documentation
Page title matches
- ZK's annotated data binding mechanism involves the following players to make it work: * Data Bean7 KB (857 words) - 09:33, 9 December 2013
- ...is section, we will explore how to leverage ZK's convenient annotated data binding to achieve the same end. ===How Data Binding and Controller Work Together===9 KB (1,198 words) - 10:47, 19 July 2011
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:53, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:58, 10 February 2012
- For better control of data-binding manager, you can set the access mode of the attribute-name of the component ...stcell</code>, "<code>fullname</code>", will remain unchanged because Data Binding manager is informed not to update its value.2 KB (223 words) - 10:39, 19 January 2022
- Activates Data Binding Manager by defining the page Initializer at the top of the page. ...aBinder.loadAll()</code> to initiate all UI components from the associated data source.900 bytes (116 words) - 10:39, 19 January 2022
- #REDIRECT [[Small Talks/2007/March/Data Binding Collection Data with ZUML Annotations]]87 bytes (11 words) - 07:39, 20 September 2010
- |url=[[ZK Developer's Reference/Data Binding|ZK Developer's Reference: Data Binding]] ...es to the application developer's point, it is just as easy as any ZK data binding :-).12 KB (1,747 words) - 03:25, 9 February 2012
- ...View Component and its child components. The main difference from command binding is the event doesn't have to belong to the ViewModel's root view component ...a default global command method which is invoked only if a global command binding doesn't match any other global command methods. When a binder receives a gl10 KB (1,469 words) - 07:35, 8 July 2022
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 04:02, 10 February 2012
- ...ace first then move to real target object after the user confirms it. Form binding provide a middle object to store unconfirmed input without implementing by ...ing ZK bind expression and it reduces developer's burden of cleaning dirty data manually or implementing buffer himself.8 KB (1,182 words) - 07:35, 8 July 2022
- ...er's Reference/MVVM/ViewModel/Commands]] </ref> without writing code. This binding is established by <code>@command</code> with command's name in a ZUL. We c '''Command binding example'''7 KB (1,001 words) - 07:35, 8 July 2022
- = Two Way Data Binding = Property binding makes developers bind any component's attribute to ViewModel's property and13 KB (1,799 words) - 07:35, 8 July 2022
- Children binding allows us to bind child components to a collection then we can create a gro ...nents and set its '''name''' attribute to '''children'''. Because children binding chooses the default template with name '''children'''.4 KB (484 words) - 07:35, 8 July 2022
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:57, 10 February 2012
- ...Data Binding Manager when to save the attribute of the component into the data source. In the following example, Data Binding Manager will save the attribute "<code>value</code>" of <code>Textbox</code2 KB (224 words) - 10:40, 19 January 2022
- ...</code> tag expression to tell Data Binding Manager when to load data from data source into the component's attribute. Data Binding Manager will re-load <code>value</code> of <code>Label </code>whose id is<c2 KB (267 words) - 10:40, 19 January 2022
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:55, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:57, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:58, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:54, 10 February 2012
- ...he component that is binded to this reference. Typically, we use reference binding to shorten expressions or to modularize the view<ref>When using this featur | The new reference-binding feature.2 KB (343 words) - 07:35, 8 July 2022
- ...fied, those associated UI components will be updated automatically by Data Binding Manager. In the following example. we use ZUML annotation expression to associate a data source, a <code>Person</code> instance, "<code>selected</code>" with multip2 KB (211 words) - 10:39, 19 January 2022
- Not only showing the data by model, you can also modify underlying model by UI in real time.160 bytes (20 words) - 03:42, 29 December 2010
- ...ation expression to tell data-binding manager the relationship between the data source and UI components. Its usage is very straightforward, simply declare * <code>attribute-name</code> represents an attribute of UI component or the data source2 KB (214 words) - 10:39, 19 January 2022
- ...Data Binding Manager to use your own way to do the conversion between the data source and UI components.3 KB (391 words) - 10:39, 19 January 2022
- First of all, we have to define a data source as a data bean. In this example, we use <code>Person</code> class as an example that Then, declare a data source in the page as follows,1 KB (155 words) - 10:39, 19 January 2022
- ...methods because of data binding. Through using a '''binder''' to add data binding for components, we also can enjoy this benefit in a composer. This section There are 3 basic steps involved to create data binding:9 KB (1,208 words) - 04:58, 1 April 2022
- ...about how to configure language definition and its addon. If you want data binding can works on your newly-created component, you should define its own annota | RENDERER|| A special renderer for binding6 KB (733 words) - 07:46, 18 January 2022
File:Dev-ref-mvvm-adv-data-binding-programmatically.png (602 × 162 (13 KB)) - 09:11, 2 January 2013- #REDIRECT [[Small Talks/2006/April/Data-Binding Implementation for ZK]]71 bytes (8 words) - 07:39, 20 September 2010
- #REDIRECT [[Small Talks/2006/December/Zero Code Data Binding with ZUML Annotations]]84 bytes (11 words) - 01:54, 21 September 2010
- The '''Model''' consists of application data and business rules. <tt>CarService</tt> and other classes used by it repres The '''ViewModel''' is responsible for exposing data from the Model to the View and providing required action requested from the14 KB (2,140 words) - 22:22, 13 August 2012
- #REDIRECT [[Small Talks/2009/September/Karn: Declarative Data-binding for ZK]]78 bytes (9 words) - 08:36, 20 September 2010
- #REDIRECT [[Small Talks/2006/November/Two-way Data Binding with ZUML Annotations]]82 bytes (10 words) - 01:06, 21 September 2010
- #REDIRECT [[User:Hawk/Declare Data Binding Annotation for a Custom Component]]78 bytes (11 words) - 07:11, 27 September 2012
- ...tateDataBinder (ready since ZK 2.2.0), will allow designing zero code data binding with ZUML annotations. //copy UI components values to data bean properties in one method call.7 KB (1,004 words) - 06:39, 8 December 2010
- ...e'll look into how we could automate that process with ZK's annotated data binding mechanism.388 bytes (50 words) - 09:16, 19 July 2011
- ...this data-binding feature. Before we go through the mechanism of the data-binding implementation, I would like to start with some background about this libra ...framework, especially WinForm, introduces a good technique known as “Data Binding” that allows develop to bind a specific property of an object to GUI elem6 KB (984 words) - 07:39, 20 September 2010
- Karn is a component package for ZK. This package brings declarative data-binding, centralized event handling mechanism and certain widgets enhancements to == Data-binding: ==14 KB (2,147 words) - 02:47, 6 December 2011
- Since the day one ZK has provided data binding mechanism via EL expressions. The UI component can be initialized its value ...rs have to write plumbing codes to transfer values among UI components and data beans properties. It can be tedious and error prone.12 KB (1,705 words) - 07:13, 29 December 2010
- ...ibutors, we have created this easy to use, flexible, feature rich new data binding system in ZK6. ...ted annotations: ZK Bind uses a set of annotations to make the use of data binding as intuitive and clear as possible.9 KB (1,267 words) - 07:46, 6 December 2011
- ...g converter developers can achieve this without actually changing the real data in a ViewModel. * @param ctx bind context for associate Binding and extra parameter (e.g. format)6 KB (801 words) - 07:35, 8 July 2022
- ...tion message holder. When it's applied, it's invoked before saving data to binding target (ViewModel or middle object). When you bind a component's attribute ! width="45%"| <center>Property Binding</center>26 KB (3,443 words) - 07:35, 8 July 2022
- ...>org.zkoss.zk.ui.util.Composer</javadoc> and plays a role to activate data binding mechanism for a component and its children components. It also initializes <!-- other components inside will have data binding ability-->4 KB (630 words) - 07:35, 8 July 2022
- The <javadoc>org.zkoss.bind.Binder</javadoc> is the key in the whole data binding mechanism. When we apply a <javadoc> org.zkoss.bind.BindComposer </javadoc> ...el. It also synchronizes data between ZUL(View) and ViewModel based on the binding relationship and forwards events to ViewModel's command method.2 KB (322 words) - 07:35, 8 July 2022
- 3 KB (465 words) - 15:05, 12 January 2022
- ...r during user interaction. But EL evaluation's result we expect in initial binding annotation is different for attribute "viewModel" and "form". = @init at Form Binding =2 KB (263 words) - 07:35, 8 July 2022
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:53, 10 February 2012
- The data binding mechanism plays key role in synchronizing data between the View and ViewModel when developing a web application using the ...onent's attribute and the target object, it's usually a ViewModel, by data binding annotation expression.9 KB (1,255 words) - 07:09, 28 May 2015
Page text matches
- |url=[[ZK Developer's Reference/MVVM/Data Binding]] ...ource to UI components) and saving (saving data from UI component into the data source) jobs automatically.625 bytes (82 words) - 03:47, 10 February 2012
- ...source to UI components) and saving (save data from UI component into the data source) job automatically.518 bytes (70 words) - 04:30, 18 January 2011
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding/Global Command Binding]]79 bytes (10 words) - 09:55, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding/Command Binding]]72 bytes (9 words) - 09:54, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding/Property Binding]]73 bytes (9 words) - 09:54, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding/Children Binding]]73 bytes (9 words) - 09:55, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding/Form Binding]]69 bytes (9 words) - 09:55, 8 February 2012
- ...integrating JSF, Ajax4jsf, EJB3 etc. Although Seam is powerful, but it is binding the presentation layout with JSF and Ajax4jsf. ...veloper's Reference: Data Binding]] and new feature of annotation for Data Binding in ZK 2.4 [[Small_Talks/2007/July/New_Features_of_ZK_2.4.1 |here]]924 bytes (146 words) - 03:27, 29 December 2010
- #REDIRECT [[Small Talks/2007/March/Data Binding Collection Data with ZUML Annotations]]87 bytes (11 words) - 07:39, 20 September 2010
- ...ation expression to tell data-binding manager the relationship between the data source and UI components. Its usage is very straightforward, simply declare * <code>attribute-name</code> represents an attribute of UI component or the data source2 KB (214 words) - 10:39, 19 January 2022
- The ''controller'' is a Java program that is used to glue UI (view) and Data (model) together. A simple UI does not require any controllers. For example, the data of a <javadoc>org.zkoss.zul.Listbox</javadoc> could be abstracted by implem1 KB (173 words) - 03:27, 29 January 2024
- ...Data Binding Manager when to save the attribute of the component into the data source. In the following example, Data Binding Manager will save the attribute "<code>value</code>" of <code>Textbox</code2 KB (224 words) - 10:40, 19 January 2022
- #REDIRECT [[Small Talks/2006/April/Data-Binding Implementation for ZK]]71 bytes (8 words) - 07:39, 20 September 2010
- #REDIRECT [[Small Talks/2006/December/Zero Code Data Binding with ZUML Annotations]]84 bytes (11 words) - 01:54, 21 September 2010
- #REDIRECT [[User:Hawk/Declare Data Binding Annotation for a Custom Component]]78 bytes (11 words) - 07:11, 27 September 2012
- #REDIRECT [[Small Talks/2009/September/Karn: Declarative Data-binding for ZK]]78 bytes (9 words) - 08:36, 20 September 2010
- #REDIRECT [[Small Talks/2006/November/Two-way Data Binding with ZUML Annotations]]82 bytes (10 words) - 01:06, 21 September 2010
- ...</code> tag expression to tell Data Binding Manager when to load data from data source into the component's attribute. Data Binding Manager will re-load <code>value</code> of <code>Label </code>whose id is<c2 KB (267 words) - 10:40, 19 January 2022
- This section explores ZK in more depth including data binding, macro components and style customization.203 bytes (18 words) - 03:31, 1 September 2010
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:55, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:54, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:54, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:53, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:53, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:58, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:58, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:57, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 09:53, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 03:57, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]56 bytes (7 words) - 04:02, 10 February 2012
- #REDIRECT [[ZK Developer's Reference/Data Binding]]51 bytes (6 words) - 07:17, 11 November 2010
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding/Initialization]]71 bytes (8 words) - 09:54, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding/Converter]]66 bytes (8 words) - 09:55, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding/Validator]]66 bytes (8 words) - 09:55, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding/BindComposer]]69 bytes (8 words) - 09:54, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Syntax/Data Binding]]63 bytes (8 words) - 09:58, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding/Binder]]63 bytes (8 words) - 09:54, 8 February 2012
- ...prop-init] vm.element.name > value <label uuid="j5VUb" id="" /> at [file:/data/zk/git/zk/zktest/src/archive/bind/basic/allfunction.zul, line:27, nearby co ...op-load] vm.element.name > value <textbox uuid="j5VUd" id="" /> at [file:/data/zk/git/zk/zktest/src/archive/bind/basic/allfunction.zul, line:29, nearby co6 KB (752 words) - 03:39, 15 December 2023
- #REDIRECT [[ZK Developer's Reference/MVVM/Syntax/Data Binding/@init]]69 bytes (9 words) - 09:58, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Syntax/Data Binding/@load]]69 bytes (9 words) - 09:58, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Syntax/Data Binding/@save]]69 bytes (9 words) - 09:58, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Syntax/Data Binding/@bind]]69 bytes (9 words) - 09:58, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Syntax/Data Binding/@command]]72 bytes (9 words) - 09:58, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Syntax/Data Binding/@converter]]74 bytes (9 words) - 09:59, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Syntax/Data Binding/@validator]]74 bytes (9 words) - 09:59, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Data Binding/EL Expression]]70 bytes (9 words) - 09:55, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Syntax/Data Binding/@template]]73 bytes (9 words) - 09:59, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Syntax/Data Binding/@id]]67 bytes (9 words) - 09:58, 8 February 2012
- #REDIRECT [[ZK Developer's Reference/MVVM/Syntax/Data Binding/@global-command]]79 bytes (9 words) - 09:59, 8 February 2012
- .... And those buttons must send a onClick Event to tirggerBtn to notify Data Binding to process. ...e:String,bean:Object)</span>. After that, we can reload the window by Data Binding.4 KB (548 words) - 06:37, 20 July 2010