Re: Scrolling CellList sample?

2011-06-10 Thread Jim Douglas
what difference it made or why. On Jun 10, 10:21 pm, Qian Qiao qian.q...@gmail.com wrote: On Sat, Jun 11, 2011 at 01:00, Jim Douglas jdou...@basis.com wrote: Can you elaborate on that a bit?  How would you change that sample? On Jun 10, 9:13 pm, Qian Qiao qian.q...@gmail.com wrote: On Fri

GWT build speed (Google I/O 2011: Fireside Chat with the GWT and Cloud Tooling Team)

2011-05-16 Thread Jim Douglas
re: the question @ 37:30 (do developers use DevMode or do they compile to JavaScript for ongoing testing?): http://www.youtube.com/watch?v=n3hBzIOUSms For desktop browsers, we use DevMode to initially implement a given feature, then retest in JavaScript in the unlikely case of a difference. But

Re: Datebox with day of year format?

2011-05-04 Thread Jim Douglas
I think you're going to want to file an enhancement request here: http://code.google.com/p/google-web-toolkit/issues/entry The Java SimpleDateFormat defines mask character D for day in year: http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html The corresponding GWT

Re: file upload widget without TextBox?

2011-04-28 Thread Jim Douglas
Probably not, but you can review ppk's suggestions here: http://www.quirksmode.org/dom/inputfile.html You can read about other peoples' attempts here: http://www.google.com/search?q=style+input+type+file On Apr 28, 7:41 am, Magnus alpineblas...@googlemail.com wrote: Hi, I would like to let

Re: Navigation Buttons: first, previous, next, last?

2011-04-28 Thread Jim Douglas
http://www.google.com/search?tbm=ischq=first+button+icon http://www.google.com/search?tbm=ischq=previous+button+icon http://www.google.com/search?tbm=ischq=next+button+icon http://www.google.com/search?tbm=ischq=last+button+icon On Apr 28, 8:27 pm, Magnus alpineblas...@googlemail.com wrote: Hi,

Re: HTML widget takes too long to render

2011-03-28 Thread Jim Douglas
The answer to where does the time go? is always to profile your code: Firefox: http://getfirebug.com/ Chrome: http://code.google.com/webtoolkit/speedtracer/ On Mar 28, 11:39 am, azuniga alessandro.zun...@gmail.com wrote: I have a gwt webapp that makes an rpc to the server, the server generates

Re: Mac OSX Java Upgrade warning: Don't upgrade your Java yet!

2011-03-26 Thread Jim Douglas
That Java update was released on March 8th; it's a good bet that everyone installed it weeks ago. http://code.google.com/p/google-web-toolkit/issues/detail?id=6125

Re: how to debug java.lang.RuntimeException: Deferred binding failed for...

2011-03-17 Thread Jim Douglas
You said: The Implementation uses a jar ... Does that jar file contain only .class files? GWT needs the .java files so it can wave a magic wand over them and translate them to JavaScript. On Mar 17, 8:03 am, tanteanni tantea...@hotmail.com wrote: (this is my last attempt to get a message

Re: GWT app only displays a blank page when run in ie9

2011-03-16 Thread Jim Douglas
http://code.google.com/p/google-web-toolkit/issues/list?can=2q=IE9colspec=ID+Type+Status+Owner+Milestone+Summary+Starscells=tiles http://code.google.com/p/google-web-toolkit/issues/detail?id=5125 On Mar 16, 11:03 am, TBirch tjfbi...@bellsouth.net wrote: I downloaded ie 9 today to my windows

Re: DropDown Button

2011-03-15 Thread Jim Douglas
) On Mar 15, 2:09 am, Marco Gadaleta gadaleta.ma...@gmail.com wrote: Hi Jim, I've yet done as you have say to me. But can you tell me the instruction to insert an arrow on th face? Thx you, Marco On Mon, Mar 14, 2011 at 9:34 PM, Jim Douglas jdou...@basis.com wrote: Make a button

Re: DropDown Button

2011-03-14 Thread Jim Douglas
Make a button with text and a dropdown arrow on the face, react to the button click by showing an autohide popup panel containing a menubar at the appropriate location. Implementation details left an an exercise for the student. On Mar 14, 1:12 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com

Re: Handling custom events in GWT

