|
Re: Creating templates in jar files: msg#00075java.facelets.user
I would like to create custom taglibs with the help of facelets in I have something similar in my Seamless utility library, except it checks the classpath only if the template isn't found on the filesystem: http://seamless.ninthavenue.com.au/xref/seamless/util/FaceletsJarResolver.html http://www.ninthavenue.com.au/extras/seamless To change the facelets resolver you need to set a context parameter in your web.xml, like this: <!-- allows facelets to be in jars --> <context-param> <param-name>facelets.RESOURCE_RESOLVER</param-name> <param-value>seamless.util.FaceletsJarResolver</param-value> </context-param> As somebody mentioned in this thread, you don't need to do this for custom tags as they are already resolved relative to the taglib file, even if this is in a jar. Roger -- ---------------------------------------- Ninth Avenue Software p: +61 7 3137 1351 (UTC +10) f: +61 7 3102 9141 w: http://www.ninthavenue.com.au e: info@xxxxxxxxxxxxxxxxxx ----------------------------------------
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Possible to use Facelets 1.1.12 with Tomcat 5.5?, Thai Dang Vu |
|---|---|
| Next by Date: | Re: Possible to use Facelets 1.1.12 with Tomcat 5.5?, Mikael Andersson |
| Previous by Thread: | Re: Re: Creating templates in jar files, Aleksei Valikov |
| Next by Thread: | RE: Creating templates in jar files, Jesse Alexander \(KSFD 121\) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |