GWT app doesn't work behind reverse proxy

2015-07-09 Thread dhoffer
We have a GWT app using (2.6.1) that is deployed to Tomcat and has been working fine, recently Tomcat's FORM container authentication was added and that too was working well. The problem is now we want to put the app/Tomcat behind an Apache reverse proxy so end users get a nice URL and this

GWT Breadcrumb widget

2015-04-29 Thread dhoffer
I need a Breadcrumb panel/widget are there any examples of this? I'm also using GXT but even GXT doesn't have any Breadcrumb panel/widgets. I need breadcrumb widgets that are arrow shaped on the right of each widget to give visual indication of the logical flow. I just need widgets where I

GWT throws random IllegalArgumentException in DevMode

2014-11-09 Thread dhoffer
All of a sudden I'm getting an IllegalArgumentException debugging a GWT app in DevMode. I'm using 2.6.1. It isn't clear to me what can cause this or how to debug the cause. It seems somewhat random in its occurrence but seems to happen less if breakpoints are used. What might be the cause

Random Dev Mode Startup errors

2014-09-13 Thread dhoffer
I often get the following error starting my application in debug mode (standard Dev Mode not SDM). Why would GWT sometimes have a deferred binding error but not always? The message (did you forget to inherit a required module) makes no sense to me as if I didn't have GXT referenced it seems it

Re: SuperDevMode and Tomcat

2014-08-30 Thread dhoffer
I too am trying to make sense of SDM and trying to get productive using it...but it's not coming easy. I like Joe's suggestion of running to console windows but I haven't had great luck with the *Maven **GWT Plugin *to launch the app so I just use IDEA to launch both servers...that part seems

GWT using SDM throws error at app startup

2014-08-30 Thread dhoffer
I'm getting the following error after SDM compiles my app and trying to load it. What's causing this? Seems the compiler is generating invalid JS? How can I resolve this? I can't debug my app anymore. SEVERE: (TypeError) __gwt$exception: skipped: Cannot read property 'view' of undefined

GWT SDM throws error inspecting results in Chrome debugger

2014-08-22 Thread dhoffer
I finally got SuperDevMode to work and am trying to debug using Chrome but when I step through the code when I get to the lower level it always throws and exception like the following so I haven't been able to inspect any variables yet. What is causing this? SEVERE: (TypeError)

Random IllegalArgumentException at application startup

2014-08-21 Thread dhoffer
I recently upgraded to GWT 2.6.1 and I see errors like below randomly at startup in DevMode. I saw this issue before the upgrade but it seems worse now. It does not happen all the time, it seems to occur when there is a delay in the DevMode starting. E.g. I will see this in the console...

Using GWT for mobile and tablet apps?

2014-07-14 Thread dhoffer
I'm inquiring what's the current status of GWT's support for mobile devices, phones and tablets. I have a use case that has to run on mobile devices and I'm wondering if I can use GWT for this. Is mgwt the way to go here? What are the best options for GWT and mobile and how viable is this?

Random deferred binding error at starup in dev mode

2014-06-08 Thread dhoffer
I get the following error at dev mode startup often. It seems random when it occurs but is a productivity killer...some times it will happen several times in a row...then not happen for a while. Any ideas as to the cause? SEVERE: Deferred binding failed for

Re: Development Mode will not be supported in Firefox 27+

2014-03-28 Thread dhoffer
Could you elaborate on how you have your POM setup? I'm trying to make the switch to SDM but I get errors running run-codeserver. Your setup seems ideal I'd like to know how you have both of those things configured. Not sure it matters but I use IntelliJ instead of Eclipse...DM worked great.

Need to add HTML5 desktop to browser DnD support in GWT application

2014-02-21 Thread dhoffer
I need to have a widget that accepts DnD files from the desktop, how can I do this in a GWT 2.5.1 application? See the link below for the JS code to do this. Does GWT already have a widget for this? If not how could I create my own? From the link below I understand it all starts with a div in

Re: GWTBridgeImpl throws com.google.gwt.core.ext.UnableToCompleteException exception

2014-01-09 Thread dhoffer
for the target in the maven-compiler-plugin config? I'm not sure about in myapp-gwt-war...maybe the same. I'd really appreciate feedback on how best to configure this. -Dave On Wednesday, January 8, 2014 1:39:41 PM UTC-7, dhoffer wrote: I have a large GWT application using 2.5.1 and all

GWTBridgeImpl throws com.google.gwt.core.ext.UnableToCompleteException exception

2014-01-08 Thread dhoffer
I have a large GWT application using 2.5.1 and all of a sudden I am getting the following error when run/debug in GWT hosted mode: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) This happens in the GWTBridgeImpl#create(Class? requestedClass) method. After the

Re: GWT support Comet/Server-side-push ?

2013-12-17 Thread dhoffer
The two that I am aware of are Atmosphere https://github.com/Atmosphere/atmosphere and CometD both high quality libraries with somewhat differing feature sets, I think one downside to CometD is there is no provided GWT client whereas Atmosphere does have a GWT client. -Dave On Friday,

Re: Automatically generated GWT Wrapper

2013-12-17 Thread dhoffer
That would be great of Google could open source what Ray/Google has...it would be very useful. -Dave On Tuesday, June 4, 2013 7:25:05 PM UTC-6, Martin Kimmel wrote: Hello, I just thought that it would be pretty cool to have a tool which analyses JavaScript Libraries and automatically

GWT/JavaScript code generation tool

2013-12-11 Thread dhoffer
Are there any tools out there that can auto generate the GWT wrapper code for native JavaScript code? I'm looking for a way to automate using JavaScript in GWT applications, sometimes it's best to start with an existing JavaScript client library and wrap for use in GWT. I have in mind the

Re: GWT and Web Security

2013-07-26 Thread dhoffer
Thanks Thomas that's good information. I too have found that best practices for securing GWT applications difficult to come by. There are just bits and pieces on the web...and if you get the Spring Security book, for example as I did, they don't even mention GWT. What's needed are some

How to set RichTextArea background color in IE10?

2013-06-14 Thread dhoffer
I'm using the following to set the RichTextArea background color which works for Firefox and most IE versions but with IE10 it just ignores the method. After calling the method the developer tools indicate the style was not added/set. Why? How to do this for IE10?

GWT HTML5 DnD

2013-06-07 Thread dhoffer
I figured out a way for users to DnD into GWT's RichTextArea from either inside the GWT application and for us even more importantly from another website/page. We had to use JSNI as the standard GWT drop listeners are never fired, I assume it's because it uses an iFrame. I thought I'd post

Re: RichTextArea how to implement native Drag Drop?

2013-05-30 Thread dhoffer
, dhoffer wrote: What is the best way to implement native DnD for RichTextArea? I need to support users dropping items into the RichTextArea that originated from outside the browser (from another web app). Currently what I have partially works (in production seems to work about 50% of the time

RichTextArea how to implement native Drag Drop?

2013-05-29 Thread dhoffer
What is the best way to implement native DnD for RichTextArea? I need to support users dropping items into the RichTextArea that originated from outside the browser (from another web app). Currently what I have partially works (in production seems to work about 50% of the time) in hosted mode

Re: I/O 2013 - GWT Sessions?

2013-05-20 Thread dhoffer
Since some want the GWT conference on the west coast and some on the east, I say let's split the difference and meet in the middle. I vote for Denver. -Dave On Wednesday, March 6, 2013 3:56:52 PM UTC-7, James wrote: I know it's earlybut is anyone familiar with the planned Google Web

RichTextArea HTML how to dynamically style anchor elements?

2013-05-16 Thread dhoffer
How can I dynamically change the color for links anywhere in RichTextArea HTML elements? That is, I need to be able to set the link color dynamically as the user is allowed to specify the UI colors. I can change the general foreground and background colors no problem but I'm having trouble

gwt-maven-plugin JVM failures

2013-03-14 Thread dhoffer
All of a sudden, we are getting the following build errors with our GWT 2.5.0 builds. Any idea what would cause this? This was working fine. Our extraJvmArgs are. extraJvmArgs-Xms1024m -Xmx1024m -XX:MaxPermSize=256m

Re: gwt-maven-plugin JVM failures

2013-03-14 Thread dhoffer
And if I remove the -XX:MaxPermSize=256m option...then it fails on the -Xmx1024m parameter. -Dave On Thursday, March 14, 2013 10:28:54 AM UTC-6, dhoffer wrote: All of a sudden, we are getting the following build errors with our GWT 2.5.0 builds. Any idea what would cause

How to detect when user DnD something into the app and the page unloads?

2013-02-28 Thread dhoffer
I'd like to disable DnD in my GWT app unless I specifically allow it (which I do in places). Is there a way to detect and optionally prevent drops globally (prevent page unloads in this case)? My use case is that we do support DnD in certain ways but if they drop wrong it causes the entire

Problems debugging client code using IntelliJ

2013-02-16 Thread dhoffer
I have been using IntelliJ for GWT development for a long time but every once in a while I can't debug the client code when run in hosted mode using IntelliJ, all the breakpoints are ignored. (Server side breakpoints work fine.) I'm using GWT 2.4/2.5 and IntelliJ 11.1.5, JDK (x64) 1.7 build 13.

GWT 2.5 compiler is running out of memory

2013-01-31 Thread dhoffer
I've got a rather large GWT build using Maven and the gwt-maven-plugin and I'm getting out of memory errors building now. I'm not sure what's changed, it used to take considerable memory but now its taking so much I can't build. I'm running Windows 7 64 bit with 8GB RAM and using Java 7 64

How to modify Enter key behavior in RichTextArea?

2013-01-04 Thread dhoffer
Pressing the Enter key in RichTextArea creates a new line (and adds 'brbr' to the html content) but if the Ctrl key is down then it doesn't. That makes sense for normal text editing but I want to basically reverse that. Where is this behavior coded? Is that controlled in GWT code or is that

Errors passing javascript variables to GWT

2012-12-14 Thread dhoffer
I'm following the example given here https://developers.google.com/web-toolkit/articles/dynamic_host_page of passing a global info javascript variable back to the GWT app when it loads. E.g. // In GwtHostingServlet's doGet() method... writer.append(htmlhead); writer.append(script

GWT Google OpenID login

2012-12-09 Thread dhoffer
I'd like to add OpenID login to my GWT application, I don't think I need OAuth support as I just need to authenticate the user. I'm looking for any examples/suggestions on the best way to do this for a GWT app. Also I just need to authenticate with Google, not any other provider, not sure how

GWT Plugin for Firefox 13

2012-12-05 Thread dhoffer
Where can I find downloadable plugins to install on older browsers? The links I see in some postings on this subject don't work. Note I don't have the option of downloading the plugin from the browser as I'm testing/debugging in a closed environment. (I could use any browser, whatever is

Re: GWT and Comet

2012-11-16 Thread dhoffer
I don't think your getting dozens of dependencies from atmosphere. If you have a maven build...atmosphere just has two GWT dependencies you need to specify, with all transitive dependencies its about 7-8 jars but you could exclude container specific jars if you wanted. Also you don't need to

Re: Security considerations for GWT applications

2012-10-30 Thread dhoffer
Hi Joseph, Did you post that GWT webapp running on Spring Security somewhere? I have the Spring Security books its major shortcoming is that it doesn't cover GWT at all. It would be great to have some good comprehensive examples of GWT using Spring Security. Thanks, -Dave On Saturday,

Re: How to define AutoBeanFactory?

2012-10-19 Thread dhoffer
, 2012 2:46:32 PM UTC-6, dhoffer wrote: I'm trying to figure out how to use AutoBeanFactory to decode a JSONString, e.g. AutoBeanIPayload autoBean = AutoBeanCodex.decode(myAutoBeanFactory, IPayload.class, jsonValue.stringValue()); IPayload payload = autoBean.as(); What I'm not clear

Re: How to define AutoBeanFactory?

2012-10-19 Thread dhoffer
AM UTC-6, Thomas Broyer wrote: On Friday, October 19, 2012 4:20:58 PM UTC+2, dhoffer wrote: Thanks that really helps. Is just defining the top level interface enough, e.g. interface MyAutoBeanFactory extends AutoBeanFactory { AutoBeanIPayload payload(); } Or would I need to include

Re: GWT client side Java object serialization

2012-10-19 Thread dhoffer
library. So although it was advertised for client side GWT apps I don't see how that is possible. Any other suggestions? Know of any good Json Overlay Types examples? Thanks, -Dave On Thursday, October 18, 2012 3:04:00 PM UTC-6, dhoffer wrote: I have some rather complex data objects

How to define AutoBeanFactory?

2012-10-18 Thread dhoffer
I'm trying to figure out how to use AutoBeanFactory to decode a JSONString, e.g. AutoBeanIPayload autoBean = AutoBeanCodex.decode(myAutoBeanFactory, IPayload.class, jsonValue.stringValue()); IPayload payload = autoBean.as(); What I'm not clear on is how to define myAutoBeanFactory? I

GWT client side Java object serialization

2012-10-18 Thread dhoffer
I have some rather complex data objects that currently get marshaled from client to server and server to client (comet communication). Btw, not complex in quantity of data, or data relationships, but data is arrays of lots of different derived interface/class types. The data used to be just

Re: Are you happy with GWT?

2012-10-05 Thread dhoffer
Yes. We chose to use GXT 3.x with GWT because GWT has limited widgets, the combination works well. -Dave On Friday, October 5, 2012 9:53:17 AM UTC-6, Charlie Youakim wrote: I'm deciding on whether to switch my team to GWT. I think the biggest thing for me as the tech lead for the company

Re: Smart GWT / GWT Ext.... which one is better?

2012-09-16 Thread dhoffer
I'd have a look at GXT 3.x from Sencha, I can't compare to the others but I think its the best GWT add-on library available. -Dave On Thursday, September 13, 2012 1:29:00 PM UTC-6, Manuel wrote: Hi everyone, I just started on GWT and reading alot on that guides and tutorials. Actually i

Re: DART vs. GWT

2012-08-28 Thread dhoffer
+1 Very well said. On Monday, August 27, 2012 9:33:36 AM UTC-6, Ryan Shillington wrote: Google is an incubator. They throw a lot of darts at the wall to see what sticks (pun intended). When you have 10 irons in the fire, one or 2 of them are bound to glow hot. There's no reason to

Re: JSNI troubles (TypeError)

2012-08-23 Thread dhoffer
onDragOver(DragOverEvent event) { event.preventDefault(); } }, DragOverEvent.getType()); On Wednesday, August 22, 2012 10:36:11 PM UTC+2, dhoffer wrote: I'm trying to write a little JNSI but am having trouble, I get an exception with this this message (TypeError): Object expected

