+ -
当前位置:首页 → 问答吧 → ZK Studio 安装指引..

ZK Studio 安装指引..

时间:2008-08-05

来源:互联网

安装指引.http://www.zkoss.org/smalltalks/zkstudioins/
==
http://www.zkoss.org/smalltalks/zkstudio0.9/

新功能有..

# Intelligent ZUL Editor
* Content Assistance (a.k.a: Code Assist)
o Content Assistance in ZUML & XML tag
o Content Assistance in EL Expression
o Content Assistance with Helper JAVA Doc
o JAVA Doc Hovering
* Syntax Check
* Syntax Coloring
* Mark Occurrence
* Hyperlink Navigation

# Eclipse UI Integration

* ZUL Structure Outline View
* ZUML Tag Property View

相信对於用Eclipse的ZK开发者应该很有帮助.

==
8/20

0.8.1 release 了,修了几个bug,并提供线上更新版本维护功能...

==
08/9/15 0.8.2 released
增加了元件palette功能,并修正几个严重的bug.

==
08/10/7 0.8.3 released
这个版本主要是修正了Eclipse 3.4支援上的Bug

==
08/11/06 0.9.0 released
提供Visual Editor 的功能

==
08/12/09 0.9.1 released
fix important bugs, provide preferences and User Guide online

==
09/01/15 0.9.2 released
Style Designer for ZUL Component, quick switch of Visual Editor

==
09/03/23 0.9.3 released
Style Design supports full component set of ZK 3.6
DB Form Builder - 7 steps to create a single table CRUD page.

==

作者: atticcat   发布时间: 2008-08-05

帮助非常大,
zk好棒~

作者: bischoff   发布时间: 2008-08-05

感觉好棒哦

真惨 真现目
之前 我抓了 Eclipse下来
想装
但是 常常看不到 教学中讲的选项来安装
所以 还是用文字编辑器写

Eclipse 大家都说好
我觉得 好难
好乱 都给他看不懂 怎么装

作者: b8201032   发布时间: 2008-08-06

好强大~
终於等到了拉 !
希望ZK继续冲阿!!

作者: humank   发布时间: 2008-08-11

不知道有没有人会碰到和我一样的问题
Eclipse 3.3.0
WTP版本忘了…
使用zk-studio_userguide.0.8.0
利用zul edit开启*.zul时碰到下面的问题

第一次开始时很正常
但关闭后第二次要再开启同一个*.zul时就会发生下面的错误

所有的*.zul都有一样的问题
不知道是什么问题?

============================================

忘了提,把Eclipse关闭再打开,就可以开启*.zul档案,但是一样的问题,同一个档案不能开启第二次…

回楼下,已从.log查到,发生错误时讯息如下…
另外…Bug List那么我好像不能回报…不是会员((晕))

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
!ENTRY org.eclipse.ui 4 0 2008-08-14 09:32:11.047
!MESSAGE An unexpected exception was thrown.
!STACK 0
java.lang.NullPointerException at org.zkoss.eclipse.editor.wst.ZulContext.inputDocumentChanged(ZulContext.java:190) at org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java:2685) at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2734) at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:518) at org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:370) at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.setDocument(StructuredTextViewer.java:673) at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:459) at org.eclipse.jface.text.TextViewer.handleDispose(TextViewer.java:1801) at org.eclipse.jface.text.source.SourceViewer.handleDispose(SourceViewer.java:640) at org.eclipse.jface.text.source.projection.ProjectionViewer.handleDispose(ProjectionViewer.java:1341) at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.handleDispose(StructuredTextViewer.java:550) at org.eclipse.jface.text.TextViewer$2.widgetDisposed(TextViewer.java:1709) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:706) at org.eclipse.swt.custom.StyledText.handleDispose(StyledText.java:4928) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4799) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943) at org.eclipse.swt.widgets.Widget.release(Widget.java:740) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:662) at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:117) at org.eclipse.swt.widgets.Widget.release(Widget.java:743) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:662) at org.eclipse.swt.widgets.Widget.release(Widget.java:743) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:662) at org.eclipse.swt.widgets.Widget.release(Widget.java:743) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:662) at org.eclipse.swt.widgets.Widget.release(Widget.java:743) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:410) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:679) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2721) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633) at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556) at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:340) at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:328) at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:190) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
 
!ENTRY org.eclipse.ui 4 0 2008-08-14 09:32:11.047
!MESSAGE An unexpected exception was thrown.
!STACK 0
java.lang.NullPointerException at org.zkoss.eclipse.editor.wst.internal.textdecoration.SourceViewerDecorationSupportZUL.uninstall(SourceViewerDecorationSupportZUL.java:152) at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.dispose(SourceViewerDecorationSupport.java:481) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.dispose(AbstractDecoratedTextEditor.java:304) at org.eclipse.ui.editors.text.TextEditor.dispose(TextEditor.java:92) at org.eclipse.wst.sse.ui.StructuredTextEditor.dispose(StructuredTextEditor.java:2011) at org.zkoss.eclipse.editor.wst.ZulTextEditor.dispose(ZulTextEditor.java:160) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:689) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2721) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633) at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556) at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:340) at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:328) at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:190) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
 
!ENTRY org.eclipse.ui 4 0 2008-08-14 09:32:11.047
!MESSAGE Unable to create editor ID ZulEditor: An unexpected exception was thrown.
!STACK 0
java.lang.NullPointerException at org.zkoss.eclipse.editor.core.java.ZulTranslationUtil.ensureTranslationAdapterFactory(ZulTranslationUtil.java:82) at org.zkoss.eclipse.editor.wst.ZulContext.inputDocumentChanged(ZulContext.java:196) at org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java:2685) at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2734) at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:518) at org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:370) at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.setDocument(StructuredTextViewer.java:673) at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:473) at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:3786) at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3332) at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:378) at org.eclipse.wst.sse.ui.StructuredTextEditor.createPartControl(StructuredTextEditor.java:1722) at org.zkoss.eclipse.editor.wst.ZulTextEditor.createPartControl(ZulTextEditor.java:170) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2721) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633) at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556) at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:340) at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:328) at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:190) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

作者: 多多   发布时间: 2008-08-13

在Error Log那边,这个Error事件之前应该会有一些Worning, 你可以把那些Worning 也Post出来吗?

如果你方便的话,请你先清掉你的Eclipse当中所有旧的Log,然后重现错误,再将过程中发生的所有Error, warning Extract 成Zip 寄到:

info[at]zkoss[dot]org
(防Span Email address)

同时(哈哈,打一下广告),你也可以把你的问题Post 到:
http://www.zkoss.org/forum/

增加一下ZK 人气,顺便练练英文吧!

作者: zanyking   发布时间: 2008-08-13

这应该是Bug, post 到 bug list吧 ~

作者: atticcat   发布时间: 2008-08-13

不能下载,是什么原因?哪位大侠有给我传一份,谢谢!
我的邮箱:[email protected]

作者: kdhgyc   发布时间: 2008-08-14

我用的 MyEclipse6.0也出现这种问题
MyEclipse6.0不能用吗??

作者: wnrz   发布时间: 2008-08-14

请教各位高手:
Q1: 如下图中,加了 //@DECLARATION 为何还有 Error mark ,但执行没有问题 ??


Q2: 在 Eclipse 中习惯用 "Ctrl"+"Shift"+"F" 进行重新缩排,在有 zul 的标签中也没问题

作者: wensheng   发布时间: 2008-08-15

Q1,ZKStudio目前是用Java的格式来检查程式, 也就是说, 有些部份虽然zscript(bean shell)可以跑,在studio里确会认为错误.
例如你的case就是需要进行class casting
Tree tree = (Tree)Path.getComponent("....");
在这里作casting是好的,这样子到时候你要转native java code时,就不用费心转一次.
第二个错是因为java不吃amp quot这种写法,你可以试著这样子写.onClick='alert("test")'

Q2,目前尚作完全支援format功能,你用的format是原本eclispe的format,所以才会发生这个问题,Format功能将会在未来版本被支援.

Q3.因为你用的format已导至程式排列错乱,请试著重新排版一下成对的程式应该就行了.

作者: atticcat   发布时间: 2008-08-15

感谢 atticcat 兄详细解释,已经 ok 了

作者: wensheng   发布时间: 2008-08-18

请问一下为什么我将JAR档放入plugins资料夹后重启eclipse,但是在windows-->Preference里却没有出现如说明文件中所写的[ZK Settings]?

作者: csmile   发布时间: 2008-08-18

抱歉,再次请教 atticcat 兄:

不知在下面片段程式码中,何处应置放正确的 casting ?
注:在 ZK Studio 0.5 版中程式可正常执行

作者: wensheng   发布时间: 2008-08-18

看来Casting这件事要重新评估,
下版应该会把他的讯息降成warning(在Java没有Casting会是Error),
避免照成develper的困扰..

作者: atticcat   发布时间: 2008-08-18

csmile wrote:
请问一下为什么我将JAR档放入plugins资料夹后重启eclipse,但是在windows-->Preference里却没有出现如说明文件中所写的[ZK Settings]?

你的eclipse版本?
0.8.0目前只支援Eclipse 3.3, 进3.4会跑不起来,目前有些Eclipse 3.4 API上的冲突.

作者: atticcat   发布时间: 2008-08-18

帮你debug吗?

EL写法错误.
value="${date_s}"

作者: atticcat   发布时间: 2008-08-18

谢谢 atticcat 兄快速的回应,但午餐还是要吃阿 ...... ^_^

不过 atticcat 兄白别气馁, 相信已经有一群人爱上了 ZK Studio 0.8 版的功能了 !! 加油 ,辛苦了

作者: wensheng   发布时间: 2008-08-18

喔喔~我的eclipse是3.4的,那我灌3.3的试试看,多谢~

作者: csmile   发布时间: 2008-08-18

再请教各位一个问题,目前我的studio已经安装成功,但是我的eclipse在编写JAVA程式时,.之后不会跳出快速选取的清单了,请问一下我需要做甚么设定吗?
谢谢..

作者: csmile   发布时间: 2008-08-18

编写java?还是编写zul?smalltalk下有些faq,你可以先看看.

作者: atticcat   发布时间: 2008-08-18

atticcat wrote:
编写java?还是编写zul?smalltalk下有些faq,你可以先看看.


Hello atticcat兄,
我安装之后,发现在编辑zul档案的时候,可以在zscript中出现code assist,但是一般的zul tag却没办法出现,可指导一下是哪个地方出了问题嘛?
thank you...

eclipse 3.3.4
jre 1.6

作者: alanpan   发布时间: 2008-08-19

alanpan wrote:
Hello atticcat兄,
我安装之后,发现在编辑zul档案的时候,可以在zscript中出现code assist,但是一般的zul tag却没办法出现,可指导一下是哪个地方出了问题嘛?
thank you...

eclipse 3.3.4
jre 1.6

你是说component tag的assist跳不出来吗??
目前基本上是走xsd的路,也就是说,会去读http://www.zkoss.org/2005/zul/zul.xsd..
你先帮忙测一下 ,用xml editor开一个简单的xml ,填入下面的内容,看eclipse的xml editor是否也会自动跳xml tag assist
1
2
3
4
5
6
<zk xmlns="http://www.zkoss.org/2005/zul"
  xmlns:h="http://www.w3.org/1999/xhtml"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">
<window title="My First Window" border="normal" width="200px">Hello, World!</window>
</zk>

作者: atticcat   发布时间: 2008-08-20

atticcat wrote:
你是说component tag的assist跳不出来吗??
目前基本上是走xsd的路,也就是说,会去读http://www.zkoss.org/2005/zul/zul.xsd..
你先帮忙测一下 ,用xml editor开一个简单的xml ,填入下面的内容,看eclipse的xml editor是否也会自动跳xml tag assist
1
2
3
4
5
6
<zk xmlns="http://www.zkoss.org/2005/zul"
  xmlns:h="http://www.w3.org/1999/xhtml"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">
<window title="My First Window" border="normal" width="200px">Hello, World!</window>
</zk>


Hello atticcat兄,
我依据你的建议试了一下,发现在公司不行,但是在家里却可以,是因为必须到远端验证XSD的关系吗?
有办法指到LOCAL吗?
谢谢你的协助囉.................

作者: alanpan   发布时间: 2008-08-20

你们公司的firewall挡掉了吗?

Eclipse是可以设定导向到local file.

Window >> Preferences >> Web and XML > XML Catalog > Add(Button)
fill 'Add XML Catalog Entry' Dialog
Location : [the zul.xsd file location] <- set this first
Key Type : Schema Location
Key : http://www.zkoss.org/2005/zul/zul.xsd

未来ZK Studio应该会设计成读Project里zul.jar里的xsd,不过这个能不能达成还要看Eclipse本身支不支援这样子作..

作者: atticcat   发布时间: 2008-08-21

atticcat wrote:
你们公司的firewall挡掉了吗?

Eclipse是可以设定导向到local file.

Window >> Preferences >> Web and XML > XML Catalog > Add(Button)
fill 'Add XML Catalog Entry' Dialog
Location : [the zul.xsd file location] <- set this first
Key Type : Schema Location
Key : http://www.zkoss.org/2005/zul/zul.xsd

未来ZK Studio应该会设计成读Project里zul.jar里的xsd,不过这个能不能达成还要看Eclipse本身支不支援这样子作..

atticcat兄万分感谢你的帮忙,已经可以了,希望zk studio将来会越来越方便囉!
谢谢啦!~

作者: alanpan   发布时间: 2008-08-21

0.8.3版出来了,主要修正了对Eclipse 3.4的相容支援...

另外.也提供了对编辑zk.xml的assist支援(在zk.xml上按右键,选XMLEditor for zk.xml)...

作者: atticcat   发布时间: 2008-10-08

如果可以将..您现在用的打包上传到面空让我们下载是最棒的了..因为我怎么装都失败..好想要有人上传已经都打包好的...

作者: Drsin   发布时间: 2008-10-31

Drsin wrote:
如果可以将..您现在用的打包上传到面空让我们下载是最棒的了..因为我怎么装都失败..好想要有人上传已经都打包好的...

你是指连Eclipse都帮你打包装好? 这 !?
你现在是连单纯的Eclipse 和 WTP都装不起来?
还是你不会Eclipse?
还是Studio装不起来?

作者: atticcat   发布时间: 2008-10-31

我使用的是eclipse 3.3 myeclipse 6.0.1
安装了zk-studio.0.9.0

为何ZUL Visual Editor 中出现404错误,
安装步骤应该没有错,不知是何原因

作者: zzee   发布时间: 2008-12-03

This is a bug, check this url :
http://www.zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6201%3BcategoryId%3D18%3B

also this

http://www.zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6250%3BcategoryId%3D18%3B

作者: atticcat   发布时间: 2008-12-03

谢谢atticcat 的帮忙,非常感谢,感觉最近发贴的人不多,倒是我这新手
发的挺多的,大家有个人blog之类的贴些技术文章 也好让我们学习借鉴下

作者: zzee   发布时间: 2008-12-04

我在MyEclipse中安装成功了,用的bin是3.5.2的,创建新工程也都run,但之前MyEclipse中已有的旧工程就报错了,一启动tomcat就报错,我删掉Zk Studio,又可以run了 @@

作者: xiangying   发布时间: 2008-12-21

热门下载

更多