0

Integrate Spreadsheet to the jsp page

asked 2012-10-21 10:11:25 +0800

sajithvim gravatar image sajithvim
30 1

Hi All,

I am very new to ZK and currently doing a technology evaluation for the my company product. We are impressed about the features and capabilities of ZK. One of the primary functions we want to have in our project is to embed a spreadsheet view to the web page. We have gone through your API and successfully worked out on a spreadsheet view. We tried to enable the tool bars by the following.

<zss:spreadsheet
id="myzss" src='${fileLocation}' width="100%"
height="600px" maxrows="200" maxcolumns="40" showToolbar="true" />

We configured the project using maven with the help of following resource.
http://books.zkoss.org/wiki/ZK%20Spreadsheet%20Essentials/Getting%20Started%20with%20ZK%20Spreadsheet/Maven

Still we are getting a set of continuous errors on the compatibility of jar files etc. I have tried with different version combinations but we get errors one way or the other.

Could you kindly help me out with some better article. What is the set of jar files I should use?

We are in some tight schedule to finish this and your help is highly appreciated.

Thanks in advance.
Sajith

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2012-10-30 08:57:57 +0800

sajithvim gravatar image sajithvim
30 1

Could anybody help me out? I still have the same issue :(

link publish delete flag offensive edit

answered 2012-10-30 09:35:38 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

what are the errors that you are getting? Can you run a simple ZK web project without jsp? I created a simple ZK maven project using the ZK ee-eval maven archetype as described here and added ZSS en as specified in here and it worked.

link publish delete flag offensive edit

answered 2012-10-31 04:59:25 +0800

sajithvim gravatar image sajithvim
30 1

Hi Ashish,

Thanks for your response. Indeed it works when followed in the way the two resources are given. But I can not see the tool bar as expected. The following is the content in my index.zul file.

<?page title="My First ZK Spreadsheet application" contentType="text/html;charset=UTF-8"?>
<zk>
	<window title="My First ZK Spreadsheet Application"
		border="normal" vflex="1" width="100%">
		<spreadsheet src="/WEB-INF/HelloZSS.xlsx" id="spreadsheet" maxrows="200"
		maxcolumns="40" vflex="1" width="100%"></spreadsheet>
	</window>
</zk>

Could you kindly help me understand what is missing here?

Thanks,
Sajith

link publish delete flag offensive edit

answered 2012-11-06 02:35:08 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

Did you miss showToolbar="true" ?

<?page title="My First ZK Spreadsheet application" contentType="text/html;charset=UTF-8"?>
<zk>
	<window title="My First ZK Spreadsheet Application"
		border="normal" vflex="1" width="100%">
		<spreadsheet src="/WEB-INF/HelloZSS.xlsx" id="spreadsheet" maxrows="200"
		maxcolumns="40" vflex="1" width="100%"></spreadsheet>
	</window>
</zk>

link publish delete flag offensive edit

answered 2012-11-06 05:45:53 +0800

sajithvim gravatar image sajithvim
30 1

Hi Ashad,

Thanks a lot for your response. The error was that I have taken it as showToolBar="true". A syntax error. Anyway now it is working fine and I am going to write the backend controllers. Thanks again for your tip. It really helped.

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: 2012-10-21 10:11:25 +0800

Seen: 88 times

Last updated: Nov 06 '12

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