Server Side: Java Servlets or ASP .NET?

2009-07-10 Thread Sky
I want to build fully Ajax applications with GWT using an MVC framework. I have experience with Java Servlets with Struts and I have experience with ASP .NET Web Forms but I would use ASP .NET MVC, as I doubt there would be much of a learning curve. I just cannot decide which to go with and I

Re: Multi paging or Multi module

2009-07-11 Thread Sky
Possibly another approach would be to combine Ajax with one Module per page. The top module would be in charge of fetching and placing pages into the main placeholder. The top module takes input from the user (clicks on a menu or other links within each page itself) and uses the unique parameter

Re: Multi paging or Multi module

2009-07-11 Thread Sky
Well I certainly am no expert on GWT, but I'm pretty good with it. Lets see if I can help. If I understand you correctly it sounds like you might be having some trouble going from the standard way of giving a user a new page via a new request to the server to a more Ajax approach. You could

Re: User defined html tags and attributes

2009-07-11 Thread Sky
Why would you need to work directly with html tags with GWT? You should do it with Javascript. You just define your own class called keyboard and make it inherit from another component, like a Composite or a Flowpanel (so you can put whatever you want inside it) then you can attach EventHandlers

Re: Newbie question regarding web-application design

2009-07-11 Thread Sky
Given your description then to be honest I would agree you could do something better than XML HTTPrequest or Java RPC. But it seriously depends on how your app works and what your requirements are. What I would suggest is that you dump the data onto the page in the initial page request. Since

Re: New GWT user has a simple qustion using eclipse

2009-07-11 Thread Sky
You could write a java app that asks for a single input, the name of the folder inside the workspace that you want it to run through and delete the couple extra files and modify the file ProjectName.java file to contain an empty class and do any other cleanup stuff like remove the RPC service

Re: call more than one service

2009-07-11 Thread Sky
Count how many async calls you make during this burst and then keep a counter incrementing on each return (success or failure). When this second counter is equal to the first count they have all returned and you can proceed. Have a method that you want to call upon completion that you call when

Re: Interdependent ScrollBars

2009-07-12 Thread Sky
By putting two panels side by side in a horizontal panel or else by using css float styling of two panels within a FlowPanel, your choice of which way. Then apply css styling to these two panels to set their overflow to hidden and scrollbars to true, I forget the CSS for setting scrollbars, just

Re: Interdependent ScrollBars

2009-07-12 Thread Sky
By putting two panels side by side in a horizontal panel or else by using css float styling of two panels within a FlowPanel, your choice of which way. Then apply css styling to these two panels to set their overflow to scroll. This problem has nothing to do with GWT other than you are using

Re: Interdependent ScrollBars

2009-07-12 Thread Sky
Schooled. (me) Plus I totally forgot you needed them to scroll together. sry I dropped the ball on that one, good thing Dean picked it up :) On Jul 12, 9:55 pm, Dean S. Jones deansjo...@gmail.com wrote: Both should be ScrollPanels, add a ScrollListener to each, when one scrolls, set the

GWT 1.5 to 1.6: App won't work in Hosted Mode

2009-07-13 Thread Sky
After converting my GWT app from version 1.5 to 1.6, it does not work in Hosted Mode but after compiling it, it works 100% fine in any browser. I don't get any errors, it simply does not appear to build any widgets or anything. I put a break point on the first line inside the only Entry Point

Re: GWT 1.5 to 1.6: App won't work in Hosted Mode

2009-07-13 Thread Sky
to start looking. It would help if anyone can even suggest more info I can try to get to help you help me. Many thanks! On Jul 13, 1:17 am, Sky myonceinalifet...@gmail.com wrote: After converting my GWT app from version 1.5 to 1.6, it does not work in Hosted Mode but after compiling it, it works 100

Re: GWT 1.5 to 1.6: App won't work in Hosted Mode

2009-07-13 Thread Sky
get inside the onModuleLoad(). Did I break something when converting my Listeners to Handlers? On Jul 13, 3:15 pm, Jason Parekh jasonpar...@gmail.com wrote: Hi Sky, What exactly do you see in the hosted mode browser?  Just the HTML content (with GWT widgets missing)? I'd suggest a couple

Re: GWT 1.5 to 1.6: App won't work in Hosted Mode

2009-07-13 Thread Sky
I can try the conversion by moving smaller chunks, cuz the onModuleLoad pretty much instantiates one class and that class uses everything I've written in GWT. I'll keep you posted. On Jul 13, 3:54 pm, Jason Parekh jasonpar...@gmail.com wrote: On Mon, Jul 13, 2009 at 4:35 PM, Sky myonceinalifet

Re: GWT 1.5 to 1.6: App won't work in Hosted Mode

2009-07-13 Thread Sky
No change at all when not using Google App Engine. On the download page there is only version 1.6 and 1.5 and older. I don't know how to get different revisions. On Jul 13, 4:02 pm, Sky myonceinalifet...@gmail.com wrote: quoteStrange about not hitting the breakpoint with this simple project

Re: GWT 1.5 to 1.6: App won't work in Hosted Mode

2009-07-13 Thread Sky
No change at all when not using Google App Engine. On the download page there is only version 1.6.4 and 1.5.3 and older. I don't know how to get different revisions like 1.6.013 like Jason suggested. On Jul 13, 4:02 pm, Sky myonceinalifet...@gmail.com wrote: quoteStrange about not hitting

Re: GWT 1.5 to 1.6: App won't work in Hosted Mode

2009-07-13 Thread Sky
version in Eclipse preferences Java Installed JREs jason On Mon, Jul 13, 2009 at 5:24 PM, Sky myonceinalifet...@gmail.com wrote: No change at all when not using Google App Engine. On the download page there is only version 1.6.4 and 1.5.3 and older. I don't know how to get different

Re: GWT 1.5 to 1.6: App won't work in Hosted Mode

2009-07-13 Thread Sky
and works wonderfully! Thanks so much for the help Jason! On Jul 13, 4:57 pm, Sky myonceinalifet...@gmail.com wrote: Thx, I tried the Java Development Kit versions 1.6.0_07, 13 and 14. Same situation. On Jul 13, 4:31 pm, Jason Parekh jasonpar...@gmail.com wrote: Hey, One clarification:  I'm

Re: gwt 1.6 and oophm, how to?

2009-08-21 Thread Sky
Could someone direct me how to use trunk? From what I gather, trunk is just the latest repository for the gwt source code. I have a gwt project already started and I don't want to break it by doing this. I want to be able to switch between trunk and gwt 1.7 stable for the same project. Is that

MyNamedFrame is better than GWT's NamedFrame

2010-05-19 Thread Sky
Just in case you ever wanted to have a handler for the iframe's onload event: import com.google.gwt.event.dom.client.HasLoadHandlers; import com.google.gwt.event.dom.client.LoadEvent; import com.google.gwt.event.dom.client.LoadHandler; import com.google.gwt.event.shared.HandlerRegistration;

Re: Using JS to access GWT generated JS code

2010-05-19 Thread Sky
Check out these two sections: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html#methods-fields http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html#calling I believe the second link is what you need. cheers On May 19, 8:22 pm, Gabriel Gutierrez

Re: MyNamedFrame is better than GWT's NamedFrame

2010-05-21 Thread Sky
, which works in ALL browsers (well I tested IE, FF and Chrome :P) On May 20, 12:13 am, Sky myonceinalifet...@gmail.com wrote: Just in case you ever wanted to have a handler for the iframe's onload event: import com.google.gwt.event.dom.client.HasLoadHandlers; import

Re: MyNamedFrame is better than GWT's NamedFrame

2010-05-21 Thread Sky
); } } } On May 20, 12:13 am, Sky myonceinalifet...@gmail.com wrote: Just in case you ever wanted to have a handler for the iframe's onload event: import com.google.gwt.event.dom.client.HasLoadHandlers; import com.google.gwt.event.dom.client.LoadEvent; import

RPC callback fails: status code 0

2010-05-23 Thread Sky
Hi all. I did the Stockwatcher RPC tutorial and it worked beautifully. I then implemented my own very simple RPC callback for my own project and I always get status code 0 returned... the callback always fails. Funny thing is that the server method does indeed run, I debugged into it. Only the

Re: RPC callback fails: status code 0

2010-05-24 Thread Sky
to it?  Also be sure to check both the Jetty console and the client-particular console for any errors that show up there. On May 23, 9:49 pm, Sky myonceinalifet...@gmail.com wrote: Hi all. I did the Stockwatcher RPC tutorial and it worked beautifully. I then implemented my own very

