Lotus Notes web form not updating
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 updat开发者_开发知识库ed 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">
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!
精彩评论