The Source for Java Technology Collaboration
User: Password:



Manfred Riem

Manfred Riem's Blog

JSF and HTML 4 Strict

Posted by mriem on July 19, 2008 at 10:50 AM | Comments (2)

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.

Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • 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.

    Posted by: rdelaplante on July 19, 2008 at 01:04 PM

  • 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.

    Posted by: mriem on July 19, 2008 at 03:07 PM



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds