JSF参数传递模式说明
JSF参数传递方式说明先说明一种:-----------------------------------------h:form??????????????????h
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>?????
后台取参数:直接使用属性的值。