commandButton上的JSF1.2问题

commandButton上的JSF1.2问题,jsf,monitor,managed,Jsf,Monitor,Managed,JSF 1.2命令按钮不工作 <h:dataTable first="0" rows ="#{aptMgmtUIHandler.usocsOnFirstPanel}" value="#{aptMgmtUIHandler.appt.usocList}" cellspacing = "3" var="usoc"> <h:column> <h:outputText value="#{usoc.displayName}"></h:outputText> &

JSF 1.2命令按钮不工作

<h:dataTable first="0" rows ="#{aptMgmtUIHandler.usocsOnFirstPanel}"
value="#{aptMgmtUIHandler.appt.usocList}" cellspacing = "3" var="usoc">
<h:column>
<h:outputText value="#{usoc.displayName}"></h:outputText>
<h:outputLabel value=":"></h:outputLabel>
</h:column>                                 
<h:column rendered="#{usoc.displayName eq 'Ethernet Tech Install (1CRMM)'}">            
<h:selectOneMenu value="#{usoc.usocQuantity}" style="height:22px"
rendered="#{usoc.booleanType}">
<f:selectItem itemLabel="NO" itemValue="#{aptMgmtUIHandler.no}" />
<f:selectItem itemLabel="YES" itemValue="#{aptMgmtUIHandler.yes}" />
</h:selectOneMenu>

<h:inputText value="#{usoc.usocQuantity}" style="height:17px"
rendered="#{!usoc.booleanType}"
onchange="return isNumeric(this.value, '#{usoc.displayName}')">
</h:inputText>
</h:column>

<h:column rendered="#{usoc.displayName ne 'Ethernet Tech Install (1CRMM)'}">            
<h:selectOneMenu value="#{usoc.usocQuantity}" style="height:22px"
rendered="#{usoc.booleanType}" >
<f:selectItem itemLabel="NO" itemValue="#{aptMgmtUIHandler.no}" />
<f:selectItem itemLabel="YES" itemValue="#{aptMgmtUIHandler.yes}" />
</h:selectOneMenu>

<h:inputText value="#{usoc.usocQuantity}" style="height:17px"
rendered="#{!usoc.booleanType}"
onchange="return isNumeric(this.value, '#{usoc.displayName}')">
</h:inputText>
</h:column>

</h:dataTable>

<h:commandButton id="nextAdd" value="Next" styleClass="button" 
action="#{aptMgmtUIHandler.getCalendarFromCTS}"></h:commandButton>

xml中的Bean作用域是会话。单击按钮后,它不会调用backbean方法。
它没有显示任何错误消息。删除呈现后,它将调用方法。

“删除呈现后,它将调用方法。”-那么它是否正在处理您发布的xml?请在此处搜索可能的原因:是否将代码放在“h:form”标记中?