|
Nick Arndt <nick.arndt@xxxxxxxxx> wrote:
Hi all.
Is it possible to have a JSF Date field display on a web page as blank.
Normaly it defaults to todays date.
I have tryed to default my date field to null but that did not work.
Can this be done?
Thanks
Nick,
Try declaring your date field as null capable by appending a question
mark to the date data type and then set your date field to null.
Something like the following...
myDate date? {dateFormat = "yyyy/MM/dd"};
function onConstruction()
myDate = null;
end
Regards,
BJ
--
This is the EGL on and around the IBM i (EGL-i) mailing list
To post a message email: EGL-i@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/egl-i
or email: EGL-i-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/egl-i.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.