Jsf 弹出的提交按钮不工作
我有一个带有提交按钮的弹出面板,但表单提交不起作用Jsf 弹出的提交按钮不工作,jsf,richfaces,Jsf,Richfaces,我有一个带有提交按钮的弹出面板,但表单提交不起作用 <p align="left"> <h:commandButton value="Management" style="font-size: 20px"> <rich:componentControl target="popup" operation="show" /> </h:commandButton> </p> <rich:popupPan
<p align="left">
<h:commandButton value="Management" style="font-size: 20px">
<rich:componentControl target="popup" operation="show" />
</h:commandButton>
</p>
<rich:popupPanel id="popup" modal="false" autosized="true" resizeable="false">
<f:facet name="header">
<h:outputText value="Please Login for forther process" />
</f:facet>
<f:facet name="controls">
<h:outputLink value="#" onclick="#{rich:component('popup')}.hide();
return false;">
X
</h:outputLink>
</f:facet>
<p>
<h:form>
<fieldset>
<legend>Login</legend>
<h:panelGrid columns="3">
<h:outputLabel value="User Name"/>
<h:inputText value="#{abc.name}"/>
<br/>
<h:outputLabel value="Password"/>
<h:inputText value="#{abc.password}"/>
<br/>
<a4j:commandButton value="Submit" action="#{abc.submit()}"/>
</h:panelGrid>
</fieldset>
</h:form>
</p>
</rich:popupPanel>
X
登录
为什么abc.submit()函数不起作用?有嵌套表单吗?如果是,则删除它们。同时从操作中删除括号:
action={beanName.action}
。它们是不必要的。你的问题解决了吗?你做了我们要求的事吗?你有嵌套表单吗?如果是,则删除它们。同时从操作中删除括号:action={beanName.action}
。它们是不必要的。你的问题解决了吗?你做了我们要求的事了吗?