Help with ZK component development
Posted
by Lucas
on Stack Overflow
See other posts from Stack Overflow
or by Lucas
Published on 2010-06-11T20:29:02Z
Indexed on
2010/06/11
20:32 UTC
Read the original article
Hit count: 341
I'm developing a simple component. My jar structure is:
br/netsoft/zkComponents/Tef.class
META-INF/MANIFEST.MF
metainfo/zk/lang-addon.xml
web/js/br/netsoft/zkComponents.js
web/zkComponents/tef.dsp
My dsp file is:
<c:set var="self" value="${requestScope.arg.self}"/>
<span z.type="br.netsoft.zkComponents.Tef" id="${self.uuid}" ${self.outerAttrs}${self.innerAttrs}>
<applet archive="tef.jar" id="tefApplet" code="br.netsoft.applets.tef.TEFProxy" width="0px" height="0px" />
<span/>
and the language-addon.xml is:
<language-addon>
<addon-name>componentes</addon-name>
<language-name>xul/html</language-name>
<component>
<component-name>tef</component-name>
<component-class>br.netsoft.zkComponents.Tef</component-class>
<mold>
<mold-name>default</mold-name>
<mold-uri>~./zkComponents/tef.dsp</mold-uri>
</mold>
</component>
</language-addon>
When i try to test this component, appears a pop-up showing : " /js/br/netsoft/zkComponents.js not found"
what is wrong?
© Stack Overflow or respective owner