XPages - 如何从日期字段中删除默认值?

时间:2014-02-25 08:30:41

标签: xpages lotus-notes

我在XPage上使用了几个编辑框。这些编辑框使用显示类型日期/时间,旨在存储和显示日期值。在我的测试服务器上,这些编辑框字段在创建新XPage时不包含默认值。在我的生产服务器上,当前日期始终显示为默认值。可能是什么原因造成的?这是我的代码:

<xp:inputText id="Birthdate" value="#{document1.Birthdate}" defaultValue="">
<xp:this.converter>
<xp:convertDateTime type="date"></xp:convertDateTime></xp:this.converter>
<xp:dateTimeHelper></xp:dateTimeHelper>
</xp:inputText>

1 个答案:

答案 0 :(得分:4)

这是Domino 9中的更改,但在9.01中已更改

检查以前关于此问题和解决方案的问题

Xpages Date Time Picker field defaults to today's date