Re: RPC callback fails: status code 0

2010-05-24 Thread Sky
from the server in this situation, which I can cope with. So my problem is solved and I no longer need any help. I hope my explanation of this very specific situation was adequate, but if anyone has any questions just let me know. On May 24, 12:53 pm, Sky myonceinalifet...@gmail.com wrote

Re: help with serialization

2010-05-24 Thread Sky
Well, I'm new to GWT serializing, and I don't have lots of experience with Java or other serialization but to be honest serialization has always seemed very simple to me. I do not understand why Pair can't be transient and why that would not tell the GWT compiler to ignore it when serializing. Is

History.newItem() and History.getToken() and encoding url fragment (Does not happen in FF)

2010-06-02 Thread Sky
History.newItem() and History.getToken() are supposed to encodeURIComponent and decodeURIComponent respectively. I looked into the implemented native methods and they sure appear to do that. However, in FF 3.5 the encoding does not happen. My browser URL shows normal spaces instead of %20. In

Re: History.newItem() and History.getToken() and encoding url fragment (Does not happen in FF)

2010-06-03 Thread Sky
You're right! It does give %20 when I copy it and paste it in another app. Thanks. On Jun 3, 9:35 am, Thomas Broyer t.bro...@gmail.com wrote: On 3 juin, 03:38, Sky myonceinalifet...@gmail.com wrote: History.newItem() and History.getToken() are supposed to encodeURIComponent

Re: Asynchronous callback

2010-06-05 Thread Sky
It depends how big your request and response objects that are being send back and forth are. If they are single, relatively normal length string messages going there and then back, then it's going to be very inexpensive and very fast. In the situation where your messages are fairly small like

Event Delegation: onBrowserEvent() is never called unless there is a handler attached

2010-06-12 Thread Sky
I have a FocusPanel that doesn't have any event handlers attached to it. I override the FocusPanel's onBrowserEvent() but it never gets called unless I add a specific handler to it. What am I doing wrong? I thought the onBrowserEvent() gets called on any and all Widgets regardless of whether it's

Re: CAPS Lock 0n/off

2010-06-12 Thread Sky
Ya, but the user might just be holding the shift key and is intentionally entering capitol letters. The reality is that there STILL is no way to directly detect in a browser whether the capslock button is on/off. However, I believe it is possible to deduce this logically depending on whether the

Re: GMail attachment 'View' functionality accessible from GWT ?

2010-06-12 Thread Sky
No, it does not. GMail is opening it in Google Docs. They wrote their own pdf reader that converts a pdf to html and display it in your browser. You will have to do the same if you want to do that. However, I believe most browsers can view pdfs if you have the Adobe Reader installed. I suppose a

Re: Event Delegation: onBrowserEvent() is never called unless there is a handler attached

2010-06-12 Thread Sky
Solved. Forgot to sinkEvents() in the constructor... my bad. It's been like a year since I did custom event handling :P cheers On Jun 12, 12:48 pm, Sky myonceinalifet...@gmail.com wrote: I have a FocusPanel that doesn't have any event handlers attached to it. I override the FocusPanel's

Re: Flashing cells for FlexTable

2010-06-12 Thread Sky
Use the Timer class for doing that. It's super easy to create and schedule Timers for doing asynchronous and delayed work like that. Or you could even make it better by fading from one color to the next color as an animation. Just make a class extend the Animation class and you'll auto override

Re: Exception thrown when running on Google Chrome w ith compiler output style set to ‘OBF’

2010-06-12 Thread Sky
Ya, I would seriously suggest upgrading to the GWT 2.0.1 because so many tiny little bugs have been fixed over all the releases. You'll have to start a new project and copy your code over to deal with the structure changes and other little stuff that changed in the project since GWT 1.5. It's not

Re: where to define domain objects

2010-06-12 Thread Sky
Hi Denis. I'm not going to be of much help, but I am curious and want to understand what a Domain Object is. Is this supposed to be essentially a global object for the web app that is not user dependent but all layers need access to it's methods/members? TBH I haven't used GWT for a fully layered

Re: app engine with hosted mode

2010-06-12 Thread Sky
I dunno, it just works with Eclipse. A GWT project created in Eclipse with AppEngine chosen for the server automatically runs the AppEngine server and it all works beautifully. lol, I should stick to answering threads specifically about the GWT ui and widgets cuz that's what I'm pretty good at :P

Re: Help to find only clickable panel except focuspanel

2010-06-12 Thread Sky
Why do you want to remove the input box that is auto placed inside the focus panel? It's hidden and can't be indexed by tabbing. I never thought it was the case, but GWT claims that not all browsers support all events on DIV elements and they provide a workaround by using the hidden textbox (I

Re: Cross Site XML-HTTP?

2010-06-12 Thread Sky
You must have had a very old browser indeed to have been able to load XML from a different server than what is in the browser's address bar (which is the factor that determines whether a call triggers SOP or not... it's always fine to set the src or anything (such as script elements) to something

Re: GWT HTTP GET function

2010-06-12 Thread Sky
That won't be very helpful either. The issue is that the call is happening asynchronously and you have no idea when it's going to come back with the server response. The idea is that your onResponseReceived() method calls a some other method, passing the response. So whatever object needs the

Re: Efficient GWT Client-Server Communication methodology

2010-06-12 Thread Sky
I don't know anything about the Itemscript libraries that bill posted about, but I took a quick glance and it looks worthwhile investigating. Personally, I suspect that GWT-RPC does not have more bandwidth overhead but there would be a tad bit more processing overhead on both the client and

Re: Bookmarklet with GWT

2010-06-13 Thread Sky
On Jun 13, 8:27 am, Thomas Broyer t.bro...@gmail.com wrote: The issue with bookmarklets injecting scripts, is that they can become evil without your bookmarklet code changing (this is also an advantage, as the bookmarklet somehow updates itself just as any web app). Indeed, since they are

Re: How To Simulate KeyPress

2010-06-14 Thread Sky
Lex, here's a thought: can you determine which Widget or DOM element that you want to gain focus when the user hits ENTER? If you can, don't bother creating that event, just talk directly to the widget or the DOM element through JSNI and give it focus. I don't know why your solution doesn't work,

Re: How To Simulate KeyPress

2010-06-14 Thread Sky
. On Mon, Jun 14, 2010 at 9:50 PM, Sky myonceinalifet...@gmail.com wrote: Lex, here's a thought: can you determine which Widget or DOM element that you want to gain focus when the user hits ENTER? If you can, don't bother creating that event, just talk directly to the widget or the DOM element

Re: DockLayoutPanel inside a ScrollPanel

2010-06-15 Thread Sky
If i'm not mistaken you may be running into essentially the same kind of dilemma I've had to deal with. My site doesn't use a DocLayoutPanel cuz I made this part of my site long before layout panels existed in GWT, but I think some of my divs are the same thing as layout panels. I use css styling;

Re: exchange image by browser

2010-06-15 Thread Sky
I personally prefer to keep logic in the application's language. I like to keep CSS for just styling and keep all my logic in JS. Is there a particular reason you can't just use JS to detect which browser is running and then grab the right ImageResource for the job (in this case you then need one

Re: how to play embedded videos on GWT

2010-06-15 Thread Sky
You might have to take up that issue with bramosystems, whoever that is, cuz I don't have that package and even if the source was visible we wouldn't be able to change it even if we could find the problem...unless it's open source. On Jun 15, 8:11 pm, Bruno Lopes bruno.lourenco.lo...@gmail.com

Re: History and server call.

2010-06-15 Thread Sky
Well, I don't know about the event bus and I have yet to watch that GWT best practices video (but I really should!) and I haven't done MVP with GWT, BUT I'm super creative so here's what I would do with your situation! :D I would have an object that is rather more aware of the all

Re: History and server call.

2010-06-16 Thread Sky
Hey Tristan. I am somewhat familiar with MVP frameworks as I've worked on projects using MVP in IT but I've never dealt with place services/ managers, local caches or event buses. Caches and event buses I can at least imagine them cuz those words say a lot in themselves, but I have no idea what

Re: GWT and CSS

2010-06-16 Thread Sky
!important doesn't work to override font-family style. GWT's standard.css has font-family defined for body, table td, select, so I just wrote my own definition in my .css file for those same elements and used my own fonts. That was the only way to gain control again. Before I did that, the only

Re: parsing library for the client side

2010-06-16 Thread Sky
Man, that just sounds kickass! Infinitely better than writing your parser code twice in two different languages and any time you fix a bug or add functionality needing to do it twice. Man, if that works that smoothly you guys will be sooo happy! Isn't that just exciting! woot :) On Jun 16, 2:06 

Re: Pass a Java Object between to Opener Window

2010-06-16 Thread Sky
I'm not really sure... but you could try passing the static field directly into the native method onWindowClosing and then pass it into the callback method... Sorry I can't help more than that... :( On Jun 16, 12:21 pm, keyvez key...@gmail.com wrote: Hi, I am trying to pass a custom Java

Style.setProperty(background, ...) not working in IE7

2010-06-17 Thread Sky
Hi, I've got some custom code that takes a Widget, an ImageResource and a RepeatStyle and puts that image as the background for that widget. It works perfectly in IE8, FF, and Chrome, but it does not work in IE7. The data appears to get messed up in the Style.setProperty() method for the attribute

Re: Style.setProperty(background, ...) not working in IE7

2010-06-17 Thread Sky
; break; case Both: repeatText = repeat; break; default: throw new RuntimeException(Unknown repeatStyle + repeatStyle); } background += repeatText; w.getElement().getStyle().setProperty(background, background); } On Jun 17, 4:43 pm, Sky

Re: Style.setProperty(background, ...) not working in IE7

2010-06-17 Thread Sky
SOLVED! Ya, nvm, I solved it. I just needed to use negative values on the int values returned by ImageResource.getLeft() and ImageResource.getTop() and add px to them for the string. cheers! On Jun 17, 4:45 pm, Sky myonceinalifet...@gmail.com wrote: public static void setBGImage(Widget w

Re: MyNamedFrame is better than GWT's NamedFrame

2010-07-15 Thread Sky
/ google/gwt/user/client/Event;)(event); }; }-*/; You need to modify com.skystrider.subtabs.client.gwtUtils to the package structure location that you have MyNamedFrame stored. On May 21, 12:43 pm, mmoossen mmoos...@gmail.com wrote: hi sky! that looks pretty much like our

