1

default mold not found - custom component

asked 2014-03-15 10:36:39 +0800

mahyar1844 gravatar image mahyar1844
11 1

Hi everyone,

I have developed a custom datebox component for our local. our project has developed with zk 6.5.2 CE version. recently we purchased an EE license. after migrating to zk 6.5.2 EE i got error about my custom component:

Mold default not found in zul.pdb.SolarDatebox

SolarDate box is our customer component. this structure of jar file for the component:

com (source codes) META-INF meta-info |_ zk |_ lang-addon.xml web

this is lang-addon.xml :

<language-addon> <addon-name>prsComponents</addon-name> <language-name>xul/html</language-name>

<component>
    <component-name>solarDatebox</component-name>
    <component-class>com.prs.component.SolarDatebox</component-class>
    <widget-class>zul.pdb.SolarDatebox</widget-class>
    <mold>
        <mold-name>default</mold-name>
        <mold-uri>mold/datebox.js</mold-uri>
        <css-uri>css/calendar.css.dsp</css-uri>
    </mold>
</component>

<component>
    <component-name>solarCalendar</component-name>
    <component-class>com.prs.component.SolarCalendar</component-class>
    <widget-class>zul.pdb.SolarCalendar</widget-class>
    <mold>
        <mold-name>default</mold-name>
        <mold-uri>mold/calendar.js</mold-uri>
        <css-uri>css/calendar.css.dsp</css-uri>
    </mold>
</component>

<component>
    <component-name>solarTimebox</component-name>
    <component-class>com.prs.component.SolarTimebox</component-class>
    <widget-class>zul.pdb.SolarTimebox</widget-class>
    <mold>
        <mold-name>default</mold-name>
        <mold-uri>mold/timebox.js</mold-uri>
    </mold>
    <mold>
        <mold-name>rounded</mold-name>
        <mold-uri>mold/timebox.js</mold-uri>
    </mold>
</component>

<component>
    <component-name>simplelabel</component-name>
    <component-class>com.prs.sample.SimpleLabel</component-class>
    <widget-class>com.prs.sample.SimpleLabel</widget-class>
    <mold>
        <mold-name>default</mold-name>
        <mold-uri>mold/simple-label.js</mold-uri>
    </mold>
</component>

</language-addon>

do you have any idea?

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-03-15 10:36:39 +0800

Seen: 29 times

Last updated: Mar 15 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More