更新时间:2023-02-06 17:52:24
我使用以下答案作为解决方案: https://***. com/a/35481981/5339322
我几天前看过它,让我三思而后行的是,使用它我应该知道我在执行XPages来延迟什么.我运行了一些测试并发现了什么,这是对afterRestoreView事件中方法的调用,然后将其迁移到onClientLoad事件,并在上面引用的答案中使用了解决方案.
但是我担心我必须保持警惕,因此,如果有人添加了一些代码,这些代码会延迟XPages的其他事件之一,那么我必须再次移动它,如果可能的话,如果不是,我会找出与众不同的东西.
I used this answer as solution: https://***.com/a/35481981/5339322
I've saw it a few days ago, what made me think twice is that using this i should know what is doing my XPages to delay. I ran some tests and discovered what, and it was a call to a method in the afterRestoreView event, then I migrated it to onClientLoad event and used the solution in the answer above cited.
But I'm afraid that I have to keep an eye on it, so if someone adds some code that delays in one of the another events of XPages I have to move it again, of course, if it's possible, if it's not, I'll figure it out something diferent.
感谢所有答案和评论.