下拉框搜索

<ui:repeat>
<c:foreach></c:foreach></ui:repeat>

 ui:repeat   c:foreach

 

Environment : J2EE 5.0, MyFaces 1.1.5, RichFaces 3.1.0




<!---->
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="rich" uri="http://richfaces.ajax4jsf.org/rich" %>



<f:view>
<h:form id="select">
<rich:tabpanel selectedtab="TabName1" switchtype="client">
<rich:tab name="TabName1" label="Java">
<!---->
<h:outputtext value="Sample Text 1">
</h:outputtext>
<rich:tab name="TabName2" label="J2EE">
<!---->
<h:outputtext value="Sample Text 2">
</h:outputtext>
<rich:tab name="TabName3" label="Java Server Faces">
<!---->
<h:outputtext value="Sample Text 3">
</h:outputtext>
</rich:tab>
</rich:tab>
</rich:tab>

</rich:tabpanel></h:form></f:view>

你可能感兴趣的:(java,C++,UI,Richfaces,JSF)