BUG(chrome): TextBox inside FocusPanel can't be clicked

2010-01-16 Thread Sky
The following is a bug that only occurs in Chrome and therefore may be a Chrome bug and not a GWT bug. If I create a FocusPanel and place a TextBox inside it, it takes several (more than 4) mouse clicks on the TextBox to give focus to the TextBox so you can start typing. This problem does not

Re: BUG(chrome): TextBox inside FocusPanel can't be clicked

2010-01-19 Thread Sky
? The xml you gave me was the only change that resulted in that error. Any idea what I might be doing wrong? I put it inside of module right at the end. Many thanks :) On Jan 17, 9:51 am, Thomas Broyer t.bro...@gmail.com wrote: On Jan 17, 2:34 am, Sky myonceinalifet...@gmail.com wrote

Re: about the limitation of MVC

2010-01-20 Thread Sky
For example, one of a simple case is how to implement this functionality of making one button becoming grayed if detecting a specific button is clicked by twice. That's just logic that belongs in the View. There are numerous ways of structuring that logic and it depends on how abstract you want

BUG(IE): Animation can't be canceled... click events are not happening during animation.

2010-01-27 Thread Sky
I have a simple FadeAnimation (extending Animation) that fades (using opacity style) an object in and out of visibility when the user clicks on a button. My MouseDownHandler is not being invoked during the animation in IE8. It does get invoked in FF and Chrome. If I make the animation take a long

Blur event on FocusPanel is triggered immediately following MouseDown event

2010-02-01 Thread Sky
I click on my FocusPanel and before MouseUp event fires, but after MouseDown event, the Blur event is fired, which is very much undesired. This only happens in Chrome, so it may be a Chrome bug. It does not happen in FF and IE. It may be my fault, but I am not explicitly setting focus on any

Re: Blur event on FocusPanel is triggered immediately following MouseDown event

2010-02-01 Thread Sky
. All other browsers act as expected. I can't possibly fix something like this. Can anyone help me? These problems must be a GWT bug(s). I'm using GWT 2.0.0, the latest Eclipse, Stable channel of Chrome. On Feb 1, 6:15 pm, Sky myonceinalifet...@gmail.com wrote: I click on my FocusPanel and before

