JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » AJAX討論區 » ZK  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to topicthreaded modego to previous topicgo to next topic
己加入精華區
by jumperchen at 2008-08-21 09:36
本主題所含的標籤
無標籤
作者 ZK Studio 安裝指引.. [精華]
atticcat

There is no cookie



發文: 702
積分: 4
於 2008-08-05 09:42 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
安裝指引.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 edited on 2009-03-24 09:56
reply to postreply to post
About Cat
Linkedin
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
bischoff





發文: 46
積分: 0
於 2008-08-05 11:14 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
幫助非常大,
zk好棒~


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:bischoff]
b8201032





發文: 273
積分: 0
於 2008-08-06 15:25 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感覺好棒哦

真慘 真現目
之前 我抓了 Eclipse下來
想裝
但是 常常看不到 教學中講的選項來安裝
所以 還是用文字編輯器寫

Eclipse 大家都說好
我覺得 好難
好亂 都給他看不懂 怎麼裝


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
humank





發文: 183
積分: 1
於 2008-08-11 15:53 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
好強大~
終於等到了拉 !
希望ZK繼續衝阿!!


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
多多

Shaka



發文: 32
積分: 0
於 2008-08-13 11:58 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
不知道有沒有人會碰到和我一樣的問題
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)


多多 edited on 2008-08-14 09:53
reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
zanyking





發文: 406
積分: 4
於 2008-08-13 16:39 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
在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 人氣,順便練練英文吧!


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
atticcat

There is no cookie



發文: 702
積分: 4
於 2008-08-13 22:09 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
這應該是Bug, post 到 bug list吧 ~

reply to postreply to post
About Cat
Linkedin
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
kdhgyc





發文: 53
積分: 0
於 2008-08-14 09:38 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
不能下载,是什么原因?哪位大侠有给我传一份,谢谢!
我的邮箱:gyckk@126.com


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:多多]
wnrz





發文: 1
積分: 0
於 2008-08-14 11:50 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我用的 MyEclipse6.0也出现这种问题
MyEclipse6.0不能用吗??


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
wensheng





發文: 15
積分: 0
於 2008-08-15 16:16 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
請教各位高手:
Q1: 如下圖中,加了 //@DECLARATION 為何還有 Error mark ,但執行沒有問題 ??


Q2: 在 Eclipse 中習慣用 "Ctrl"+"Shift"+"F" 進行重新縮排,在有 zul 的標籤中也沒問題。但碰到有<zscript> ... </zscript>的標籤會有一些問題,雖然進行縮排,但在<zscript> ... </zscript>中的程式碼卻被 "異常" 的折行,結果在執行時會反而會發生錯誤 。

圖一、重新縮排前


圖二、重新縮排後


圖三、重新縮排後執行會有錯誤


這是我的 Eclipse 環境設定問題或是在 ZK-Studio 中尚未考慮到 <zscript> ... </zscript> 中縮排的問題 ??


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:wensheng]
atticcat

There is no cookie



發文: 702
積分: 4
於 2008-08-15 23:16 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
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已導至程式排列錯亂,請試著重新排版一下成對的程式應該就行了.


reply to postreply to post
About Cat
Linkedin
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
wensheng





發文: 15
積分: 0
於 2008-08-18 08:50 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感謝 atticcat 兄詳細解釋,已經 ok 了。謝謝。

reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
csmile





發文: 35
積分: 0
於 2008-08-18 12:11 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
請問一下為什麼我將JAR檔放入plugins資料夾後重啟eclipse,但是在windows-->Preference裡卻沒有出現如說明文件中所寫的[ZK Settings]?

reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
wensheng





發文: 15
積分: 0
於 2008-08-18 12:29 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
抱歉,再次請教 atticcat 兄:

不知在下面片段程式碼中,何處應置放正確的 casting ?
註:在 ZK Studio 0.5 版中程式可正常執行。

程式碼:
<row>
  2. TIME (start)
  <hbox>
    <zscript>
      <![CDATA[
      //@IMPORT
      import java.text.SimpleDateFormat;
      import java.util.Date;
      ]]>
      SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
      Date date_s = format.parse(new String(format.format(new Date())));
      format = new SimpleDateFormat("HH:mm");
      Date time_s = format.parse("00:00");
      format = new SimpleDateFormat("HH:mm");
      Date time_e = format.parse(new String(format.format(new Date())));
    </zscript>
    <datebox id="date_start2"
      format="yyyy-MM-dd" value="{date_s;}" />
    <timebox id="time_start2"
      value="{time_s;}" />
  </hbox>
</row>

錯誤訊息:
008/8/18 上午 11:56:37 org.zkoss.zk.ui.metainfo.Property assign:189
嚴重的: Failed to assign [value={date_s;}] to <Datebox date_start2>
{date_s;}(java.lang.String) 不能轉換為 class java.util.Date。


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:wensheng]
atticcat

There is no cookie



發文: 702
積分: 4
於 2008-08-18 12:36 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
看來Casting這件事要重新評估,
下版應該會把他的訊息降成warning(在Java沒有Casting會是Error),
避免照成develper的困擾..


reply to postreply to post
About Cat
Linkedin
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:csmile]
atticcat

There is no cookie



發文: 702
積分: 4
於 2008-08-18 12:38 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
csmile wrote:
請問一下為什麼我將JAR檔放入plugins資料夾後重啟eclipse,但是在windows-->Preference裡卻沒有出現如說明文件中所寫的[ZK Settings]?

你的eclipse版本?
0.8.0目前只支援Eclipse 3.3, 進3.4會跑不起來,目前有些Eclipse 3.4 API上的衝突.


reply to postreply to post
About Cat
Linkedin
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:wensheng]
atticcat

There is no cookie



發文: 702
積分: 4
於 2008-08-18 12:40 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
幫你debug嗎?Evil

EL寫法錯誤.
value="${date_s}"


reply to postreply to post
About Cat
Linkedin
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
wensheng





發文: 15
積分: 0
於 2008-08-18 12:50 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝 atticcat 兄快速的回應,但午餐還是要吃阿 ...... ^_^

不過 atticcat 兄白別氣餒, 相信已經有一群人愛上了 ZK Studio 0.8 版的功能了 !! 加油 ,辛苦了 。

但現在的我似乎暫時要游走兩個版本之間了 ....


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
csmile





發文: 35
積分: 0
於 2008-08-18 13:04 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
喔喔~我的eclipse是3.4的,那我灌3.3的試試看,多謝~

reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
csmile





發文: 35
積分: 0
於 2008-08-18 17:17 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
再請教各位一個問題,目前我的studio已經安裝成功,但是我的eclipse在編寫JAVA程式時,.之後不會跳出快速選取的清單了,請問一下我需要做甚麼設定嗎?
謝謝..


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
atticcat

There is no cookie



發文: 702
積分: 4
於 2008-08-18 18:43 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
編寫java?還是編寫zul?smalltalk下有些faq,你可以先看看.

reply to postreply to post
About Cat
Linkedin
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
alanpan





發文: 3
積分: 0
於 2008-08-19 23:14 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
atticcat wrote:
編寫java?還是編寫zul?smalltalk下有些faq,你可以先看看.


Hello atticcat兄,
我安裝之後,發現在編輯zul檔案的時候,可以在zscript中出現code assist,但是一般的zul tag卻沒辦法出現,可指導一下是哪個地方出了問題嘛?
thank you...

eclipse 3.3.4
jre 1.6


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:alanpan]
atticcat

There is no cookie



發文: 702
積分: 4
於 2008-08-20 18:19 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
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>


reply to postreply to post
About Cat
Linkedin
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
alanpan





發文: 3
積分: 0
於 2008-08-20 21:32 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
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嗎?
謝謝你的協助囉.................


reply to postreply to post
作者 Re:ZK的Eclipse開發工具release新版了.. [Re:atticcat]
atticcat

There is no cookie



發文: 702
積分: 4
於 2008-08-21 09:05 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
你們公司的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本身支不支援這樣子作..


reply to postreply to post
About Cat
Linkedin
go to first page go to previous page  1   2  go to next page go to last page
» JWorld@TW »  AJAX討論區 » ZK

reply to topicthreaded modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8