JSNI troubles (TypeError)

2012-08-22 Thread dhoffer
I'm trying to write a little JNSI but am having trouble, I get an exception with this this message (TypeError): Object expected When I run this code: public static native void init(String id) /*-{ var elem = $doc.getElementById(id); addEvent(elem, 'drop', droppedHandler);

Re: JSNI troubles (TypeError)

2012-08-22 Thread dhoffer
I tried that too and got the same error. I was given the javascript code that started like this (where dropBox was the id of the div) var dropBox = document.getElementById(dropBox); addEvent(dropBox, 'drop', droppedHandler); addEvent(dropBox, 'dragover', allowDrop); And I was asked to add this

How to reset/clear browser's start selection point?

2012-08-17 Thread dhoffer
I'm using the HTML widget wrapped with vertical scrollbars to tail incoming messages and then so the DOM doesn't get too big I remove old messages off the DOM unless they scroll up then I put them back. The only problem now is that if the scroll up and Click someplace then scroll down and

Re: Paging HTML viewer

2012-08-17 Thread dhoffer
Yeah, I understand your point. I think in my case scrolling is the most natural behavior. Your right the scrollbar thumb stops shrinking...although not ideal so they don't get a visual feedback of how large the real message queue is...I think I can live with that. It's a lot better than the

Re: Paging HTML viewer

2012-08-15 Thread dhoffer
Thanks much I'll have a look at that example in more detail to see if I can make that work for what I need to do. My case is sort of the reverse of that...in that by default the scroll is at the bottom...new messages go to the bottom of the list...so it's like a 'tail' viewer always watching the

Paging HTML viewer

2012-08-14 Thread dhoffer
I'm using the HTML widget to render some dynamic conversation logs. The problem is these logs can grow over time and add lots of DOM Nodes. I'm wondering if someone has made some sort of a paging HTML viewer? Currently I wrap the HTML widget in a GXT VerticalLayoutContainer with vertical

Re: Is there any chart library for GWT?

2012-08-02 Thread dhoffer
You might checkout the GXT project/library, it has extensive charting functionality. -Dave On Monday, January 7, 2008 2:44:03 PM UTC-7, Sarah kho wrote: Hi how we can resolve charting requirement when we use GWT, is there any sample code for it? Thanks -- You received this message

GWT SimpleRemoteLogHandler

2012-07-30 Thread dhoffer
I'm assuming that SimpleRemoteLogHandler will send logging to the server based on the client's log configuration. Is there a way to make this smarter...so that it uses the server's log configuration to know what to log and send? The most important aspect of this is to allow log level changes

Re: XsrfTokenServiceServlet throws RpcTokenException: Invalid RPC token

2012-07-26 Thread dhoffer
Yeah...I like your solution. Any chance you could post samples of those fixes (or email them to me)? I haven't done that before... -Dave On Wednesday, July 25, 2012 12:22:38 PM UTC-6, jhulford wrote: If you are serving your nocache files with your app server you could make a simple http

Re: XsrfTokenServiceServlet throws RpcTokenException: Invalid RPC token

2012-07-25 Thread dhoffer
Thanks Alex Jens, I have two separate applications where I'd like to use this approach to protect against XSRF attacks. In one of them I'm seeing this problem with GWT in hosted mode so there is no login process at all. Eventually it will be put inside of an enterprise ear and will have a

XsrfTokenServiceServlet throws RpcTokenException: Invalid RPC token

2012-07-24 Thread dhoffer
I've been switching my RPC calls to use XsrfTokenServiceServlet per this link https://developers.google.com/web-toolkit/articles/security_for_gwt_applications#cross-site It's working quite well except that I occasionally get this error on the first RPC method call. Exception while

GWT Maven build best practices

2012-07-17 Thread dhoffer
I'm assuming that classes in GWT's client folder have no reason to be compiled into classes and go into the war's WEB-INF/classes folder as GWT already converted that to JavaScript but what's the best way to prevent this? I'm using the gwt-maven-plugin to compile the GWT code in my war maven

Re: GWT Spring Security

2012-06-22 Thread dhoffer
, dhoffer dhoff...@gmail.com wrote: Could you also post your autowired beans setSecuredDecisionManager setSecurityMetadataSource? Also since I just have plain GWT app (no JSP) can I assume that I don't need the handleRequest() method?  I assume the security work is done

Re: GWT Spring Security

2012-06-17 Thread dhoffer
. Here the RPC Base Servlet class:  http://pastebin.com/Z6mj4pZi On Wednesday, June 13, 2012 2:47:47 AM UTC+2, dhoffer wrote: I'd like to get feedback on the best way to secure GWT apps with Spring Security.  I read several existing blogs about this online but they are all (that I

Re: GWT Spring Security

2012-06-17 Thread dhoffer
Hi Joseph, Thanks so much for your help. I'm having trouble getting this to work. In my case the methods on PreAuthenticationFilter CustomUserDetailsService are never called. Here is my code/config: applicationContext.xml ?xml version=1.0 encoding=UTF-8? beans:beans

Re: GWT Spring Security

2012-06-14 Thread dhoffer
Joseph, How do you handle Spring's 'remember me', session management and auto login/logout? I'm curious how you setup your use of Spring. Could you post your configuration? I assume you don't use Spring's auto- config, etc? Thanks, -Dave On Jun 13, 3:56 pm, Joseph Lust lifeofl...@gmail.com

GWT Spring Security

2012-06-12 Thread dhoffer
I'd like to get feedback on the best way to secure GWT apps with Spring Security. I read several existing blogs about this online but they are all (that I have found) quite old at this point. Specifically what's the best way with GWT 2.4 and Spring Security 3.1? Or is there a better way other

How to improve format of CompositeCell

2012-05-10 Thread dhoffer
I have a CompositeCell that contains 3 cells that I set in a cell based tree (GXT). The first is an ImageResourceCell, the second is SafeHtmlCell and the third is ImageCell which is optional. The problem is the combined layout is poor. I want then to be all in a single line centered vertically.

Re: GWT Serialization error with HTML String content

2012-05-03 Thread dhoffer
Joseph, In this case I'm just trying to send some HTML to the server so it can be saved as a log file for the user, but the issue here really has nothing to do with HTML, it is due to new line characters in the string...could be any string. I found and fixed the problem. It was due to some

GWT Serialization error with HTML String content

2012-04-30 Thread dhoffer
Using GWT 2.4. I'm trying to track down the root cause of this...not sure if I'm doing something wrong or this is a bug someplace. 30 Apr 2012 13:54:48,953 ERROR AtmosphereHandler []: Failed to deserialize message com.google.gwt.user.client.rpc.SerializationException: Too few tokens in RPC

How to unit test GWT serialization?

2012-04-30 Thread dhoffer
I'd like to write a unit test to test GWT serialization, any pointers on how to setup a unit test that would allow me to pass a variety of data structures from the client to the server and compare results? Is this even possible? -- You received this message because you are subscribed to the

Strange GWT runtime error: (TypeError): this.abort is not a function

2012-04-16 Thread dhoffer
Using GWT 2.4. Once in a while at runtime I get the following error in my app's global exception handler: (TypeError): this.abort is not a function This comes from the message variable below. public void onUncaughtException(Throwable t) { t.getClass().getName();

Re: GWT Performance : Good or Bad ?

2012-04-09 Thread dhoffer
...@gmail.com wrote: I do this quickly :http://gxt3vsgwt.appspot.com/ thanks to code source of previous demo, by replacing GXT 2.2.5 with Ext GWT 3.0 Release Candidate (http://dev.sencha.com/deploy/gxt-3.0.0- rc.zip). Performance are better ! On 27 mar, 16:12, dhoffer dhoff...@gmail.com wrote

Re: How to use HorizontalPanel#setVerticalAlignment() ?

2012-03-27 Thread dhoffer
UTC+2 schrieb dhoffer: GWT 2.4.  Why are VerticalAlignmentConstant fields package private in HasVerticalAlignment and constructor is private?  This makes it impossible to use in other packages such as HorizontalPanel#setVerticalAlignment() or am I missing something? -- You

Re: GWT Performance : Good or Bad ?

2012-03-27 Thread dhoffer
Regarding GXT I noticed that comparison website is using GXT 2.2.5 yet is comparing with new GWT 2.4, if making GWT 2.4 compliant app one would probably use the new GXT 3.0 which is in beta right now (almost RC)...I wonder how that compairs to GWT 2.4. I hope not worse. -Dave On Mar 27, 6:28 

Re: How to format custom TreeItems with images?

2012-03-26 Thread dhoffer
for you. On Mar 22, 2:40 pm, dhoffer dhoff...@gmail.com wrote: I have a GWT Tree that contains custom TreeItems that consist of a leading image (ImageResource), then some text, and followed with another optional image.  The later image is a URL not an ImageResource because the contents

How to use HorizontalPanel#setVerticalAlignment() ?

2012-03-26 Thread dhoffer
GWT 2.4. Why are VerticalAlignmentConstant fields package private in HasVerticalAlignment and constructor is private? This makes it impossible to use in other packages such as HorizontalPanel#setVerticalAlignment() or am I missing something? -- You received this message because you are

Re: HTML-safety best practices

2012-03-23 Thread dhoffer
Okay that makes sense, thanks for the help! -Dave On Mar 21, 9:48 am, Thomas Broyer t.bro...@gmail.com wrote: On Wednesday, March 21, 2012 4:15:10 PM UTC+1, dhoffer wrote: I have a few questions about this. If I change to: interface Template extends SafeHtmlTemplates

How to format custom TreeItems with images?

2012-03-22 Thread dhoffer
I have a GWT Tree that contains custom TreeItems that consist of a leading image (ImageResource), then some text, and followed with another optional image. The later image is a URL not an ImageResource because the contents are dynamic at runtime. Currently I'm building some custom SafeHtml just

Re: HTML-safety best practices

2012-03-21 Thread dhoffer
20:22:59 UTC+1 schrieb dhoffer: I get the following error: [INFO] Generating method body for img() [INFO] [WARN] Template with variable in URL attribute context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually or use SafeUri

Re: How to host GWT app on remote server

2012-03-04 Thread dhoffer
the advantage of using a similar API to GWT-RPC and provide server-side foundations. On Saturday, March 3, 2012 5:32:43 PM UTC+1, dhoffer wrote: I read athttp://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html a discussion about this. I like the second option of dynamically loading

How to host GWT app on remote server

2012-03-03 Thread dhoffer
I have a case where I'd like to use GWT to create a small part of an existing HTML page/app, however that server doesn't have a J2EE server to host the GWT app. How can I host the GWT app on a different server? I.e. I have full control over changing the HTML page to do whatever..how can I modify

GWT compiler bug?

2012-02-18 Thread dhoffer
I've stumbled across what seems like a compiler bug to me. Accidentally I had one unused import statement (and it was an interface) in one GWT client facing interface file. The unused import was a type NOT in the GWT client facing code. The compiler generated no errors or warnings even in

Re: GWT and Atmosphere .. is this the right solution for my app?

2012-01-18 Thread dhoffer
I think you could use a Bayeux solution here, where messages are sent/ delivered to clients that have subscribed to channel(s). I think both atmosphere and cometd support this, in the later case that is all they support. On Jan 17, 1:54 pm, Captain Haddock david.grigglest...@gmail.com wrote:

Re: Best way to push data to a page widget

2012-01-06 Thread dhoffer
Sounds like a server-push/Comet situation, there are many comet frameworks including CometD Atmosphere, the later having a GWT client...not sure what GWT has for Comet internally. -Dave On Jan 6, 7:07 am, randal cobb rco...@gmail.com wrote: Hello all, I'm still new to GWT and I don't know

GWT DnD widget?

2011-12-16 Thread dhoffer
Is it possible to DnD from the desktop into a GWT application similar to how users can attach attachments in GMail? Or do I have to use a manual file upload approach? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

DnD between Flex and GWT application

2011-12-13 Thread dhoffer
I'd like to develop a new GWT/HTML application but we have a requirement to be able to DnD from an existing Flex app into the new GWT/HTML one. I'd be interested in all/any possible ways of doing this...no matter how convoluted it may have to me. -- You received this message because you are

Can't display wide HTML in Dialog

2011-08-26 Thread dhoffer
I'm starting with the sample GWT 2.3.0 app that just shows a dialog after making an RPC call, I've added more wide content to the VerticalPanel but it gets truncated, i.e. the right side of the dialog is missing...so is the Close button. Why can't I show wide content as HTML here? -- You

GWT best practices and GUI libraries

2010-12-09 Thread dhoffer
I have some questions about the new 2.1 release, how this compares to prior releases, and other GUI libraries. First a little background... I've used prior versions of GWT in a couple of applications, versions 1.5 and 1.7 I believe. In both cases what we found most lacking in GWT was an

Need DialogBox with close icon in caption bar

2010-03-06 Thread dhoffer
Could someone send me a code example of how to add a close icon/button to the GWT dialog box? Or if there is a open source library that does this that would be fine too. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Need DialogBox with close icon in caption bar

2010-03-06 Thread dhoffer
, dhoffer dhoff...@gmail.com wrote: Could someone send me a code example of how to add a close icon/button to the GWT dialog box?  Or if there is a open source library that does this that would be fine too. Thanks. -- You received this message because you are subscribed to the Google Groups

Re: How to set the initial state of a radiobutton?

2010-02-19 Thread dhoffer
, dhoffer dhoff...@gmail.com wrote: Also doesn't work with 2.0.2.  Created defect issuehttp://code.google.com/p/google-web-toolkit/issues/detail?id=4647 -Dave On Feb 18, 11:18 am, dhoffer dhoff...@gmail.com wrote: If I add a coupleradiobuttons to the main panel it works fine

Re: How to set the initial state of a radiobutton?

2010-02-19 Thread dhoffer
);   } This worked as expected. The radio button was set.  Is this an accurate representation of your problem? - Jim On Feb 19, 10:01 am, dhoffer dhoff...@gmail.com wrote: Jim, So how do you know when theradiobuttonis attached to the document? -Dave On Feb 19, 3:19 am, CodeMonkey

Re: How to set the initial state of a radiobutton?

2010-02-19 Thread dhoffer
);   } This worked as expected. The radio button was set.  Is this an accurate representation of your problem? - Jim On Feb 19, 10:01 am, dhoffer dhoff...@gmail.com wrote: Jim, So how do you know when theradiobuttonis attached to the document? -Dave On Feb 19, 3:19 am, CodeMonkey

Re: How to set the initial state of a radiobutton?

2010-02-18 Thread dhoffer
); On 18 feb, 04:42, dhoffer dhoff...@gmail.com wrote: gwt 2.0.  I've tried calling setValue(true, true) on radio buttons but when the app is run, neither radio button is selected, what is the trick to code setting the initial value of radio buttons? -Dave -- You received this message

Re: How to set the initial state of a radiobutton?

2010-02-18 Thread dhoffer
the setting of the buttons is based on a reply from the server, which is an asynchronous call! On 18 February 2010 14:28, Bonor bono...@gmail.com wrote: It should! May be something else deselects it? I use many radio's and I just use: radio[i].setValue(true); On 18 feb, 04:42, dhoffer

Re: How to set the initial state of a radiobutton?

2010-02-18 Thread dhoffer
, so if you try to create the dialogbox at the beginning of a function and then hide it later in the same function, later when you call the same function, it will create a new (clean) version of the same dialogbox On 18 February 2010 15:17, dhoffer dhoff...@gmail.com wrote: John, So how

Re: How to set the initial state of a radiobutton?

2010-02-18 Thread dhoffer
If I add a couple radio buttons to the main panel it works fine. In my app the radio buttons are in a FlexTable. I just add them as widgets to the table. Is this a known problem? Do I have to do something different when in a table? -Dave On Feb 18, 9:23 am, dhoffer dhoff...@gmail.com wrote

Re: How to set the initial state of a radiobutton?

2010-02-18 Thread dhoffer
Also doesn't work with 2.0.2. Created defect issue http://code.google.com/p/google-web-toolkit/issues/detail?id=4647 -Dave On Feb 18, 11:18 am, dhoffer dhoff...@gmail.com wrote: If I add a couple radio buttons to the main panel it works fine. In my app the radio buttons are in a FlexTable

Re: RadioButton does not get selected when setValue is called events not fired in IE

2010-02-17 Thread dhoffer
) was called. 2. The RadioButton's addValueChangeHandler() listener does not always get called on IE. What is the trick to get the INITIAL view correct? Btw, I'm using GWT 2.0. Thanks! On Feb 16, 9:23 pm, dhoffer dhoff...@gmail.com wrote: I have two RadioButtons on a panel, each have

How to set the initial state of a radiobutton?

2010-02-17 Thread dhoffer
gwt 2.0. I've tried calling setValue(true, true) on radio buttons but when the app is run, neither radio button is selected, what is the trick to code setting the initial value of radio buttons? -Dave -- You received this message because you are subscribed to the Google Groups Google Web

Re: GWT 2.0 required Tomcat version?

2010-02-10 Thread dhoffer
Let me clarify, I'll be using GWT RPC feature for server side communicaiton. On Feb 10, 12:44 pm, dhoffer dhoff...@gmail.com wrote: What's the oldest version of Tomcat that will run GWT 2.0? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

GWT 2.0 servlet version required?

2010-02-05 Thread dhoffer
What version of the servlet spec does GWT require? Actually I want to know how old of a Tomcat version I can use but the servlet version is probably what GWT cares about. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Newbee CSS questions

2010-02-05 Thread dhoffer
How can I make some simple changes to the CSS GWT 2.0 uses for the standard theme? How can I change the font family/name used for everything? (Is there a global place for this?) How can I change the color of the font used for everything? (Is there a global place for this?) How can I change the

Re: Newbee CSS questions

2010-02-05 Thread dhoffer
theme and customized it. or ..overlap the css classes that you want to customize in a css and include it (on each Widget there is a description of what css classes it uses) 2010/2/5 dhoffer dhoff...@gmail.com How can I make some simple changes to the CSS GWT 2.0 uses for the standard theme

How to customize DecimalFormat?

2010-01-31 Thread dhoffer
I'm using NumberFormat.getDecimalFormat() which does almost what I want. All I want to do is remove the leading US from the formatting, I want to keep everything else including the $ sign. How can I do this? It isn't clear to me how these casn be customized, can someone point me to a sample or

  1   2   >