The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


JSF and HTML 4 Strict

Posted by mriem on July 19, 2008 at 10:50 AM PDT
If you think JSF is a bit too hard to use because you are better used to HTML and you want a slow migration, instead of a steep learning curve? Use JSF HTML components.

I am currently working hard to make it possible to use almost all of the HTML 4 strict elements in a JSF way.

If you want to try it out for yourself, you can either download the necessary JAR files from our Maven 2 repository, or you can use Maven 2 and specify a dependency on the library like this:
    <dependencies>
        <dependency>
            <groupId>com.manorrock.jsf.html</groupId>
            <artifactId>com-manorrock-jsf-html</artifactId>
            <version>1.3</version>
        </dependency>
    </dependencies>
    <repositories>
        <repository>
            <id>manorrock</id>
            <url>http://www.manorrock.com/repo/</url>
        </repository>
    </repositories>

Note: since this is a work-in-progress I will keep updating and posting small blog entries explaining what my progress on this library is. If you have a particular question, send me an email.
Related Topics >> Java Enterprise      
Comments
Comments are listed in date ascending order (oldest first)

I've always just put HTML in my JSPs. Am I missing something? Are JSF views supposed to have zero HTML and use JSP/JSF tags for layout? Like Swing uses layout managers for layout.

It depends on what your needs are. This allows you to slowly migrate an HTML centric view to a component based view. Remember components can interact with each other, regular HTML can't.