Re: upgrade gwt 2.7 to gwt 2.8.1 not working

2019-02-01 Thread Thad Humphries
Thanks! You answered this question over a year and a half ago, but I just hit this very problem while converting an app from 2.7.0 to 2.8.2. (Why now? With Oracle cutting off Java 8, we moved to Amazon Corretto, and found some old imaging stuff that would not work with OpenJDK. As long as I was

Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-28 Thread Thad Humphries
However the bug is still there on the Chrome Dev version: Version 73.0.3679.0 (Official Build) dev (64-bit) (Testing on Mac 10.14.2) On Monday, January 28, 2019 at 3:13:23 AM UTC-5, Rob wrote: > > Can confirm that as mentioned in > https://bugs.chromium.org/p/chromium/issues/detail?id=923585 >

Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-25 Thread Thad Humphries
Rodolfo: As noted above, I got a 2.7.0 app working on Canary by editting the generated file [@name-to]/[@name-to].nocache.js, changing $='javascript:""' to $='about:blank'. That worked for all 3 of my 2.7.0 apps. Also, I'll confirm that 2.8.2 fixed the problem in my flagship app for me. The

Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-24 Thread Thad Humphries
,ic='file:',jc='_gwt_dummy_',kc='__gwtDevModeHook:gwtwebclient',lc='Ignoring > > non-whitelisted Dev Mode URL: ',mc=':moduleBase';var o=window;var > p=document;r(O,P);function q(){var a=o.location.search;return > a.indexOf(Q)!=-1||a.indexOf(R)!=-1} > > scrappy:gwtwebclient ji

Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-24 Thread Thad Humphries
Does rebuilding with 2.8.2 remove/change $='javascript:""'? Is there a setting I'll need in my *gwt.xml file? Will I also need that setting in the GWT modules I include in my app? On Thursday, January 24, 2019 at 1:56:13 AM UTC-5, Thomas Broyer wrote: > > You may want to first look for

Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-24 Thread Thad Humphries
That worked for me: I have 3 apps built with GWT 2.7.0. If I edit the generated file [@name-to]/[@name-to].nocache.js, changing $='javascript:""' to $='about:blank', all 3 apps now work in Canary. As for SSL, I am not seeing any mixed content message in Chrome. I'm running Apache 2.4 with a

Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-23 Thread Thad Humphries
FYI, Chromium issue 924105 has now been merged with 924317: https://bugs.chromium.org/p/chromium/issues/detail?id=924317 On Wednesday, January 23, 2019 at 12:50:01 PM UTC-5, Thomas Broyer wrote: > > The samples might very well use an old-ish version of GWT, I'm not sure > they're updated each

Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-22 Thread Thad Humphries
I am seeing similar problems with Canary and three production apps written and built with GWT 2.7.0. Two apps fail to load anything beyond the index.html's background image. The third app (which uses some MGWT) loads the initial UI, but does not respond to a button click. All apps behave fine

Re: New Gradle plugin for GWT available

2018-10-09 Thread Thad Humphries
gradlew run Gradle 4.10.2. $ ./gradlew clean FAILURE: Build failed with an exception. * Where: Build file '/Users/thad/experimental/webgwt282/build.gradle' line: 18 * What went wrong: Error resolving plugin [id: 'de.esoco.gwt', version: '1.0.2'] > Could not resolve all dependencies for configurat

Re: New Gradle plugin for GWT available

2018-10-07 Thread Thad Humphries
Thank you. This arrives in the nick of time. I've been using the Schaefer plugin for years, but now that customers have *finally* upgraded from Java 6, I'm updating to GWT 2.8.2, Java 8, and looking at Java 11 (tried Java 9/Jigsaw over a year ago, and the only changes I had were server side to

Re: gwt-maven-plugin: how can I chnage the Jetty port?

2018-10-04 Thread Thad Humphries
Where does this go? Which pom.xml? Sorry, I'm looking at returning to Maven because of the lack of Gradle support and their dizzying rate of updates. So, I've generated a modular-webapp, I tried net.ltgt.gwt.maven gwt-maven-plugin 1.0-rc-9 true 1.8 true

Re: gwt-maven-plugin: how can I chnage the Jetty port?

2018-10-04 Thread Thad Humphries
Where? Sorry, I'm getting fed up with Gradle, and I'm trying to remember how to do this in Maven On Thursday, February 23, 2017 at 6:21:51 AM UTC-5, Thomas Broyer wrote: > > > > On Thursday, February 23, 2017 at 12:19:02 PM UTC+1, Tom Pijl wrote: >> >> I am using the gwt-maven-plug of Thomas

unsetting draggable

2016-10-27 Thread Thad Humphries
I have a widget that I set draggable with widget.getElement().setDraggable(Element.DRAGGABLE_TRUE); and register a DragStartHandler. Later there comes a time when I want to unregister the handler, as well as disable dragging with

unsetting draggable

2016-10-27 Thread Thad Humphries
I have a widget that I set draggable with widget.getElement().setDraggable(Element.DRAGGABLE_TRUE); and register a DragStartHandler. Later there comes a time when I want to unregister the handler and disable dragging with widget.getElement().setDraggable(Element.DRAGGABLE_FALSE); However

Re: GWT 2.8.0 released

2016-10-27 Thread Thad Humphries
The doc/javadoc directory is incomplete. It is missing the index.html and the other files to complete it. Will these be added to the gwt-2.8.0.zip? On Friday, October 21, 2016 at 3:21:41 PM UTC-4, Daniel Kurka wrote: > > Hi all, > > I am very happy to announce GWT 2.8.0 on behalf of the GWT

Re: Where is GWT Elemental?

2015-06-05 Thread Thad Humphries
You mean this video? *GWT.create 2015 - Deep dive in JS Interop (Ray Cromwell) https://www.youtube.com/watch?v=-s4Wfnojh1Q* If not, which one? I have the Polymer bug. On Friday, June 5, 2015 at 3:03:23 PM UTC-4, Ming-Yee Iu wrote: Never mind. I watched the JsInterop video and caught up.

Re: GWT 2.8.0 ?

2015-05-14 Thread Thad Humphries
There are no jar files in the 2.8.0-SNAPSHOT directories at this time. The last modified timestamp is Tue May 12 03:54:28 CDT 2015. On Thursday, May 14, 2015 at 2:46:06 PM UTC-4, Bauna wrote: Yes, it works fine with maven. Add this repository: repository idgoogle-snapshots/id

Re: How to load a json file on client side without clientbundle?

2015-03-20 Thread Thad Humphries
Solutions depend on when you want load the JSON files and who loads them. If the user is to pick the file, use the FileUpload widget to load the file to the server, then send it right back to your client (maybe after some server side safety checking). If the JSON files are restricted to an

Re: war vs webapp with GWT, AppEngine, Gradle and Eclipse

2015-03-13 Thread Thad Humphries
I have no experience with AppEngine, but I've been using Gradle for several months thanks to the GWT Gradle Plugin (https://github.com/steffenschaefer/gwt-gradle-plugin). If you are not using it already, you might find it useful. AFAIK, it is expected that whatever is in src will stomp on

Re: FileUpload mucking my response

2015-03-13 Thread Thad Humphries
I use GWT's FileUpload widget *a lot*, mostly for stuff that I'm storing on the server--binary files, MS Office files, etc. On the server side I use FileUpload http://commons.apache.org/proper/commons-fileupload/ from the Apache Commons to grab and store the file(s) before other libraries do

Re: Device specific function of the operating system (iOS, Android, Windows Phone)

2014-12-29 Thread Thad Humphries
Check out mgwt and gwt-phonegap at http://www.m-gwt.com/ So far I've not used gwt-phonegap, so I'll leave that portion to others on the mgwt users list. However I'm quite pleased with mgwt's handling of mobile browsers for Android and iOS. On Monday, December 29, 2014 5:34:15 AM UTC-5,

Re: Adding external jars to eclipse GWT projects

2014-12-29 Thread Thad Humphries
Are you trying to use Gson in client-side code? That will not work. (see http://www.gwtproject.org/doc/latest/DevGuideCodingBasics.html) GWT includes the package com.google.gwt.json.client for client-side JSON. You can use Gson or another JSON package on the server-side (I use json.org). On

Success with GWT 2.7.0-rc1

2014-11-11 Thread Thad Humphries
I just wanted to pass on my experiences with GWT 2.7.0-rc1. In a word, excellent. Converting my two Ant projects was simple: I just changed the GWT property to point to gwt-2.7.0-rc1 and everything ran fine. Everything built without error or warning. My first attempt to launch the devmode UI

Re: Problems upgrading Google Plugin for Eclipse

2014-11-08 Thread Thad Humphries
root) and loaded the GPE and the other plugins I used. I hope I don't have this trouble with the next release of the GPE. On Thursday, November 6, 2014 4:46:45 PM UTC-5, Thad Humphries wrote: I haven't been able to install the Google Plugin for Eclipse 4.4 3.8.0.v201410302155-rel-r44 update. I'm

Problems upgrading Google Plugin for Eclipse

2014-11-06 Thread Thad Humphries
I haven't been able to install the Google Plugin for Eclipse 4.4 3.8.0.v201410302155-rel-r44 update. I'm told Insufficient privileges to apply this update. I've no idea why. Everything in the /Applications/eclipse directory is owned by me, as is everything in the .metadata directories of my

Re: Send event for keydown

2014-10-24 Thread Thad Humphries
then). On Friday, October 24, 2014 9:16:53 AM UTC-4, Marteijn Nouwens wrote: This is what is now did But it feels off :-( Op donderdag 23 oktober 2014 16:34:15 UTC+2 schreef Thad Humphries: This KeyPressHandler will change the text to upper case as the user types: public class ForceUpperCase

Re: Send event for keydown

2014-10-23 Thread Thad Humphries
This KeyPressHandler will change the text to upper case as the user types: public class ForceUpperCase implements KeyPressHandler { @Override public void onKeyPress(KeyPressEvent event) { final TextBoxBase tbb = (TextBoxBase) event.getSource(); Scheduler.get().scheduleDeferred(new

Re: Webfonts with ClientBundle, UiBinder

2014-09-27 Thread Thad Humphries
in the list the same visual size. The result looks good in both GWT desktop widget and the MGWT gray background, and I have a consistent look across all my icons. On Wednesday, September 24, 2014 12:36:44 PM UTC-4, Thad Humphries wrote: Success! Thank you. My CSS now starts with @url

Re: Webfonts with ClientBundle, UiBinder

2014-09-24 Thread Thad Humphries
Thanks for the info. I've made some changes, but still I'm only as close as when I added the Font Awesome CSS with a ui:style element: I'm not seeing the camera icon, only an empty rectangle with a heavy black border (running in Chrome with SDM). I've edited the CSS--now named

Re: Webfonts with ClientBundle, UiBinder

2014-09-24 Thread Thad Humphries
Success! Thank you. My CSS now starts with @url fawoff woff; @font-face{font-family:'FontAwesome'; src: fawoff format('woff'); font-weight:normal;font-style:normal} .fa{display:inline-block;font:normal ... and the icon is there. Thank you. Once I flesh out my ClientBundle I'll be able

Webfonts with ClientBundle, UiBinder

2014-09-23 Thread Thad Humphries
I'd like to try out webfonts with my app. I can use the *.woff file from Font Awesome (http://fontawesome.io/) by adding it to my WAR directory and a link to a modified version of their CSS in my module's welcome-file (I'd like to go with just *.woff, since it's small and works across

Re: Which GWT Layout Panel is perfect for building Mobile Friendly Website?

2014-09-21 Thread Thad Humphries
Look at mgwt 2.0 http://www.m-gwt.com/ and its showcase http://mobilegwt.appspot.com/showcase/ (code at https://github.com/mgwt/mgwt.showcase). It may take a while to get your head around it, but it's well worth the time. On Sunday, September 21, 2014 9:32:37 AM UTC-4, Tom wrote: Ok, A

Re: Error using IMAGE/IO in a Servlet

2014-09-05 Thread Thad Humphries
True. I have a static block in my RPC *Impl class that calls ImageIO.scanForPlugins(). It's not uncommon for someone to forget to modify the web.xml when upgrading Tomcat, and having that static block saves me some hassle. However the app will still leak if reloaded. The Tomcat administrator

HOW-TO: Super Dev Mode, Ant, and Run-Jetty-Run

2014-07-30 Thread Thad Humphries
Though I've moved to Super Dev Mode for new projects, and have been trying out Maven and Gradle, I have two shipping products that are built with Ant and were developed using DevMode. I'm reluctant to screw with these much, but I must fix the occasional bug or tweak or add a feature. This

Re: Making browser save userneme password

2014-06-07 Thread Thad Humphries
I wouldn't think so. Then you have to decrypt it, and where do you do that? In your JavaScript? Or you could use the old UNIX approach--never decrypt, just apply the matching 2-character salt and see if the encrypted words match. But exposing the salt allows for dictionary/brute force

Re: Preview Image before file upload in Gwt

2014-06-06 Thread Thad Humphries
None that I can think of. Basic rule of thumb--if it cannot be done in a standards compliant browser with HTML and JavaScript, it cannot be done in GWT. On Thursday, June 5, 2014 4:22:36 AM UTC-4, Piyush Srivastava wrote: Is thier any way in GWT to preview an image on cli*ent side and g*et

Re: Making browser save userneme password

2014-06-06 Thread Thad Humphries
Can you use HTML5? If so, then why not use com.google.gwt.storage.client.Storage? For example in my newer apps, if the login is successful and a checkbox is set, the app remembers the target server and username: // set/clear local storage final Storage storage =

Re: blank page and mystic error in IE8

2014-06-04 Thread Thad Humphries
I looked into SVG solutions for IE8 about 2 years ago and found nothing. I was able to convince my boss that, at least for the product I was working on, users would be required to use IE9, Firefox, or Chrome. It was a good decision. On Wednesday, June 4, 2014 1:41:47 PM UTC-4, Magnus wrote:

Re: CSS not loading

2014-05-29 Thread Thad Humphries
I suspect you much clear your browser cache. Your CSS is in separate file and loaded from your HTML, so GWT is never touching it. I've had a similar issue when I make changes to a JavaScript file loaded from my HTML by a script element. I must clear cache to see the results. On Thursday, May

Re: Possible solution to read a Rolling text file with pagination?

2014-05-28 Thread Thad Humphries
When I think of paging data, I think of cell widgets. Perhaps you could craft a CellTable where each row displays a String from an array of Strings and a Provider that pulls a set number of Strings/lines from your log file. On Tuesday, May 27, 2014 4:08:17 PM UTC-4, Jeremy Kittel wrote: HI,

Re: GWT Gradle plugin: changing port? Tomcat vs Jetty?

2014-05-10 Thread Thad Humphries
Thank you. I appreciate the time that you and others put into this group (and GWT in general). It took some more bumbling around, but I found it worked with two additions (highlighted below): ... cargo { containerId = 'jetty9x' port = deployable { file =

GWT Gradle plugin: changing port? Tomcat vs Jetty?

2014-05-09 Thread Thad Humphries
I'm trying out Gradle, the gwt-gradle-plugin, and Super Dev Mode. I've got the plugin (https://github.com/steffenschaefer/gwt-gradle-plugin) and am trying to run the super-dev-mode example. Since Tomcat is already running on my workstation, I want to change the Jetty port from 8080 to .

Re: GWT treeItem expand button missing in Internet Explorer

2014-05-07 Thread Thad Humphries
Huh? Which version of GWT? When I point IE8 at the trees in the GWT Showcase, I see the +/- symbols. http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwTree and http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCellTree I'm assuming this version Showcase is

Re: browse a file from my desktop

2014-04-21 Thread Thad Humphries
In the example you cite, does UPLOAD_DIRECTORY (FileUploadServlet, lines 9 and 43) exist and does the user Tomcat is running as have write permissions to it? If not, correct that or use javax.servlet.context.tempdir (see http://commons.apache.org/proper/commons-fileupload/using.html). On

Re: SimplePager.Resources images not showing

2014-04-21 Thread Thad Humphries
Doh! My DataGrid was not yet paging so I was seeing the disabled images which I had not set. Unlike PushButton and some other widgets, they aren't drawn based of filtering the enabled image. You have to provide them. On Wednesday, April 16, 2014 5:01:44 PM UTC-4, Thad Humphries wrote: I have

Re: browse a file from my desktop

2014-04-21 Thread Thad Humphries
successfully.); resp.flushBuffer(); ... Use your development environment's debugger to step through your servlet and see where the error is, or put some System.err.println()'s into your servlet and see where it's failing. On Monday, April 21, 2014 4:14:00 PM UTC-4, imen boukhris wrote: Hi Thad i'm

Re: browse a file from my desktop

2014-04-21 Thread Thad Humphries
won't work, maybe some on the Apache Commons list can help. On Monday, April 21, 2014 5:48:45 PM UTC-4, imen boukhris wrote: yes thad i am using a real directory on my computer. this is my entry point public class UploadFile implements EntryPoint { private static final String

Re: Chrome Canary 36 not showing sourcemaps

2014-04-16 Thread Thad Humphries
...@gmail.comjavascript: wrote: Chrome 35 too. I ha dato switch back to chrome 34. On Firefox suorce maps are showing, but our project is so big that Firefox became unusable. Il mercoledì 16 aprile 2014, Thad Humphries thad.hu...@gmail.comjavascript: ha scritto: I'm trying to use the device

SimplePager.Resources images not showing

2014-04-16 Thread Thad Humphries
I have declared a CellTable with a SimplePager in my UiBinder. The UiBinder file is paired with a Java file that includes custom SimplePager.Resources. The images from this resource are not showing in my client UI. The images are there and correctly pathed: I can see them loaded in the

Re: Deferred binding failed for ClientFactory

2014-04-15 Thread Thad Humphries
This fix has been so many releases ago--Eclipse 3.7 and GWT 2.3--that whatever I did probably would no longer apply. That said, I was setting up a Windows 7 machine, and having no end of difficulty. From my notes, the eventual solution seems to have been install the EE version of Eclipse vs

Chrome Canary 36 not showing sourcemaps

2014-04-15 Thread Thad Humphries
I'm trying to use the device emulator in Chrome Canary (v. 36.0.1941.0) to test various mobile devices. I'd like to debug my mobile code with SDM's sourcemaps, but they are not there, unlike on Chrome 34 where sourcemaps are at localhost:9876/sourcemaps/mymodule. Is there a flag I need to add

Re: Disabling ActionCells

2014-04-07 Thread Thad Humphries
to the button in my ActionCell so I could set a style in my CSS. I copied in the style for gwt-Button and tweaked it. On Wednesday, April 2, 2014 12:12:58 PM UTC-4, Thad Humphries wrote: I have two ActionCells inside a CompositeCell. These cells appear as two button that, because of the intentional

Disabling ActionCells

2014-04-02 Thread Thad Humphries
I have two ActionCells inside a CompositeCell. These cells appear as two button that, because of the intentional narrowness of their Column, appear stacked within their Column of a DataGrid. Excellent. Depending on circumstances--say, product licensing or user permissions--I want the second

AutoBean unstable on server side

2014-03-17 Thread Thad Humphries
I think I've run across a known bug (https://code.google.com/p/google-web-toolkit/issues/detail?id=5926). I only wish I hadn't spent so long puzzling over it. I had been hand-rolling my server-side JSON, but as I would refactor interfaces, I found the JSON key strings on the server getting

Re: GWT 2.6 CSSResource Changes?

2014-03-11 Thread Thad Humphries
I've seen errors like these come and go depending on the state of the MGWT SNAPSHOT. Perhaps there is moderately erroneous with a style in GXT? On Tuesday, March 11, 2014 9:11:44 AM UTC-4, Evan Ruff wrote: Hey guys, So I updated GWT to 2.6 and I'm having a heck of a time with CSSResources.

Re: Chrome Touch Emulation and GWT

2014-02-27 Thread Thad Humphries
See https://developers.google.com/chrome-developer-tools/docs/mobile-emulation: Note under 'Emulating Touch Events': elem.ontouch* handlers will currently not fire with this feature. Use the --touch-events command line flag to let Chrome trigger these handlers. On Wednesday, February 19,

Re: Changes in SuperDevMode not picked up - sometimes

2014-02-27 Thread Thad Humphries
SuperDevMode needs to be compiled only so far as you need to click you Dev Mode On bookmark and press the Compile button. That loads your changes. I can't speak to the Netbeans IDE (I'm using Eclipse). On Thursday, February 27, 2014 7:02:16 AM UTC-5, Raphael Bauer wrote: Hi, I am just

SuperDevMode and -noserver (Tomcat) debugging

2014-02-13 Thread Thad Humphries
I thought I had this working, and I do, but only in one project. Now I'm trying to recreate the magic, and it's not working. I've an older project that I started running SuperDevMode from a console and DevMode from Eclipse. Since I wanted some features of Tomcat, I switched to running the app

Re: SuperDevMode and -noserver (Tomcat) debugging

2014-02-13 Thread Thad Humphries
is this ERROR trying to tell me? Could it be the culprit? On Thursday, February 13, 2014 11:08:50 PM UTC-5, Thad Humphries wrote: I thought I had this working, and I do, but only in one project. Now I'm trying to recreate the magic, and it's not working. I've an older project that I started

GWT 2.6.0, SuperDevMode, and GWT-RPC serialization error

2014-01-31 Thread Thad Humphries
I have switched over a new project to GWT 2.6.0. I running with Maven and the GWT Maven Plugin 2.6.0-rc3. Everything was working swimmingly with GWT 2.5.1. Now I'm getting GWT-RPC serialization errors when running SuperDevMode. If I start DevMode from Maven (gwt:run) or through Eclipse, the

body.scrollLeft and body.scrollTop deprecated in strict mode

2014-01-31 Thread Thad Humphries
When I'm running my project in SuperDevMode with GWT 2.6.0, I occasionally these messages in Chrome's JavaScript Console: body.scrollLeft is deprecated in strict mode. Please use 'documentElement.scrollLeft' if in strict mode and 'body.scrollLeft' only if in quirks mode. body.scrollTop is

Re: GWT 2.6.0, SuperDevMode, and GWT-RPC serialization error

2014-01-31 Thread Thad Humphries
. Is there something else I should zap? On Friday, January 31, 2014 2:54:23 PM UTC-5, Juan Pablo Gardella wrote: Seems a cache error. Did you clean all temp data? 2014-01-31 Thad Humphries thad.hu...@gmail.com javascript:: I have switched over a new project to GWT 2.6.0. I running with Maven

Re: GWT 2.6.0, SuperDevMode, and GWT-RPC serialization error

2014-01-31 Thread Thad Humphries
Thank, Jens. That's working: I added -Dgwt.codeserver.port=9876 to the 'VM Arguments' in my run configuration and my RPC call works. I'm guessing there might be similar magic when running -noserver, right? I want to tackle that next, since Jetty configuration is gone with 2.6.0 and I dearly

Re: GWT 2.6.0, SuperDevMode, and GWT-RPC serialization error

2014-01-31 Thread Thad Humphries
Yes, it works with -noserver, just add -Dgwt.codeserver.port=9876 to the 'VM Arguments'. For debugging with Tomcat, I added -Dgwt.codeserver.port=9876 to JAVA_OPTS ins setenv.sh. Thanks again. On Friday, January 31, 2014 3:35:19 PM UTC-5, Thad Humphries wrote: Thank, Jens. That's working: I

Re: 2.6.0-rc3 and Jetty's WebAppContext (jetty-web.xml)

2014-01-25 Thread Thad Humphries
I'm not using the tomcat-maven-plugin. I'm managing Tomcat in a separate console using the $CATALINA_HOME/bin/startup.sh and shutdown.sh scripts (having modified startup.sh to add jpda to the command). I can see that Eclipse is writing to target/MyApp-1.0-SNAPSHOT/WEB-INF/classes. What I can't

Re: 2.6.0-rc3 and Jetty's WebAppContext (jetty-web.xml)

2014-01-24 Thread Thad Humphries
with the *.class file updates, I'd appreciate it. On Wednesday, January 22, 2014 5:46:44 PM UTC-5, Thad Humphries wrote: Thanks, Jens. It's *almost* coming together, but not quite. I've got Tomcat started with debug and I've got Eclipse linked to it (per http://wiki.apache.org/tomcat/FAQ/Developing

Re: 2.6.0-rc3 and Jetty's WebAppContext (jetty-web.xml)

2014-01-22 Thread Thad Humphries
On Wednesday, January 22, 2014 11:53:27 AM UTC-5, Thomas Broyer wrote: On Tuesday, January 21, 2014 10:12:52 PM UTC+1, Thad Humphries wrote: In short: How to I configure my GWT 2.6.0-rc* webapp launch in Eclipse and process webapp context settings for Jetty? I'm giving GWT 2.6.0-rc3

Re: 2.6.0-rc3 and Jetty's WebAppContext (jetty-web.xml)

2014-01-22 Thread Thad Humphries
Thanks, Jens. It's *almost* coming together, but not quite. I've got Tomcat started with debug and I've got Eclipse linked to it (per http://wiki.apache.org/tomcat/FAQ/Developing). However when I make a change to my servlet, I don't see it reflected in the run. I've got the Eclipse Web

2.6.0-rc3 and Jetty's WebAppContext (jetty-web.xml)

2014-01-21 Thread Thad Humphries
name=initParams New class=java.util.HashMap Put name=app.tmpdir/Users/thad/temp/Put Put name=cleanup.interval86400/Put Put name=slf4j-init-file/Users/thad/temp/slf4j.properties/Put /New /Set /Configure /Users/thad/temp/slf4j.properties declares

Re: Layout with nested SplitLayoutPanel

2013-12-13 Thread Thad Humphries
Just a hunch--I've not tried this--maybe you should instead override onLoad(). From the Javadocs: onAttach: It is strongly recommended that you override onLoad()http://localhost/~thad/gwt/doc/javadoc/com/google/gwt/user/client/ui/Widget.html#onLoad() or doAttachChildren()http://localhost

Re: Super Dev Mode on Mobile, Tablet, IPad Browser

2013-11-06 Thread Thad Humphries
I've tried this as described. However when I access the app from a tablet, I get the must recompile message. Of course, the mobile browser has no such bookmark. On Wednesday, November 6, 2013 2:22:32 AM UTC-5, Martones wrote: If you're using MGWT there is a helper method you can use within

Re: Event.stopPropagation() not working for KeyDownEvent

2013-11-03 Thread Thad Humphries
= nativeEvent.getKeyCode(); if (c==KeyCodes.KEY_ENTER) { event.consume(); login_btn.click(); } } }); The alert's onPreviewNativeEvent() is unchanged. On Sunday, November 3, 2013 5:15:02 PM UTC-5, Thad Humphries wrote: I have a user login form that I want submitted

Re: Error using IMAGE/IO in a Servlet

2013-10-28 Thread Thad Humphries
The problem sounds like the JreMemoryLeakPreventionListener. In $CATALINA_HOME/conf/server.xml add appContextProtection=false to that Listener: Listener className=org.apache.catalina.core.JreMemoryLeakPreventionListener appContextProtection=false / You will be opening up Tomcat to a

Re: Hiding methods on shared classes - not fields

2013-10-19 Thread Thad Humphries
@GwtIncompatible sounds *excellent*. Thanks! On Friday, October 18, 2013 5:19:12 AM UTC-4, Thomas Broyer wrote: GWT 2.6 will ignore classes and methods (and fields maybe) annotated with @GwtIncompatible (any annotation with this name, independently of its package) In the mean time, the

Re: GWT RPC not working behind Apache and Tomcat

2013-10-19 Thread Thad Humphries
You servlet-mapping is servlet-mapping servlet-namerpc/servlet-name url-pattern/app1/rpc/url-pattern /servlet-mapping In your de.class.server.RPCService.java interface, do you have app1 in the annotation? For example: @RemoteServiceRelativePath(app1) public interface RPCService

JSON discrepancy in gwt-dev.jar vs. json-20090211.jar

2013-09-20 Thread Thad Humphries
I spent much of yesterday moving an old GWT project from Ant to Maven. Much of that time was spent running down a serious discrepancy in the server-side conversion of XML to JSON, specifically the call org.json.XML*.*toJSONObject(java.lang.String string). (I'm thinking this needs to be filed

Re: Upload blob: image from GWT

2013-09-07 Thread Thad Humphries
For security reasons, input type=file... element cannot have a value set programmatically. For an example why not, see http://stackoverflow.com/a/1696884/1316011 (If you have code showing otherwise, I'm sure I'm not the only one who'd like to see it.) As for uploading a file, the example in

Re: logging not working? kepler/gwt 2.5.1

2013-09-05 Thread Thad Humphries
Logging handlers? http://www.gwtproject.org/doc/latest/DevGuideLogging.html#Different_Types_of_Handlers On Thursday, September 5, 2013 3:07:16 PM UTC-4, dk wrote: Hi, this seems really odd to me. I have a fairly old gwt project. The project works but needs a tweak. I had logging enabled

Accessing the Android MenuButton

2013-09-03 Thread Thad Humphries
Using MGWT, how might I access the Android MenuButton? (see http://docs.phonegap.com/en/1.0.0/phonegap_events_events.md.html#menubutton) I'd like to pop-up a panel that includes a settings button the way other Android applications do. I understand that for iOS I'll need to use another button

Re: Problem decoding complex AutoBean

2013-08-20 Thread Thad Humphries
. The object you're parsing has only a mquery property, so if you look at it as if it were an MQuery object, getScreenname and getFields would expectedly be null. On Tuesday, August 20, 2013 4:37:30 AM UTC+2, Thad Humphries wrote: I've managed a simple AutoBean with a list. Now I've a more complex

Re: Problem decoding complex AutoBean

2013-08-20 Thread Thad Humphries
On Tuesday, August 20, 2013 8:40:47 AM UTC-4, Thomas Broyer wrote: On Tuesday, August 20, 2013 1:47:58 PM UTC+2, Thad Humphries wrote: Thank you, Thomas. That worked. I added the interface public interface MQueryWrapper { MQuery getMquery(); } In BeanFactory, I changed

Problem decoding complex AutoBean

2013-08-19 Thread Thad Humphries
I've managed a simple AutoBean with a list. Now I've a more complex one, and I don't understand what's wrong. My get methods are returning null though the debugger shows the object has data. The JSON looks like this: { mquery: { screenname:Index Card, fields: {

Re: Export CellTable's selected rows into a csv file

2013-08-12 Thread Thad Humphries
. And I'd check the file on the server, not just what my servlet returns. On Sunday, August 11, 2013 10:32:23 PM UTC-4, Winnie T wrote: Hi Thad, thanks for responding. Currently, I tried using OpenCSV, and had successfully create a CSV file when I click the export button, but the CSV file

Re: Export CellTable's selected rows into a csv file

2013-08-12 Thread Thad Humphries
statement use File | Settings | File Templates. } return null; //requires a return which I am not sure why } Thank you!! =) Winnie On Monday, August 12, 2013 7:49:39 PM UTC+8, Thad Humphries wrote: No, I was just saying how I did it. As I recall--it's been several

Re: Export CellTable's selected rows into a csv file

2013-08-08 Thread Thad Humphries
If your server side still has a copy of your list, you can send references to the rows by row number (i thru n) or some sort of row id set in a servlet call. The servlet could build the CSV (Apache Commons has a CSV module) and return it to the browser with the MIME text/csv so the browser

Re: only RPC call completes rest of my code should execute - how should I do it - very urgent please

2013-07-30 Thread Thad Humphries
If I understand you correctly, your app sends instructions to the server to create a CSV which you then wish to retrieve. If the CSV is small, you could always use GWT RPC and return it as a string to your app. However if you want to return it as a file so the browser can, say, open it in a

Re: how to send huge list of data to the server side from client interface in GWT

2013-07-27 Thread Thad Humphries
On Friday, July 26, 2013 5:06:14 AM UTC-4, Jens wrote: In My application I ave a front interface where the users select values and click the download button . So what ever values user is going to select will be passed to the sql query and will hit the oracle database and obtained values

Where does GWT.log() go in Super Dev Mode?

2013-06-19 Thread Thad Humphries
I'm guessing, no where. At least I don't see it in Chrome's JavaScript console or the Eclipse console. Is GWT.log() ignored|optimized out in Super Dev Mode? If GWT.log() is unavailable, I guess I should take a stab at GWT's client side logging. However I prefer the simplicity of GWT.log().

Re: Best practices for inlining build (revision) number into GWT App?

2013-06-11 Thread Thad Humphries
I'm switching from ant to maven, and recently tried http://mojo.codehaus.org/buildnumber-maven-plugin/. I think I will use it on my next project. On Tuesday, June 11, 2013 1:17:42 PM UTC-4, Joseph Lust wrote: For various reasons you need to know the revision of the GWT app code. For example

Re: GWT project with maven

2013-05-27 Thread Thad
You can run webAppCreator for Maven, see what is creates, and tweak it. $ webAppCreator -templates sample,maven,readme -out app251 -junit ~/dev/junit4.10/junit-4.10.jar On Wednesday, May 22, 2013 7:32:35 PM UTC-4, Srinivasa Rao wrote: Hi , I am looking for the GWT project with the maven

Re: What is the reason for Oops! Google Chrome cannot connect to server 127.0.0.1:8888?

2013-05-27 Thread Thad
It just happens that way from time to time, although I've never had do to a full restart. Many recommend moving to Super Dev Modehttps://developers.google.com/web-toolkit/doc/latest/ReleaseNotes#superdevmodefor Chrome. On Sunday, May 26, 2013 7:15:34 PM UTC-4, Mike John wrote: Hey there,

Re: Testing GWT without GwtTestCase

2013-05-21 Thread Thad
On Monday, May 20, 2013 2:14:42 PM UTC-4, Goktug Gokdogan wrote: On Mon, May 20, 2013 at 6:42 AM, Thad thad.hu...@gmail.com javascript:wrote: Can anyone clarify for me this Google testing blog entry? http://googletesting.blogspot.com/2009/08/tott-testing-gwt-without-gwttest.html Model

Testing GWT without GwtTestCase

2013-05-20 Thread Thad
Can anyone clarify for me this Google testing blog entry? http://googletesting.blogspot.com/2009/08/tott-testing-gwt-without-gwttest.html Model, view, presenter I think I'm clear on (ha! yeah, sure), but I'm trying to understand the Server.class. It's described as a completely standard backend

Re: PreloadedImage fails in IExplore

2013-05-13 Thread Thad
This issue might offer more insight into what's happening: https://code.google.com/p/google-web-toolkit/issues/detail?id=6848 (As you can see from the comments, I ran afoul of IE when I first got started with Canvas.) On Sunday, May 12, 2013 10:19:01 AM UTC-4, Joachim Nielandt wrote: Ok,

Re: GWT Designer crashes Eclipse when i switch the editor-tab to Design...

2013-05-08 Thread Thad
Yeah, don't feel like the Lone Ranger. :) I've had this problem on both openSUSE Linux and Windows 7. I've seen others complaining about it also. Fortunately (I guess) I never found GWT Designer very useful for drag-and-drop GUI building. However I do miss it for quick glimpses into how my

Re: Order of instantiation in UI-Binder?

2013-05-07 Thread Thad
You may have to wait for the entire panel to render before making a call on any panel. One technique might be to not have a north. Call your current north center and put your current center in south. IIRC, you can have multiple souths, easts, etc. That might allow everything to layout without

Re: Image widget not attached?

2013-04-30 Thread Thad
I don't think I've tried gwt-Image, but I have used ui:image and an @sprite in CSS. See https://code.google.com/p/google-web-toolkit/source/browse/releases/2.5/samples/mail/src/com/google/gwt/sample/mail/client/AboutDialog.ui.xml and other files in sample/Mail On Tuesday, April 30, 2013

Re: GWT Image editing

2013-04-30 Thread Thad
In an earlier app, I put Image inside an AbsolutePanel then added MouseDownHandler and MouseUpHandler to the image. When I got one and the other at the same point, I drew an icon at that point (actually merging them into one image came later, on the server). You can also try the Canvas object.

Re: How to dynamically fullsize a Canvas to a Dock-center?

2013-04-30 Thread Thad
Have the parent elements been added to the DOM yet? Until they have been, they have not size. Get everything else into the DOM first, then add the Canvas. If it's there already, use a Scheduler to resize it. On Sunday, April 28, 2013 10:13:32 AM UTC-4, membersound wrote: Hi, I have a canvas

Re: showing byteArray as image in DialogBox

2013-04-30 Thread Thad
I believe you can set a GWT Image widget with a Base64 representation, like image.setURL(data:image/gif;base64,R0lGODlhUAAPAK,,,); However I don't see that or Canvas keeping up with a new image every 100ms. On Monday, April 29, 2013 4:55:12 AM UTC-4, fhei...@gmail.com wrote: hi, I would

  1   2   3   4   >