0

Please leave your comment about documentation here

asked 2009-01-16 01:07:46 +0800

PeterKuo gravatar image PeterKuo
481 2

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.

delete flag offensive retag edit

6 Replies

Sort by » oldest newest

answered 2009-01-16 12:52:42 +0800

kondaluavula gravatar image kondaluavula
6

updated 2009-01-16 12:53:30 +0800

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

link publish delete flag offensive edit

answered 2009-01-17 00:54:51 +0800

PeterKuo gravatar image PeterKuo
481 2

You should post it in help, not in document category.

link publish delete flag offensive edit

answered 2009-01-22 08:24:27 +0800

issamlaabidi gravatar image issamlaabidi
217 2

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

link publish delete flag offensive edit

answered 2009-01-22 15:14:49 +0800

caclark gravatar image caclark
1753 2 5
http://clarktrips.intltwi...

updated 2009-01-22 15:18:06 +0800

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?

link publish delete flag offensive edit

answered 2009-01-23 09:21:25 +0800

PeterKuo gravatar image PeterKuo
481 2

To issamlaabidi:
Please visit our wiki, it's really easy to help :)
http://docs.zkoss.org/wiki/Help:Contributing_Wiki

link publish delete flag offensive edit

answered 2009-07-02 23:08:15 +0800

jrunx gravatar image jrunx
3

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?

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-01-16 01:07:46 +0800

Seen: 659 times

Last updated: Jul 02 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More