Message Boards

Custom taglib function not getting in another module inside module

Vishal Shah, modified 4 Years ago.

Custom taglib function not getting in another module inside module

Junior Member Posts: 33 Join Date: 2/1/12 Recent Posts
HI,
Custom taglib function, not working in Liferay 7.2 CE
My project structure is below :
Sample - Liferay Workspace
  1. modules
    1. module 1
      1. submodule1a
      2. subModule1b-taglib  - Custom Taglib Functions
    2. module 2
      1. submodule2a - I am going to use taglib function from "subModule1b-taglib ".
      2. submoduke2b
Sub Module 1B - BND.BND
Bundle-Name: submodule1b-taglib
Bundle-SymbolicName: com.abc.taglib.function
Bundle-Version: 1.0.0
Export-Package: com.abc.taglib.function
Provide-Capability:\
    osgi.extender;\
        osgi.extender="jsp.taglib";\
        uri="http://abc.sample.com/tld/abc";\
        versionemoticonersion="${Bundle-Version}"
Web-ContextPath: /submodule1b-taglib

Sub Module 2A - MVC Portlet - BUILD.GRADLE
compileOnly project(":modules:module1:submodule1b-taglib")


Error :: throwing runtime as taglib function not getting while JSP page load
thumbnail
Olaf Kock, modified 4 Years ago.

RE: Custom taglib function not getting in another module inside module

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts
Vishal Shah:

Custom taglib function, not working in Liferay 7.2 CE
Can you be more specific than "not working"? Compile-time-problems? Runtime? What's the message? What do you deploy?
Vishal Shah, modified 4 Years ago.

RE: Custom taglib function not getting in another module inside module

Junior Member Posts: 33 Join Date: 2/1/12 Recent Posts
It's Runtime error throwing as Function (Taglib) not found while JSP page load.