简体   繁体   English

ext js 4:太多的递归

[英]ext js 4: too much recursion

I have two collapsible panels inside a tab one for "Search" and other one for "Results". 我在选项卡中有两个可折叠面板,一个用于“搜索”,另一个用于“结果”。 From the results panel, I open a model window for editing. 在结果面板中,我打开一个模型窗口进行编辑。

Below is my workflow 以下是我的工作流程

  • In the search panel, search 在搜索面板中,搜索
  • When the search results are returned collapse the search panel and expand results panel and show results in the grid 返回搜索结果后,合拢搜索面板并展开结果面板,然后在网格中显示结果
  • When user clicks on grid cell, new window is opened for editing 当用户单击网格单元时,将打开新窗口进行编辑
  • When editing is submitted , the window is closed. 提交编辑后,窗口将关闭。
  • A button called "Back to Search" can take you back to Search panel and can continue to search with new criteria 名为“返回搜索”的按钮可以将您带回到“搜索”面板,并可以继续使用新条件进行搜索

The problem is , when you click [Search] second time, nothing happens and FB shows "too much recursion" 问题是,当您第二次单击[搜索]时,什么也没有发生,并且FB显示“太多的递归”

Couldn't find the exact problem. 找不到确切的问题。 looks like some events are stuck in the loop. 看起来有些事件陷入了循环。

Can someone please give any hint to solve this problem? 有人可以提供任何解决此问题的提示吗?

Thanks 谢谢

I encountered this error while working with Ext.tree.Panel component. 使用Ext.tree.Panel组件时遇到此错误。 The problem was that each item in tree must have unique id . 问题在于中的每个项目都必须具有唯一的id If two id's matched, the browser hangs on openning the tree and wrote: ff: too much recursion, chrome: Maximum call stack size exceeded 如果两个ID匹配,浏览器将在打开树时挂起并写道:ff:递归过多,chrome:超出了最大调用堆栈大小

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM