Quantcast
Channel: The JavaDude Weblog » zk
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

Get all Browser and Client Info from a ZK session

It is important to capture certain client information, such as browser, locale, ip-address and others as part of logging or auditing. I need to do this in a controller and was curious what I can...

View Article



Image may be NSFW.
Clik here to view.

ZK ‘zau.send()’ Sample

When using the ZK framework out-of-the-box, there is not much need to rely on any other communication methods than using the regular controller methods, except you want to pass client-side data that...

View Article

Image may be NSFW.
Clik here to view.

ZK ‘Client-Server’ Communication Sample Part 2

In the first part (link) we made a javascript embedded into our zul page send data to the controller with the magic zau.send() function. The reverse can be done too, call a javascript on the zul page...

View Article

Image may be NSFW.
Clik here to view.

ZK and d3.js

One of the important questions to me: Can I embed d3.js in my ZK zul pages and talk to the visualization ? Embedding is fairly simple, using the html tag you can embed any native html content and...

View Article

Image may be NSFW.
Clik here to view.

ZK goes EC2 (Part 1)

Certainly not a big deal to deploy a ZK web application to a Amazon EC2 instance, but I needed a simple application that allows my team to start/stop our EC2 instance that we use for testing and demo...

View Article


Image may be NSFW.
Clik here to view.

ZK goes EC2 (Part 2)

Part 1 of this tutorial we concluded with an web application that displays all our instances and their status. In this part we will add some more features to control our instances. Prerequisites: The...

View Article

Image may be NSFW.
Clik here to view.

Netbeans + Visual Paradigm = EJB Tutorial (Part 2)

In part 1 of this tutorial we walk through the modeling and code creation of an EJB using Netbeans and Visual Paradigm. In part 2 we will create a simple sample ZK web application that reads data using...

View Article

Image may be NSFW.
Clik here to view.

ZK and the clipboard

  Sounds too simple and it is present at a lot of websites: Copy to clipboard I never had the requirement to copy text from a website to the clipboard, like you get the git URL when you are on a GIT...

View Article


Image may be NSFW.
Clik here to view.

ZK goes EC2 (Part 3)

The third part of the tutorial where I improve a few things. I will not walk through the complete code but highlight a few important points and give you the complete sourcecode at the end. To recap, my...

View Article


Image may be NSFW.
Clik here to view.

Code Snippet: ZK controller reading URL parameter

How to pass parameters as part of the URL like http://&#8230;.?name=Smith&first=John ? ZUL page <pre><?xml version="1.0" encoding="UTF-8"?> <zk...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images