LongOperations"

From Documentation
(Created page with "{{Template:Smalltalk_Author| |author=Robert Wenzel, Engineer, Potix Corporation |date=January XX, 2015 |version=ZK 7.0.4 }} = Introduction = Longoperations are useful - bla - l...")
 
m
Line 22: Line 22:
 
== Parallel Tasks ==
 
== Parallel Tasks ==
  
== Pimp your operation ==
+
== Extending LongOperation ==
  
 
= Resulting Demo =
 
= Resulting Demo =
 
The video below demonstrates the results of the two advanced usages described above. For ease of demonstration here we use a PDF printer so the resulting screen is a PDF file, but you can definitely specify a real printer to print out the desired results on papers.
 
The video below demonstrates the results of the two advanced usages described above. For ease of demonstration here we use a PDF printer so the resulting screen is a PDF file, but you can definitely specify a real printer to print out the desired results on papers.
<gflash width="900" height="750">printing_demo.swf</gflash>
+
<gflash width="900" height="750">long_operations_demo.swf</gflash>
  
 
= Summary =
 
= Summary =

Revision as of 07:03, 8 January 2015

Documentationobertwenzel
obertwenzel

Author
Robert Wenzel, Engineer, Potix Corporation
Date
January XX, 2015
Version
ZK 7.0.4


Introduction

Longoperations are useful - bla - leverage Java Threads - bla - here how to hide and reuse the technical details. support MVVM and MVC programming model

Long Operations de-mystified

Simple Sample

Showing Operation updates/progress

Aborting a Long Operation

Exception Handling

Parallel Tasks

Extending LongOperation

Resulting Demo

The video below demonstrates the results of the two advanced usages described above. For ease of demonstration here we use a PDF printer so the resulting screen is a PDF file, but you can definitely specify a real printer to print out the desired results on papers. ERROR: Link hasn't been found

Summary

With the printing utility explained in the article, you can print the desired sections in a ZK page with only little effort -- you can even include custom headers & footers or change the style easily for better readability. For your convenience we have wrapped this utility as a ready-to-use jar file. Refer to download section to download the jar file and put it in your project's WEB-INF/lib folder.

Download

  • The source code for this article can be found in github.
  • Download the packed jar file from github.


Comments



Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.