提交不是 FormPanel api 中的函数

发布于 2024-12-27 10:21:46 字数 428 浏览 3 评论 0原文

我一直密切关注ExtDirectSpring 表单发布指南。我在 FormPanel 上定义了一个带有 loadsubmit 函数的 apiload 函数按预期工作,但在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光磨忆 2025-01-03 10:21:46

Ext.form.Panel 只是实际 Ext.form.Basic 组件的容器。
使用 FormPanel.getForm().submit()

Ext.form.Panel is just a container for actual Ext.form.Basic component.
Use FormPanel.getForm().submit()

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文