How to use JSF component library in OSGi

I have a very specific question about using JSF and component libraries

I tested building a WAB (OSG - Fixed war) package with primefaces It has been proved that there are problems in integrating JSF and primefaces when using OSGi

There are several ways to integrate JSF and primefaces. I'd like to ask how to implement it:

>I can put primefaces Jar is built as an OSGi package I can export Java methods as services, but there are XML configuration files, etc. I don't think I can use them in a separate OSGi package Is this right or am I wrong? > Can I use the integrated primefaces component to make mojarra's custom build If I manage to do this, I can simply deploy the modified mojarra as a GlassFish module build, which is very simple and effective If someone tries to achieve this goal, will you share some information about it?

Solution

Set primefaces in GlassFish Jar is deployed as an OSGi package From primefaces-p.taglib XML copy label declaration Also see how this tutorial creates custom tags I'm not sure, but you also need to copy / paste JS, CSS and pictures into your package

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>