# ZK Studio 0.9.5: Problems using ZUL Visual Editor

Emanuele
117 1

Try following ZUL code:

<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<window title="${c:l('myTitle')}" border="normal"> <label value="${c:l('myContentLabel')}"/>
</window>


In this case, ZUL Visual Editor shows an empty area (but no components) beacuse I'm reading labels from an external file. Beacuse in my application almost all my labels are contained in an external file, for me ZUL Visual Editor is very unesuful. Could Visual Editor be changed to accept this type of ZUL file? Not neccessarily showing the external label, but at least showing the components with empty labels.

Try another piece of code:
<?taglib 	uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<window title="myTitle" border="normal" use="MyWindow" myProperties="xxx">
<label value="MyContent"/>
</window>


In this case an error like this is shown: "Fail to render: Method setMyProperties, not found for class org.zkoss.zul.Window". But method setMyProperties() is defined in MyWindow class which has org.zkoss.zul.Window as parent (not directly, the relation is MyWindow extends MyWindow1 extends MyWindow2 extends org.zkoss.zul.Window).

Again, because in my application almost all window has personalized properties, ZUL Visual Editor is not useful for me. May you make a workaround to solve this leak?

Thanks for all!
Emanuele

delete retag edit

## 2 Replies

9393 3 7 16
http://www.oxitec.de/

Hmmmmmmmmm, only to 1. Can you imagine how it should goes that the editor should know the path of the external file? What should the editor knows about it?

Emanuele
117 1

Ok, I understand that it may be not so immediately to implement. But why not showing at least components without external labels? Or why not showing at least the component created by superclass of personalized components?

It may be a quickier solution...

Thanks in any case for your work!
Emanuele

[hide preview]