Using DatePicker

Neil Clayton <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Im using the latest CVS, and seem unable to get the DatePicker to work.

The component definition is a one liner, just binding the DatePicker value to 
something.

The HTML is generated, at at the top are the references to the scripts, as 
follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Application: Forms Tutorial -->
<!-- Page: Part4 -->
<!-- Generated: Sat Nov 09 15:35:40 GMT 2002 -->
<html>
<head>
<meta name="generator" content="Tapestry Application Framework, version 
2.3-alpha-1"/>
<title>Smarter Components</title>
</head>
<script language="JavaScript" type="text/javascript" 
src="/private/net/sf/tapestry/valid/Validator.js"></script>
<script language="JavaScript" type="text/javascript" 
src="/private/net/sf/tapestry/form/DatePicker.js"></script>
<script language="JavaScript"><!--


How does tapestry know where '/private/...' is?
I suspect it is because it cannot find the scripts, that nothing happens.

- -- 
Regards,
Neil Clayton

(PS: If you see strange text you don't understand underneath my email, don't 
worry - it's just my PGP signature)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9zSzQLXcfQF3yrNoRArMAAJ9sSUZEh9wrwCth0uKpXQO7GbkQKwCgrm7K
T9kb2NnbZNGB/GO5E9tR4uU=
=wFWf
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.