0

ZK Spreadsheet - Failed to mount: 'V.parent' is null or not an object

asked 2012-02-17 04:11:57 +0800

baba gravatar image baba
27

Hi, I'm having this problem. "client error: Failed to mount: 'V.parent' is null or not an object" when i try to run my zk spreadsheet. It only occur when i try to call the messagebox or alert. Btw my zk spreadsheet version is ZK 2.2.

Many thanks.

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2012-02-17 04:22:11 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

Hi baba,
can you give us more details? Can you show us your code to understand more details? Thanks

link publish delete flag offensive edit

answered 2012-02-17 08:12:01 +0800

baba gravatar image baba
27

Scenario:

When i right click on the excel, i will prompt an error msg stating that this cell cannot be clicked.

public void onCellRightClick$spreadsheet(CellMouseEvent event) {


rowIndex = event.getRow();
colIndex = event.getColumn();
currentSheet = event.getSheet();
cellMenupopup.open(event.getPageX(), event.getPageY());

Messagebox.show("Error: Cell Invalid");

But when i right click the cell, no messagebox come out and i got this error:

Failed to mount: 'V.parent' is null or not an object

link publish delete flag offensive edit

answered 2012-03-02 03:03:46 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi baba,
What version of ZK do you use?

link publish delete flag offensive edit

answered 2012-04-04 09:20:23 +0800

baba gravatar image baba
27

Version 2.2

Im using the zk jsp tag to load my excel.

Thanks

link publish delete flag offensive edit

answered 2012-04-09 03:07:24 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

sorry baba, I mean "ZK" version,
is it ZK 5.0.11?

link publish delete flag offensive edit

answered 2012-05-07 05:29:18 +0800

baba gravatar image baba
27

Yes. But after I upgrade to the latest version of ZK, it's working already.

Thanks

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-02-17 04:11:57 +0800

Seen: 308 times

Last updated: May 07 '12

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