user1358852
user1358852

Reputation:

XPages - how to remove default value from date fields?

I'm using several Edit Boxes on an XPage. These Edit Boxes use the display type Date/Time and are designed to store and display date values. On my test server these Edit Box fields contain no default value when a new XPage is being created. On my production server the current date is always displayed as a default value. What could be the cause of this? Here is my code:

<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>

Upvotes: 0

Views: 379

Answers (1)

Fredrik Norling
Fredrik Norling

Reputation: 3484

This is a change in Domino 9 but it has been changed in 9.01

Check this previous question about this and the solution

Xpages Date Time Picker field defaults to today's date

Upvotes: 4

Related Questions