-
FEATURED COMPONENTS
First time here? Check out the FAQ!
If you hope to have document about any topic,
please post your request here.
We'll try our best to meet your need.
We are also trying to provide document about best practive of ZK.
i am using jsf 1.2 version
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
<%@ taglib uri="http://www.zkoss.org/jsf/zul" prefix="z"%>
<h:dataTable id="searchResult" rows="#{searchCatalogue.currentPageVal}" width="100%"
border="1" binding="#{searchCatalogue.searchResultTable}" rowClasses="NGLRowStyle"
value="#{searchCatalogue.resultList}" var="result" columnClasses="firstColumn,secondColumn,thirdColumn" >
<h:column>
<h:outputText value="#{result.serialNo}" />
</h:column>
<h:column>
<h:selectBooleanCheckbox value="#" style="text-align:top;" binding="#{searchCatalogue.htmlSelectBooleanCheckbox}" >
<a4j:support event="onclick" action="#{searchCatalogue.selectedCatalogRecs}"/>
</h:selectBooleanCheckbox>
</h:column>
<h:column>
<f:facet name="header">
<h:outputLabel value="#{rb.Title}" />
</f:facet>
<table>
<tr>
<td>
<h:outputText value="Title: #{result.title}"/>
</td>
</tr>
<tr>
<td>
<h:outputText value="Author: #{result.author}" />
</td>
</tr>
<tr>
<td>
<z:tree apply="org.verus.ngl.web.beans.technicalprocessing.SearchCatalogue" id="holdingsTree" >
<z:treecols>
<z:treecol label=""/>
</z:treecols>
<z:treechildren>
<z:treeitem>
<z:treerow>
<z:treecell label="#{rb.holdings}" forward="onTreeOpen"> </z:treecell>
</z:treerow>
</z:treeitem>
</z:treechildren>
</z:tree>
</td>
</tr>
<tr>
<td>
<a4j:commandLink id="modify" value="#{rb.modify}" />
<a4j:commandLink id="delete" value="#{rb.delete}" />
<a4j:commandLink id="copy" value="#{rb.copy}" />
</td>
</tr>
<tr>
<td>
<a4j:commandLink id="relatedRecords" value="#{rb.relatedRecords}" />
</td>
</tr>
</table>
<br>
</h:column>
</h:dataTable>
if i print 10 rows in tale can i get each row with tree ?
now i am getting only one row with tree, remaing rows does not get the tree, plz guide me
Hello PterKuo I am so enthusiast to this part of Documentation i don't know if you want to fix a program so that we can make this part more helpful.
Issam
http://www.zkoss.org/javadoc/ should have a link to the ZK Spring javadoc that's included in zk-Spring-bin-1.1.0.zip
...and I'm just now noticing that the zkspring.jar that's included in zk_spring_jpa_todo.war that was put up as part of http://docs.zkoss.org/wiki/Build_CRUD_Application_with_ZK_Studio_in_6_Steps is NOT the same as the one from the download page whose link is http://downloads.sourceforge.net/zk1/zk-Spring-bin-1.1.0.zip. The one from the zk_spring_jpa_todo.war is roughly 120K while the one from the download page is roughly 96K and their manifest entries are the same: Implementation-Version: 1.1.0...
Also, is there discussion in smalltalks, how-to's, etc about org.zkoss.spring.bean.ZkSpringUiFactory?
Hi everybody;
I just wanted some help...
I'm new with this technology and I like it, but learning it I've got some problems running my first web-app.
I´m just following the "ZK-quickstart-3.6.6.pdf" guide, (you can find it in downloads section)
I´ve downloaded apache tomcat 6.0.20, and created the next tree directory in commons folder:
+apokryphos
+WEB-INF
+lib (with .jar files)
web.xml
index.zul
the content of index.zul:
<window title="My First window" border="normal" width="200px">
Hello, World!
</window>
and the content of web.xml:
<!-- ZK -->
<listener>
<description>Used to clean up when a session is destroyed</description>
<display-name>ZK Session Cleaner</display-name>
<listener-class>org.zkoss.zk.ui.http.HttpSessionListener</listener-class>
</listener>
<servlet>
<description>ZK loader for ZUML pages</description>
<servlet-name>zkLoader</servlet-name>
<servlet-class>org.zkoss.zk.ui.http.DHtmlLayoutServlet</servlet-class>
<init-param>
<param-name>update-uri</param-name>
<param-value>/zkau</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>zkLoader</servlet-name>
<url-pattern>*.zul</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>zkLoader</servlet-name>
<url-pattern>*.zhtml</url-pattern>
</servlet-mapping>
<servlet>
<description>The asynchronous update engine for ZK</description>
<servlet-name>auEngine</servlet-name>
<servlet-class>org.zkoss.zk.au.http.DHtmlUpdateServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>auEngine</servlet-name>
<url-pattern>/zkau/*</url-pattern>
</servlet-mapping>
the problem is, when i´m trying to launch it, I´ve got the next problem:
Estado HTTP 404 - /apokryphos/
type Informe de estado
mensaje /apokryphos/
descripción El recurso requerido (/apokryphos/) no está disponible.
Apache Tomcat/6.0.20
I don´t know what is happening!! :(
Can anyone help me?
Asked: 2009-01-16 01:07:46 +0800
Seen: 659 times
Last updated: Jul 02 '09