-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all, recently I have been experiencing the exploitation of embedding zkoss
in a Spring Surf (WebScript) web application.
But, before going ahead with the description of an "How to" about
such a task and the arising problems, I wonder if the topic is a
relevant thread for some one.
Bye.
The need of rendering zul component in a surf based application is that one can dynamically bound zul components and data computed by a controller developed with spring beans and vehicled by FTL engine to ZKOSS viewer.
I apologize for being so late.
I promised to provide a quick tutorial about integrating zkoss with surf but time is too short.
So, while completing the tutorial I prefer to start providing a first, complete and quick example.
The example is derived by the basic Surf scaffold generated by the plugin of Eclipse.
The example is composed by a webscript "/zk_calendar" with a java backed bean providing data used by FTL engine.
The FTL engine fills the zk label's value in a zk window set to modal mode.
The most insteresting aspect regards the creation of java data structures and method names inside a zk_script into a zul page.
This latter aspect is going to be discussed in detail.
The web script "/zk_calendar" is used by a surf component "calendar_component" which is a child of a surf component "zk_home".
The component "zk_home" is just an entry point where I will put other examples.
NOW THE BIG PROBLEM IS:
How to submit the Eclipse Maven Project that I packaged in a tar.zk???
Temporarily, the package is available from: http://distterr.files.wordpress.com/2011/01/surf-app1.pdf (it is not a pdf file. It is a tar.gz archive. After downloading it please change the extension to tar.gz)
Is any one interested in such topic?
@edgardoambrosi
This sounds great! Would you like to create a Small Talk on this? Or will you publish the tutorial on your own blog?
My blog is just for topics on Information Retrieval! Small Talk is a good idea but I miss information on how to publish it!
Asked: 2010-10-08 11:56:03 +0800
Seen: 1,139 times
Last updated: Jan 29 '11