Re: TimeStamps

2009-03-10 Thread Tony Strauss
If millisecond precision is adequate for your application, you can use java.util.Date. Your code with java.util.Date might look something like this: //Format the timestamp DateTimeFormat timestampParser = DateTimeFormat.getFormat ("-MM-dd HH:mm:ss.SSS"); Date newOrder

Re: embedded flash not displaying is IE7 on secured url but works fine when viewed with unsecured url

2009-03-11 Thread Tony Strauss
This just is a wild shot in the dark (I have very limited experience with Flash) but could it be a problem with the cache control headers in the response returned by the server? I've had a number of issues with IE (even IE7) + HTTPS that have resulted from this. See: http://google-web-toolkit.go

Re: best deploy for jnlp applet via GWT

2009-03-16 Thread Tony Strauss
plet needs. Alternatively, as of Java 6 Update 10, you can specify how much memory your applet needs through the applet tag. See: https://jdk6.dev.java.net/plugin2/ https://jdk6.dev.java.net/plugin2/#JAVA_ARGUMENTS Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpattern

Re: Find target table-cell after onMouseDown

2009-03-16 Thread Tony Strauss
as an addTableListener method; I've definitely used this to receive mouse click events on individual cells with a Grid wrapped in a Composite. Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Mar 16, 3:44 pm, Michael wrote: > Hi

Re: can gwt be used with a templete languge sush as Django

2009-03-19 Thread Tony Strauss
thon-gwt-rpc/). Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Mar 19, 3:42 am, Coonay wrote: > can gwt be used with a templete languge sush as Django --~--~-~--~~~---~--~~ You received t

Re: IE vertical scrollbar triggers a horizontal scrollbar

2009-03-25 Thread Tony Strauss
We've had this issue too (in IE6 and IE7). Our solution was to set the 'overflow' to 'hidden' in the ScrollPanel's CSS: .designingpatterns-Table-Grid-ScrollPanel { overflow-x: hidden !important; overflow-y: auto !important; } The '!important'

Re: Why not use applets?

2009-03-30 Thread Tony Strauss
ticeably faster on Firefox 3 than on IE6 or IE7, for instance). Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Mar 29, 6:52 pm, Dobes Vandermeer wrote: > After some more research it looks like the java plugin isn't a

Re: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Tony Strauss
table isn't that much work, and there are several free implementations. The incubator has one, for instance: http://code.google.com/docreader/#p=google-web-toolkit-incubator&s=google-web-toolkit-incubator&t=PagingScrollTable Tony -- Tony Strauss Designing Patterns, LLC http://www.des

Re: GWT with python

2009-04-02 Thread Tony Strauss
ce over JSON (http://code.google.com/p/lovely-gwt- jsonrpc/). There's also a Python clone of GWT: http://code.google.com/p/pyjamas/ although I have no experience with it and so cannot recommend it one way or the other. Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blog

Re: How to define a Context Listener

2009-04-03 Thread Tony Strauss
g that you're using GWT 1.5) to do whatever you want, you also can run hosted mode with --noserver, in which case hosted mode will communicate with any web server that you specify. Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com

Re: How to load a new GWT app from another GWT app?

2009-04-03 Thread Tony Strauss
ndled by a servlet in our web server). Upon a successful login, the servlet returns an HTML page linking to the appropriate GWT application for the user. Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Apr 3, 10:01 am, Shank wrote:

Re: How to load a new GWT app from another GWT app?

2009-04-04 Thread Tony Strauss
pment more difficult). 2.) Having each application on a separate page and navigating from one page to the other. Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Apr 4, 12:46 am, Shank wrote: > On Apr 3, 10:03 pm, Tony Str

Re: opening new page

2009-04-04 Thread Tony Strauss
The Window.Location.assign() method allows you to move to a different page. http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/Window.Location.html --- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On

Re: opening new page

2009-04-06 Thread Tony Strauss
Tony --- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Apr 5, 3:34 am, bhanu wrote: > Hi, > > Thanks sir for the reply.I need to use to use form.setAction > ("newpage"); Because it has to bring the values from logi

Re: GWT 1.6: Where to save hibernate.cfg.xml and logback.xml?

2009-04-07 Thread Tony Strauss
build types if necessary (if, for instance, you have any platform-specific code). Tony --- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Apr 7, 9:40 am, hezjing wrote: > Hi > With GWT 1.6, where do we save the hibernate.cfg.xml and

Re: opening new page

2009-04-07 Thread Tony Strauss
the server). b.) Have the server fill in any necessary information via JSP templating before being returned to the user. See the Dictionary class: http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/i18n/client/Dictionary.html Tony --- Tony Strauss Designing Patterns

Re: opening new page

2009-04-08 Thread Tony Strauss
the login from the rest of the application should not be necessary unless you have more complicated requirements (such as, for instance, loading up a different application based on the user, such as one application for an admin and one for a normal user). Tony --- Tony Strauss Designing Patterns

Re: GWT 1.6 with Maven and build system questions/survey...

2009-04-09 Thread Tony Strauss
out 4,000 lines of Ant XML, which is over 10% of the code base). Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Apr 9, 11:03 am, Benju wrote: > I am curious if anybody using Maven+GWT has tried moving to GWT 1.6 > yet

Re: Overcoming the client "same host" security problem for Ajax debugging?

