Re: Download file from server to client - w Servlet etc PLEASE?

2008-09-12 Thread Joe Cole
Make sure you use the gwt jsni equivalent to; var win = Window.open(url, name, options); if ( win ) return true; return false; Otherwise you can't detect when popups are blocked. It will save you tons of time in user support if you tell them to enable popups if the window wasn't opened. It

Re: Best solution for client-side graphing in GWT?

2008-09-15 Thread Joe Cole
Agreed. It's very well priced as well. The main drawback of amcharts is that there is no ability to generate server-side charts (it's all flash, and restricted to client side for the time being). You'll have to generate charts for pdf's if you need them using another solution like jfreechart.

Re: FlexTable odd behavior

2008-09-29 Thread Joe Cole
We have experienced issues with flextable when setting up the table in DeferredCommands e.g.: ListCommand commands = new ArrayListCommand(){{ add(buildStructure()); add(buildCellWidgets()); add(setInitialValues()); add(setBackgroundColors()); }}; Incrementally.execute(commands); I am

Re: IE 6 doesn't finish load page

2008-10-05 Thread Joe Cole
We ran into similar issues for a while, frustrating I know. 1. Make sure you use ethereal (forget its new name) to see what is being served by your webserver. Gzip compression can break ie, so you have to server differently to each browser. Ethereal should sort this out. 2. Make sure your

Re: PopupPanel used as tooltip with animation causes incorrect position

2008-10-14 Thread Joe Cole
I am just bumping this as I think this is a bug in gwt and want to make sure that the correct people are aware. Should I file a bug? On Sep 11, 3:25 am, Joe Cole [EMAIL PROTECTED] wrote: Platform: Using GWT1.5 (release) and linux When I have a single instance of a popup panel, and it has it's

Re: Selenium IDE problem

2008-10-20 Thread Joe Cole
We haven't used trees, but for everything else we had to use a global id generator: Widget x = ...; Ids.add(x); // set's the id of x to some unique id Joe On Oct 21, 2:25 am, Markuz05 [EMAIL PROTECTED] wrote: I'm trying to use Selenium IDE  to test my web application. Is it possible that

Re: session creation

2008-10-24 Thread Joe Cole
I just had the same problem on a new play site we are doing. Check your cookie path using your browser, we were deployed at /x, but rewriting so that the application came up at / (e.g. google.com compared to google.com/x). The cookies were getting reset each time because it was using the wrong

Re: Pass an applicationSessionId in each rpc request

2008-11-28 Thread Joe Cole
You could just change the request urls: target.setServiceEntryPoint(GWT.getModuleBaseURL() + / + service +;sessionid=+sessionId); I haven't tried it, but assume it would work. You would have to pull out the appropriate information on the server side. Joe On Nov 28, 5:35 am, seb2nim [EMAIL

1.6 Users

2008-12-04 Thread Joe Cole
We are itching to use 1.6, especially the new async loading features and oophm. Is anyone using it in production? Are there any good tags to check out that are relatively stable? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: 1.6 Users

2008-12-05 Thread Joe Cole
Hi Thomas, We are using 1.5.3 as well. I have a read a few blog posts that oophm is ready and usable at the moment - is that correct? Joe On Dec 5, 9:49 pm, Thomas Broyer [EMAIL PROTECTED] wrote: On 5 déc, 02:53, Joe Cole [EMAIL PROTECTED] wrote: We are itching to use 1.6, especially

Re: Charting capabilities under GWT

2008-12-05 Thread Joe Cole
Hi Miguel, We have successfully integrated amcharts.com into our application. It was very easy, I even think there are some examples posted in a similar thread a while ago. We tried a couple of other methods (jfreechart - image), xmlswf, openflash, gwtchart but found amcharts the best

Re: 1.6 Users

2008-12-05 Thread Joe Cole
Where can I get more info on 1.6 features? There are a couple of good gwt sources: The gwt-contributors list ongwt.com gwtsite.com gwtnow.com del.icio.us/tag/gwt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: jsp + javascript code not working. why?

2009-01-02 Thread Joe Cole
internal tomcat not working with a valid jsp code which is working on normal tomcat instances? I'd be appreciated if a GWT tomcat implementor, watching this thread, explains... Regards, Hasan... On Fri, Jan 2, 2009 at 6:47 AM, Joe Cole profilercorporat...@gmail.comwrote: See my post

Re: Hosted Mode Configuration Question

2009-01-06 Thread Joe Cole
Just remember that each time you upgrade gwt, or checkout your project from source control gwt will overwrite your web.xml. We get around this by logging a statement on initialisation that shows in the gwt console - if that doesn't appear we know somethings gone wrong and check the web.xml. On

Re: Best way to add App configuration properties

2009-01-06 Thread Joe Cole
deployment? Scott On Dec 12 2008, 4:26 pm, Joe Cole profilercorporat...@gmail.com wrote: Oh, and in your web.xml's that you ship to your production environment you would have a different listener setup. listener       listener

Re: How to get the width of a cell in a HTML table/Grid

2009-01-08 Thread Joe Cole
See: UIObject.getOffsetWidth: return DOM.getElementPropertyInt(getElement(), offsetWidth); Just get your td element (do it yourself from the table or yourwidget.getParent().getElement()) and use: return DOM.getElementPropertyInt(element, offsetWidth); On Jan 9, 12:59 pm, sssmack

Re: RPC Error while running on Glassfish

2009-01-11 Thread Joe Cole
Looks like you have a permissions issue: Caused by: java.security.AccessControlException: access denied (java.lang.reflect.ReflectPermission suppressAccessChecks) I would check the glassfish docs on how to allow reflection for your servlets. Security must be turned off in the dev version. On

Re: Check whether browser is supported

2009-02-03 Thread Joe Cole
See this thread. We use this and it works well. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/41ce4b44e0d4e262/abd93affd092bb47?lnk=gstq=profilercorporation#abd93affd092bb47 On Feb 3, 11:32 pm, Danny Schimke schimk...@googlemail.com wrote: Is there an easy way to check

Re: Div in GWT?

2009-03-03 Thread Joe Cole
We ended up creating our own classes for more html-like widgets. Div (see the HTML widget implementation to get started, it's actually a div), Span, OL/UL, Heading etc and combinations as needed. I do believe it is the best approach for styling. If you understand html and css you can work around

Re: DeckPanel causes Widget to disappear

2009-03-03 Thread Joe Cole
I think the problem may be that you are not using the deckpanel add methods: DeckPanel.add(String text, Widget widget, boolean asHTML) Can you try that? On Mar 4, 1:44 pm, Robert J. Carr rjc...@gmail.com wrote: Hi Ian ... thanks for the response. Let me put it in code then: Widget w = new

Re: DeckPanel causes Widget to disappear

2009-03-04 Thread Joe Cole
at 11:20 PM, Joe Cole profilercorporat...@gmail.com wrote: I think the problem may be that you are not using the deckpanel add methods: DeckPanel.add(String text, Widget widget, boolean asHTML) Can you try that? On Mar 4, 1:44 pm, Robert J. Carr rjc...@gmail.com wrote: Hi Ian

Re: GWT Portlets framework published

2009-04-06 Thread Joe Cole
Looks great. What are the implications for the use of the LGPL? From my understanding LGPL + gwt = distribute source? Joe On Apr 7, 1:37 am, david.tin...@gmail.com david.tin...@gmail.com wrote: GWT Portlets is a free open source web framework for building modular GWT (Google Web Toolkit)

Re: GWT Portlets framework published

2009-04-07 Thread Joe Cole
...@gmail.com wrote: On Mon, Apr 6, 2009 at 10:21 PM, Joe Cole profilercorporat...@gmail.comwrote: Looks great. What are the implications for the use of the LGPL? From my understanding LGPL + gwt = distribute source? No - you only have to distribute the changes you make to the library (can't

Re: GWT Portlets framework published

2009-04-07 Thread Joe Cole
on this thread who is a lawyer who can answer this question? What do we need to do to fulfill our intent as described above? Cheers David On Apr 7, 12:48 pm, Joe Cole profilercorporat...@gmail.com wrote: Your logic applies to normal java linking (see fsf's lgpl and java post) but with gwt

Re: SuggestBox with Facebook-style Autocomplete?

2009-05-29 Thread Joe Cole
Hi Matt, We have one a similar thing for one of our applications, so it's definitely possible. The left hand section of the suggest box provides your highlighted search terms, and the right hand side provides detailed preview information about the selected item, and is heavily customised through

Re: history does not work propertly

2009-06-15 Thread Joe Cole
Your doctype has to be set correctly for history to work in IE. What is your doctype set to? It should be: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http:// www.w3.org/TR/html4/loose.dtd On Jun 15, 2:02 am, Gabriel Gutierrez gutierrez...@gmail.com wrote: Does anyone knows why

Re: opacity filter in ie6

2009-07-01 Thread Joe Cole
Firstly, wow that looks amazing! Great work! I've run into this before and this solved it for me: http://joseph.randomnetworks.com/archives/2006/08/16/css-opacity-in-internet-explorer-ie/ Are you planning on selling this as a component? Just wondering as I saw it was gpl. Joe On Jul 1, 6:21 

Re: GWT next release - what/when?

2009-07-13 Thread Joe Cole
Alex, Is there a specific tag that google are using internally for products like wave or are you using 1.6? Joe On Jul 14, 3:10 am, Alex Rudnick a...@google.com wrote: Hey Ainata, We've got a pretty good GWT roadmap over here:http://code.google.com/webtoolkit/makinggwtbetter.html#roadmap

Re: large GWT app fails to load in IE - anyone else seeing this?

2009-07-21 Thread Joe Cole
Hi Dave, We have experienced some issues that may be explained by this. Did you get any further with fixing the issue? Joe On Jun 5, 7:20 pm, DaveS dave.sell...@gmail.com wrote: [re-post with better title - sorry for the dup but this is killing me!] If anyone from theGWTdev team is

Gmail this is taking longer than usual message

2009-07-21 Thread Joe Cole
We have noticed a few cases where we need to clear the browser cache as the user cannot view the application. This is *very* rare, but we would like to remove any confusion for the user and popup a message saying the app hasn't loaded, and how to fix it. Before we go and implement a javascript

Re: GWT Incubator project

2009-07-30 Thread Joe Cole
We have been using the ScrollTable in production for a over a year. Things we have had to implement on our own (not sure if this stuff is covered in the current drops): - sorting using comparators - tablemodel interface (supporting paging) - storing of current sorting indices to original row

Re: GWT App Runs Everywhere but on 1 computer

2009-07-30 Thread Joe Cole
If you can, install ethereal (it has a new name) on the client and monitor your server logs at the same time. That usually helps in issues like this. Joe On Jul 31, 9:09 am, Chris chrish...@gmail.com wrote: I have an interesting problem that I'm not sure how to debug.  Any pointers would be

*.cache.html blocked by firewall - GWT team opinions please?

2009-08-04 Thread Joe Cole
When debugging a customer who couldn't load our site with an http connection (worked fine on ssl as it bypassed the firewall) we came across an issue where if we tried to load the *.cache.html file gwt was trying to load manually the companies firewall had displayed an error message. There was no

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-04 Thread Joe Cole
completely? Joe On Aug 5, 1:33 am, Joe Cole profilercorporat...@gmail.com wrote: When debugging a customer who couldn't load our site with an http connection (worked fine on ssl as it bypassed the firewall) we came across an issue where if we tried to load the *.cache.html file gwt was trying to load

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-12 Thread Joe Cole
? It would be great to tell our users you need to ask your network administrators to remove our site from the banned list. On Aug 5, 11:14 am, Joe Cole profilercorporat...@gmail.com wrote: I have been able to simulate the problem by causing a 404 when the *.cache.html is requested. Stepping through

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-12 Thread Joe Cole
by the nocache.js doesnt contain our script). I think this is something gwt should do out of the box really - because there are no errors thrown. Unfortunately the sites are private so I can't share the links. On Aug 13, 4:42 am, Jeff Chimene jchim...@gmail.com wrote: On 08/12/2009 08:14 AM, Joe Cole wrote

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-12 Thread Joe Cole
by the nocache.js doesnt contain our script). I think this is something gwt should do out of the box really - because there are no errors thrown. Unfortunately the sites are private so I can't share the links. On Aug 13, 4:42 am, Jeff Chimene jchim...@gmail.com wrote: On 08/12/2009 08:14 AM, Joe Cole wrote

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-12 Thread Joe Cole
don't know there's a problem. On Aug 13, 2:28 pm, Jeff Chimene jchim...@gmail.com wrote: On 08/12/2009 07:24 PM, Joe Cole wrote: I know it's a firewall because if we type the *.cache.html url into the browser it comes back with a document with a message from their firewall claiming it's

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-12 Thread Joe Cole
Also - if it wasn't clear before you can simulate this problem by just moving your *.cache.html file. Your application will just sit there with it's loading spinner going, oblivious. On Aug 13, 2:43 pm, Joe Cole profilercorporat...@gmail.com wrote: Yes, we already have gzip enabled

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-13 Thread Joe Cole
...@gmail.com wrote: On 08/12/2009 07:24 PM, Joe Cole wrote: I know it's a firewall because if we type the *.cache.html url into the browser it comes back with a document with a message from their firewall claiming it's been blocked. The file scored very highly on some metrics which

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-13 Thread Joe Cole
be implemented nonetheless. On Aug 4, 3:33 pm, Joe Cole profilercorporat...@gmail.com wrote: When debugging a customer who couldn't load our site with an http connection (worked fine on ssl as it bypassed the firewall) we came across an issue where if we tried to load the *.cache.htmlfile gwt

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-13 Thread Joe Cole
Is it malformed, or missing? If I remove the file (cause a 404 response) gwt doesn't throw an error that I can catch. I used this to reproduce the error for testing purposes. In production, the file is there, and the user has a firewall that blocks it and if it returns an error page, gwt

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-13 Thread Joe Cole
== 4) { Shouldn't we add another check like: if( xhr.status != 200 || xhr.status != 304 ) throwDocumentError(); This is probably a good thing to add in do you think? On Aug 14, 3:30 am, Joe Cole profilercorporat...@gmail.com wrote: Is it malformed, or missing? If I remove the file (cause

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-13 Thread Joe Cole
Yes. I'd give that a shot. I am wondering why you're not going for the watchdog timer. I'd throw such logic at this problem too. Yes, this would be a good solution in general. You are meaning something similar to the way gmail loads, and if it takes longer than usual it tells you? We have

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-17 Thread Joe Cole
, and I can assigning to someone on the team for further consideration. Issue Tracker:http://code.google.com/p/google-web-toolkit/issues/list Cheers, -Sumit Chandel On Aug 14, 3:30 am, Joe Cole profilercorporat...@gmail.com wrote: Is it malformed, or missing? If I remove the file

Re: JUnit testing RPCServlet without client

2009-08-27 Thread Joe Cole
On the server side it's good practice to move all your code from the servlet to another injected implementation: class MyRPCService extends RemoteService implements IMyRPCService { @Inject MyRPCServiceHandler handler; public boolean yourRequest(String yourParams){ // do auth return

Re: GWT for IE7

2009-09-08 Thread Joe Cole
Try taking out all other scripts first and see if that works. If it does, add them back in one by one to see which is the culprit. Another thing which is useful is this: meta name=gwt:onLoadErrorFn content=loaderror/meta meta name=gwt:onPropertyErrorFn content=unsupported/meta meta

Re: Null pointer in generated createStreamWriter method

2009-09-09 Thread Joe Cole
I remember something like this happening once on 1.5. From memory (I couldn't find it in our tracker) it was to do with not implementing RemoteService or something similar to that like not implementing Serializable. This may be completely wrong as it was about 1000 tickets ago :) - but is worth a

Re: Null pointer in generated createStreamWriter method

2009-09-09 Thread Joe Cole
.  But, if I use one line of Java code like this: ChAOServiceManager.getInstance().getNotes(...); ... my app fails with the exception I reported yesterday. Kind of confused by this, but glad my app is working now. Thanks, Jennifer On Sep 9, 8:55 am, Joe Cole profilercorporat...@gmail.com

Re: Is it possible to develop desktop applications using GWT?

2009-09-09 Thread Joe Cole
I would look into titanium/air - both of which can work with gwt. On Sep 10, 6:13 am, Ian Bambury ianbamb...@gmail.com wrote: Hi kolombo1, Yes it is. GWT is very capable of producing desktop apps, either with data held centrally somewhere or alternatively by using Gears, or (best of both

Re: How to get the year of the current date ? Date manipulation ...

2010-03-19 Thread Joe Cole
new Date() :) On Mar 19, 9:04 pm, tim timor.su...@gmail.com wrote: Hi all, I would like to get the year of the current date, but this is not working : int year = Calendar.getInstance().get(Calendar.YEAR); How to use date in gwt ? Thanks in advance for your answer -- You received this

Re: How to get the year of the current date ? Date manipulation ...

2010-03-19 Thread Joe Cole
Apologies... int year = new Date().getYear() On Mar 19, 9:04 pm, tim timor.su...@gmail.com wrote: Hi all, I would like to get the year of the current date, but this is not working : int year = Calendar.getInstance().get(Calendar.YEAR); How to use date in gwt ? Thanks in advance for

Re: Client side error

2010-04-13 Thread Joe Cole
It happened again on IE8. Is that where you had it happen Michael? GWT team - does this error even make sense - the global event array should never be null should it? On Mar 24, 4:01 am, Michael W mwang_2...@yahoo.com wrote: I got similar error. Any solution of it? On Mar 10, 5:01 am, Joe

Re: Get date and time from java-javascript compilation

2010-05-21 Thread Joe Cole
We just have ant increment build numbers and build dates in our *Constants and associated properties files. Joe On May 22, 12:27 am, Matheus Garcia garcia.figueir...@gmail.com wrote: Hi all! I'd like to have an about dialog which would show users the date and time the web application was

Re: GWT RPC with Adobe AIR 2

2010-07-10 Thread Joe Cole
We have a very large app that uses air extensively (both online and offline modes). We had to jump through many hoops to get RPC working. For AIR compiles, we replace the following class with this method: public final class ClientSerializationStreamReader extends

Re: GWT RPC with Adobe AIR 2

2010-07-11 Thread Joe Cole
On Jul 11, 1:39 pm, nino ekambi jazzmatad...@googlemail.com wrote: Why dont just use the RequestBuilder  and send  the response back as JSON or XML ? Because you have to write some of the conversion process manually which is automated with GWT. Unless you know of a project that is a drop-in

Re: Reusing GWT Localization in Server Side Code

2010-08-17 Thread Joe Cole
What we do is use this code pattern: public interface IMessages { public MyMessages get(); // your messages interface } public class Messages { private static IMessages messages; public static MyMessages get() { return messages.get(); } public static void set(IMessages messages) //etc

Re: Reusing GWT Localization in Server Side Code

2010-08-17 Thread Joe Cole
the appropriate method of getting the messages, e.g. GWT.create, a Proxy or ResourceBundle or whatever. Unless I'm missing something? Joe On Aug 18, 1:22 am, KenJi_getpowered mikael.k...@gmail.com wrote: Why can't you just use resource bundle to get messages? On 17 août, 10:49, Joe Cole

Re: Handling too many locales in a large scale real life app

2010-08-29 Thread Joe Cole
What we do is have a test case that ensures that our interface and properties files are completely defined: // call this method for each properties file public void checkMessagesDefinedProperlyInBothInterfaceAndFile(String file) { Properties f2 = new Properties();

Re: Upgade from GWT 1.5.3 to GWT2.0

2009-12-30 Thread Joe Cole
We have just moved to 2.0 and yes you need to move to 1.7/1.6 structure first. There are some redundant things, but I found it's worth getting it going in 1.6 first and then moving directly to 2.0. If you need a hand let me know. On Dec 30, 8:05 pm, Sandeep sandip.pati...@gmail.com wrote: Hi,

Re: Problem managing clickEvent on iPhone

2009-12-30 Thread Joe Cole
We started with open source projects that handle it all for you i.e. jqtouch. It's a good project to get iphone specific ideas that are tested in practice and worked fine when integrating with our project. On Dec 29, 12:01 pm, fvisticot fvisti...@gmail.com wrote: I'm working on an iPhone web

Re: javascript error (invalid Argument)

2010-01-07 Thread Joe Cole
I feel your pain. I narrowed this down in our case to an incorrect style assignment. From memory I was setting: DOM.setStyleAttribute(overflowX, none); Instead of: DOM.setStyleAttribute(overflowX, hidden); Only in IE was it throwing this exception. I would suggest checking your style

Re: GWT 2.0 lockup

2010-01-19 Thread Joe Cole
For weird errors like that you can either use something like gwt-log and trace where you suspect it's happening, or use firebug with debugging on exceptions. On Jan 20, 5:01 am, Cliff Newton cliff.new...@gmail.com wrote: I recently upgraded from GWT 1.5 to 2.0 and since I started running 2.0 my

Re: What causes com.google.gwt.core.client.JavaScriptException, and how to trace it?

2010-01-21 Thread Joe Cole
This can happen in devmode. I found one today - it was an exception in a deferred command while manipulating an xml document. To debug in devmode is relatively easy - simply debug before it breaks and step through. In web mode I have encountered a few of these as well. Here is our approach: 1.

Re: Seamlessly Integrating GWT and Gears

2010-01-21 Thread Joe Cole
We use this with our air project, which uses gwt-in-the-air. It's a great project I recommend checking it out. Basically we have a service manager that you can register online services and offline services. Both use Async options. When we are working offline, we just switch which services we

Re: Client did not send n bytes as expected

2010-01-21 Thread Joe Cole
Take a look at this and the comment thread: http://dobesland.wordpress.com/2008/08/22/gwt-to-lighttpdapache-to-glassfish-502-proxy-or-500-internal-errors-fix/ There are some unresolved issues with gwt and glassfish/apache, which I think is what the cause of this error is. (We see it rarely, but

Re: Filedownload with exception handling in gwt

2010-01-26 Thread Joe Cole
What do you mean exceptionhandling? Our logic goes like this: 1) If IE then show an IE specific download link. Too many users have troubles with popups on IE. 2) For other browsers, use this: public static native boolean open(String url, String name, String features) /*-{

Re: Stick a widget on a just opened new blank page

2010-01-28 Thread Joe Cole
I've never tried to do anything with the window object, so it might not work... but I use this to detect if popups aren't working: public static native boolean open(String url, String name, String features) /*-{ var newWindow = $wnd.open(url, name, features); if(

Re: Feature Request - Improve Visual Look

2010-01-29 Thread Joe Cole
Agree entirely. Unfortunately it seems most gwt sites don't have ui designers. Perhaps the gwt team should run a competition to create an awesome default theme that has to work with the sample apps. I know a few designers who would give it a go. On Jan 30, 9:46 am, Jeff Schnitzer

Re: Alignment of widgets

2010-02-01 Thread Joe Cole
If you are using flextables for forms you will want to set the width of the first column widgets: flextable.getCellFormatter().setWidth(0, 200px); On Feb 2, 7:26 pm, Name256 abel.bi...@gmail.com wrote: Hello to you all, it is my first time trying out GWT and I am using version 1.7. I have

Re: How to resubmit RPC after session timeout/login

2010-02-05 Thread Joe Cole
This is one area where gwt could improve. We ended up patching ProxyCreator (look up the class) to automatically retry any requests with strange error codes (0, 12090, 400), and now that I think about it, it would be nice to do this for session timeouts as well. It would be great if gwt could

Re: Error loading my app

2010-02-09 Thread Joe Cole
I haven't seen that in particular, but what I usually do is look at the error codes and google them: http://www.google.com/search?sourceid=chromeie=UTF-8q=nsIDOMHTMLSelectElement.selectedIndex It's obviously to do with a select's selected index, probably being set to an invalid index. On Feb 9,

Re: Read XML file on server using ServletContext.getResource() never works for me

2010-02-09 Thread Joe Cole
From memory we had heaps of trouble using getResource, and ended up using getResourceAsStream. Give that a go? InputStream stream = configuration.getServletContext().getResourceAsStream(location); On Feb 10, 6:09 pm, Lucas86 lucaslo...@gmail.com wrote: I've been trying to read an XML in my RPC

Re: Blog/ Email TextArea like widget

2010-02-15 Thread Joe Cole
We use antisami for this, which is awesome: http://code.google.com/p/owaspantisamy/ On Feb 16, 2:23 am, Chris Lercher cl_for_mail...@gmx.net wrote: I think the RichTextArea is really a great widget! As always, be very careful when you use the result HTML. Parse the result on the server side,

Re: Development Mode not reloading servlets?

2010-02-17 Thread Joe Cole
Servlets aren't reloaded unless you are running debug mode or use an external tool like jrebel. Only client side code changes are reloaded with gwt. On Feb 18, 1:20 am, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: Hello My impression was that when I trigger Development Reload my servlets

Re: Development Mode not reloading servlets?

2010-02-17 Thread Joe Cole
Mode via Debug, so I assumed I am actuallyrunning my webapp in debug mode. Is there way to force the debug mode please? (I can't see no such option in the debug configuration.) Regards   J. Záruba On Feb 17, 2:37 pm, Joe Cole profilercorporat...@gmail.com wrote: Servlets aren't reloaded

Re: GWT fails behind Cisco PIX/ASA Firewalls.

2010-02-18 Thread Joe Cole
I've submitted an issue that relates to this: when it is blocked by firewalls there is nothing we can do at the moment to intercept the result. http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a322747b293de102/fad0c613a2127f38?q=#fad0c613a2127f38 I haven't had a chance to

Re: Creating text effects in GWT

2010-02-18 Thread Joe Cole
Another option for newer browsers is to use CSS3 which can be very impressive. There are tons of sites showing the options eg: http://www.css3.info/preview/text-shadow/ On Feb 19, 11:20 am, Lukas Laag laa...@gmail.com wrote: Have you considered using SVG ? In terms of possible effects, there is

Re: Download, IE7 Download Blocker

2010-02-18 Thread Joe Cole
Here's some code. Perhaps this or a modification should be included in gwt itself. There are a few problems with downloading files. 1) IE doesn't always let you open a file download dialog. It will on some machines, others it won't. 2) Users double click. Prevent this! 3) When opening a window

Client side error

2010-03-10 Thread Joe Cole
I saw an error today which has me puzzled: com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.__gwt_globalEventArray.length' is null or not an object number: -2146823281 description: '$wnd.__gwt_globalEventArray.length' is null or not an object This doesn't really make sense to

Upgrading from 1.5 - Multiple modules

2009-09-30 Thread Joe Cole
In 1.5 we have a structure similar to this: src - module1.gwt.xml - module2.gwt.xml - module3.gwt.xml - client -- entry point 1 -- entry point 2 -- entry point 3 - public -- other public resources -- module1.html -- module2.html -- module3.html All three modules share a lot of different

Re: Upgrading from 1.5 - Multiple modules

2009-09-30 Thread Joe Cole
. And in the RemoteServiceRelativePath annotation, we define the path as ../service/MyService. That way, it remains the same for all modules. I am not sure I understood your second problem, so can't comment on it. --Sri 2009/9/30 Joe Cole profilercorporat...@gmail.com In 1.5 we have a structure similar

Re: Intermittent TimeoutException running unit tests with GWTTestCase

2009-10-01 Thread Joe Cole
We have experienced this on 1.5 since it was released. Happens about 1/20 runs in my experience. I've never gotten to the bottom of it - anyone else? On Oct 2, 6:56 am, Nala deschenes.na...@gmail.com wrote: I want to run JUnit tests on GWT code that I am working on.  I was having some

Why enfore camelcase stylenames

2009-10-05 Thread Joe Cole
Can someone explain why this code from com.google.gwt.dom.client.Style is enforcing camelcase: private void assertCamelCase(String name) { assert !name.contains(-) : The style name ' + name + ' should be in camelCase format; }

Re: Why enfore camelcase stylenames

2009-10-05 Thread Joe Cole
javascript DOM code. Joe Cole wrote: Can someone explain why this code from com.google.gwt.dom.client.Style is enforcing camelcase:   private void assertCamelCase(String name) {     assert !name.contains(-) : The style name ' + name         + ' should be in camelCase format

Re: Disable backspace

2009-12-14 Thread Joe Cole
Hi Andrey, Did you ever resolve this? We have had reports of people losing data in this way but have never been able to replicate it. On Dec 13, 2:35 am, Andrey mino...@gmail.com wrote: Hello! My application is desktop-like, so it does not need any history support. The problem is that when

Re: Offline Mode in GWT

2009-12-16 Thread Joe Cole
We use adobe air. Gears doesn't have support for encrypted local data which is important for us. We've used gwt-in-the-air as a base, which has worked really well. On Dec 16, 11:06 am, Greg gregbram...@gmail.com wrote: Hi All, I am about to attempt to turn my GWT app into an offline-capable

RPC Replacement

2011-07-12 Thread Joe Cole
We have applications that are installed on mobile devices (i.e. playbook, ipad) that we can't guarantee will be updated every time we update our server (appstore delays). This means that if the objects sent over RPC change, or the RPC format itself changes, then the mobile clients will no longer

[gwt-contrib] RPC Request Optimisation

2010-02-25 Thread Joe Cole
Background: We have a quite a few customers who use really unreliable internet connections [e.g. 3g connections in bangladesh]. Often times these requests can take a long time to complete if they are in a country with really poor internet, but the users keep on doing things and then requests pile

[gwt-contrib] Re: RPC Request Optimisation

2010-02-25 Thread Joe Cole
Hi Bob/Bart, I must have missed some of those methods in RPCRequestBuilder when trying to figure out how to do the automated retries. It looks like we could extend this to override the default callback mechanism and capture the serialized payload, just as we do in my proxycreator changes. I'll go