Facelets 0.8 发布,在jsf世界中和Tapestry有一拼!

Facelets 是一个以JavaServer Faces支持作为工业标准的 轻量级的模版框架。任何人就像创建一个jsp页面一样可以使用Facelets 和类似 XML-tag的标签。不同之处在于其强大外表的下面,它去除了所有jsp提供的api带来的负担以更大的增强作为平台的JSF,并提供了简单的可插入式开发,不需要任何JSP标签的开发就能够和JSF整合。

Facelets 有以下关键的特色:

  • Works with JSF 1.1 and JSF 1.2, including Sun's RI and Apache MyFaces.
  • Zero Tag development time for UIComponents
  • Fast Templating/Decorators for Components and Pages
  • The ability to specify <code>UIComponent</code> trees in separate files (<code>UICompositions</code>)
  • Line/Tag/Attribute precise Error Reporting
  • Specify Tags in Separate Files, even packaged with Jars
  • Full EL support, including Functions
  • Developer-mode for Easy Error resolution
  • Build-time EL Validation
  • XML configuration files aren't necessary
  • Reserves the '<code>jsfc</code>' attribute which acts the same as Tapestry's jwcid (Example: <code><input id="bar" type="text" jsfc="h:inputText" value="#{foo.bar}"/></code>)
  • Plugable Decorators to really make designer's job easy (Example: transform <code><input type="text"/></code> to <code><h:inputText/></code> at compile time)
  • Works with any <code>RenderKit</code>
  • Facelets could be used outside of a Web Container with JSF

    Home Page: http://facelets.dev.java.net

    Documentation: http://facelets.dev.java.net/nonav/docs/dev/docbook.html

    Development Error Pages: http://facelets.dev.java.net/nonav/docs/dev/error.html

    转自:http://www.theserverside.com/news/thread.tss?thread_id=35774

你可能感兴趣的:(Facelets 0.8 发布,在jsf世界中和Tapestry有一拼!)