title: XPages - displaying attachments in read mode
body: <p>I have an XPage with a File Upload control and a Rich Text control. After I upload an attachment and save the document, I am unable to see the attachment after the document has been opened in read mode. </p>
  
  <pre><code>&lt;xp:inputRichText id="RichText1" value="#{document1.RichText1}"&gt;&lt;/xp:inputRichText&gt;
  &lt;xp:fileUpload id="fileUpload1"
  value="#{document1.RichText1}"&gt;
  &lt;/xp:fileUpload&gt;
  </code></pre>
  
  <p>what do I need to do to display the saved attachment when the document is in read mode?</p>