XPages和Rich Text - “项目注释已存在”错误

时间:2013-08-28 09:16:06

标签: xpages lotus-notes lotus

我正在将Lotus Notes应用程序迁移到XPage。一个Lotus Notes表单有一个富文本项,因此在XPage上我添加了一个Rich Text控件并将其绑定到Notes表单上的项目。现在每当我编辑XPages文档并在富文本编辑器中进行更改时,在保存时我会收到错误“Item Note already exists”。有没有办法解决这个问题?我正在使用8.5.3。 Notes表单上的富文本字段称为“注释”。理想情况下,我希望能够在Lotus Notes客户端和XPage中编辑文档。这是我的XPage上的代码:

<xp:inputRichText id="NoteRT" value="#{document1.Note}" style="height:150.0px;      width:300.0px" rendered="#{javascript:currentDocument.isEditable()}">
<xp:this.dojoAttributes>
<xp:dojoAttribute name="toolbarType" value="Slim">
</xp:dojoAttribute>
</xp:this.dojoAttributes>
</xp:inputRichText>
<xp:text escape="false" id="NoteRead" rendered="#{javascript:!currentDocument.isEditable()}" value="#{document1.Note}"></xp:text>

1 个答案:

答案 0 :(得分:2)

这里 http://www-01.ibm.com/support/docview.wss?uid=swg1LO67696

在这里 http://cynology1.rssing.com/browser.php?indx=2286169&item=1718

你可以读到,这是一个已在修订包2中修复的错误

但如果您没有时间更新到fp2,您可以尝试将数据的computeWithForm属性从“both”更改为“onLoad”或“onSave”。

走这条路吧 xpages-&GT;属性 - &GT; DATA-&GT; DATA-&GT; dominoDocument [0] - &GT; computeWithForm

我不知道,哪个适合您的情况,只需尝试并告诉我们它是否有帮助。