Wednesday, July 13, 2011

Re: Integrating datejs

On 13 Jul., 17:22, Thomas Broyer <t.bro...@gmail.com> wrote:
> Are you using $wnd.Date to access the "enhanced" Date object?
yes, I found this valuable hint in one of your posts! Right now I'm
trying the examples mentioned in "Getting started" and even they don't
work.

> Also, how are you loading the date.js script in your app?
I have added the loading in my initial .html File. There I evaluate
the locale and then load the corresponding date-XXX.js File:

document.write("<script type=\"text/javascript\" src=\'dates/
core.js\'></script>")
document.write("<script type=\"text/javascript\" src=\'dates/
date-" + locale.replace("_", "-", "g") + ".js\'></script>")
document.write("<script type=\"text/javascript\" src=\'dates/
extras.js\'></script>")

In Firebug I can see that the correct datejs files are loaded
successfully so the stuff should be available....

> Seehttp://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI...(if
> you haven't already)
check, done that, been there, ...

> FYI, searching for "datejs gwt" on Google leads tohttp://code.google.com/p/kiyaa/wiki/Moduleswhich already provides a GWT
> wrapper for DateJS.
I had seen this but didn't have a closer look what it is. I'll check
it out...

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate