Why define the components both in the library and in the app?

BTW, <span jwcid="@tap.proto:ShowMessages"/>  should work.

Also, where is ShowMessages.jwc located? Do you also have a
ShowMessages.java somewhere?


Ken nashua wrote:
> Ok, I have taken this to another level.
>
> My package spec had slashes instead of dots. No indicator of such at
> runtime though... although I have been operating dots/slashes for 20
> years now.
>
> ---> Here is the latest library spec
> <library-specification>
>     <library id="contrib"
> specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
>    <meta key="org.apache.tapestry.component-class-packages"
> value="proto.component"/>
>    <component-type type="ShowError" specification-path="ShowError.jwc"/>
>    <component-type type="ShowMessages"
> specification-path="ShowMessages.jwc"/>
> </library-specification>
>
> ---> Here is the latest app spec
> <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="tap.proto"
> specification-path="/proto/component/tap.proto.library"/>
>    <component-type type="ShowError"
> specification-path="/classes/proto/component/ShowError.jwc"/>
>    <component-type type="ShowMessages"
> specification-path="/classes/proto/component/ShowMessages.jwc"/>
> </application>
>
> If anyone could step in that would be terrific...
>
> Here is the latest output...
>
> [ +/- ] Exception:  Component 'ShowMessages' not found in
> [EMAIL PROTECTED]<application>].
> org.apache.hivemind.ApplicationRuntimeException
> 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   
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


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

Reply via email to