ZK Developer's Guide
ZK Developer's Guide
ZK Developer's Guide
- TAGS
- guide
- iknow.seforge.org
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
The implementation of the modal dialog is the same as the implementation of a<br />
normal dialog. We lay out the components in a normal window component. The<br />
implementation is as follows:.<br />
<br />
<br />
<br />
<br />
<br />
Settings settingsStorage = SettingsFactory.get();<br />
<br />
<br />
<br />
<br />
<br />
<br />
settingsWindow.doModal();<br />
<br />
<br />
<br />
<br />
The value is set with the help of an annotation. To use this annotation,<br />
we have to add an init sequence for the org.zkoss.zkplus.databind.<br />
AnnotateDataBinderInit class.<br />
It's important to know that a page can have more than one class for the<br />
init sequence.<br />
To use that implementation we have to define that init class at the beginning of<br />
the page.<br />
<br />
To complete the picture the complete implementation of the new index.zul is<br />
shown below.<br />
<br />
[ 87 ]<br />
Chapter 3<br />
<br />
<br />
<br />