Re: Blur event on FocusPanel is triggered immediately following MouseDown event

2010-02-04 Thread Sky
FIXED! GWT 2.0.1 fixed all of these issues!!! I am so incredibly happy! Well done, GWT team! Pat on the back! Good job! I hope you (GWT development team) feel appreciated for your hard work! cheers! On Feb 1, 7:04 pm, Sky myonceinalifet...@gmail.com wrote: Wow! Now another FocusPanel's

Re: BUG(chrome): TextBox inside FocusPanel can't be clicked

2010-02-04 Thread Sky
Fixed! GWT 2.0.1 solved the problem. Good job GWT development team! Very much appreciated! On Jan 19, 9:53 pm, Sky myonceinalifet...@gmail.com wrote: Hi Thomas, thanks for your reply! I copied/pasted the xml you gave into my gwt.xml file and the DevMode was unable to find it. Here

Re: GWT 2.0.1 out but Eclipse says There is nothing to update

2010-02-04 Thread Sky
Go to Help - Install new software... then choose Google Plugin - http://dl.google.com/eclipse/plugin/3.5; from the drop down or else add it if it isn't already there. It should show both the App Engine and GWT under SDKs. Check SDKs and click Next. I had the same thing as you, but this way

Re: BUG(IE): Animation can't be canceled... click events are not happening during animation.

2010-02-05 Thread Sky
. Many thanks on any input :) On Jan 27, 8:29 pm, Sky myonceinalifet...@gmail.com wrote: I have a simple FadeAnimation (extending Animation) that fades (using opacity style) an object in and out of visibility when the user clicks on a button. My MouseDownHandler is not being invoked during

Re: Announcing GWT 2.0.1

2010-02-05 Thread Sky
Thanks so much to the GWT development team for this update! This fixed a couple of key functionality issues I had with Chrome. Very much appreciated! On Feb 5, 8:48 am, Michel micg...@gmail.com wrote: Hi. - The development mode server will, by default, only bind to localhost    which will

Re: Digest for google-web-toolkit@googlegroups.com - 21 Messages in 14 Topics

2010-02-05 Thread Sky
No one is going to click on that link until you describe what it is and convince us that you aren't spamming us with a malicious website. The address even looks suspicious. On Feb 5, 9:30 am, Marcos Alcantara marc...@gmail.com wrote: Hi guys, What do you guys think about this tool?

Re: Init Frame while invisible?

2010-02-05 Thread Sky
It probably needs to be attached to the DOM in order to set the URL. Attach it to the DOM after setting it's visibility to false, then set the URL. Change it's visibility to true when you want the user to see it. Pretty sure that should work. Email me if you can't get it to work. On Feb 5, 2:56 

Re: Cannot get code splitting to work

