[
https://issues.jboss.org/browse/WFLY-1172?page=com.atlassian.jira.plugin....
]
Tomaz Cerar edited comment on WFLY-1172 at 7/23/13 8:39 AM:
------------------------------------------------------------
I think this is just matter of configuring classloading trough
jboss-deployment-structure.xml
take a look at
https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7
You would need something like this:
{noformat}
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
<deployment>
<module name="my.module.that.has.tlds" >
<resources>
<resource-root path="jar-with-tlds-.jar" >
<filter>
<include path="path/to/tld/folder/**" />
</filter>
</resource-root>
</resources>
</module>
</deployment>
{noformat}
this would be bit different if you deploy ear app, but it should be something between this
lines
was (Author: ctomc):
I think this is just matter of configuring classloading trough
jboss-deployment-structure.xml
take a look at
https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7
You would need something like this:
{noformat}
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
<deployment>
<module name="my.module.that.has.tlds" >
<resources>
<resource-root path="jar-with-tlds-.jar" >
<filter>
<exclude path="path/to/tld/folder/**" />
</filter>
</resource-root>
</resources>
</module>
</deployment>
{noformat}
this would be bit different if you deploy ear app, but it should be something between this
lines
mechanism to load tag libraries from module
-------------------------------------------
Key: WFLY-1172
URL:
https://issues.jboss.org/browse/WFLY-1172
Project: WildFly
Issue Type: Feature Request
Components: Web (JBoss Web)
Reporter: Ivica Loncar
Assignee: Remy Maucherat
Priority: Critical
Labels: modules, tag, taglib, tld
Original Estimate: 1 day
Remaining Estimate: 1 day
tag libraries are scanned only if they appear in jar inside WEB-INF/lib or are defined in
tld under WEB-INF.
The simplest scenario to explain why this is a problem: portlet 2 defines standard
portlet taglib, but the classes in this file come from concrete implementations. Currently
I see no way to use 2 different portals in a portable way.
Please provide a way to notify a relevant subsystem for web applications that specific
module contains a .tld.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira