I have added a basic test case for checking that a portlet application can use the JSR 168
taglib that we'll complete later when we start impl of JSR 286 taglib.
The one thing is that the TLD file needs to be bundled with the applications since there
is no way to define a global taglib in a portable manner today.
It is done in build.xml in the portal-portlet-test-framework-lib.jar which is bunlded with
all test cases. As it is the simplest to do for now.
I was able to share the taglib with Tomcat by placing a jar containing the portlet
container classes and the TLD in the of Cargo. It does not work with JBoss AS since it
uses another mechanism (see here
http://wiki.jboss.org/wiki/Wiki.jsp?page=GlobalTLDs).
For the portlet container with bundle we'll need different solutions according to the
target bundle that will
- share the taglib in lib of tomcat
- require a modification of AS using the described artifact or to use the existing runtime
mechanism which copies the taglib in the war file at deployment time (which would be more
transparent).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123849#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...