(FacesContext.java:293) at javax.faces.context.FacesContext.isProcessingEvents(FacesContext.java:300)
at javax.faces.context.FacesContext.isProcessingEvents
在从中签出代码时,遇到了p:selectOneMenu中使用的以下条件
disabled="#{facesContext.postback and not facesContext.renderResponse我知道,当页面是由JSF生成的POST请求(命令but /命令链接等)生成时,facesContext.postback是true,但是在视图中进行评估时,facesContext.renderResponse因此,我猜想这个条件在Faces生命周期中会被多次评估,并且组件被禁用,直到达到最后一个