Hi.

Somebody posted this link on the exadel forum some of this stuff looks cool and the license seems to be apache compliant ;-)

http://www.jenia.org/jsp/index.jsp

I've just tried it and it seems to work (at least the popupBox).
I run pure MyFaces without any JSF RI libraries. Therefore I had to correct a couple of things before jenia4faces popup worked.

Here's my walkthrough:

1. Get jenia4faces-popup.jar and jenia4faces-commons.jar.
2. In jenia4faces-popup.jar/META-INF/jenia-popup.tld comment all references to com.sun.* classes. These are <validator/> and <tei-class/> elements. This will remove references to JSF RI.
3. Add patched libraries to the webapp path.
4. Declare taglib prefix (ex. xmlns:jp="http://www.jenia.org/jsf/popup";) in the JSP.
5. Add servlet/servlet mapping

<servlet>
        <servlet-name>Jenia internal servlet</servlet-name>
        <servlet-class>org.jenia.faces.util.Servlet</servlet-class>
        <load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
        <servlet-name>Jenia internal servlet</servlet-name>
        <url-pattern>/jenia4faces/*</url-pattern>
</servlet-mapping>

to the web.xml. This enables loading of javascript files from jenia4faces resources. (Actually, MyFaces follows the same approach in a different way.)

If you get something like "component not found", copy and paste jenia4faces-popup.jar/META-INF/jenia-popup-config.xml into the primary faces-config.xml.

And yes, once again
/me too: Thanks to the authors.

Bye.
/lexi

Reply via email to