<rich:modalPanel>

xiaoxiao2022-06-12  36

1.modalPanel里如果包含<h:input/> <h:commandButton/>之类的元素时,必须有自己的from,也就是说<h:form/>必须在在<rich:modalPanel/>的里面,否则表单控件都无法正确执行。 2.如果modalPanel自己内部有的form时,就不要再用其他的form来包住modalPanel控件。 Xml代码 <rich:modalPanel> <f:facet name="header"> <h:outputText value="Test" /> </f:facet> <h:form> <t:commandButton value="Test" action="#{TESTCONTROLLER.test}"/> </h:form> </rich:modalPanel> <h:form> <!-- 其他组件 --> </h:form> <rich:modalPanel> <f:facet name="header"> <h:outputText value="Test" /> </f:facet> <h:form> <t:commandButton value="Test" action="#{TESTCONTROLLER.test}"/> </h:form> </rich:modalPanel> <h:form> <!-- 其他组件 --> </h:form> 相关资源:敏捷开发V1.0.pptx
转载请注明原文地址: https://www.6miu.com/read-4934017.html

最新回复(0)