Hi,

I am develping project on Tapestry 4.0.2 in Eclipse3.3. I encounter
"Could not find template for component StipHome/searchByCode in locale
en." each time I use custom component when run the project from
Eclipse src directories on tomcat 5.5.25. But surprisingly when I
build it to WAR file and deploy it to tomcat, it runs all right.

I just cannot figure why.

Here are the config and src files:
********
timetable.application
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE application PUBLIC
  "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
  "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
<application name="timetable" engine-class="com.xyz.stip.Engine">

  ...
  <meta key="org.apache.tapestry.home-page" value="StipHome"/>

  <library id="tacos" specification-path="/net/sf/tacos/Tacos.library"/>
  <library id="contrib"
specification-path="classpath:/org/apache/tapestry/contrib/Contrib.library"/>
  <library id="stip" specification-path="/com.xyz/stip/jwc/stip.library"/>
</application>
********
stip.library
...
<library-specification>
    <library id="contrib"
specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
    ...
    <component-type type="SearchByCodeComp"
specification-path="SearchByCodeComp.jwc"/>
    ...
</library-specification>
********
StipHome.page
...
    <component id="searchByCode" type="stip:SearchByCodeComp">
        <binding name="inputCourseCode" value="prop:inputCourseCode"/>
        <binding name="searchActionEventListener"
value="prop:searchActionEventListener"/>
        <binding name="semesterType" value="prop:semesterType"/>
        <binding name="searchType" value="ognl:..."/>
    </component>
...
********
StipHome.html
...
<span jwcid="searchByCode"/>
...
********

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to