Lotus Notes Web 表单未更新
我有一个在 Lotus Notes 中使用的 Web 表单,它是一个从服务器加载到 Notes 日历中的 ASP 页面。它使用嵌入式浏览器加载到表单中。我们更新其中的一些字段,然后使用其中的数据作为电子邮件发送。
每当更新某些表单字段时,它们都会在表单持续时间内出现,但在重新打开表单时不会出现。如果我更新表格并发送电子邮件,那就没问题了。如果我关闭表单并重新打开它,值就会丢失。在加载表单之前关闭 Notes 并重新打开它将显示正确的更新后的表单值。有什么原因导致它在不重新启动应用程序的情况下不显示更新吗?
更新:我尝试仅更改页面上的 HTML,以验证这不是缓存问题,并且更改页面上的 HTML 有效。我用来更新字段的数据来自隐藏字段,看起来这些字段没有正确更新......如果这有帮助的话。它们确实在其他位置(Outlook、IE/Firefox 等)的 ASP 页面上正确更新。
另一个更新:这是设置隐藏字段的问题。我有一个字段被设置为这样:
<input type="hidden" id="IntList" name="IntList" value="<%=data.AttList%>">
当我第一次加载数据时,它应该是空白的。仅在第一次时,将值放入该字段才有效。重新打开表单将显示新添加的数据。再次向字段添加数据将显示(user2 是新添加的用户):
<input type="hidden" id="IntList" name="IntList" value="user1|user2">
关闭表单后,它会翻转回(user1 是初始添加):
<input type="hidden" id="IntList" name="IntList" value="user1">
关闭 Notes 并重新打开它,字段现在变得正确:
<input type="hidden" id="IntList" name="IntList" value="user1|user2">
I have a web form we use in Lotus Notes, it is an ASP page loaded off of the server into the Notes calendar. It is loaded using the embedded browser into a Form. We update some fields on it, then use the data off of it to send as an email.
Whenever some of the form fields are updated they are present for the duration of the form but, not when the form is re-opened. If I update the form and send an email, it is fine. If I then close the form and re-open it the values are lost. Closing Notes and re-opening it before loading the form will show the correct updated form values. Is there any reason why it is not displaying the updates without restarting the application?
Update: I've tried just changing the HTML on the page to verify it was not a cache issue and changing HTML on the page works. The data I am using to update the fields is coming from hidden fields and it looks like those are not updating correctly...if that helps any. They do update correctly on the ASP page in other locations (Outlook, IE/Firefox, etc).
Another Update: It is a problem with a hidden field being set. I have a field being set as such:
<input type="hidden" id="IntList" name="IntList" value="<%=data.AttList%>">
When I load the data the first time, it is blank as it should be. Putting a value into that field works, the first time only. Re-opening the form will show the newly added data. Adding data to the field again will show (user2 is the newly added user):
<input type="hidden" id="IntList" name="IntList" value="user1|user2">
After closing the form it flips back to (user1 was the initial add):
<input type="hidden" id="IntList" name="IntList" value="user1">
Closing Notes and re-opening it and the field now becomes correct:
<input type="hidden" id="IntList" name="IntList" value="user1|user2">
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
FWIW,Notes 中的嵌入式浏览器是 IE(我知道,我知道……),因此 IE 的“安全性”(整个互联网/内联网设置)可能会发生一些奇怪的事情。除此之外,我恐怕无法真正提供建议:嵌入式浏览器的内容在 Notes 中没有详细记录。
很高兴您解决了这个问题!
FWIW, the embedded browser in Notes is IE (I know, I know…) so there could be something funky going on with IE's "security" (the whole internet / intranet settings thing). More than that I can't really advise I'm afraid: embedded browser stuff isn't well-documented in Notes.
Glad you got this sorted out!