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

王朝java/jsp·作者佚名  2006-01-10
宽屏版  字体: |||超大  

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有