0

Reasking: org.zkoss.zul or subclasses of org.zkoss.html ? [closed]

asked 2014-07-24 15:12:24 +0800

rickcr gravatar image rickcr
704 7

I asked this question almost a year ago, but can't seem to bump it to get an answer: http://forum.zkoss.org/question/88860/orgzkosszul-or-subclasses-of-orgzkosshtml/

Which of these should I be using for my imports for things like Messagebox? Both seem to work just fine and looking at the java doc the only difference I see is A non-XUL extension.. A non-XHTML extension.

I assume the org.zkoss.html would be the safest to use?

delete flag offensive retag edit

The question has been closed for the following reason "the question is answered, right answer was accepted" by rickcr
close date 2014-07-31 06:11:11

Comments

1

Hi, org.zkoss.html package is used for "xhtml" namespace. Check the document for "xhtml".

vincentjian ( 2014-07-31 04:55:19 +0800 )edit

awesome thanks! I never saw that document page. I'll close this answered.

rickcr ( 2014-07-31 06:10:12 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-07-24 23:34:02 +0800

Darksu gravatar image Darksu
1991 1 4

Hello rickcr,

As a developer i would rather use the Package org.zkoss.zul since it contains all the interfaces, and classes that are necessary to create a web application with zk.

Furthermore if you check the package org.zkoss.html it does not contain the component Messagebox.

For more information please refer to the following java doc

http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/package-summary.html

Best Regards,

Darksu

link publish delete flag offensive edit

Comments

actually there is a class org.zkoss.zhtml.Messagebox .. maybe for backwards compatibility reasons? since looking at the source code (in 7.0.1) it simply extends org.zkoss.zul.Messagebox

rickcr ( 2014-07-25 21:43:19 +0800 )edit

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-07-24 15:12:24 +0800

Seen: 5 times

Last updated: Jul 24 '14

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