2009-04-09 Thread Tony Strauss
Just to confirm my understanding, you want to be able to develop/debug against your production server? I know of several options, depending on what kind of client server communication you're using. The GWT team wrote some documentation about this problem: http://code.google.com/webtoolkit/doc/1.

Re: inheritance on ButtonListenerAdapter class

2009-04-09 Thread Tony Strauss
nt). The listener adapter classes are "inner classes" and thus have an implicit reference to the container class. See: http://java.sun.com/docs/books/tutorial/java/javaOO/innerclasses.html -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpa

Re: write arraylist data to xml file not working

2009-04-09 Thread Tony Strauss
list of what's emulated in the JRE by GWT. Unfortunately, I'm not familiar with GWT Ext, so I can't tell you how one of its Trees should be populated. Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Apr 9, 4:03 

Re: What is a JavaScript event loop

2009-04-10 Thread Tony Strauss
our mouse click event handler returns). Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Apr 10, 3:13 am, hezjing wrote: > Hi > Ehmmm ... I'm reading the "Scheduling work: the Timer > class"<

Re: how to set src attribute of an iframe?

2009-04-12 Thread Tony Strauss
Depending on your needs, gwt's Frame widget (which is an iframe) provides such programatic access for free (you even can wrap it around an already existing iframe element): http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Frame.html Tony -- Tony St

Re: does com.google.gwt.dev.Compiler need to run prior to hosted mode?

2009-04-15 Thread Tony Strauss
hosted mode reflects changes in the client's source files (we never need to re-run GWTCompiler). Of course, for changes to the server code, jetty needs to reload the war (although not for css changes, which also saves time). Tony -- Tony Strauss Designing Patterns, LLC http://www.d

Re: Does gmail use GWT?

2009-04-17 Thread Tony Strauss
ime before pushing down a new message, in order to send down several new messages at once...). Polling would be acceptable for GMail from a latency point of view because most people probably do not need to see a message at the very instant it is sent. Tony -- Tony Strauss Designing Patterns

Re: Does gmail use GWT?

2009-04-17 Thread Tony Strauss
number of requests the same, leaving aside the extra requests to support Google Talk). Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Apr 17, 3:03 am, Tony Strauss wrote: > I'm going to guess thatGMailpolls. > &

Re: Does gmail use GWT?

2009-04-17 Thread Tony Strauss
to support Google Talk). > > If there's a Google Talk message that comes in during that 30 second > hanging request, does Gmail automatically make another request? Yes, GMail makes another hanging get request. Tony -- Tony Strauss Designing Patterns, LLC http:

Re: Does gmail use GWT?

2009-04-17 Thread Tony Strauss
g you your new emails). I just tried sending with Tamper Data, and, like you guess, sending a message results in a POST. I wonder if the POST requests that GMail executes when you're not doing anything are to update your status Tony -- Tony Strauss Designing Patterns, LLC http:/

Re: creating a file

2009-04-20 Thread Tony Strauss
Perhaps be a bit more specific about exactly what you're doing. Are you trying to create this file in response to a request? Are you instead trying to create this file before your web server starts? How often will this file change? Tony -- Tony Strauss Designing Patterns, LLC

Re: creating a file

2009-04-20 Thread Tony Strauss
est. If you're writing a Java web application, there are a number of ways to return the contents of a file; this link has a good list: http://istvandevai.com/techlife/entry/1001_ways_to_serve_static Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.design

Re: How make few pages with GWT ?

2009-04-21 Thread Tony Strauss
to build a sample application. Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Tool

Re: embedded flash not displaying is IE7 on secured url but works fine when viewed with unsecured url

2009-04-21 Thread Tony Strauss
cording to Microsoft). Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Mar 12, 2:36 am, Tony Strauss wrote: > This just is a wild shot in the dark (I have very limited experience > with Flash) but could it be a problem with t

Re: Converting string to timestamp throws exception in GWT web mode

2009-04-24 Thread Tony Strauss
quot;); Date dateTime = dateTimeFormat.parse(timestampStr); DateTimeFormat works in both hosted and web mode. According to: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html java.sql.Timestamp.valueOf() is emulated, so perhaps you should file a bug report about it. Tony -- To

Re: I have a problem withn the refresh file

2009-05-07 Thread Tony Strauss
uot;C:\Program Files\Java\jre1.6.0" ^^^ This error might occur if you only had a JRE installed, not a JDK. Does bin\javac.exe exist? Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On May 6, 2:16 pm, arnaud wrote: > Hello eve

Re: RPC Call and onSuccess get File.

2009-05-07 Thread Tony Strauss
ally on a Timer. See: http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/Timer.html Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com --~--~-~--~~~---~--~~ You received t

Re: Applet is not working in GWT

2009-05-08 Thread Tony Strauss
external web browser with hosted mode. The catch with this is that this has not yet been released; you'll need to use the GWT trunk. Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On May 8, 8:13 am, Bhavik wrote: > Hi All! >  

Re: One more time "Type 'java.lang.Class' was not serializable and has no concrete serializable subtypes"

2009-05-08 Thread Tony Strauss
Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On May 8, 4:41 am, kleinerroemer wrote: > Hey guys! > > I ran into the following problem: > > my RemoteService class has the following method: > > List get( Cla

Re: Expire an idle session

2009-06-02 Thread Tony Strauss
it's actually possible to intercept requests made after a time out in the onFailure() handler and to take some kind of action (i.e., redirect to a login screen). Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Jun 2, 11:05 am, hezj