Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Salman Hemani
Hi, I am having some difficulty understanding why my code splitting functionality is not working as expected in web mode. I have a decent size application and I've managed to successfully create the split points. The process goes like this: 1. Load the application which takes you to the first

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Salman Hemani
Thanks guys, I am going to give that a shot tonight! On Oct 13, 2:59 pm, Kevin Jordan ke...@kjordan.net wrote: Yeah, in hosted mode it just goes directly into the onSuccess callback whereas in web mode it has to download the piece of javascript needed for that point and so that requires it to

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Salman Hemani
Just wanted to confirm and also let others who run into this issue in the future know, that based on your hints, I was able to resolve this issue. Thank you! On Oct 13, 5:05 pm, Salman Hemani salman.hem...@gmail.com wrote: Thanks guys, I am going to give that a shot tonight! On Oct 13, 2:59 pm

Re: Problems with ImageBundle in IE8 when not in compatibility mode

2010-12-16 Thread Salman Hemani
This does not work for me. I am using Win7. Also, Alex your syntax is incorrect. There is no / before and the correct tag should be: meta http-equiv=X-UA-Compatible content=IE=EmulateIE7 Anyhow, this is not working for me. Any other suggestions? -- You received this message because you

Re: NativeEvent Get Type Issue

2010-01-07 Thread Salman Hemani
and crashes. My point is that the error still occurs regardless. Any other thoughts? Thanks On Jan 7, 4:35 am, Thomas Broyer t.bro...@gmail.com wrote: On Jan 6, 10:21 pm, Salman Hemani salman.hem...@gmail.com wrote: This is a good one. Totally confused. I am porting over an application

NativeEvent Get Type Issue

2010-01-06 Thread Salman Hemani
This is a good one. Totally confused. I am porting over an application from GWT 1.5 - 1.7 (I still have to upgrade to 2.0 but that will come at a later stage. The onEventPreview used to block the escape key. When I ported over to the NativePreviewHandler things ofcourse changed. Before I even get

Re: problem with history in hosted mode

2009-08-07 Thread Salman Hemani
on? Jeremiah, When you get passed the problem you reported initially, let me know if you see the above issue. Anyone else, please shed some light. Thanks. On Aug 7, 1:53 am, Salman Hemani salman.hem...@gmail.com wrote: I have the following line in my html file and I don't see the problem in hosted mode

Re: problem with history in hosted mode

2009-08-07 Thread Salman Hemani
the tag in my body tag on the page but i still get the error messeage. so i am not sure were exactly the problem is. i use maven 2.2.0 and gwt 1.7 thanks jeremiah On Fri, Aug 7, 2009 at 11:37 AM, Salman Hemani salman.hem...@gmail.comwrote: I thought I'd post another problem

Re: problem with history in hosted mode

2009-08-06 Thread Salman Hemani
I have the following line in my html file and I don't see the problem in hosted mode. iframe src=javascript:'' id='__gwt_historyFrame' style='width: 0;height:0;border:0'/iframe Copy the above into your body tag. Let us know if that worked On Aug 7, 12:30 am, Jeremiah Moses

Re: Bundling Background Images defined in CSS

2009-07-31 Thread Salman Hemani
The CssResource looks promising. I will give that a shot first. Thank you very much! Paul, SmartSprites would work also! CssResource just would be neater once GWT integrates that. Thank you both for some real answers!! 5 stars for you both! On Jul 31, 5:00 am, Paul MERLIN eskato...@gmail.com

Re: Bundling Background Images defined in CSS

2009-07-30 Thread Salman Hemani
Yes I know that ImageBundle cannot be used as CSS backgrounds that is why I am asking this question. I am not looking at putting that in the ImageBundle and I apologize if the question sounded like that. I am simply trying to figure out if I can automate the process of putting the background

Re: Bundling Background Images defined in CSS

2009-07-30 Thread Salman Hemani
Right hence my apology in the second email and asking in clear terms: I am simply trying to figure out if I can automate the process of putting the background images so that I do not have to manually put their x,y position in CSS. Did you miss that completely? On Jul 30, 2:50 pm, Isaac Truett

Re: Bundling Background Images defined in CSS

2009-07-30 Thread Salman Hemani
Mr Truett, I was trying to be polite in my first post but here goes... In your first post you took two different statements from two different posts and put it out of context. Furthermore, you asked me to rephrase the out of context statements not the questsion that you claim you read. If the

Bundling Background Images defined in CSS

2009-07-29 Thread Salman Hemani
Ok, I am not getting a clear cut answer for this so I thought I would post this. ImageBundle - Neat concept. Awesome. Works great. Is there a way to automate the bundling of the background images defined in CSS? So whereever the CSS refers to a background image, I would like to put that in an

Re: Does the Timer Class stop after changing clock?

2009-03-31 Thread Salman Hemani
From what I understand, is that that elapsed time is computed by capturing the intial time and polling the system clock for elapsed time. So when the system clock changes, the elapsed time increases. IE implements this by having its own timer and thus changing system time does not affect the

Re: Does the Timer Class stop after changing clock?

2009-03-31 Thread Salman Hemani
Ok. That is sorta helpful. Where does that leave us? Should GWT implement Timer differently for each browser? On Mar 31, 12:21 pm, Thomas Broyer t.bro...@gmail.com wrote: On 31 mar, 17:06,SalmanHemani salman.hem...@gmail.com wrote: From what I understand, is that that elapsed time is

Does the Timer Class stop after changing clock?

2009-03-23 Thread Salman Hemani
I am seeing a strange behaviour so I'd appreciate if someone can explain the workings of the Timer class to me. I have a piece of code that executes in the run() method when a disconnection from the server is detected. More specifically, the user is prompted a message for disconnection if the

onLoad() never invoked using Opera

2009-03-03 Thread Salman Hemani
This is a strange one. I am using GWT 1.5.3 and Opera 9.6 and onLoad() is never actually invoked. Works in all other browsers (IE6 and 7 8, Safari, Chrome). Any suggestions? Please let me know if someone has come across this. --~--~-~--~~~---~--~~ You received

Re: onBrowserEvent on a disabled button

2009-02-19 Thread Salman Hemani
I guess that would work. However, the underlying problem still persists. Showing the tooltip is just what I am sepcifically doing here. The point is that it never receives a browserEvent when a button is disabled. I am still looking for an explanation for this behaviour. On Feb 17, 8:05 pm,

onBrowserEvent on a disabled button

2009-02-17 Thread Salman Hemani
Hey Guys and Gals, I have a button on which I listen for mouse events via sinkEvents (Event.MOUSEEVENTS) so I can display tool tips. The issue however is that if the button is disabled the onBrowserEvent is never invoked and as such I cannot detect the mouse event. This seems like a bug but I

Re: Using PNG fails compilation on Linux

2009-02-04 Thread Salman Hemani
, ... ) If ImageMagick is installed, you can use identify myimg.png Regards. O. 2009/2/4 Jeremiah Elliott jeremi...@gmail.com I use png files all the time, and build under linux with no issues. Any chance this is a case issue? On 2/3/09, Salman Hemani salman.hem...@gmail.com wrote: Hello

Using PNG fails compilation on Linux

2009-02-03 Thread Salman Hemani
Hello everyone, I am using 1.5.3 and although everything works fine on Windows, our compile fails on Linux due to the exception pasted below. I found the following post that discusses the same error although the tmp directory is not our issue (unless I am missing something here). Here is the

Re: text file in frame does not respect UTF-8 encoding IE6 and IE7 issue

2008-10-28 Thread Salman Hemani
I resolved the issue by right clicking on the frame and setting the default encoding to UTF-8 and from that point onwards everything works even after you close the browser. On Oct 26, 9:37 am, Lothar Kimmeringer [EMAIL PROTECTED] wrote: SalmanHemani schrieb: I should also add that I tested

Re: text file in frame does not respect UTF-8 encoding IE6 and IE7 issue

2008-10-24 Thread Salman Hemani
Sounds like that may be it. But I am not explicitly making this request. I am using the Frame object and I simply pass in the relative URL i.e. the name of the text file to the constructor and that add the frame to the respective panel. I am assuming that the underlying from the Frame object is a

Re: text file in frame does not respect UTF-8 encoding IE6 and IE7 issue

2008-10-24 Thread Salman Hemani
I should also add that I tested Firefox again and I am not sure why I thought Firefox was displaying this behaviour but it is correctly displaying the characters. Also I am using GWT 1.5.1 On Oct 24, 2:48 pm, Salman Hemani [EMAIL PROTECTED] wrote: Sounds like that may be it. But I am

text file in frame does not respect UTF-8 encoding IE6 and IE7 issue

2008-10-23 Thread Salman Hemani
I have tried searching for the solution to this problem and I am not having any luck. Problem: I have a UTF-8 text file with chinese characters and it is loaded in the Frame object which renders correctly in the GWT browser as well as IE 7. But IE6 and Firefox do not display the characters