From Documentation

Jump to: navigation, search

ZK provides an equivalent JSF component for each ZUL component. The use is similar to ZK JSP Tags, except the taglib URI is

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<title>Validator Example</title>
<%@ taglib uri="" prefix="h"%>
<%@ taglib uri="" prefix="f"%>
<%@ taglib uri="" prefix="z"%>
    <h:form id="helloForm">
            <z:window z:title="Validator Example" width="500px" border="normal">
                --Validate input day must in weekend--<br/>
                <z:datebox id="dbox" format="yyyy/MM/dd"
                 style="color: red; font-style: oblique;"
                     for="dbox" />
                <h:commandButton id="submit" action="#{ValidatorBean.doSubmit}" value="Submit" />                
    <a href="../index.html">Back</a>

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