Coming Up for Air

Announcing Mojarra Scales

Wednesday, January 02, 2008 |

Some of you may be wondering what the status is on the RI Sandbox. With the announcement of Project Mojarra, we can finally take the wraps off of Mojarra Scales, the promotion of the RI/Mojarra Sandbox to its own project. There are a few differences between the Sandbox of Scales to note, such as package names, namespace, etc. There has also been a fair amount of refactoring inside the library to simplify the components somewhat (more on that later). To migrate from the RI Sandbox to Mojarra Scales, you will need to do the following:

  1. Remove jsf-ri-sandbox-0.9.jar

  2. Add mojarra-scales.jar. (I’m working on getting this added to the java.net maven repository as well).

  3. Add the (new) JSFTemplating dependencies from here and here.

  4. Change your references to the RI Sandbox URL.

    1. JSP: <%@ taglib uri="http://java.sun.com/mojarra/scales" prefix="sc" %>

    2. Facelets: xmlns:sc="http://java.sun.com/mojarra/scales"

  5. Add the static resource PhaseListener:

<lifecycle>
    <phase-listener>
        com.sun.mojarra.scales.util.StaticResourcePhaseListener
    </phase-listener>
</lifecycle>

That should be all there is too it (though if I’ve missed a step, please let me know).

Search

    Quotes

    Sample quote

    Quote source

    About

    My name is Jason Lee. I am a software developer living in the middle of Oklahoma. I’ve been a professional developer since 1997, using a variety of languages, including Java, Javascript, PHP, Python, Delphi, and even a bit of C#. I currently work for Red Hat on the WildFly/EAP team, where, among other things, I maintain integrations for some MicroProfile specs, OpenTelemetry, Micrometer, Jakarta Faces, and Bean Validation. (Full resume here. LinkedIn profile)

    I am the president of the Oklahoma City JUG, and an occasional speaker at the JUG and a variety of technical conferences.

    On the personal side, I’m active in my church, and enjoy bass guitar, running, fishing, and a variety of martial arts. I’m also married to a beautiful woman, and have two boys, who, thankfully, look like their mother.

    My Links

    Publications