0

File Hyperlinks on SpreadSheet

asked 2013-06-13 11:48:16 +0800

Neus gravatar image Neus
1415 14

Hi,

Is possible to disable hyperlinks on spreadsheet to not redirect the user to its address? I am using hyperlinks to files in local pc that are only useful if the user downloads the spreadsheet. I am setting the hyperlink type as a FILE and when user clicks on that cell in zk-spreadsheet it is interpreting it as a web page.

BTW, I'm trying to listen to onHyperLink Event but it's never fired.

ss.addEventListener(org.zkoss.zss.ui.event.Events.ON_HYPERLINK,
    new EventListener() {
        public void onEvent(Event event) throws Exception {
            System.out.println("HYPERLINK!!!!!!!!!!!!!");
        }
});

Any idea why it happens?

Thank you!

delete flag offensive retag edit

Comments

1

Hi I am also facing same issue Can you please help me to come out of this issue

pallagadda ( 2013-06-13 18:16:26 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-06-18 11:06:01 +0800

francishsiao gravatar image francishsiao
145 2

It has been identified as a ZK bug, I have posted a bug tracker in the following link:
http://tracker.zkoss.org/browse/ZSS-348
Please follow the link to get the latest status.

link publish delete flag offensive edit

Comments

but this bug only refers to the onHyperlink event not working. What about that a hyperlink typed as FILE (as apache poi api says) tries to open the address as a URL in the explorer?

Neus ( 2013-06-19 15:38:07 +0800 )edit
Your answer
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
2 followers

RSS

Stats

Asked: 2013-06-13 11:48:16 +0800

Seen: 10 times

Last updated: Jun 18 '13

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