Guys,

I am just testing out a simple @ShowMessages component that highlights text whereby the *.html and *.jwc are located under my WEB-INF/proto/component/ directory

---> Here is the proto.library file
<library-specification>
   <description>Prototype Component library</description>
<library id="proto" specification-path="/proto/component/proto.library"/>
   <component-type type="ShowError" specification-path="ShowError.jwc"/>
<component-type type="ShowMessages" specification-path="ShowMessages.jwc"/>
</library-specification>

---> Here is the proto.application file
<application name="tap.proto" >
 <meta key="org.apache.tapestry.page-class-packages" value="proto"/>
<meta key="org.apache.tapestry.component-class-packages" value="proto/component"/> <library id="contrib" specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
        <library id="contrib" 
specification-path="/proto/component/proto.library"/>
</application>

---> Here is the exception
Component 'ShowMessages' not found in [EMAIL PROTECTED]<application>].
location:       context:/Login.html, line 11
6       <form jwcid="@Form"
7       success="listener:onFormSubmit"
8       cancel="listener:onFormCancel" name="loginForm"
9       clientValidationEnabled="ognl:true" delegate="bean:validationDelegate">
10
11      <span jwcid="@ShowMessages"/>

The proto.library is also jar'd up beneath the /WEB-INF/classes/proto/component/ path within the zip file that maven creates.

I hope I am nto required to go as far as instrumenting the java file just to operate this component.
Would you have any ideas why ta-4.1.1 is not seeing this trivial component?

Thanks in advance

---> Here is a simple usage snippet... if I omit the @ShowMessages, this html renders fine.
        <form jwcid="@Form"
       success="listener:onFormSubmit"
       cancel="listener:onFormCancel" name="loginForm"
clientValidationEnabled="ognl:true" delegate="bean:validationDelegate">

        <span jwcid="@ShowMessages"/>

                <table border="0">



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

Reply via email to