Hi Serhan

This is more a JSF related issue than Pax-Web. Resources follow certain 
rules how they are resolved 
https://docs.oracle.com/javaee/6/tutorial/doc/girgm.html

The "composite" part in the namespace is more or less a marker that tells 
JSF to resolve a resource in the JSF way (which is fairly complex)

You can find the details in the JSF Spec

Regards
Marc

Am Montag, 27. November 2017 13:31:55 UTC+1 schrieb Serhan Tuygun:
>
> I have a web-application deployed in fuse-6.3, which is based on 
> myfaces(org.apache.myfaces.core.bundle - 2.2.12) and primefaces(6.1).
>
> There are some custom jsf components under resources folder. When I put 
> them in a nested form and reference it, it gave an warning:
>
> resource
> |
> ---components
>      |
>      ---mycompany
>          |
>          ---custom.xhtml
>
> and reference it from the page with the xmlns:my="
> http://java.sun.com/jsf/composite/components/mycompany";
>
> Warning: Warning: The page /secured/privilege/viewPrivilege.xhtml 
> declares namespace http://java.sun.com/jsf/composite/components/mycompany 
> and uses the tag my:custom, but no TagLibrary associated to namespace. 
> Please check the namespace name and if it is correct, it is probably that 
> your library .taglib.xml cannot be found on the current classpath, or if 
> you are referencing a composite component library check your library folder 
> match with the namespace and can be located by the installed 
> ResourceHandler.
>
> However, if I moved them into 
>
> resource
> |
> ---mycompany
>      |
>      ---custom.xhtml
>
> and reference it from the page with the xmlns:my="
> http://java.sun.com/jsf/composite/mycompany";
>
> it works. What might be the cause?
>
> Thanks.
>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to