Re: Displaying only part of an image using GWT Image Widget

2011-06-12 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/Image.html#setVisibleRect(int,%20int,%20int,%20int) On Jun 12, 12:19 pm, Noor baken...@gmail.com wrote: I want to display only part of image using the GWT Image widget; for e.g. for an image of 400X400, I

Re: When will get Multiple-File-Input(input type=file multiple= /) supported?

2011-06-13 Thread Jim Douglas
I added this to my ClientFileChooser -- just pass in the option and hope for the best. public void setMultipleSelect(boolean p_multipleSelect) { DOM.setElementPropertyBoolean(m_fileUpload.getElement(), multiple,

Re: Firefox 5.0

2011-06-13 Thread Jim Douglas
You must have installed a beta; the current released version of Firefox is 4.0.1. Firefox 5 is scheduled for release next Tuesday (June 21st). https://wiki.mozilla.org/Releases On Jun 13, 6:59 am, john destefano jjdest...@gmail.com wrote: Hi, Just updated my OS (Ubuntu 11.04 -64) and got the

How do you disable user selection on a CellList?

2011-06-16 Thread Jim Douglas
I'm getting slightly overwhelmed by the infrastructure required to manage a CellList, so I might be missing something really simple. How do I set a CellList so that users can't change the selection with the keyboard or mouse, while leaving programmatic selection in place (which might be either

Re: How do you disable user selection on a CellList?

2011-06-16 Thread Jim Douglas
handler; it looks like it'll take some fiddling to sort out. On Jun 16, 3:01 pm, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, June 16, 2011 11:44:56 PM UTC+2, Jim Douglas wrote: I'm getting slightly overwhelmed by the infrastructure required to manage a CellList, so I might be missing

Re: How do you disable user selection on a CellList?

2011-06-17 Thread Jim Douglas
item = model.getSelectedObject(); if (item != null) set.add(item); } return set; } On Jun 16, 3:01 pm, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, June 16, 2011 11:44:56 PM UTC+2, Jim Douglas wrote: I'm getting slightly overwhelmed

Focusable CellList

2011-06-20 Thread Jim Douglas
Is it possible in GWT 2.3 to make a CellList Focusable...or would it make sense to just wait for this issue, which is currently scheduled for 2.4? http://code.google.com/p/google-web-toolkit/issues/detail?id=5990

Re: Focusable CellList

2011-06-20 Thread Jim Douglas
Sorry, I know better; I ask my customers for sample programs to ensure nothing gets lost in translation. There may be a simpler approach, but it seems to be working now with the following additions to the wrapper class, which extends AbstractPager: m_cellList.addBlurHandler(new

CellList: Suppress spurious mouseover/mouseout focus/blur triggered by navigating within the list?

2011-06-20 Thread Jim Douglas
Is there an easy-ish way to identify and ignore events that are caused by moving *within* a CellList? I need to be able to determine that a CellList is gaining focus from some other element, or is losing focus to some other element, and the same for mouseover mouseout. But I'm getting floods of

Re: No source code is available for type java.util.Calendar;

2011-06-22 Thread Jim Douglas
I'm assuming you meant that you attempted to reference java.util.Calendar in your application. You can't reference arbitrary Java classes in client-side GWT, only the ones that GWT emulates: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsCompatibility.html

Re: Version dates

2011-06-22 Thread Jim Douglas
http://en.wikipedia.org/wiki/Google_Web_Toolkit#History On Jun 22, 11:40 am, Sale throwt...@gmail.com wrote: Can someone please sent me a list of all GWT versions with the DATES when they became available? I need it for a research on Java Web Frameworks and their comparision. I've chosse GWT

Re: Recovering the source

2011-06-22 Thread Jim Douglas
Without the original source, this will be a rewrite. At best, GWT- generated JavaScript is helpful for debugging IFF it was generated with output style detailed or pretty. Even in this scenario, it's not practical to attempt to reverse-engineer the original Java source. And there's almost no

Re: Drop file from the OS into a GWT application

2011-06-26 Thread Jim Douglas
Short answer: No, not in any reliable cross-browser way. Long answer: http://www.google.com/search?q=html5+file+api On Jun 26, 8:40 am, Kernel_panik bertrand.cheval...@gmx.net wrote: Dear All, is it possible to drop a file from the desktop (for instance) int a GWT application ? The purpose

Re: adding filter to file upload in gwt

2011-07-06 Thread Jim Douglas
Untested, and no guarantees, but try something like this: String mimeList = application/vnd.ms-excel,application/ msexcel,application/x-msexcel,application/x-ms-excel,application/ vnd.ms-excel,application/x-excel,application/x- dos_ms_excel,application/xls,application/vnd.openxmlformats-

Re: adding filter to file upload in gwt

2011-07-06 Thread Jim Douglas
giving me the option in the browsing window to select All files can I remove this option? Thanks, Amandeep On Jul 7, 4:40 am, Jim Douglas jdou...@basis.com wrote: Untested, and no guarantees, but try something like this: String mimeList = application/vnd.ms-excel,application/ msexcel

Re: adding filter to file upload in gwt

2011-07-07 Thread Jim Douglas
files in the browsing window.I wanted to remove the All files option but now it seems that it is browser dependent so I am looking for some other options.Please suggest me some other way which do not bring browser dependency in picture. On Jul 7, 10:39 am, Jim Douglas jdou...@basis.com wrote

Re: Why no GWT for Calendar API?

2011-07-07 Thread Jim Douglas
With 328 stars, it's the most popular open issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=603 On Jul 7, 7:55 pm, Jeffrey Chimene jchim...@gmail.com wrote: Hi: I might have a use case for a GWT binding for the Calendar API. Is it not there or am I missing something?

Re: Why no GWT for Calendar API?

2011-07-08 Thread Jim Douglas
/browse_thread/thread/1c8e9ef01528a9f0 I wouldn't want to try to work out the JSNI bindings for that, though. On Jul 8, 7:26 am, Jeffrey Chimene jchim...@gmail.com wrote: On 7/7/2011 8:38 PM, Jim Douglas wrote: With 328 stars, it's the most popular open issue: http://code.google.com/p/google-web

Re: ListBox with multiple selection

2011-07-11 Thread Jim Douglas
Ashwin, He said ListBox, not CellList. Jose, Two options: (1) Add a ChangeHandler to track changes as they happen; return the list as needed:

Re: is there a way to identify clickevent coming from which button?

2011-07-11 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/event/shared/GwtEvent.html#getSource() On Jul 11, 9:45 am, dadada ytbr...@gmail.com wrote: hi all, is there a way to identify clickevent? So that I know which button it is coming from? I want to reuse the clickhandler.

Re: java.lang.Character emulation

2011-07-13 Thread Jim Douglas
Looks reasonable, but the GWT team will want to probe this at the margins (is it consistent with Java? does it need to be?). FWIW, the open issue for this is: http://code.google.com/p/google-web-toolkit/issues/detail?id=1983 Definitions of isWhitespace():

Re: Was the lack of server side templating in GWT one of the reasons why Google+ team did NOT choose GWT ?

2011-07-18 Thread Jim Douglas
I'm not seeing anything in that QA to indicate that the G+ team evaluated and rejected GWT, just that the engineers who built it happened to use Closure Tools: why GWT technology has not used in Google+ Nothing against GWT, but the engineers who started building Google+ didn't use it, and in

Re: Upload a File

2011-07-20 Thread Jim Douglas
I posted an overview here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/cfe1a1feaa1b345d/935ce4db15ee537c GWT doesn't stand alone. It's a tool for building JavaScript applications that run in a browser, so it has to work within the rules (security and otherwise) that

Re: Browser Type and version

2011-07-20 Thread Jim Douglas
Parse the navigator.userAgent string. http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/Window.Navigator.html#getUserAgent() http://msdn.microsoft.com/en-us/library/ms537509(v=vs.85).aspx http://www.useragentstring.com/ On Jul 20, 1:30 pm, skippy

Re: Browser Type and version

2011-07-21 Thread Jim Douglas
http://lmgtfy.com/?q=mozilla+navigator.userAgent On Jul 21, 12:02 pm, skippy al.leh...@fisglobal.com wrote: what about FireFox and the MAC Browsers? On Jul 20, 3:42 pm, Jim Douglas jdou...@basis.com wrote: Parse the navigator.userAgent string. http://google-web

Re: Support for IE6 isn't feasible in this format?

2011-07-30 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/63ac58ecc27dee47 http://www.businessinsider.com/microsoft-launches-anti-marketing-campaign-for-ie6-2011-3 http://googleenterprise.blogspot.com/2010/01/modern-browsers-for-modern-applications.html On Jul 29, 11:01 pm, Kurtt

Re: Support for IE6 isn't feasible in this format?

2011-07-30 Thread Jim Douglas
://www.ie6countdown.com/ This story is just funny: http://edition.cnn.com/2011/TECH/web/07/29/internet.explorer.dumb/ On Jul 30, 5:22 am, Kurtt kurtt@gmail.com wrote: Oh, my bad, I've known about the png problem under IE6. Thanks a million for your reply ! :-) On Jul 30, 2:21 pm, Jim Douglas jdou...@basis.com

Re: TreeItem child widgets do not have onAttach called

2011-08-04 Thread Jim Douglas
The basic issue here is that TreeItems aren't Widgets, so (by design) they don't handle their own events. You'll want to review Tree to decide how best to manage your events. http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/Tree.html

Programmatic SelectionModel.setSelected() doesn't update keyboard selection when KeyboardSelectionPolicy is BOUND_TO_SELECTION

2011-08-09 Thread Jim Douglas
Has anyone found a workaround for this bug? http://code.google.com/p/google-web-toolkit/issues/detail?id=6310 The bug report was entered against the CellTable; I'm tripping over the same issue with a CellList. -- You received this message because you are subscribed to the Google Groups Google

Re: file upload once again

2011-08-10 Thread Jim Douglas
public void setMultiple(boolean multiple) { fileUpload.getElement().setPropertyBoolean(multiple, multiple); } On Aug 10, 8:52 am, FrugoFrog frugof...@gmail.com wrote: What is google docs  using for file upload i that it allows multi-selection? cheers -- You received this message because

Re: SimpleDateFormat

2011-08-10 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/i18n/client/DateTimeFormat.html On Aug 10, 8:56 am, joel jtrun...@gmail.com wrote: I get an error trying to use java.text.SimpleDateFormat, do I need to do something to use it, or is there an alternative? -- You received

Re: file upload once again

2011-08-10 Thread Jim Douglas
of them? I might have been imprecise I meant a widget that allows you to choose a few files in choose dialog. I know about swfupload-gwt but I can't get it to work. thanks 2011/8/10 Jim Douglas jdou...@basis.com: public void setMultiple(boolean multiple) {    fileUpload.getElement

Re: TreeItem child widgets do not have onAttach called

2011-08-10 Thread Jim Douglas
:36 pm, Jim Douglas jdou...@basis.com wrote: The basic issue here is that TreeItems aren't Widgets, so (by design) they don't handle their own events.  yeeesss...  but that doesn't mean that child widgets of TreeItems should be completely terminated from any possibility of having

Re: HI does any body know something about GWT accessibility

2011-08-10 Thread Jim Douglas
http://code.google.com/webtoolkit/doc/latest/DevGuideA11y.html On Aug 10, 9:22 pm, mmb birada...@gmail.com wrote: HI i started learning GWT few days ago , i want to ask suppose if i have GWT webpage say A which was not developed by me  ,suppose this web page  has a Button named as submit , so

Re: Support for Tablets

2011-08-16 Thread Jim Douglas
Al -- If you're testing on Android devices, you might want to note several serious Android bugs that can affect the usability of GWT apps: http://code.google.com/p/android/issues/detail?id=6721 http://code.google.com/p/android/issues/detail?id=3422

Re: Support for Tablets

2011-08-16 Thread Jim Douglas
One more: http://code.google.com/p/android/issues/detail?id=2118 On Aug 16, 8:57 am, Jim Douglas jdou...@basis.com wrote: Al -- If you're testing on Android devices, you might want to note several serious Android bugs that can affect the usability of GWT apps: http://code.google.com/p

Re: Support for Tablets

2011-08-16 Thread Jim Douglas
Jim Douglas jdou...@basis.com One more: http://code.google.com/p/android/issues/detail?id=2118 On Aug 16, 8:57 am, Jim Douglas jdou...@basis.com wrote: Al -- If you're testing on Android devices, you might want to note several serious Android bugs that can affect

Re: How do I load test data into my Widget

2011-08-16 Thread Jim Douglas
Set aside implementation details for a second; what are you actually trying to accomplish? The short answer, to respond to the question as you've phrased it here, is that it's impossible(*) to write a browser-based application (with GWT, hand-crafted JavaScript, or any toolkit) that will

Re: GWT Developer Plugin for Firefox 6

2011-08-16 Thread Jim Douglas
Bit of a firestorm over there...a proposal to hide the version number from the user: http://arstechnica.com/web/news/2011/08/firefox-6-ships-but-we-shouldnt-really-pay-attention.ars https://bugzilla.mozilla.org/show_bug.cgi?id=678775 On Aug 16, 2:03 pm, Chris Conroy con...@google.com wrote:

Re: Regular expressions in GWT

2011-08-22 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/regexp/shared/RegExp.html On Aug 21, 11:57 pm, Raja Shekhar grsvarma...@gmail.com wrote: Hi, Can we use java.util.regex.Pattern in GWT? i'm getting the following error. [ERROR] [esms] - Line 31: No source code is

Re: CellTree: is anybody working on fixing it?

2011-08-22 Thread Jim Douglas
I haven't tried CellTree myself, so I don't have an opinion on it one way or the other, but if it was me, I'd start by reviewing the list of open bug reports against it and starring the ones that seem to be affecting my app. http://code.google.com/p/google-web-toolkit/issues/list?q=CellTree

Re: JFileChooser

2011-08-31 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/FileUpload.html On Aug 31, 4:17 pm, IHateSoda mguillaum...@gmail.com wrote: Hello, I need to browse folder in my GWT application, I tried to implement an applet (Gwt-AI, HTML applet = new

Why doesn't HasScrollHandlers extend HasHandlers?

2011-09-01 Thread Jim Douglas
This feels like a dumb question. Is this an oversight, or is there a reason why HasScrollHandlers is the only Has.*Handlers interface that does not extend HasHandlers? http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/event/dom/client/HasScrollHandlers.html

Re: JFileChooser

2011-09-01 Thread Jim Douglas
Not possible. http://www.google.com/search?q=fakepath On Sep 1, 4:05 pm, IHateSoda mguillaum...@gmail.com wrote: Thanks. But with the FileUpload widget, You can just browse a file. I want to select a folder (no file) and get the full path. On Aug 31, 5:38 pm, Jim Douglas jdou...@basis.com

Re: when would the onBrowserEvent method of Widget be triggered ?

2011-09-04 Thread Jim Douglas
It will be invoked for all DOM events passed to the Widget. You can pass selected events to the widget with sinkEvents() or addDomHandler: http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/Widget.html#sinkEvents(int)

Re: GWT development is UNBEARABLY slow

2011-09-05 Thread Jim Douglas
You said any browsers, so it's not clear which one you use for primary development. GWT DevMode is very slow in Chrome, but it's perfectly acceptable in Firefox. Also, you pay most of the cost up front in the first load; reloading your browser page after making changes is very fast. Also, when

Re: File download with GWT

2011-09-08 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/8c708ac2da186d17/ca92d9d8f78a0e19 On Sep 8, 7:33 am, Aurita Moya auram...@gmail.com wrote: I am new to GWT application and I need help downloading files using servlet, I have the part that generates an excel file. xls, but I

Re: File download with GWT

2011-09-08 Thread Jim Douglas
Window.open() is trapped by the popup blocker. I posted a link to the complete set of steps. On Sep 8, 5:26 pm, Kevin Jordan ke...@kjordan.net wrote: Yeah, use an anchor which will automatically launch it through the built-in function in the browser or you can use the open method in the GWT

Re: try to parse a xml,errored

2011-09-08 Thread Jim Douglas
Add this to your *.gwt.xml file: inherits name=com.google.gwt.xml.XML/ On Sep 8, 7:32 pm, wahaha il...@yahoo.com.cn wrote: code:         public void onModuleLoad() {                 String str=a333/a;                 Document doc= XMLParser.createDocument();                 Element

Re: GWT Developer Plugin for Firefox 6

2011-09-09 Thread Jim Douglas
Any progress on the Firefox 6 plugin? This page still reports that the highest supported version is 5.0: http://gwt.google.com/samples/MissingPlugin/MissingPlugin.html On Aug 16, 2:03 pm, Chris Conroy con...@google.com wrote: Jason, Unfortunately, for the time being we're unable to keep pace

Re: GWT Developer Plugin for Firefox 6

2011-09-09 Thread Jim Douglas
Thanks, Thomas. Yes, I saw that, and I suppose I should have clarified that I'm asking about the status of the actual production version, as opposed to go fetch it from such and such repository. On Sep 9, 7:39 am, Thomas Broyer t.bro...@gmail.com wrote: In case you missed

Re: FileUpload

2011-09-21 Thread Jim Douglas
accept: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/82b725c6ec44e391/96132f9ea38c4f6a styling: http://www.quirksmode.org/dom/inputfile.html On Sep 21, 5:20 am, Sante sats...@tiscali.it wrote: How to set accept property in FileUpload?? Becase I use this property for

Re: GWT Developer Plugin for Firefox 6

2011-09-22 Thread Jim Douglas
like it's been updated On Sep 9, 11:33 am, Jim Douglas jdou...@basis.com wrote: Any progress on the Firefox 6 plugin?  This page still reports that the highest supported version is 5.0: http://gwt.google.com/samples/MissingPlugin/MissingPlugin.html On Aug 16, 2:03 pm, Chris Conroy con

Re: What do you think?

2011-09-28 Thread Jim Douglas
Oh wow, an anonymous and incoherent rant. I am shocked -- shocked! -- to find such a thing on the Internet. On Sep 27, 9:37 pm, Bruno Sandivilli bruno.sandivi...@gmail.com wrote: Hi , what do you think about this:http://amplicate.com/hate/gwt/4104355-i-hate-gwt-its-one-of-the-worst...  ? --

Re: Using FileUpload

2011-10-03 Thread Jim Douglas
Not in any reliable cross-browser way, but review this: http://www.html5rocks.com/en/tutorials/file/dndfiles/#toc-selecting-files-input http://dev.w3.org/2006/webapi/FileAPI/#file On Oct 3, 9:19 am, Soumaya Ben Abdallah soumaya...@gmail.com wrote: Hi All, I was wondering, is there a way to

Re: Dart and GWT

2011-10-17 Thread Jim Douglas
It's probably worth keeping Google's corporate culture in mind. A lot of more or less autonomous teams go about their daily work, trying to solve their own particular problems. There's very little top-down control of the process (unlike, to pick an example at random, a well known company based

Re: Why are none of my posts showing up?

2011-11-07 Thread Jim Douglas
http://groups.google.com/groups/profile?enc_user=jCryhhML3namdQbB_nNnp4KqFIbCWMj6vob75xS36mXc24h6ww On Nov 7, 7:10 pm, CSchulz csch...@acumeta.com wrote: This is pretty frustrating. Is this post even going to show up? Who knows. Probably not. Is there a screen where I can see all of the

What happens when I enter an issue report?

2011-11-16 Thread Jim Douglas
I'm not sure how to interpret the issue status flags. I entered this one just over a year ago to summarize some usability issues I encountered with several standard GWT Widgets in Mobile Safari: http://code.google.com/p/google-web-toolkit/issues/detail?id=5539 Does the status of New, with no

Re: Starting Jetty on port 8888

2011-11-20 Thread Jim Douglas
The clue is right there at the bottom of the stack trace: Port 127.0.0.1: is already is use; you probably still have another session active You'll need to kill the old session before you can start a new one. (If you're not sure how to do that, try restarting Eclipse.) On Nov 19, 11:35 pm,

Re:

2011-11-20 Thread Jim Douglas
http://gwt.google.com/samples/Showcase/Showcase.html?locale=ar_EG#!CwRichText On Nov 19, 9:57 pm, Z.A Jafari zjaff...@gmail.com wrote: thanks for your help. Are there any working example on this.Appreicate your help On 19 November 2011 20:21, Juan Pablo Gardella

Re: A bug related to rounding integers?

2011-11-20 Thread Jim Douglas
First, click view profile next to your name and look at the other posts that were sent under your username. And consider changing your password. Then review all places where you call this native method. One of them is passing in a double value, which for performance reasons I don't believe GWT

Re: Starting Jetty on port 8888

2011-11-20 Thread Jim Douglas
And click view profile next to your name. On Nov 20, 12:35 pm, Jim Douglas jdou...@basis.com wrote: The clue is right there at the bottom of the stack trace: Port 127.0.0.1: is already is use; you probably still have another session active You'll need to kill the old session before you

Re: Looking for best resources to learn GWT

2011-11-20 Thread Jim Douglas
I've only glanced at this, but you might want to check it out: http://www.m-gwt.com/ http://m-gwt.com/showcase/ http://groups.google.com/group/mgwt/topics On Nov 19, 8:56 am, Fred R fred.rahman...@gmail.com wrote: What are the best resources to learn GWT (other than google's). The books listed

Re: Starting Jetty on port 8888

2011-11-21 Thread Jim Douglas
any active GWT sessions if you can't figure out how to stop them normally. That's a fallback position; you would normally click the little red button that stops the session. On Nov 20, 11:26 pm, Z.A Jafari zjaff...@gmail.com wrote: Jim, Thanks for your comments. what do you mean And click view

Re: Starting Jetty on port 8888

2011-11-22 Thread Jim Douglas
Start by changing your Google password. On Nov 22, 3:09 am, Z.A Jafari zjaff...@gmail.com wrote: how could i have been hacked. what do i need to do now to nullify the hack -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Starting Jetty on port 8888

2011-11-23 Thread Jim Douglas
Sorry, I have no idea. On Nov 22, 11:52 pm, Z.A Jafari zjaff...@gmail.com wrote: Jim, thanks for your feedback. how do i unregister from those links.can I ?? On 22 November 2011 19:13, Jim Douglas jdou...@basis.com wrote: Start by changing your Google password. On Nov 22, 3:09 am

Google Groups are apparently being hacked en masse

2011-11-23 Thread Jim Douglas
Over the past few days, I've noticed that more and more peoples' profiles are showing cross-posting of their legitimate messages to various unsavoury forums. This doesn't appear to indicate that accounts have been compromised (i.e. passwords hacked); it looks more like someone has found a way to

Re: GWT and Generated file download

2011-12-09 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/8c708ac2da186d17/ca92d9d8f78a0e19 On Dec 9, 4:05 am, Appien appienvanv...@gmail.com wrote: Hi folks, At the moment I'm having troubles with starting a file download using GWT. In my application we have a Form object which

Re: Nice post about GWT

2011-12-09 Thread Jim Douglas
(Non-Googlers remove the .sandbox part of that URL): https://plus.google.com/117487419861992917007/posts/6YWpsHpqMqZ On Dec 9, 12:40 pm, Eric Clayberg (Google) clayb...@google.com wrote: That memo was written quite some time ago (in Internet time), and a leaked memo like that should not be

Mohammed Abdul (recruiter.m...@gmail.com) is repeatedly spamming this group

2011-12-19 Thread Jim Douglas
On Dec 19, 7:51 am, Mohammed Abdul recruiter.m...@gmail.com wrote: -- 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

Multiple recruitment messages from Mohammed Abdul (recruiter.m...@gmail.com) are spam

2011-12-19 Thread Jim Douglas
On Dec 19, 7:49 am, Mohammed Abdul recruiter.m...@gmail.com wrote: -- 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

Re: multiple selection file-upload

2011-12-21 Thread Jim Douglas
myFileUpload.getElement().setPropertyBoolean(multiple, true); On Dec 21, 5:39 am, Robert Fix rob3rt...@googlemail.com wrote: hi, i need a file-upload like it is used in Google+ and want to implement it in a gwt-project. In GWT i can only find a FileUpload with single selection. I hope you

Re: Charting Tool for GWT

2012-01-08 Thread Jim Douglas
Not sure if this would work for you, but I use JFreeChart (server- based, obviously), and push the rendered PNG over to the client as needed. On Jan 7, 6:13 am, John Methew john.bm...@gmail.com wrote: Hi everyone,                   I have been looking over the options for Charting tools

Re: How is Math.Random emulated? and how good is it?

2012-01-11 Thread Jim Douglas
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/super/com/google/gwt/emul/java/lang/Math.java public static native double random() /*-{ return Math.random(); }-*/; http://stackoverflow.com/questions/1062902/how-random-is-javascripts-math-random On Jan 11, 1:02 am,

Re: retrieving own posts

2012-01-16 Thread Jim Douglas
http://groups.google.com/groups/profile?enc_user=HBBYexwNPAYKsBQgjkf-svRHsKhAU6o4CAjmAvjn6WiMe0udMQ On Jan 16, 7:20 am, Magnus alpineblas...@googlemail.com wrote: Hi, I would like to retrieve the answers of my own posts. Can I lookup my own threads somehow? Searching for my name/address

Re: Auto position popup menu

2012-01-19 Thread Jim Douglas
The documentation sample shows how to position the popup relative to the available space, using whatever calculation you choose: http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/ui/PopupPanel.html On Jan 19, 8:45 am, Ice13ill andrei.fifi...@gmail.com wrote: Is

Re: Auto position popup menu

2012-01-19 Thread Jim Douglas
I only read popup; I missed menubar. But that shouldn't change anything; just embed your menubar in the popup. http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/ui/MenuBar.html On Jan 19, 1:12 pm, Jim Douglas jdou...@basis.com wrote: The documentation sample

Re: How to simulate Thread.sleep in GWT?

2012-01-24 Thread Jim Douglas
There's really no good answer. JavaScript isn't multi-threaded, so there's no way to do anything like Java's Thread.sleep(). Since there's no real equivalent, the answer always boils down to what precisely are you trying to accomplish? You can try reviewing what other people have suggested:

Re: CappuccinoGWT

2012-01-30 Thread Jim Douglas
FWIW, the GWT incubator has slider and progress bars (technically had; it's no longer supported). It's probably not as simple as just adding a jar file, but I've been using tweaked versions of them for a few years now (currently on GWT 2.4.0).

Re: ff10 gwt dev plugin x86

2012-02-09 Thread Jim Douglas
Thanks, Alan! Looks good in Mac OS X Snow Leopard. Looks like we're ok now until March 13th. Now if only Mozilla can resist the urge to stop breaking things with every new release. https://wiki.mozilla.org/Releases On Feb 8, 11:17 am, Alan Leung acle...@google.com wrote: The new plugin is

Re: GWT to Swing-conversion

2012-02-22 Thread Jim Douglas
I'm not sure how you'd automate something like that. We did it the hard way -- define a generic API for manipulating windows and controls, write two backends for it (Swing and GWT) to target at runtime. Nothing automatic, though; just a lot of hard work. On Feb 22, 6:53 am, Lothar Kimmeringer

Re: Upload File

2012-03-02 Thread Jim Douglas
Hi Leonardo, I use Apache FileUpload to manage the process: http://commons.apache.org/fileupload/ Here's the doPost() method from my FileUploadServelet: @Override public void doPost(HttpServletRequest p_request, HttpServletResponse p_response) throws

Re: Upload File

2012-03-05 Thread Jim Douglas
I posted this earlier, but I think I may have accidentally clicked Reply to author. Jim, the class is also ClientFileSystemBridge Apache FileUpload? No, I didn't strip out all of my application-related code before I posted it. Also, id and saveAs are just form names that I happen to be using

Re: GWT FileUpload - Servlet options and handling response

2012-03-16 Thread Jim Douglas
Search for fileupload in this group; there are several posts that discuss the subject. On Friday, March 16, 2012 2:27:39 PM UTC-7, Ashish wrote: I am new to GWT and am trying to implement a file upload functionality. Found some implementation help over the internet and used that as

Re: Problem to compile to javascript...

2012-03-22 Thread Jim Douglas
Try this google search for the error message: http://www.google.com/search?q=The+import+javax.validation.ConstraintValidator+cannot+be+resolved The first result it returns is a thread in this group with suggestions for making it work. On Mar 22, 6:30 pm, Blaze baze...@gmail.com wrote: Hi, I

Re: Problem to compile to javascript...

2012-03-24 Thread Jim Douglas
...@gmail.com wrote: @Jim You shouldn't rely on the search results staying in the same order. Unfortunately, this post now outranks the link you tried to provide. Can you add a link directly to the intended post? @Blaze The short answer is that you probably need the validator-api

Re: How to format custom TreeItems with images?

2012-03-26 Thread Jim Douglas
, selected); } On Mar 26, 1:00 pm, dhoffer dhoff...@gmail.com wrote: Jim, I'm trying to replace with a HorizontalPanel that contains 3 widgets but I'm running into problems. 1. It's not possible to call setVerticalAlignment because the input parameter has no public values so I'm calling

Re: How to use HorizontalPanel#setVerticalAlignment() ?

2012-03-27 Thread Jim Douglas
FWIW, the sample code I added to the other thread also shows setting vertical alignment. http://groups.google.com/group/google-web-toolkit/browse_thread/thread/ae382844d84c20e9# On Mar 27, 6:52 am, dhoffer dhoff...@gmail.com wrote: Yup, my brain and IDE were in park yesterday I guess, thanks.

Re: DateTimeFormat: Return the localized name of a month given you have an int.

2012-05-22 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/i18n/client/DateTimeFormat.html Text or Number 3 or more, use text, otherwise use number. (e.g. M produces 1, MM produces 01, MMM produces Jan, and produces January. Some pattern letters also treat a count of 5

Re: Read in binary file into byte[] ?

2012-05-22 Thread Jim Douglas
Not in GWT proper, and not reliably in all browsers. Start your reading here: http://www.google.com/search?q=javascript+file+api On May 22, 12:42 pm, Carsten carsten.schm...@googlemail.com wrote: Hi, is it possible to read in a binary file in my GWT Java-code and convert it into a byte[] ?

Re: Read in binary file into byte[] ?

2012-05-23 Thread Jim Douglas
to read a file from the directory on the server where my GWT app lives. I just want to know the options I have to read this binary file into a byte[]. I am very new with GWT :) On May 23, 4:53 am, Jim Douglas jdou...@basis.com wrote: Not in GWT proper, and not reliably in all browsers

Re: Firefox 13 DevMode Plugin

2012-06-08 Thread Jim Douglas
Thanks, Alan! Looks good on Mac OS X 10.7.4. On Jun 7, 5:47 pm, Alan Leung acle...@google.com wrote: Last but not least, Mac: http://acleung.com/ff13-mac.xpi Enjoy and happy GWT hacking. -Alan On Thu, Jun 7, 2012 at 1:52 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com

Is there any way to coerce CellList.setKeyboardSelected(index,true,true) into working?

2012-06-11 Thread Jim Douglas
This is frustrating because it ought to be trivial, and I'm finding it impossible. Basically, I want to make my typeahead logic mesh smoothly with up/down arrows, so if a CellList contains 1000 names and the user types J, O, N, E, S, down-arrow, he should land on the first name after JONES in the

Re: how to check whether the email or website is real website or email

2012-06-12 Thread Jim Douglas
That question has nothing to do with GWT, so this is the wrong place to post it. Decide what you mean by validate and real and google the question. On Jun 12, 8:11 am, lucky lucky.begum...@gmail.com wrote: could any one provide me the solution to validate whether the given email or website is

Re: How far does the optimizations of the GWT compiler go..?

2012-06-23 Thread Jim Douglas
http://code.google.com/p/google-web-toolkit/issues/detail?id=6691#c1 On Jun 23, 6:45 am, Joseph Lust lifeofl...@gmail.com wrote: I tried enabling SOYC yesterday too (GWT 2.3). I had the same issue. The links on the index page for the first permutation worked, but not the second permutation.

Re: What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread Jim Douglas
I'm not sure it's possible to make a general statement; it depends on your application. If you haven't already done this, take a look at -compileReport; it can show you what contributes to the size of your application. https://developers.google.com/web-toolkit/doc/latest/DevGuideCompileReport

Re: Date Serialization

2012-07-03 Thread Jim Douglas
Yup, probably the timezone offset. We tripped over that too (wrong dates when the server and client were in different time zones); we stopped serializing Date objects and switched to sending a customized y/m/d value instead. On Jul 3, 2:41 pm, Paul Robinson ukcue...@gmail.com wrote: On 03/07/12

Re: What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread Jim Douglas
The missing CompilerMetrics-*-index.html files is this bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=6691 So ignore the missing CompilerMetrics* files and just focus on the Split Point Reports; they'll tell you how much space was taken up by various components generated into

Re: What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread Jim Douglas
particular mix of code. On Jul 3, 7:18 pm, Jim Douglas jdou...@basis.com wrote: The missing CompilerMetrics-*-index.html files is this bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=6691 So ignore the missing CompilerMetrics* files and just focus on the Split Point Reports

Re: Know how wide text will be on a Canvas

2012-07-05 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/canvas/dom/client/Context2d.html#setFont(java.lang.String) http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/canvas/dom/client/Context2d.html#measureText(java.lang.String)

<    1   2   3   4   5   6   7   >