提交不是 FormPanel api 中的函数
我一直密切关注ExtDirectSpring 表单发布指南。我在 FormPanel
上定义了一个带有 load
和 submit
函数的 api
。 load
函数按预期工作,但在 Firebug 中调试时,submit
显示“submit is not a function”。
我已经检查了名为“提交”的按钮,但在查看源代码时没有找到。
ExtJS 4 与 WebSphere Portal 7 服务器上的 Spring 3 一起使用。
有什么想法吗?
I have been following the ExtDirectSpring form posting guide closely. I defined an api
with load
and submit
functions on a FormPanel
. load
function works as expected, but submit
shows "submit is not a function" when debugging in Firebug.
I've checked for buttons named "submit", but haven't found while looking at the source code.
ExtJS 4 is used with Spring 3 on a WebSphere Portal 7 server.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Ext.form.Panel
只是实际Ext.form.Basic
组件的容器。使用 FormPanel.getForm().submit()
Ext.form.Panel
is just a container for actualExt.form.Basic
component.Use
FormPanel.getForm().submit()