@Date xPages (not working)

Greetings, I’m trying to use @Date(@Created) to get the date on page load for a field. I have been unable to get it to work. I have tried changing all the settings on the Data tab but nothing seems to work. I would greatly appreciate it if someone could tell me what I need to do?

Thanks

matt

Subject: Reply

Hi Matt,

Sounds like there is no document associated with the form you are calling @Created from…? @Created needs a document object in order to return the date information.

Dan O’Connor wrote a good article on data binding in the Domino Designer WIKI that might help you resolve the issue…

http://www-10.lotus.com/ldd/ddwiki.nsf/dx/10082008104832AMDOCKD8.htm

If you still can’t get it to work, you may need to post some specifics on exactly what you are trying to do.

Cheers

Subject: Fixed Thank you

In looking at more information I see that the xpages fields push info to new documents, I was able to get the date working by using @function along with javascript @Date(Date())

Thanks