时间:2021-07-01 10:21:17 帮助过:7人阅读
function init() {
document.getElementById("studyPhase").disabled=true;
}
2、h:selectOneMenu下拉框
代码如下:
<h:selectOneMenu id="studyPhase" value="#{schoolfellowInfoEdit.studyPhase}" >
<f:selectItems value="#{schoolfellowInfoEdit.studyPhaseNamesItems}"/>
</h:selectOneMenu>