Note that there are some explanatory texts on larger screens.

plurals
  1. POWhen I save a document from an extension library dialog box some values are blank
    primarykey
    data
    text
    <p>Using 8.5.3 UP1</p> <p>When I save my document from a dialog box certain fields are not being populated. If I save the document from within the xpage it saves these fields just fine. Here is a simple example to illustrate the issue:</p> <pre><code> &lt;xp:link text="Save Document By Dialog" id="link21"&gt; &lt;xp:eventHandler event="onclick" submit="false"&gt; &lt;xp:this.script&gt;&lt;![CDATA[XSP.openDialog("#{id:dialog1}");]]&gt;&lt;/xp:this.script&gt; &lt;/xp:eventHandler&gt; &lt;/xp:link&gt; &lt;br/&gt; &lt;xp:button value="Save By Button" id="button1"&gt; &lt;xp:eventHandler event="onclick" submit="true" refreshMode="complete"&gt; &lt;xp:this.action&gt; &lt;xp:saveDocument var="document1"&gt;&lt;/xp:saveDocument&gt; &lt;/xp:this.action&gt; &lt;/xp:eventHandler&gt; &lt;/xp:button&gt; &lt;xe:dialog id="dialog1" title="Dialog"&gt; &lt;br /&gt; &lt;b&gt; &lt;xp:text escape="true" id="computedField1"&gt; &lt;xp:this.value&gt;&lt;![CDATA[#{javascript:"Save this document?"}]]&gt;&lt;/xp:this.value&gt; &lt;/xp:text&gt; &lt;/b&gt; &lt;br /&gt; &lt;br /&gt; &lt;xp:button value="Yes" id="button7"&gt; &lt;xp:eventHandler event="onclick" submit="true" refreshMode="complete"&gt; &lt;xp:this.script&gt;&lt;![CDATA[XSP.closeDialog("#{id:dialog1}");]]&gt;&lt;/xp:this.script&gt; &lt;xp:this.action&gt; &lt;xp:saveDocument var="document1"&gt;&lt;/xp:saveDocument&gt; &lt;/xp:this.action&gt;&lt;/xp:eventHandler&gt; &lt;/xp:button&gt; &lt;xp:button value="No" id="button8"&gt; &lt;xp:this.onclick&gt;&lt;![CDATA[XSP.closeDialog("#{id:dialog1}");]]&gt;&lt;/xp:this.onclick&gt; &lt;/xp:button&gt; &lt;/xe:dialog&gt; &lt;br/&gt;&lt;br/&gt; &lt;xp:inputText id="TitleTX" value="#{document1.TitleTX}"&gt;&lt;/xp:inputText&gt; &lt;br/&gt;&lt;br/&gt; &lt;xp:inputRichText id="inputRichText1" value="#{document1.ProcessMapsRT}"&gt; &lt;/xp:inputRichText&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload