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.

Now we have to implement a destination for the drag-and-drop. Here, we use a<br />

simple label.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

mediaType.doOverlapped();<br />

<br />

<br />

<br />

[ 115 ]<br />

Chapter 4<br />

One interesting layout element is the splitter component. With one simple<br />

statement it's possible to add a splitter in <strong>ZK</strong>. Therefore, we just try adding a splitter<br />

between the input box, and the image upload box.<br />

<br />

The screen with the closed splitter (attribute open="false") is as shown :

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

Saved successfully!

Ooh no, something went wrong!