Use of ZK JSF Components

From Documentation

Stop.png This documentation is for an older version of ZK. For the latest one, please click here.

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>

Last Update : 2010/07/26

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