isPreferJavaDates setPreferJavaDates (NotesXspViewEntry - JavaScript™)
Indicates whether Java™ dates are preferred.
Defined in
NotesXspViewEntry (JavaScript)Syntax
isPreferJavaDates() : boolean
setPreferJavaDates(boolean) : void
Return value and parameter | Description |
---|---|
boolean |
true if the entry prefers Java™ dates; false otherwise |
Examples
Thisonclick
script
for a Button control is embedded in a Data Table control with a Domino® view data source whose
collection name is rowdata
. The script toggles the
preference for Java™ dates for
a view entry.try {
if (rowdata.isPreferJavaDates()) {
rowdata.setPreferJavaDates(false)
} else {
rowdata.setPreferJavaDates(true)
}
} catch (e) {
requestScope.status = e.toString()
}