[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets
I think you have to specify it in web.xml if you do not package your library in to its own jar file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4021553#4021553 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4021553 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets
dgallego wrote : Thanks! Did you ever find a solution for this problem? I have the exact same situation. Regards, Frank View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4021434#4021434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4021434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets
It shouldn't be, no. Put it in META-INF/ if you are putting the facelets in a jar included in WEB-INF/lib. Put it in WEB-INF if you are just putting the facelets straight into your war. BTW I never needed that parameter for tomahawk if I put the tomahawk.taglib.xml in WEB-INF (or a sub directory). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3990909#3990909 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3990909 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets
OK, if i move the tomahawk.taglib.xml to tomahawk.jar!META-INF , it works, but with my tags this doesn't work :( any idea? My my.jar!META-INF content: taglib.tld (tags for MyFaces without facelets, for example). faces-config.xml (the JSF components). nt.taglib.xml (the link between the component-type and the component-class, the facelets) Thanks for your help petemuir View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3990971#3990971 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3990971 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets
You should see log messages when you access your first facelets page 13:20:37,850 ERROR [STDERR] 04-Dec-2006 13:20:37 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/Z:/jboss/jboss-4.0.5.GA/server/default/./deploy/spm-seam.ear/spm-seam.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml for all the tag libraries facelets can load (for the entire app). If your nt.taglibrary.xml isn't mentioned please post your war structure. If it is then you've probably got a namespace typo between nt.taglib.xml and your facelet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3990974#3990974 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3990974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets
This is the structure of the jar under my /WEB-INF/lib/: META-INF: - faces-config.xml - nt.taglib.xml - taglib.tld and the packets structure containing my tags and JSF components. My tags work only if I specify facelets.LIBRARIES option under web.xml. faces-config.xml: | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE faces-config PUBLIC -//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN | http://java.sun.com/dtd/web-facesconfig_1_0.dtd; | faces-config | | component | component-typecomponent.Version/component-type | component-classcomponent.Version/component-class | /component | /faces-config | nt.taglib.xml: | ?xml version=1.0? | !DOCTYPE facelet-taglib PUBLIC |-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN |facelet-taglib_1_0.dtd | | facelet-taglib | | namespacehttp://www.ntrying.com/namespace | | tag | tag-nameversion/tag-name | component | component-typecomponent.Version/component-type | /component | /tag | | | /facelet-taglib | taglib.tld: | ?xml version=1.0? | !DOCTYPE taglib PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN | http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd; | taglib | | tlib-version1.0/tlib-version | jsp-version1.2/jsp-version | short-nament/short-name | urihttp://www.ntrying.com/uri | display-nameNTrying.com./display-name | | !-- nt:version / -- | tag | nameversion/name | tag-classtaglib.VersionTag/tag-class | body-contentempty/body-content | description | The current version of the Ntrying library. | /description | /tag | /taglib | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3990992#3990992 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3990992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets
I'm not sure then, I suggest you ask on the facelets list. https://facelets.dev.java.net View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991003#3991003 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets
Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991006#3991006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user