Hi Achim, Many thanks for your reply. I think that for the future of the PAX projects we should adopt a strategy comparable to Apache Geronimo project / Glassfish to provide support on the ESB platform for Servlet, JSP, JSF. Pax is a great OSGI utility package but it has also the disadvantage that nobody knows if we deploy bundles compatible to Servlet 2.5 + Jsp 1.2 + JSF 1.2 or any other combinaisons.
When a new web application server is published (Tomcat, WebSphere, JBoss, Glassfish, ...) everybody knows which specification has been packaged into the release. I would like to suggest that for the future of Pax we adopt such a strategy or maybe we disuss with Geronimo project How we could reuse their bundles to setup WebContainer, EJB container according to Jave Specifications. That will simplify the life of the end users interested to deploy Web projects too on Karaf. We should also improve the doc of the following page to provide info about specs or frameworks supported like Apache Wicket (http://karaf.apache.org/manual/latest-2.2.x/users-guide/web-applications.html). Regards, Charles Moulliard Apache Committer Blog : http://cmoulliard.blogspot.com Twitter : http://twitter.com/cmoulliard Linkedin : http://www.linkedin.com/in/charlesmoulliard Skype: cmoulliard On Tue, Aug 30, 2011 at 10:14 PM, Achim Nierbeck <[email protected]> wrote: > Hi Charles, > > yeah the JSF support isn't as good as I want it to be and I try to improve > it. > Right now only JSF 1.2 is supporte but I try to add suport for JSF 2.1 and > Servlet 3.0. in trunk of Pax Web. > > The pax-web-jsp bundle provides almost everything you need for JSF. > If you have special taglibs you need to add those to your war. As you > already did. > I'm not sure if the el used inside the jsp bundle is the one required for > the Apache Tomahawk, > so maybe you need to deploy a never version of it. > > Regards, Achim > > > Am 30.08.2011 20:55, schrieb Charles Moulliard: >> >> Hi Achim, >> >> To make some tests with Primefaces, we have packaged a war file with >> all the libs required and deploy it on karaf like that : >> >> features:install war >> install war:mvn:web/myfaces/1.1.11/war >> >> It seems to work but when I open the code source of the page >> http://localhost:8181/mvn_web_myfaces_1.1.11_war/sample1.jsf, I see >> that some taglib appears and so are not rendered by Primefaces >> >> <t:saveState id="save1" value="0"></t:saveState> >> <t:saveState id="save2" value="0"></t:saveState> >> <t:saveState id="save3" value=""></t:saveState> >> >> <t:messages id="messageList" styleClass="error" >> summaryFormat="{0} in {1}"></t:messages> >> >> As these/those taglib are provided by Apache Tomahawk jar file, I >> suspect that when we deploy a Primefaces war on karaf, it cannot >> resolve them. Is it something that you already experienced and have a >> solution for that ? >> >> Regards, >> >> Charles Moulliard >> >> Apache Committer >> >> Blog : http://cmoulliard.blogspot.com >> Twitter : http://twitter.com/cmoulliard >> Linkedin : http://www.linkedin.com/in/charlesmoulliard >> Skype: cmoulliard > > > -- > -- > *Achim Nierbeck* > > > Apache Karaf<http://karaf.apache.org/> Committer& PMC > OPS4J Pax Web<http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer& > Project Lead > blog<http://notizblog.nierbeck.de/> > >
