The Artima Developer Community
Sponsored Link

Java Buzz Forum
Facelets: JSF down right.... but what do you give up?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Facelets: JSF down right.... but what do you give up? Posted: Jul 28, 2005 8:46 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Facelets: JSF down right.... but what do you give up?
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement

As soon as I saw Facelets I was a happy man.

I have always hated:

<h:form>
<h:dataTable value="#{widgetService.widgetDataModel}" var="widget">
    <h:column>
	<h:commandLink action="#{widgetService.delete}" immediate="true">
	    <h:outputText value="Delete" />
	</h:commandLink>
    </h:column>
    <h:column>
	<f:facet name="header">
	    <h:outputText value="Name" />
	</f:facet>
	<h:outputText value="#{widget.name}"/>
    </h:column>
    <h:column>
	<f:facet name="header">
	    <h:outputText value="Description" />
	</f:facet>
	<h:outputText value="#{widget.description}"/>
    </h:column>
    <h:column>
	<f:facet name="header">
	    <h:outputText value="Cost" />
	</f:facet>
	<h:outputText value="#{widget.cost}"/>
    </h:column>
</h:dataTable>
</h:form>

And, moving back to just normal HTML with the odd jsfid attribute, class attribute, etc... felt at home.

If I was writing my own JSF web app, I would jump to use this view instead of the mess.

However, if you were a huge enterprise, and you were sold on "tooling", then will this play in that world?

NOTE: Taming JSF 1.1 is an interesting article on JSF 1.1.

Read: Facelets: JSF down right.... but what do you give up?

Topic: Fujitsu Announces Bendable Color E-Paper Previous Topic   Next Topic Topic: Wonderful Optical Illusions

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use