jsf tag参考文档
http://www.jsftoolbox.com/documentation/help/12-TagReference/index.jsf
seam tag参考文档
http://www.jsftoolbox.com/documentation/seam/09-TagReference/index.jsf
JSF and SEAM:
Contexts.getStatelessContext().get("loginAction") 来访问LoginAction
http://docs.jboss.org/seam/2.0.0.GA/reference/zh/html/controls.html
------------------------------RichFaces框架的基本概念架----------------------------------------------------
http://hyh3993.iteye.com/blog/327994
RichFaces不仅可以序列化原始类型到JSON格式,也可以复杂类型,包括数组和集合。 Beans也可以序列化被“data”引用 。
有许多有用的函数,可以在JavaScript使用 :
rich:clientId('id') -返回短ID形式的客户ID或如果指定的ID的组件没有找到就返回NULL
rich:element('id') – 是document.getElementById(#{rich:clientId('id')})的引用。
rich:component('id') –是#{rich:clientId('id')}.component的引用
rich:findComponent('id') -返回的一个以参数为组件的短ID的UIComponent实例。
<h:inputText id="myInput">
<a4j:support event="onkeyup" reRender="outtext"/>
</h:inputText>
<h:outputText id="outtext" value="#{rich:findComponent('myInput').value}" />
-----------------------------------------------------------------------------------------------------------
* I just replace "@Sort" annotation definition above with Collections.sort to sort programs. I think "@Sort" used here is not efficient.
* I just get the following "@sort" using description from
* "http://docs.jboss.org/hibernate/stable/annotations/reference/en/html/entity.html" :
*
* "You can also declare a sort comparator. Use the @Sort annotation. Expressing the comparator type you want between unsorted,
* natural or custom comparator. If you want to use your own comparator implementation, you'll also have to express the implementation
* class using the comparator attribute. Note that you need to use either a SortedSet or a SortedMap interface."
http://www.jsftoolbox.com/documentation/help/12-TagReference/index.jsf
seam tag参考文档
http://www.jsftoolbox.com/documentation/seam/09-TagReference/index.jsf
JSF and SEAM:
Contexts.getStatelessContext().get("loginAction") 来访问LoginAction
http://docs.jboss.org/seam/2.0.0.GA/reference/zh/html/controls.html
------------------------------RichFaces框架的基本概念架----------------------------------------------------
http://hyh3993.iteye.com/blog/327994
RichFaces不仅可以序列化原始类型到JSON格式,也可以复杂类型,包括数组和集合。 Beans也可以序列化被“data”引用 。
有许多有用的函数,可以在JavaScript使用 :
rich:clientId('id') -返回短ID形式的客户ID或如果指定的ID的组件没有找到就返回NULL
rich:element('id') – 是document.getElementById(#{rich:clientId('id')})的引用。
rich:component('id') –是#{rich:clientId('id')}.component的引用
rich:findComponent('id') -返回的一个以参数为组件的短ID的UIComponent实例。
<h:inputText id="myInput">
<a4j:support event="onkeyup" reRender="outtext"/>
</h:inputText>
<h:outputText id="outtext" value="#{rich:findComponent('myInput').value}" />
-----------------------------------------------------------------------------------------------------------
* I just replace "@Sort" annotation definition above with Collections.sort to sort programs. I think "@Sort" used here is not efficient.
* I just get the following "@sort" using description from
* "http://docs.jboss.org/hibernate/stable/annotations/reference/en/html/entity.html" :
*
* "You can also declare a sort comparator. Use the @Sort annotation. Expressing the comparator type you want between unsorted,
* natural or custom comparator. If you want to use your own comparator implementation, you'll also have to express the implementation
* class using the comparator attribute. Note that you need to use either a SortedSet or a SortedMap interface."