Note that there are some explanatory texts on larger screens.

plurals
  1. POError in creating Seam Custom EL function
    text
    copied!<p>I tried to create a custom el function in seam 2.2 by following <a href="http://seamframework.org/Documentation/CreatingCustomELFunctions" rel="nofollow">http://seamframework.org/Documentation/CreatingCustomELFunctions</a></p> <p>The taglib content is:</p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "facelet-taglib_1_0.dtd"&gt; &lt;facelet-taglib&gt; &lt;library-class&gt;org.el.func.FnLibrary&lt;/library-class&gt; &lt;/facelet-taglib&gt; </code></pre> <p>But while running, getting the following parsing error.</p> <pre><code>SEVERE [compiler] Error Loading Library: vfszip:/home/anand/jboss-5.1.0.GA/server/default/deploy/stagebitz.ear/stagebitz.jar/META-INF/elfunctions.taglib.xml java.io.IOException: Error parsing [vfszip:/home/anand/jboss-5.1.0.GA/server/default/deploy/stagebitz.ear/stagebitz.jar/META-INF/elfunctions.taglib.xml]: Caused by: org.xml.sax.SAXException: Error Handling [vfszip:/home/anand/jboss-5.1.0.GA/server/default/deploy/stagebitz.ear/stagebitz.jar/META-INF/elfunctions.taglib.xml@4,57] &lt;library-class&gt; at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:271) </code></pre> <p>Using JSF 1.2</p> <p>In web.xml used following parameters.</p> <pre><code> &lt;context-param&gt; &lt;param-name&gt;javax.faces.FACELETS_LIBRARIES&lt;/param-name&gt; &lt;param-value&gt; /WEB-INF/elfunctions.taglib.xml &lt;/param-value&gt; &lt;/context-param&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload