ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Problem with Visual Editor

gfiorini
2 Dec 2011 13:05:52 GMT
2 Dec 2011 13:05:52 GMT

I have installed ZK Studio on Ecliplse Helios (Helios Service Release 2) and activated it, but Visual editor doesn't work fine.
When no zul file is edited it says: Not Available, a Visual Editor only works with ZK supported Editor.
When a zul file is edited, Visual Editor displays the preview of the zul document but is impossibile select any component.
I have already checked:
- activation of ZK Studio (ok)
- eclipse project is ZK project (ok)
- zul file is associated with zul editor (ok)
- visual editor are using the correct ZK package (using ZK Storage zk-bin-eval-5.0.7.1)

Thanks

derepentigny
2 Dec 2011 14:41:22 GMT
2 Dec 2011 14:41:22 GMT

I think this is the intended behavior. The "Visual Editor" is just a preview of what your zul looks like.

If you want to interact with the components, you need to start up the server and pull up the zul in a browser. That's not a big pain because ZK can reload the zul files every time you change them without requiring a full server restart — so the development process is fast as you can do "edit code -> save -> reload browser -> interact" without much delay.

gfiorini
2 Dec 2011 16:54:11 GMT
2 Dec 2011 16:54:11 GMT

Yes Visual Editor is a preview. This is ok!
What I mean, selecting a component within the ZUL Editor, the component inside the ZUL Visual Editor isn't highlighted such as described in simple guide at link http://books.zkoss.org/wiki/ZK%20Studio%20Essentials/Features%20of%20ZK%20Studio/Visual%20Editor

grchld
17 Jan 2012 09:56:50 GMT
17 Jan 2012 09:56:50 GMT

I have the same problem with zk-5 and I wondering how to fix it.
zk-bin-3.6.4, however, works fine with highlighting. Still, zk-3.6.4 lacks some important components for me....

samchuang
18 Jan 2012 00:42:42 GMT
18 Jan 2012 00:42:42 GMT

Hi

you could post bug here