RE: many facelets libraries

2006-03-13 Thread Jesse Alexander \(KBSA 21\)
hmm... try this link
https://facelets.dev.java.net/nonav/docs/dev/docbook.html#config-webapp
-init 
Seems that the solution is to specify multiple libraries as a 
semicolon-separated list:

facelets.LIBRARIES  
  A semicolon (;) delimitted list of paths to Facelet tag libraries, 
  relative to your application's root. These libraries will be loaded 
  when the first request hits the FaceletViewHandler for page
compilation.

hth
Alexander

 -Original Message-
 From: ::SammyRulez:: [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 13, 2006 10:02 AM
 To: MyFaces Discussion
 Subject: many facelets libraries
 
 What if I want to add more then one extra component library 
 to my facelet app?
 More than ore context-parameter will breack the context.
 
 should I build a custom taglib xml descritpor with all my tags? I will
 lost different namespace for each one...
 
  context-param
 param-namefacelets.LIBRARIES/param-name
 param-value/WEB-INF/tomahawk.taglib.xml/param-value
 /context-param
 
 --
 ::SammyRulez::
 


Re: many facelets libraries

2006-03-13 Thread ::SammyRulez::
thank you. I have read the doc before but somehow I missed it

2006/3/13, Jesse Alexander (KBSA 21) [EMAIL PROTECTED]:
 hmm... try this link
 https://facelets.dev.java.net/nonav/docs/dev/docbook.html#config-webapp
 -init
 Seems that the solution is to specify multiple libraries as a
 semicolon-separated list:

 facelets.LIBRARIES
   A semicolon (;) delimitted list of paths to Facelet tag libraries,
   relative to your application's root. These libraries will be loaded
   when the first request hits the FaceletViewHandler for page
 compilation.

 hth
 Alexander

  -Original Message-
  From: ::SammyRulez:: [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 13, 2006 10:02 AM
  To: MyFaces Discussion
  Subject: many facelets libraries
 
  What if I want to add more then one extra component library
  to my facelet app?
  More than ore context-parameter will breack the context.
 
  should I build a custom taglib xml descritpor with all my tags? I will
  lost different namespace for each one...
 
   context-param
  param-namefacelets.LIBRARIES/param-name
  param-value/WEB-INF/tomahawk.taglib.xml/param-value
  /context-param
 
  --
  ::SammyRulez::
 



--
::SammyRulez::
http://sammyprojectz.blogspot.com


Re: many facelets libraries

2006-03-13 Thread Barry Kaplan
Also note that facelets will auto-discover any taglibs using 
META-INF/*.taglib.xml, so you don't even need to include these in the 
web.xml at all.


-barry