- 爱易网页
-
JavaSript
- SEAM+AJAX4JSF 兑现动态菜单
日期:2014-05-16 浏览次数:20374 次
SEAM+AJAX4JSF 实现动态菜单
的确方便了很多!
xml 代码
- <tr>??
- ?<td>??
- ????????<s:decorate?template="/page/tiles/formFieldDecorate.xhtml">??
- ????????????<ui:define?name="label">分类1</ui:define>??
- ????????????<h:selectOneMenu?value="#{_catalog1}"?converter="#{entityConverter}">??
- ????<s:selectItems?value="#{appCache.catalog1List}"? ??
- ?????var="cata1"?label="#{cata1.name}"?noSelectionLabel="请选择"/>????????? ??
- ????<a4j:support?event="onchange"??
- ?????actionListener="#{courseMaintAction.loadCata2ByCata1}"??
- ?????reRender="cata2Area"?requestDelay="0"??ajaxSingle="true"?/>??
- ???</h:selectOneMenu>??
- ????????</s:decorate>??
- ???????</td>??
- </tr>??
- <tr>??
- ?<td>??