23.12.2012 Views

ZK Developer's Guide

ZK Developer's Guide

ZK Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table of Contents<br />

Deployment 39<br />

Deployment of <strong>ZK</strong> Applications with Maven 39<br />

Summary 41<br />

Chapter 2: Online Media Library 43<br />

An Online Media Library 43<br />

Setting up Eclipse to Develop with <strong>ZK</strong> 44<br />

Setting up a New Project 49<br />

Creating the Pages 51<br />

Summary 67<br />

Chapter 3: Extending the Online Media Library 69<br />

AJAX—Live Data 69<br />

Updating at the Right Place 75<br />

Optimize the Result Presentation 77<br />

Improve Navigation Inside the Data 79<br />

Some Candies for the User 84<br />

Summary 91<br />

Chapter 4: Is it on the Desktop or on the Web? 93<br />

Adding Drag-and-Drop 93<br />

Adding a Login Page 100<br />

Extending Add and Update 109<br />

Internationalization with the <strong>ZK</strong> Framework 121<br />

Summary 123<br />

Chapter 5: Integration with Other Frameworks 125<br />

Integration with the Spring Framework 125<br />

Hibernate 132<br />

JasperReport 133<br />

<strong>ZK</strong> Mobile 133<br />

<strong>ZK</strong> JSP Tags Library 135<br />

<strong>ZK</strong> JSF Components 136<br />

Binding to a Backing Bean 137<br />

ValueBinding of a component 137<br />

Summary 138<br />

Chapter 6: Creating Custom Components 139<br />

Cascading Style Sheets (CSS) 139<br />

Macro Components 142<br />

Creating Our Own Component 146<br />

Summary 154<br />

Chapter 7: Development Tools for the <strong>ZK</strong> Framework 155<br />

<strong>ZK</strong>-Bench 155<br />

[ ii ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!