This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> | |
<description><![CDATA[My ZK Application]]></description> | |
<display-name>ZKExampleTheme</display-name> | |
<!-- //// --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>ZKExampleTheme</groupId> | |
<artifactId>ZKExampleTheme</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<properties> | |
<zk.version>7.0.3</zk.version> | |
<commons-io>1.3.1</commons-io> | |
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "~./zul/less/_header.less"; | |
@windowBackgroundColor: #D9E5EF; | |
@windowFramePadding: 8px; | |
.defaultOverflowZoom() { | |
overflow: hidden; | |
zoom: 1; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<zk> | |
<window id="patientscan" border="none" | |
apply="org.zkoss.bind.BindComposer" | |
viewModel="@id('vm') @init('com.product.webapp.patient.PatientScanVM')"> | |
<script type="text/javascript"> | |
<![CDATA[ | |
var directoryPath = "C:\\CSSNDemoImages\\"; //set path to root folder for web app. to hold all images generated by this app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
<html> | |
<head> | |
<title>Driver License Scan demo</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<script src="JavaScript/IdErrorDescription.js" type="text/javascript"></script> | |
<script src="JavaScript/ScannerErrorDescription.js" type="text/javascript"></script> | |
<script type="text/JavaScript" src="JavaScript/SDKLicenseKey.js"></script> | |
<script type="text/javascript"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@CHARSET "ISO-8859-1"; | |
/* ----------------------------------------------------------------------------------------------------------------------- */ | |
/* Modal Window CSS Customization | |
/* ----------------------------------------------------------------------------------------------------------------------- */ | |
.mymodal .z-window-modal-hm,.mymodal .z-window-modal-br,.mymodal .z-window-modal-cr,.mymodal .z-window-modal-cl,.mymodal .z-window-modal-hr,.mymodal .z-window-modal-tr,.mymodal .z-window-modal-hl | |
{ | |
background-image: none; | |
background: transparent repeat-x 0 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@CHARSET "ISO-8859-1"; | |
/* ----------------------------------------------------------------------------------------------------------------------- */ | |
/* Modal Window CSS Customization | |
/* ----------------------------------------------------------------------------------------------------------------------- */ | |
.mymodal .z-window-modal-header,.mymodal .z-window-modal-header-noborder | |
{ | |
padding-top: 1px; | |
padding-right: -1px; | |
padding-bottom: 1px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?page title="Address List" contentType="text/html;charset=UTF-8"?> | |
<zk> | |
<window id="addressList" border="none" | |
apply="org.zkoss.bind.BindComposer" | |
viewModel="@id('vm') @init('zkoss.vm.AddressListVM')"> | |
<separator /> | |
<separator /> | |
<div width="100%"> | |
<div sclass="sectionTitle"> | |
<separator /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?page title="new page title" contentType="text/html;charset=UTF-8"?> | |
<zk> | |
<window title="Address" id="addressCRUD" border="normal" width="30%" | |
mode="modal" maximizable="false" closable="true" sclass="mymodal" | |
position="center,parent" apply="org.zkoss.bind.BindComposer" | |
viewModel="@id('vm') @init('zkoss.vm.AddressListCRUDVM')"> | |
<panel width="100%"> | |
<panelchildren> | |
<separator /> | |
<grid sclass="vgrid"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package zkoss.vm; | |
import java.util.HashMap; | |
import java.util.List; | |
import org.zkoss.bind.BindUtils; | |
import org.zkoss.bind.annotation.AfterCompose; | |
import org.zkoss.bind.annotation.BindingParam; | |
import org.zkoss.bind.annotation.Command; | |
import org.zkoss.bind.annotation.ContextParam; |
NewerOlder