Hello,
I am trying to access the contrib library components from within my
portlet. While all the classess and jars are there, the library does
not seem to be getting loaded. I get the following exception:
org.apache.hivemind.ApplicationRuntimeException
Library 'Contrib' not found in application namespace.
*
org.apache.tapestry.engine.Namespace.createNamespace(Namespace.java:290)
*
org.apache.tapestry.engine.Namespace.getChildNamespace(Namespace.java:14
8)
*
org.apache.tapestry.resolver.AbstractSpecificationResolver.findNamespace
ForId(AbstractSpecificationResolver.java:204)
My application file contains the following entry:
<library id="Contrib"
specification-path="classpath:/org/apache/tapestry/contrib/Contrib.libra
ry"/>
I try to access the component in this way:
<tr>
<span jwcid="@Contrib:TableColumns" />
</tr>
My application file is called TapestryApplicationServlet.application and
the following is one of the servlet definitions in my web.xml (there are
multiple servlets, though, but this is the only tapestry one):
<servlet>
<servlet-name>TapestryApplicationServlet</servlet-name>
<servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
</servlet>
The mapping is as follows:
<servlet-mapping>
<servlet-name>TapestryApplicationServlet</servlet-name>
<url-pattern>/app</url-pattern>
</servlet-mapping>
Any suggestions?
Thank you,
Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]