读书人

JSF参数传递模式说明

发布时间: 2012-11-25 11:44:31 作者: rapoo

JSF参数传递方式说明

先说明一种:
-----------------------------------------

                                            <h:form>??????????????????<h:commandButton?action="#{paramBean.test3}"?value="Test14">?????????????????????<f:setPropertyActionListener?value="hujilie"?target="#{paramBean.name}"/>??????????????????</h:commandButton>??????????????????<h:commandLink?action="#{paramBean.test3}"?value="Test15">??????????????????????<f:setPropertyActionListener?value="hujilie"?target="#{paramBean.name}"/>??????????????????</h:commandLink>??????????</h:form>?????


                                          后台取参数:直接使用属性的值。

读书人网 >JavaScript

热点推荐