2011-03-01 Thread Jim Douglas
Here's one way to support arbitrary events: // iOS Android touch events: private final static String TOUCHSTART = touchstart; private final static String TOUCHMOVE = touchmove; private final static String TOUCHEND = touchend; private final static String TOUCHCANCEL =

Re: Feedback Requested: Preview of new GWT Style Theme

2011-02-17 Thread Jim Douglas
FWIW, IE9 also supports rounded corners. The TabLayoutPanel formatting has some good improvements, but the solid blue band across the top is a bit intense. I'd maybe lose it, round the tabs, and use a slightly more muted color for the tab background colour. If the tabs were formatted exactly

Re: null pointer error

2011-02-16 Thread Jim Douglas
Did you add a timeLabelContainer element to StockWatcher.html? h1Web Application Starter Project/h1 table align=center tr td colspan=2 style=font-weight:bold;Please enter your name:/td /tr tr td id=nameFieldContainer/td td

Re: HandlerManager is deprecated and theres no removeHandler(...) method at SimpleEventBus class

2011-02-14 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/2e4c986ae1bd2c8b/551c19bbff3ed942 On Feb 14, 3:43 pm, malcolm.davis malcolm.da...@bms.com wrote: Excuse me for coming in late to the whole HandlerManager deprecation business, but I just found out about it

Re: Setting the name of a downloaded file

