设计更新后xPages不起作用 [英] xPages don't work after design update

查看:79
本文介绍了设计更新后xPages不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 加载任何xPage
  2. 刷新数据库设计
  3. 通过F5或Ctrl + F5重新加载xPage.

然后几乎所有功能都将停止运行,而不会出现任何错误.例如.如果您单击按钮或菜单项,则不会发生任何事情.重新启动网络浏览器后,某些功能会恢复,但某些功能仍然无法使用.清理浏览器的缓存后,几乎90%的用户界面开始工作,但有些仍然需要重新加载页面几次.是否有任何xPage应用程序属性或Domino属性可以调整以解决该问题,并使xPage应用程序即使在刷新设计后也能顺利运行

then almost all functions stop working without any errors. E.g. nothing happen if you click buttons or menu items. After restarting web browser some functions come back but some still doesn't work. After cleaning browser's cache almost 90% UI start working but some still need to reload the page few times. Is there any xPage app properties or Domino properties to adjust to fix that problem and make xPage app work smooth even after design refresh

推荐答案

使用8.5.3 FP1刷新时,Design Refresh不会重新加载自定义Java类.我相信,这在FP2中是固定的.但这听起来不像是这里的问题.

Design Refresh didn't reload custom Java classes when refreshing with 8.5.3 FP1. This was fixed, I believe, in FP2. But that doesn't sound like it's causing the problem here.

Design Refresh将不会重新加载jar文件.这需要向控制台发出重新启动任务http". (告诉http重新启动"无法正确重新加载XPages所需的所有内容.)

Design Refresh will not reload jar files. That requires issuing "restart task http" to the console. ("tell http restart" doesn't properly reload everything XPages needs.)

如果您的应用程序正在使用单副本XPage设计"来保留其XPages设计,则在您向服务器发出重新启动任务http"之前,该更新也不会更新.该设计似乎由服务器缓存以提高性能,但是刷新SCXD数据库的设计不会重新加载该设计.目前尚不清楚这是否是您的情况.

If your application is using a Single Copy XPage Design to hold its XPages design, that too will not update until you issue "restart task http" to the server. The design seems to be cached by the server for better performance, but refreshing the design of the SCXD database doesn't reload that design. It's unclear if that's your scenario here.

XPiNC也可能不会立即更新,但是我还没有尝试过.该运行时基本上在Notes客户端本身中,因此我可以理解它不会更新.

XPiNC may also not update immediately, but I've not tried that. The runtime there is basically in the Notes Client itself, so I could understand that it would not update.

否则,我会回应Thomas的经验,我没有看到其他任何问题(并且我的应用程序大量使用Java).设计刷新后,我不需要清理应用程序.我希望现有的浏览器会话会出现部分刷新调用的问题.但是刷新页面会使所有功能正常工作.

Otherwise, I would echo Thomas's experience, I've not seen any other issues (and my applications heavily use Java). I haven't needed to clean the application following a design refresh. Existing browser sessions will have problems with partial refresh calls, I would expect that. But a refresh of the page make all functionality work.

我希望有两种情况会出现问题.

There are two scenarios I would expect to have problems.

第一个是如果您在应用程序所需的sessionScope或applicationScope变量中存储任何内容,但是您的代码仅将这些内容加载到特定页面上.如果刷新设计,则将转储作用域,因此只有在转到特定页面后才重新加载作用域.通常,我将这样的初始化代码放在布局自定义控件上,因此,如果页面刷新通过设计刷新转储,它将始终对其进行初始化.

The first is if you are storing anything in sessionScope or applicationScope variables that are required by your application, but your code only loads those on a specific page. If you refresh the design, the scopes will get dumped and so not reloaded until you go to the specific page. Typically I put such initialisation code on my layout custom control, so a page reload will always initialise it if it's dumped by a design refresh.

第二种情况是,如果另一个用户访问该应用程序并自动打开了构建"功能,这可能导致您在没有意识到的情况下重新构建了该应用程序.听起来这不是正在发生的事情.

The second is if another user accesses the application and has Build Automatically switched on, which could result in the application being rebuilt without you realising it. It doesn't sound like this is happening for you though.

这篇关于设计更新后xPages不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