JSF 参数传递
<h:commandLink action="#{roomBean.gotoEdit}" " > &n...
<f:facet> couldn't be displayed with many child
<f:facet> can have only one child. If you have many child of facet label, wrap it in a <h:panelGroup>.h:column id="subject_column"> <f:facet name="header"> <h:commandLink value="Subject" id="sor...
JSF 页面跳转
在com.mycompany.web下面定义的javaBean里面定义的方法 如:public String gotoUserSurveyDetail() { UserSurveyDetailBean bean = (UserSurveyDetailBean) findClass( &...
<h:dataTable
<h:dataTable id="top2" styleClass="dataTable" var="toppost" &n...
处理JSF空值
<h:outputText value="Phone Number:" /> <h:outputText value="#{userHandler.user.phoneNumber}" /><h:outputText value="#{userHandler.user.phoneNumber != null ? userHandler.user.phoneNumber : '-'}" />...
JSF config
1. 在Web.xml文件里添加<context-param> <param-name>javax.faces.CONFIG_FILES</param-name> <param-value> ...