Welcome Back. When i started learning ZK, one of the challenge thing for me to dynamically generate the Menu from the Database using different components of ZK. We managed using via MVC and created all the stuff using pure java. But now thanks to MVVM and Children binding mechanism of ZK. Using that, with minimal lines of code, we can achieve the result.This post will talk about creating Dynamic Menu using different ZK ComponentsPart 1: This article will explain how we can use ZK Menu Component to build N level of menu dynamicallyPart 2:...
Monday, 16 September 2013
ZK Dynamic Menu Part 5
Posted on 06:19 by Unknown
In Part 3, we have seen how to create left navigation menu using ZK Group Box and ZK Tool bar button dynamically and also in part 4, Using the same data set, We created two level menu in the top using Tab box and Tool bar as like this ZK Demo.Now we will combine Part 3 and Part 4, i.e we will create 4 level menu, 1st level in Tabbox , 2nd Second Tab Panel Tool Bar Button, 3nd Level Left Group Box and 4th Level Tool Bar Button under each group Box.MenuItem.java...
ZK Dynamic Menu Part 4
Posted on 05:40 by Unknown
In Part 3, we have seen how to create left navigation menu using ZK Group Box and ZK Tool bar button dynamically. Using the same data set, We can also create two level menu in the top using Tab box and Tool bar as like this ZK Demo.MenuItem.java package com.example.menu;import java.util.ArrayList;import java.util.List;public class MenuItem { private String name; private List<MenuItem> children; private int level; public MenuItem(String name,int...
Sunday, 15 September 2013
ZK Dynamic Menu Part 3
Posted on 18:46 by Unknown
In Part 2, we have seen how to Fill tree component dynamically. In this post, how we can create left navigation menu using ZK Group Box and ZK Tool bar button dynamically.MenuItem.java package com.example.menu;import java.util.ArrayList;import java.util.List;public class MenuItem { private String name; private List<MenuItem> children; private int level; public MenuItem(String name,int level) { this.name = name; this.level = level; children...
ZK Dynamic Menu Part 2
Posted on 18:02 by Unknown
In the last article, we have seen how we can dynamically create Menu using Menu component. In this post, we will see how we can create Dynamic tree using the same class.MenuItem.java package com.example.menu;import java.util.ArrayList;import java.util.List;public class MenuItem { private String name; private List<MenuItem> children; private int level; public MenuItem(String name,int level) { this.name = name; this.level = level; children...
Friday, 13 September 2013
ZK Dynamic Menu Part 1
Posted on 22:12 by Unknown
In most of the application, Menu are build up from the database and maintain user level screen access to control access. Now let us see how we can create dynamic menu using different ZK Components. In this part, we will see how we can use ZK Menu component to build up. Assume that, our application menu has the following structure(Just for an example)1.Administration Secuirty ...
Tuesday, 3 September 2013
Create a Report with ZK using iReport 5.1.0 and JasperReports
Posted on 10:52 by Unknown
First let us setup the development environment. Download this document and follow the step by step instruction to install the necessary software’s.Step 1:Let us create new ZK Maven Project as shown in the following stepsIn the Eclipse IDE, select File –> New-> Other->Maven Project Click Next and Select zk-archetype-webapp 6.5.2 as shown belowClick Next and enter ireportExamples for Group ID, Artifact ID and package as shown. Select 6.5.2...
Subscribe to:
Posts (Atom)