The OpenLaszlo documentation does not document Javascript, only LZX classes that implemented in Javascript.

The "Language Preliminaries" chapter of the Developer's Guide, as well as the D-Guide appendix on ecmascript, explain the basics of using Javascript in an LZX application. Date() is a javascript function, not LZX. For this you'll need a good javascript reference.

This topic has been the cause of some confusion and we're looking into ways to make this more clear. However it is clear that OpenLaszlo documentation will never attempt to document all of javascript.

Suggestions welcome.

jrs

On Nov 14, 2005, at 6:41 PM, Alex Warwick wrote:

Is it in the doco? I cant find it anywhere...

-----Original Message-----
From: Pablo Kang [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 15 November 2005 10:28 AM
To: Alex Warwick
Cc: [email protected]
Subject: Re: [Laszlo-user] datetime object

You mean like new Date()?

pablo

On Tue, 15 Nov 2005, Alex Warwick wrote:

Hi all (again),

Is it possible to cast or create a datetime object in Laszlo?

If not, what ways do people do things with time based components? Ie,
stopping a button from working after 5pm or something? The only thing I
can
think of is to use a dataset that calls some c# code that returns a
Boolean,
however this would require a lot of doRequest() functions and be a waste
of
resources. Any other ideas?

Thanks for all the help guys,
Alex.

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user



_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to