使用JSF2.0的inputtext, 从网页上的inputtext输入值之后,bean里面总是无法保存这个输入值,请问是什么原因?<f:view>
<h:outputLabel value="#{arabBean.name }"></h:outputLabel><h:form>
<h:inputText value="#{myBean.name }" required="true" > </h:inputText>
<h:commandButton value="set" immediate="false"></h:commandButton>
</h:form>
</f:view>
<h:outputLabel value="#{arabBean.name }"></h:outputLabel><h:form>
<h:inputText value="#{myBean.name }" required="true" > </h:inputText>
<h:commandButton value="set" immediate="false"></h:commandButton>
</h:form>
</f:view>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货