jsf - Facelets Taglib outside WEB-INF directory? -


I am trying to create a Facet tagline. So far I have read every tutorial like *. Taglib.xml has written the file and placed the tag itself inside the WEB-INF directory, but no one really says why. If I move the tags to another directory and files moved to the * taglib.xml update I try to talk to get the following TagException : /confirmation/fields/ordersearchalternatives.xhtml @ 33,42

is the same if *. The taglib.xml file is moved to another directory and the web.xml indicates that to.

If it only works, then the tags seem to be inside the 'xhtml files and taglib descriptors web-inf directory. What I would like to achieve, is the tagline descriptor as well as inside the XHTML files of the tag, it is the resource directory and its pointing to the web.xml file.

  • Is this possible?
  • Is this completely out of best practice?

    Maybe it helps someone else: stumbled I figured How to WEB-INF outside of the directory, to tell my taggiobosh javax.faces.FACELETS_LIBRARIES reference web.xml the ultimate JSF tells one or the The .taglib.xml file for viewing more specific files (s) directories in the given places are related to all the web directories.

      & lt; context-param & gt; & Lt; Ultimate Name & gt; javax.faces.FACELETS_LIBRARIES & lt; / Lastname & gt; & Lt; Ultimate Price & gt; /shared/taglibs/y.taglib.xml; /other/taglibs/x.taglib.xml< / Super-valued & gt; & Lt; / Reference param & gt;    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -