当前位置: 代码迷 >> J2EE >> JavaEE,JSF TAG 嵌套 EL表达式。苦苦苦,大伙儿来看看咯
  详细解决方案

JavaEE,JSF TAG 嵌套 EL表达式。苦苦苦,大伙儿来看看咯

热度:693   发布时间:2016-04-22 00:10:18.0
JavaEE,JSF TAG 嵌套 EL表达式。苦苦苦,大家来看看咯。
本帖最后由 wangtianxun 于 2012-12-04 18:05:56 编辑
                                            <h:form>
                                                <c:forEach items="${allSorts}" var="sort">
                                                    <li>
                                                    <h:commandLink  action="#{SortBean.sort_look_action}">
                                                          <h:outputText value="<c:out value="${sort.soName}" />"></h:outputText>
                                                          <f:param name="soId" value="<c:out value="${sort.soId}" />"></f:param>
                                                    </h:commandLink>
                                                    </li>
                                                </c:forEach>
                                            </h:form>


出错了。Error(21,103):  This attribute is not recognized.
Error(20,96):  This attribute is not recognized.

不知道大家遇到这问题怎么解决的,里面不能嵌EL表达式呢。
------解决方案--------------------
找到解决法方法了,今天看了下书,就用JSF的托管BEAN好了。