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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.