2017-10-17 73 views
0

我想創建使用LotusScript在水質指標劑div標籤如下:水質指標劑和LotusScript

在我的形式,它是空白表單

Dim session As New NotesSession 

    Set thisdb = session.CurrentDatabase 
    Set doccontext = session.DocumentContext 

    Print | </form> _ 
      <form name ="thisform" _ 
     <form name ="thisform" > _ 
     <div id ="thisform"> _ 
      Please wait while we proces your request ........<img src='./please-wait.gif' width=50 height=50></img> _ 
      </div> _ 
      </form> | 

但是這個輸出什麼,我在做anythign這裏錯了嗎?

編輯:

基本上我想打印查看HTML視圖與按鈕刪除選定的記錄,但在此之前我要確保請稍候正在顯示它打印HTML視圖之前。

回答

1

根據help page for WebQueryOpen and WebQuerySave agents,您不能在WQO代理中使用打印語句將HTML發送到瀏覽器。

在Domino®將文檔 轉換爲HTML並將其發送到瀏覽器之前,WebQueryOpen事件運行代理。 Domino在此上下文中忽略代理產生的任何輸出 。

你需要把一個場中的適當位置的形式,將其標記爲直通HTML,和你的水質指標劑保存HTML到該字段的項目值。