YEAAAH ... got it.
Simplie the same as the setupImplicitPage().. but setting the
setPageSpecification to false.
Furthermore I had to overwrite the ComponentSpecificationResolverImpl Class.
(Defined it in the hivemodule like this
<implementation service-id="tapestry.page.ComponentSpecificationResolver">
<invoke-factory model="threaded">
<construct class="mypackage.myimpl">
<set-object property="specificationSource"
value="infrastructure:specificationSource"/>
<set-service property="delegate"
service-id="tapestry.page.SpecificationResolverDelegate"/>
<set-object property="applicationId"
value="infrastructure:applicationId"/>
<set-object property="contextRoot"
value="infrastructure:contextRoot"/>
<set-object property="classFinder"
value="infrastructure:classFinder"/>
</construct>
</invoke-factory>
</implementation>
Skorpien126 wrote:
>
> Hey,
> I have implementet the following
> http://wiki.apache.org/tapestry/SpeclessPagesInWEB-INF Code and it works
> fine. so I tried to it with the components too. A Component Definition
> looks like that
>
> @ComponentClass
> public abstract class Border extends BaseComponent
> {
> ....
> }
>
> and in the *.application I added the meta-key. <meta
> key="org.apache.tapestry.component-class-packages" value="my.package"/>.
>
> (I tried several Combinations... also writing my own
> SpecificationResolverDelegate with the findComponentSpecification method
> ... no success)
>
> I alway get an error like this...
>
> org.apache.hivemind.ApplicationRuntimeException
> Could not find template for component MyPage/$Border in locale
> _myLanguage.
>
>
> Anyone implementet such Code successfully???? Any Ideas whats wrong?
>
> P.S. Tapestry Version 4.0.2
>
>
--
View this message in context:
http://www.nabble.com/No-.jwc-when-using-Annotations-tf3524916.html#a9835617
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]