2010-02-05 Thread Sky
Hi Jonathan. I just tried making some of my own code split using the async callback for the first time and I was successful. I get a deferredjs folder and I can see that in the initial download report my class is only 30 bytes (because I call a method returning a static string outside of the

Re: Init Frame while invisible?

2010-02-05 Thread Sky
wrote: Aaam one q:How to attach it? with container.add() because this is not working. On Fri, Feb 5, 2010 at 7:48 PM, mariyan nenchev nenchev.mari...@gmail.comwrote: Thanks that is exactly what i needed too, i will try it. On Fri, Feb 5, 2010 at 7:36 PM, Sky myonceinalifet

Re: GlassPanel in IE6 -- color changes when scrolling

2010-02-05 Thread Sky
There is no GlassPanel in GWT, so I'll assume it's your own panel. I don't know much about iframe shim other than a quick skim of the first site I found doing a search. Why don't you just use a transparent png image set as the background of your panel? That's what I would do. On Feb 4, 9:53 am,

Code Splitting: lots of overhead. Too much?

2010-02-05 Thread Sky
I successfully used code splitting on a few classes in my project. By looking at the compilation report it appears to me that code splitting has an incredibly large amount of overhead. I've gone through the report carefully and the code that I'm splitting is indeed being split and not included in

Re: Code Splitting: lots of overhead. Too much?

2010-02-05 Thread Sky
to bother retrying. cheers On Feb 5, 3:57 pm, Sky myonceinalifet...@gmail.com wrote: I successfully used code splitting on a few classes in my project. By looking at the compilation report it appears to me that code splitting has an incredibly large amount of overhead. I've gone through

Re: Code Splitting: lots of overhead. Too much?

2010-02-05 Thread Sky
GWT.runAsync() I encounter the original nightmare of overhead. Sorry about the confusion. On Feb 5, 4:10 pm, Sky myonceinalifet...@gmail.com wrote: It appears I am wrong. If you notice this, don't bother reading my entire blurb above, instead learn from what I will explain here that was my

Re: Newbee CSS questions

2010-02-05 Thread Sky
I just include my own CSS file (you can include it in the top html file) and create styles inside it and set the style name via myWidget.setStyleName(). If I just want to change one or two CSS properties I use a global method: MyJS.setStyle(Widget w, String style, String value)

Re: Newbee CSS questions

2010-02-05 Thread Sky
There is no global way to override more specific styles. Thats just how CSS works. The more specific style is going to override the more general style. If you have no need for GWT's css, remove it from your project and create your own. Then you can specify font styles for the body, which will be

Re: Access to AsyncFragmentLoader$HttpDownloadFailure

2010-02-07 Thread Sky
I second this motion. In my opinion you provide a solid argument. Hopefully the GWT dev team will agree and see fit to make that exception public. On Feb 7, 2:16 pm, Vlad Skarzhevskyy skarzhevs...@gmail.com wrote: We are using GWT.runAsync to load part of our our application. The application

Re: Code Splitting: lots of overhead. Too much?

2010-02-09 Thread Sky
Bump I'm really curious if anyone can help me understand how code splitting can be useful given the experience I have had with it. It really makes little sense why the overhead is so huge. On Feb 5, 4:16 pm, Sky myonceinalifet...@gmail.com wrote: Sorry, I have to retract that last post entirely

Re: Any Google Wave developers in this group?

2010-02-09 Thread Sky
I also hope to incorporate wave into my current GWT projects ^_^ It mostly depends on how complete it is. Last I checked (a good number of months ago) the Wave API was very much in it's infancy. I'm going to revisit it soon! On Feb 9, 8:58 am, Christian Goudreau goudreau.christ...@gmail.com

Re: Announcing GWT 2.0 Milestone 1

2009-10-07 Thread Sky
I set GWT 2.0 as the SDK for my project and it changed to the new Development Swing UI In-browser mode instead of the old hosted mode. I placed the given URL in both FF3.5 and IE8 and neither auto installed the required plugin. Since my app is already compiled it renders fine but I cannot debug.

Re: Announcing GWT 2.0 Milestone 1

2009-10-08 Thread Sky
a breakpoint on the onModuleLoad method! I am very excited to have this working! On Oct 7, 8:32 pm, Sky myonceinalifet...@gmail.com wrote: I set GWT 2.0 as the SDK for my project and it changed to the new Development Swing UI In-browser mode instead of the old hosted mode. I placed the given URL

Re: Announcing GWT 2.0 Milestone 1

2009-10-08 Thread Sky
with 2.0 jar. The development shell does not launch at all. You have to launch it as a Java Application and set up some parameters by yourself, then you are able to see that GWT Develop Mode popup shell window. Is my observation correct? On Oct 8, 1:33 pm, Sky myonceinalifet...@gmail.com

Re: Announcing GWT 2.0 Milestone 1

2009-10-12 Thread Sky
from creating the new project and you did not update it to be the same as the original project? On Oct 9, 1:01 pm, Christian Goudreau goudreau.christ...@gmail.com wrote: I did the same trick as Sky to get my project to work. But I still have to problems. First : When I lauch it in development

History (browser): works differently across browsers

2009-10-13 Thread Sky
GWT's History object, which allows you to create browser history within a GWT ajax app, works differently across browsers. Within IE, FF and Safari calling History.newItem(String historyToken, boolean issueEvent) for the first time adds a browser history state on top of the history event of

Re: History (browser): works differently across browsers

2009-10-13 Thread Sky
insight to help me or questions please let me know. Thanks On Oct 13, 1:21 pm, Sky myonceinalifet...@gmail.com wrote: GWT's History object, which allows you to create browser history within a GWT ajax app, works differently across browsers. Within IE, FF and Safari calling History.newItem(String

GWT + App Engine + JSP (Eclipse IDE)

2010-10-15 Thread Sky
Hello I have plenty of experience with GWT, and my app works on App Engine, only I want to change it so that I can manipulate the page (the base html file) on the very first GET request. Thus, I want to use JSP. For starters my Eclipse (3.5.1) does not natively understand JSP files and I have no

Re: GWT + App Engine + JSP (Eclipse IDE)

2010-10-20 Thread Sky
Thanks so much for the help. That's exactly what I need. Cheers! On Oct 18, 11:21 am, David Chandler (Google) drfibona...@google.com wrote: Sky, You need the Java EE edition of Eclipse to edit JSPs:http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-develop

Re: OOPHM memory leak?

2011-02-08 Thread Sky
This is an old thread, but I'm experiencing a similar out of memory error using the GWT 2.1 and AppEngine 1.40. This happens when the javaw.exe exceeds 512mb. I have -Xmx512m set. I must have set that a long time ago because I don't remember doing that. But if I reload my app around 15 times

Re: Announcing GPE/GWT 2.2 RC1

2011-02-12 Thread Sky
Hi, to come back to the GWT 2.2 exception Ümit mentioned above, I too have this error. Do we need a new GIN. jar?? here is my complete Stacktrace i get when i compile my project with new GWT 2.2: java.lang.IncompatibleClassChangeError: Found interface

Production bugs that don't exist in development mode

2011-02-16 Thread Sky
I have two bugs that just cropped up but they only occur in production and not in development mode. One is an actual javascript error so I'll probably be able to figure that one out without debugging, though it might be painful. One does not give a javascript error but is a functionality problem

Re: Production bugs that don't exist in development mode

2011-02-16 Thread Sky
Forgot to say I'm using AppEngine version 1.4.2 and GWT 2.2.0, developing on Eclipse 3.5.2. Production is running on google's appengine. On Feb 16, 10:28 am, Sky myonceinalifet...@gmail.com wrote: I have two bugs that just cropped up but they only occur in production and not in development mode

Re: how to realize a realtime clock running in the client?

2011-02-16 Thread Sky
In terms of making an animated clock you essentially use a Timer and use scheduleRepeating(1000) to have it repeat every second. It's often easier to extend the Animation class, which uses a repeating Timer, and you can tell it to run every second. Just look at how the Animation class is used by

Re: Production bugs that don't exist in development mode

2011-02-16 Thread Sky
this! cheers ^^ On Feb 16, 10:33 am, Sky myonceinalifet...@gmail.com wrote: Forgot to say I'm using AppEngine version 1.4.2 and GWT 2.2.0, developing on Eclipse 3.5.2. Production is running on google's appengine. On Feb 16, 10:28 am, Sky myonceinalifet...@gmail.com wrote: I have two bugs

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-02-16 Thread Sky
I haven't done this, but it would be fun and not too hard, but not exactly trivial. You'll need to have very skinny cells that will represent your borders and have either a graphic or a background color so it looks like a border. Put some mouse handlers on these cells or use handlers on the

Re: modules and compile time

2011-02-16 Thread Sky
That's a very good question. Logically the gwt compiler would be capable of determining which modules have anything changed in them and only compile those modules. However it could be that it doesn't do this. For one, during the obfuscation process I'm not sure that the compiler would know where

Re: modules and compile time

2011-02-16 Thread Sky
Oh, I forgot to say that I believe none of these things, including any ability the compiler might have to only compile changed modules, will help speed up the Java rebuild times when in Dev mode. Dev mode, I believe, is already doing the best it can, by only compiling the Java classes that have

Re: RegExp not matching, but it should

2011-02-16 Thread Sky
Hmm, looks fine to me. I forget why, but I abandoned using RegExp objects in GWT way back when I first started using GWT. I don't see RegExp in the JRE emulation reference, so that's probably why. All I know is that I just use String.matches(), but I don't know how to do modifiers like gi for

Re: Production bugs that don't exist in development mode

2011-02-16 Thread Sky
I created a GWT issue for this here: http://code.google.com/p/google-web-toolkit/issues/detail?id=6036 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe

  1   2   >