2011-02-11 Thread Jim Douglas
public class FileDownloadServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest p_request, HttpServletResponse p_response) throws ServletException, IOException { String filename = /* ... */; File file = /* ...

Re: GWT Performace Tips

2011-02-10 Thread Jim Douglas
If you have any influence over the choice of browser, IE7 should no longer be used. But the basic problem is simply the quality of the JavaScript engines in the various browsers. To see this, go to this page in IE7, IE8, Chrome, and Firefox and compare the results:

Re: GWT Performace Tips

2011-02-10 Thread Jim Douglas
To answer the original question: Have you found any techniques which enabled you to speed up IE? The fastest possible code is the code that never gets executed. The only way to improve performance of your application in IE is to identify any code that can be done on the server and move it

Re: GWT Performace Tips

2011-02-10 Thread Jim Douglas
control over the javascript that is created.  I know the performance of IE may never match Firefox, but is there any way to improve it? -TJ On Feb 10, 12:48 pm, Jim Douglas jdou...@basis.com wrote: If you have any influence over the choice of browser, IE7 should no longer be used

Re: GWT Performace Tips

2011-02-10 Thread Jim Douglas
. Is IE pretty much a no go for GWT for anything more than the most basic apps? On Feb 10, 1:20 pm, Jim Douglas jdou...@basis.com wrote: Have you profiled your application in Chrome using Speed Tracer? http://code.google.com/webtoolkit/speedtracer/ Even if overall performance

Re: GWT IE9 Status

2011-02-10 Thread Jim Douglas
http://arstechnica.com/microsoft/news/2011/02/internet-explorer-9-release-candidate-released.ars http://blogs.msdn.com/b/giorgio/ On Feb 1, 10:45 am, Jim Douglas jdou...@basis.com wrote: Are there any updates on when GWT is expected to support IE9? http://code.google.com/p/google-web-toolkit

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Jim Douglas
I'm curious about what is keeping you on Java 5? It reached final EOSL 16 months ago: http://java.sun.com/j2se/1.5/ On Feb 7, 11:47 pm, stuckagain david.no...@gmail.com wrote: What features in Java 6 would be so fundamental to GWT that 1.5 becomes deprecated ? -- You received this message

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Jim Douglas
That comment is a bit out of date. Java 6 was released for Intel Macs running Leopard on April 29, 2008. I've been using Java 6 on this MacBook Pro as my primary development system since October 2008. On Feb 8, 12:37 pm, Thomas Broyer t.bro...@gmail.com wrote: I bet internal infrastructure,

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Jim Douglas
Incidentally, every GWT presentation at Google IO 2010 was done on a Mac: http://www.google.com/events/io/2010/sessions.html#GWT On Feb 8, 1:58 pm, Y2i yur...@gmail.com wrote: Jim, I think when they referred to *easy access* they meant something like *sudo apt-get install java6-sdk* :-) --

Re: OOPHM memory leak?

2011-02-08 Thread Jim Douglas
http://code.google.com/p/google-web-toolkit/issues/detail?id=4923 On Feb 8, 8:27 pm, Sky myonceinalifet...@gmail.com wrote: This is an old thread, but I'm experiencing a similar out of memory error using the GWT 2.1 and AppEngine 1.40. This happens when the javaw.exe exceeds 512mb. I have

Re: Calculate age

2011-02-02 Thread Jim Douglas
Ignore the deprecation warnings. On Feb 2, 8:25 am, kkpirri hkakashisharin...@gmail.com wrote: Hi, ¿How can I calculate the age of a person using a Date object with his birth date and the current date in GWT's client side? I need the age in years and moths (for example, 8 years and 3

GWT IE9 Status

2011-02-01 Thread Jim Douglas
Are there any updates on when GWT is expected to support IE9? http://code.google.com/p/google-web-toolkit/issues/detail?id=5125 http://code.google.com/p/google-web-toolkit/issues/list?q=ie9 FWIW, the current rumours seem to be pointing to RC1 next Thursday and the official release in March or

Re: download stocwatcher

2011-01-30 Thread Jim Douglas
You create the sample by working through these steps: http://code.google.com/webtoolkit/doc/latest/tutorial/gettingstarted.html On Jan 30, 6:59 am, Pham Tran Quoc Viet phamtranquocv...@gmail.com wrote: Hi, Does anyone know where to download the StockWatcher example? I have searched

Re: Announcing GPE/GWT 2.2M1

2011-01-28 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/canvas/client/Canvas.html http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/canvas/client/Canvas.java

Re: widget has padding but getPadding returns nothing?

2011-01-28 Thread Jim Douglas
http://www.google.com/search?q=getComputedStyle On Jan 28, 7:21 pm, Magnus alpineblas...@googlemail.com wrote: Hi, if this is true then it's not good. :-) I thought that these methods operate on the DOM, and it should be transparent, where the styles of the DOM come from... I would be glad

Re: widget has padding but getPadding returns nothing?

2011-01-28 Thread Jim Douglas
); } else if (elem.currentStyle) // IE { strValue = elem.currentStyle[prop]; } return parseInt(strValue); }-*/; On Jan 28, 8:53 pm, Jim Douglas jdou...@basis.com wrote: http://www.google.com/search?q=getComputedStyle On Jan 28, 7:21 pm, Magnus alpineblas

Re: GWT 2.1 richtextarea not working in safari

2011-01-26 Thread Jim Douglas
If the problem seems to be specific to Mobile Safari, you might want to add a note here, along with any details that you can isolate: http://code.google.com/p/google-web-toolkit/issues/detail?id=5539 On Jan 26, 5:26 pm, jon jon.b...@gmail.com wrote: Hi, The problem is that RichTextArea

Re: No Textbox can take the focus by mouse clicking in IE8

2011-01-26 Thread Jim Douglas
Alex, do you have a standalone sample that can be attached to a new bug report? http://code.google.com/p/google-web-toolkit/issues/entry On Jan 25, 12:56 am, AlexF alexander.fomin...@googlemail.com wrote: I have a problem in GWT 2.0.4 that I can reproduce only with IE8 (Windows XP). I use a

Re: does GWT RegExp support x(?=y)

2011-01-20 Thread Jim Douglas
Wouldn't it be quicker to just write a test program and find out for yourself? Or read the javadoc and see that the GWT class is just a thin wrapper around the native JavaScript regexp facility, so it does whatever JavaScript does?

Re: GWTUpload and 2GB files across DIFFERENT browsers

2011-01-17 Thread Jim Douglas
You need to upload files 2GB? On Jan 17, 8:49 am, omsrobert omsrob...@gmail.com wrote: FireFox and IE have 2GB limits on the file size that can be uploaded to a server whereas Chrome does not have this limit.  Does GWTUpload work around this limitation in FF + IE? -- You received this

Re: What happened to CellList, CellTable, CellBrowser?

2011-01-15 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/cellview/client/CellList.html http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/cellview/client/CellTable.html

Re: locale translation

2011-01-14 Thread Jim Douglas
http://code.google.com/webtoolkit/doc/latest/DevGuideI18n.html On Jan 14, 10:50 am, Vik vik@gmail.com wrote: Hie We have GWT/GAE app athttp://www.sakshum.com We are looking for the option to see people can see the page translation into different regional languages. What are the options

Re: GWT 2.1.1 compiles 2 less permutations?????

2011-01-14 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a9a01c152248684b/aee3e31282634731 On Jan 14, 1:41 pm, omsrobert omsrob...@gmail.com wrote: From GWT 2.1.0 to GWT 2.1.1, we went from 12 permutations to 10 permutations.   Why? -- You received this message because you are

Re: GWT 2.1.1 release notes are missing

2011-01-14 Thread Jim Douglas
http://code.google.com/p/google-web-toolkit/issues/detail?id=5812 On Jan 14, 12:55 pm, omsrobert omsrob...@gmail.com wrote: The URL below points to 2.1.0.  Where are the 2.1.1 release notes? http://code.google.com/webtoolkit/release-notes.html#Release_Notes_Cu... -- You received this message

Re: Button documentation

2011-01-12 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/Button.html On Jan 12, 10:10 am, pedz pedz...@gmail.com wrote: From this page: http://code.google.com/webtoolkit/doc/trunk/RefWidgetGallery.html if I click on the button link, it puts me to:

Re: KeyPressEvent.getCharCode() problem

2011-01-12 Thread Jim Douglas
Ok, this is a bit OT, but my 2 (CDN) cents... Any number/number/number date notation like 12/01/11 is inherently ambiguous (or at least context-sensitive). In very limited situations (e.g. when I'm communicating only with Americans on a private mailing list), I might use American mm/dd/yy

Re: Arabic support under GWT

2011-01-11 Thread Jim Douglas
Does anyone know what soon means in this context? http://googlewebtoolkit.blogspot.com/2011/01/gwt-goes-bidirectional.html As of GWT 2.2 (to be released soon) On Jan 11, 7:34 am, Thomas Broyer t.bro...@gmail.com wrote: Did you

Re: oadmap of gwt

2011-01-08 Thread Jim Douglas
This isn't a full road map, but it touches on some tentative future plans: http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/6b7fd3a735de952d/2208c5aadf460634 On Jan 7, 9:01 pm, dadada ytbr...@gmail.com wrote: Hi all, does anybody know where i can find the

Re: Why 5 compilations instead of 6 ?

2011-01-07 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6f2418947d7efeb9/02a6615d8b719089 On Jan 7, 6:51 am, Ice13ill andrei.fifi...@gmail.com wrote: I noticed that now gwt compiles 5 permutations instead of 6 (for: ie6,ie8,gecko1_8,safari,opera properties). What happened to the

Re: is it possible to instantiate an object from its class type on demand ?

2011-01-07 Thread Jim Douglas
The documentation is pretty unambiguous on this point: http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/core/client/GWT.html#create(java.lang.Class) The argument to create(Class) must be a class literal because the web mode compiler must be able to statically determine the

Building for a single locale

2011-01-05 Thread Jim Douglas
This is driving me around the bend. Our production configuration builds for all browsers several languages. For development / testing purposes, I'm trying to define a restricted configuration that just hard codes a single locale, like this: ?xml version=1.0 encoding=UTF-8? module

Re: Building for a single locale

2011-01-05 Thread Jim Douglas
, it apparently crashes and burns attempting to resolve the client side locale. On Jan 5, 11:56 am, Jeff Chimene jchim...@gmail.com wrote: On Wed, Jan 5, 2011 at 12:43 PM, Jim Douglas jdou...@basis.com wrote: This is driving me around the bend.  Our production configuration builds for all browsers

Re: FormPanel.SubmitEvent cancel not working

2011-01-05 Thread Jim Douglas
I'm doing pretty much exactly that with my FileUpload widget, and it works ok here: /* * User clicked the Chooser OK button. */ public void onSubmit(SubmitEvent p_event) { if (m_progressUpdateTimer != null) { // Upload is already in progress

Re: Building for a single locale

2011-01-05 Thread Jim Douglas
production code in that environment continued to work fine, but when I switched to dev mode, it fell over in a pile. On Jan 5, 12:07 pm, Jim Douglas jdou...@basis.com wrote: You lost me, Jeff. The restriction involves inheriting the normal .gwt.xml file and adding these lines to cause

Re: FormPanel.SubmitEvent cancel not working

2011-01-05 Thread Jim Douglas
Hmm, I would hope it wouldn't matter, but 2.0.3; we need to coordinate several developers and build systems to move to 2.1.1, and everyone's been away for Christmas New Years. On Jan 5, 1:15 pm, Greg Dougherty dougherty.greg...@mayo.edu wrote: GWT 2.0 or 2.1? On Jan 5, 2:41 pm, Jim Douglas

Re: JRE Emulation Reference - not updated

2011-01-03 Thread Jim Douglas
David, FWIW, someone also entered this issue report (although the spelling sets my teeth on edge) http://code.google.com/p/google-web-toolkit/issues/detail?id=5828 On Jan 3, 8:40 am, David Chandler drfibona...@google.com wrote: Good catch, Matti. We'll update the JRE doc. Thanks! /dmc

Re: Choosing a file in local directory

2010-12-30 Thread Jim Douglas
jc -- You have now asked the same question five times in three different threads. You may have missed this response: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/55bd5747aeffe450# On Dec 30, 2:54 am, jc jc.chan...@gmail.com wrote: Ok, then how can i access a file in

Re: I18N - How to set locale per code?

2010-12-30 Thread Jim Douglas
Instead of asking the user for a locale preference for your page, why not just assume that his browser is configured to tell you his preferred language using the HTML Accept-Language header? http://www.w3.org/International/questions/qa-accept-lang-locales

Re: Read and access data and write file in directory

2010-12-29 Thread Jim Douglas
First, you cannot directly write a client-side file in JavaScript. The primary design goal of the HTML file input widget is for the user to select a file, which is then uploaded to a servlet for processing on the server. For a high level overview of the process, search this forum for fileupload,

Re: Avoiding DoubleSubmit

2010-12-29 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/256917ce801e6452# On Dec 29, 7:35 am, Srividhya Ramachandran svr...@gmail.com wrote: How to avoid Double Submit problem in a GWT application? To clarify what double submit is: When the user clicks on a submit button twice,

Re: Is there anyway to choose language in runtime?

2010-12-28 Thread Jim Douglas
That seems to be the approved method, but with one suggestion -- if you need to work with localized number and date formats, consider offering complete locales (es_MX) as opposed to just language codes (es). http://gwt.google.com/samples/Showcase/Showcase.html?locale=fr_FR#!CwConstantsExample

Re: How to avoid Double Submit in GWT?

2010-12-28 Thread Jim Douglas
...and to protect against the user who manages to double-click the button quicker than you can disable it, set a flag when you start processing, and discard subsequent click events until that processing is complete. On Dec 28, 2:22 pm, Sunit Katkar sunitkat...@gmail.com wrote: No there is no

Re: Must recompile to see changes

2010-12-22 Thread Jim Douglas
If you're using the URL that includes ?gwt.codesvr=1.2.3.4:9997, then you're using DevMode. In that mode, you don't have to do a GWT compile to JavaScript after saving every change (but you do have to reload the web page). If you're using the URL that does not include the gwt.codesvr stuff, then

Re: Update Chrome to 10.0.612.1 does not work with either 2.1.0 or 2.1.1

2010-12-20 Thread Jim Douglas
...or temporarily switch to the stable channel. On Dec 20, 4:31 am, Efstathios Kalyvas savi...@gmail.com wrote: I have the same issue. I have stopped using dev mode and i reverted to standard mode. On Sun, Dec 19, 2010 at 1:56 AM, Jim Douglas jdou...@basis.com wrote: I see the same

Re: FileUpload - Widget - Not giving full path in FireFox

2010-12-20 Thread Jim Douglas
As you said, it's a security feature in all current browsers; it wouldn't be a very useful security feature if you could hack around it. http://blogs.msdn.com/b/ie/archive/2009/03/20/rtm-platform-changes.aspx http://www.google.com/search?q=fakepath

Re: GWT File Upload Widget with Ajax

2010-12-20 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/cfe1a1feaa1b345d/935ce4db15ee537c? On Dec 20, 10:02 pm, Noor baken...@gmail.com wrote: Can the widget file upload that comes with GWT can perform ajax uploads -- You received this message because you are subscribed to the

Re: GWT 2.1.1 is here!

2010-12-20 Thread Jim Douglas
Not a big deal, but are there updated relnotes for 2.1.1? http://code.google.com/webtoolkit/release-notes.html On Dec 17, 11:41 am, David Chandler drfibona...@google.com wrote: http://googlewebtoolkit.blogspot.com/2010/12/gwt-211-is-now-available... -- David Chandler Developer Programs

Re: Update Chrome to 10.0.612.1 does not work with either 2.1.0 or 2.1.1

2010-12-18 Thread Jim Douglas
I see the same failure here. It looks like Chrome dev version 10.0.612.1 breaks GWT DevMode, but production mode seems to work ok. http://code.google.com/p/google-web-toolkit/issues/detail?id=5778 FWIW, this appears to be a Chrome issue (as opposed to WebKit). The problem does not occur in the

Re: How to reliably detect a paste operation via mouse in TextBox?

2010-12-17 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f8fb744fd4e0614a/0d02b5302194d55c On Dec 17, 2:02 pm, Sunit Katkar sunitkat...@gmail.com wrote: No tried that. When you use the right click context menu of the mouse to 'Paste' into the textbox the regular event handlers

Re: file download using gwt and Servlet

2010-12-15 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/8c708ac2da186d17/ca92d9d8f78a0e19 On Dec 15, 5:20 am, Bhaswanth Gattineni bhaswant...@gmail.com wrote: Hi , I need to implement file download .I don't want give any server side file urls to download directly .I created a

Re: GWT 2.1 DateTimeFormat locale changes?

2010-12-15 Thread Jim Douglas
I tried to set the default locale using another bit of XML found at http://code.google.com/intl/es-AR/webtoolkit/doc/latest/DevGuideI18nL..., but I could not even get the GWT compile to work when including that XML. Me too; I thought I was just missing something. The documentation says to

Can someone please unsubscribe joseph.fav...@olympus.com from this group?

2010-12-15 Thread Jim Douglas
He posted a single message to this group almost three years ago. Since that time, all of his postings have been out-of-office autoreplies: http://groups.google.com/groups/profile?enc_user=0sdkURkAAADkQuqE8Kha_msj4vXhMlxF5QXXejbiipzYx0bmzwEdUg I emeiled him directly asking to fix this a few

Re: Strict Mode - replacement for HorizontalPanel needed

2010-12-13 Thread Jim Douglas
for strict mode I need a replacement for HorizontalPanel. Why? What's wrong with HorizontalPanel? On Dec 13, 9:38 pm, Magnus alpineblas...@googlemail.com wrote: Hi, for strict mode I need a replacement for HorizontalPanel. I would like to have a horizontal bar with different control

Re: Optimization of 3rd party javascript?

2010-12-13 Thread Jim Douglas
Short answer: No. Longer answer: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html On Dec 13, 12:33 pm, UseTheFork jvers...@gmail.com wrote: Hi, Let's imagine I include a 3rd party javascript file in my GWT project, and that I implement wrapper methods in my Java

Re: GWT tutorial KeyPressHandler bug using Firefox 3.6.13

2010-12-12 Thread Jim Douglas
but the real fix is to use KeyUp or KeyDown As previously discussed, that's not an option with Mac OS X Firefox if you need to write code that responds correctly to key-repeat events. On Dec 12, 9:48 am, Thomas Broyer t.bro...@gmail.com wrote: Apparently

Re: GWT 2.1.1 Release Candidate now available

2010-12-11 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/index.html?com/google/gwt/editor/client/AutoBean.html On Dec 11, 12:11 am, zixzigma zixzi...@gmail.com wrote: Do you know where I can find JavaDocs for the new features ? in particular I am looking for Autobean JavaDoc. -- You received

Re: GWT 2.1.1 Release Candidate now available

2010-12-10 Thread Jim Douglas
Philip, What are the chances of getting this fix backported from trunk to 2.1.1? http://code.google.com/p/google-web-toolkit/issues/detail?id=1649 On Dec 10, 11:28 am, Philip Rogers p...@google.com wrote:    GWT Community,    We just launched the first release candidate for GWT 2.1.1! You

Re: Fire a button click event programmatically

2010-12-08 Thread Jim Douglas
The GWT Button Widget is actually an HTML button object; it exposes button.click(): http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/Button.html#click() But GWT CustomButtons (PushButton/ToggleButton) are really styled DIVs, not HTML button objects, so the

Re: GWT JavaDoc failures KeyPress v. KeyDown

2010-12-03 Thread Jim Douglas
It can help to remember that GWT generates JavaScript, so GWT concepts (widgets, events, etc) generally map pretty much directly to JavaScript concepts. In this case, you can start with a google search for those events: http://www.google.com/search?q=keydown+keypress+keyup The first item in

Re: What is user agent for google crome

2010-11-30 Thread Jim Douglas
Chrome did not yet exist when GWT was first released; GWT groups all WebKit-based browsers, including Safari and Chrome, under the safari user.agent value. http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/UserAgent.gwt.xml On Nov 30, 12:12 am, Chandu

Re: Editor framework and DoubleBox

2010-11-30 Thread Jim Douglas
You probably want to avoid DoubleBox until this bug is fixed: http://code.google.com/p/google-web-toolkit/issues/detail?id=5663 On Nov 30, 8:49 am, zhong zhongl...@gmail.com wrote: I am trying to use SimpleBeanEditorDriver and DoubleBox to edit a double value field. One issue is

Re: File upload

2010-11-27 Thread Jim Douglas
Yes, you must submit the form to upload a file (or files), and the file(s) must be selected by direct action of the user. The basic structure is: On the client side, a GWT FormPanel containing a FileUpload widget (and optionally other information, e.g. one or more Hidden fields containing

Re: DateBox first day of week equals Sunday - pt_BR

2010-11-22 Thread Jim Douglas
It looks like there should be a DateTimeConstantsImpl_pt_BR.properties file, but there isn't, so GWT is using DateTimeConstantsImpl_pt.properties: http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/i18n/client/constants/DateTimeConstantsImpl_pt.properties

Re: DateBox first day of week equals Sunday - pt_BR

2010-11-22 Thread Jim Douglas
You should have mentioned that you already entered a bug report http://code.google.com/p/google-web-toolkit/issues/detail?id=5243 No, there is no way for you to override that. On Nov 22, 10:28 am, Jim Douglas jdou...@basis.com wrote: It looks like there should

Re: can I use java.util.UUID on client-side?

2010-11-22 Thread Jim Douglas
For the general question of Is [x] implemented in GWT, bookmark: http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html For possible GWT-friendly UUID implementations, see: http://www.google.com/search?q=gwt+uuid FWIW, when I need a UUID in my GWT application, I find it easiest to

Re: how to get regex(Pattern and Matcher) working in client side

2010-11-11 Thread Jim Douglas
This can be used in GWT client code: http://download.oracle.com/javase/6/docs/api/java/lang/String.html#matches(java.lang.String) (Of course, you still need to be aware of the differences between Java and JavaScript regex implementations). To see if a given Java feature will work in GWT client

Re: Currency Symbol in NumberFormat

2010-10-27 Thread Jim Douglas
that I do have UTF-8 encoding in the browser. On Oct 27, 1:23 am, Chris Conroy con...@google.com wrote: Jim, Thanks for pointing out this problem. jat has just committed a fix:http://code.google.com/p/google-web-toolkit/source/detail?r=9150 On Tue, Oct 26, 2010 at 3:47 AM, Jim Douglas

[gwt-contrib] Re: Add support for touch events for supported mobile webkit platforms. (issue867801)

2010-10-27 Thread Jim Douglas
FWIW, I noted some touch-related issues here: http://code.google.com/p/google-web-toolkit/issues/detail?id=5148 SplitLayoutPanel is one problem child; another is the ability to drag dialog windows, because it also assumes the existence of mousemove. On Oct 26, 8:10 am, Fred Sauer

Re: Currency Symbol in NumberFormat

2010-10-26 Thread Jim Douglas
I think you're getting thrown by a small character encoding error on that documentation page: http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/i18n/client/NumberFormat.html The page will display correctly if you force it to display in UTF-8. To do that, select something

Re: Question that i don't found in yours FAQ's

2010-10-25 Thread Jim Douglas
I have to ask Why would you use a version of Java (1.4.2) that's been dead and unsupported for two years? What is stopping you from using current versions of Java (1.6.0_22) and GWT (2.0.4 or 2.1.0)? On Oct 25, 9:43 am, Diego Basurco Mancisidor diegui1...@gmail.com wrote: Hi, i want know

Re: GWT + java.io.file

2010-10-19 Thread Jim Douglas
Let's see if I understand your requirements: You want to have the user select a file using a FileUpload on a FormPanel. You then want to perform some transformations on that file, including generating a Base64 string. You want the final result of those transformations to reside on the server?

Re: GWT + java.io.file

2010-10-19 Thread Jim Douglas
be the better way to do it? FormPanel with submit button (and fileupload of course)? Use JQuery? Flash component? Thanks a lot!! Ignasi 2010/10/19 Jim Douglas jdou...@basis.com: Let's see if I understand your requirements: You want to have the user select a file using a FileUpload

Re: downloading file from servlet

2010-10-19 Thread Jim Douglas
This is what I'm doing. YMMV and assorted disclaimers; it's quite likely that this can be improved upon. (1) I generate this place-holder for the file download in my GWT web pages: out.println(div id=\__gwt_downloadFrame\ tabIndex='-1'/ div); (2) To initiate a download from the client

Re: How to hot fix a common GWT widget without recompiling the GWT module?

2010-10-14 Thread Jim Douglas
You have to recompile. Sorry, there are no shortcuts. On Oct 14, 10:35 am, Daniel dan...@gmail.com wrote: I have a common GWT widget and is used in many GWT modules. Now I have fixed a bug in the GWT widget and needs to deploy for all the GWT modules. But I do not want to re-compile the GWT

Re: Help with Date

2010-10-14 Thread Jim Douglas
http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html Package java.util Date Date(), Date(int, int, int), Date(int, int, int, int, int), Date(int, int, int, int, int, int), Date(long), Date(String), parse(String), UTC(int, int, int, int, int, int), after(Date), before(Date), clone(),

Re: Urbanspoon like slot machine widget

2010-10-14 Thread Jim Douglas
Short answer: You can't. This is a native iOS app, written in Objective C: http://www.urbanspoon.com/blog/27/Urbanspoon-on-the-iPhone.html It uses the iPhone's accelerometer, which cannot be accessed using JavaScript.

Re: Need color picker

2010-10-12 Thread Jim Douglas
http://code.google.com/p/auroris/ On Oct 12, 8:17 am, Michelle Mu mmumail2...@gmail.com wrote: Can some one gives the suggestion about what is the best way to create a color picker with GWT? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Hook up HTML with GWT

2010-10-11 Thread Jim Douglas
Or look at this: http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/HTMLPanel.html On Oct 11, 10:20 am, Jeff Chimene jchim...@gmail.com wrote: On 10/11/2010 09:30 AM, Il Lupo wrote: I have been searching around for this with no luck so I decided to

Re: TOOLTIPS FOR HEADER GRID !!!

2010-10-07 Thread Jim Douglas
You're referring to this Swing configuration class: http://download.oracle.com/javase/6/docs/api/javax/swing/ToolTipManager.html There is no equivalent to that in GWT or in JavaScript. This is how you set a tooltip in GWT:

Re: text widget for highly customized data entry?

2010-10-03 Thread Jim Douglas
Try it like this: textArea.getElement().setPropertyBoolean(spellcheck, false); On Oct 3, 9:07 am, KaffeineComa kaffeinec...@gmail.com wrote: I'm trying to implement a kind of guided typing widget for data entry, in which the user's text entry is highly controlled and filtered. When the user

Re: SliderBar has yellow border after clicking

2010-09-30 Thread Jim Douglas
That's the focus rectangle. Try adding these: slider.getElement().getStyle().setProperty(outline, none); slider.getElement().setPropertyBoolean(hideFocus, true); And if you're targeting iOS, you'll probably want these as well:

Re: GWT encoding problem

2010-09-22 Thread Jim Douglas
Don't think in terms of encoding individual characters, just save the file in UTF-8 format from any text editor that allows you to select the character set. But, FWIW, é is U+00E9 (C3A9 in UTF-8). On Sep 21, 11:37 pm, Thomas Van Driessche thomas.van.driessch...@gmail.com wrote: Then how do i

Re: The Character class

2010-09-19 Thread Jim Douglas
Here's the documentation for Java library classes emulated in the GWT client: http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html You can browse the source code here: http://www.google.com/codesearch/p?hl=en#A1edwVHBClQ/user/super/com/google/gwt/emul/java/lang/Character.java If

Re: Any metrices on amount of code/data we can put on client side (browser)

2010-09-16 Thread Jim Douglas
You'll probably need to test it and see. FWIW, Android doesn't seem to like very large html files. When I did a 'detailed' build of our GWT project (10+MB html files, compared to 1+MB obfuscated), it crashed the browser in the Android emulator. On Sep 16, 9:59 am, lalit lalit.bh...@gmail.com

Re: Getting intelligent behavior out of DateBox

2010-09-06 Thread Jim Douglas
In a standard DateBox, the DatePicker is automatically visible when the DateBox gets focus. To change the parsing rules for dates typed by the user, you'll want to write a custom date parser. The basic approach is to subclass DateBox and do this: setFormat(new CustomDateFormat(getFormat());

<    1   2   3   4   5   >