In a
java application project called mycomposites, i created xhtml with a composite component interface and implementation in
mycomposites/src/main/resources/testcomponents/myComponent.xhtml
Then I created a new project testmycomposites added mycomposites as dependency. Here is the source of an xhtml that should use myComponent:
However running project, I get error:
<tp:myComponent> Tag Library supports namespace:
http://java.sun.com/jsf/composite/testcomponents, but no tag was defined for name: myComponent
If i put the same custom component in resources/testcomponents folder of the same project everything works fine.
I can't find any example in wich custom composite components are located in a dependency.
Is it wrong xml namespace or what?
Thanks in advance for reply.