Re: RequestBuilder

2009-03-19 Thread maple...@gmail.com
Ty sooo much, got it now On 3月18日, 下午11时01分, Ian Petersen ispet...@gmail.com wrote: On Wed, Mar 18, 2009 at 9:38 PM, maple...@gmail.com maple...@gmail.com wrote: is there a way to force callback to be excuted before next line? Nope. See

Setting background image for ListBox Item

2009-03-19 Thread priya
Hello group, I want to set background image for ListBox Item in my GWT application. I am using following code for this: for (int i = 0; i listBox.getItemCount(); i++) { DOM.getChild(listBox.getElement(), i).setClassName (list_box_style); } CSS for this: .list_box_stye{

Re: Gwt code where locales can be changed be dynamically

2009-03-19 Thread Vitali Lovich
Best way would be to actually redirect them to your app with the localization set. That way, they load the app compiled for that localization. The only tricky thing is maintaining persistence across the switch if that is important. Otherwise, there's really no way to do it the GWT-way (AFAIK).

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread Vitali Lovich
AFAIK - just loading the javascript should suffice. You'll notice in the nocache.js, the last line of the code calls the function which initializes GWT invokes your module. Are you having any problems with this? One hint I have is that in your onModuleLoad, make sure you use the appropriate

How to sort a list with objects on client side?

2009-03-19 Thread Danny Schimke
Hello! I have a list with objects I've got from backend-side. Every object has a getSort() method, which returns an integer value. I've never worked with Comparator before, but I tried like the following: public ListObjecttype getObjectListe() { ListObjecttype sortedList =

Re: How to sort a list with objects on client side?

2009-03-19 Thread gregor
Hi Danny, I think it may be because you have not implemented the compare method? One simple comparator I use for sorts looks like this: public class TermComparator implements Comparator { public int compare(Object term1, Object term2) { String first = ((Term)

Re: Announcing GWT 1.6 Release Candidate

2009-03-19 Thread hezjing
Hi I'm sorry, but I'm able to download gwt-windows-1.6.2.zip from the other PC.There must be something wrong with my environment :-( Please ignore my problem! On Thu, Mar 19, 2009 at 5:27 PM, hezjing hezj...@gmail.com wrote: Hi The gwt-windows-1.6.2.zip seems to be invalid when downloaded

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread markmac
Hi Vitali, That is actually what we just thought of doing after I posted the question! Thanks for the help, but so far its not working, actually it looks like its doing nothing... I will investigate and find out whats going on, and post back once I find out. Thanks again Mark On Mar 19, 6:21 

Re: Announcing GWT 1.6 Release Candidate

2009-03-19 Thread hezjing
Hi The gwt-windows-1.6.2.zip seems to be invalid when downloaded from IE 7 and Chrome. I'm not sure if anyone has successfully download and extract gwt-windows-1.6.2.zip? On Thu, Mar 19, 2009 at 4:32 AM, Bruce Johnson br...@google.com wrote: Good news! Google Web Toolkit 1.6 RC is ready for

Re: Gwt code where locales can be changed be dynamically

2009-03-19 Thread deeps
Can i pls have the code for localisation set. On Mar 19, 12:15 pm, Vitali Lovich vlov...@gmail.com wrote: Best way would be to actually redirect them to your app with the localization set.  That way, they load the app compiled for that localization. The only tricky thing is maintaining

setting up locales statically n dynamically

2009-03-19 Thread deeps
I tried implementing some code i got in the forum and now i am getting the fol errors... No resource key found for the key element dateFormat.unable to laod picker.Format module. Will be grateful if u could help me. this is the code implemented in GWT datepicker. DatesConstant_us.properties

Re: gwt-rpc + webservices hang glassfish 2.1

2009-03-19 Thread tetsuo
if you consider it well: http://code.google.com/webtoolkit/tutorials/1.5/RPC.html will claims a special note : Important: GWT RPC services are not the same as web services based on SOAP or REST. They are simply as a lightweight method for transferring data between your server and the GWT

Re: SerializationException when serialize a HashMap over RPC

2009-03-19 Thread Alejandro D. Garin
Hi, I try your suggestion but the same problem. This seems to happend only in hosted mode. I'm using windows GWT 1.5.3 . On Wed, Mar 18, 2009 at 7:15 PM, Vitali Lovich vlov...@gmail.com wrote: I think I see it. List is not generally serializable. The recommendation I recall reading

Re: Announcing GWT 1.6 Release Candidate

2009-03-19 Thread Lance Weber
Awesome! Go team go! --~--~-~--~~~---~--~~ 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 from this group, send email to

Timezone with DateTimeFormat

2009-03-19 Thread rb
Is there a way to display the time zone in the client? The gwt DateTimeFormat for time zone v is returning the GMT offset and not the time zone text. The following code: DateTimeFormat dtf = DateTimeFormat.getFormat(hh 'o''clock' a, ); RootPanel.get().add( new Label( dtf.format(new Date()) )

Change GWT locale dynamically

2009-03-19 Thread Mamadou Alimou DIALLO
Hello group, I develop big entreprise application using GWT. My application is multilanguage (FR, EN, GB). I would like to change dynamically the application language automaticaly. For example when I lunch application, I would like to detect the client language and automatically load a good

Basic Keyboard listener keyCode == KEY_ENTER test fails

2009-03-19 Thread wayne
My code looks like: suggestBox.addKeyboardListener(new KeyboardListenerAdapter() { public void onKeyDown(Widget sender, char keyCode, int modifiers) { if(keyCode == KEY_ENTER); {

Re: Exception when add spring.jar in project GWT 1.6

2009-03-19 Thread magbyr
I'm having the same problem. Same project worked well on 1.5.3, but not on 1.6RC. Fails on jsp and default servlet from Jetty: javax.servlet.UnavailableException: Servlet class org.apache.jasper.servlet.JspServlet is not a javax.servlet.Servlet javax.servlet.UnavailableException: Servlet class

can gwt be used with a templete languge sush as Django

2009-03-19 Thread Coonay
can gwt be used with a templete languge sush as Django --~--~-~--~~~---~--~~ 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

Spring and GWT 1.6RC

2009-03-19 Thread magbyr
I'm having a problem with 1.6RC / Jetty and Spring 2.5. Same project worked well on 1.5.3, but not on 1.6RC. Fails on jsp and default servlet from Jetty: javax.servlet.UnavailableException: Servlet class org.apache.jasper.servlet.JspServlet is not a javax.servlet.Servlet

File Upload

2009-03-19 Thread Bhaumik
I have tried one single example for to read Excel File in my SMS application.By using this component i got whole path at client side but i m not getting full path at server side.i m getting only file name. Below is my code for client side : fuImportContact=new FileUpload();

Sharing GWT classes between two projects with a Maven build

2009-03-19 Thread Domenec
Hello, my setup is: Application #1 is a GWT app. There is RPC, so the interfaces and associated POJO's that define the RPC call are within the client package, so that they can be translated into JavaScript. On the server side of app#1 there is a call to web services. Those web services are

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread Thomas Broyer
On 19 mar, 11:23, markmac mark.macum...@gmail.com wrote: Hi Vitali, That is actually what we just thought of doing after I posted the question! Thanks for the help, but so far its not working, actually it looks like its doing nothing... I will investigate and find out whats going on, and

Re: Change GWT locale dynamically

2009-03-19 Thread Thomas Broyer
On 19 mar, 15:34, Mamadou Alimou DIALLO malim...@gmail.com wrote: Hello group, I develop big entreprise application using GWT. My application is multilanguage (FR, EN, GB). I would like to change dynamically the application language automaticaly. For example when I lunch application, I

gwt mix content with style?

2009-03-19 Thread Coonay
like old html,gwt mix content with style again? in gwt ,most dynamic UI element have to set style with addStyleName method? such as the following, public class FirstGWT implements EntryPoint { private FlexTable stocksFlexTable = new FlexTable(); } if i define the style in the css .

Re: Gwt code where locales can be changed be dynamically

2009-03-19 Thread Vitali Lovich
Like I said, just reload the page with locale=locale_to_use: e.g. public static native void redirect(String url)/*-{ $wnd.location = url; }-*/; redirect(http://mydomain.com/MySuperDuperApp?locale=en_US;); Refer to GWT's Internalization

problem when running gwt application with eclipse

2009-03-19 Thread eta2009
hello when I create an application with projectCreator and applicationCreator then a import it to eclipse, it runs just when I click the run button in the eclipse IDE. after any modification the application crashes, it doesn't run with this button (but it run with MyApp-shell.cmd script). And I

Minor error in Event Handler documentation sample code

2009-03-19 Thread Zak
Hi- Just wanted to point out what I think is an error in the Event Handler documentation sample code. page:

Fwd: GWT 1.6.2 fails to load

2009-03-19 Thread Søren Brønsted
I just downloaded 1.6.2 and converted my project so that I have no errors and warnings, but my application will not load. I have compiled with style DETAILED and loaded the application i Firefox, and firebug reports an error in this code:        function maybeStartModule() {                if

Re: Gwt code where locales can be changed be dynamically

2009-03-19 Thread Thomas Broyer
On 19 mar, 16:58, Vitali Lovich vlov...@gmail.com wrote: Like I said, just reload the page with locale=locale_to_use: e.g. public static native void redirect(String url)/*-{       $wnd.location = url;   }-*/; redirect(http://mydomain.com/MySuperDuperApp?locale=en_US;);

Re: Announcing GWT 1.6 Release Candidate

2009-03-19 Thread Jewel
Does Google have any plan to include comet support officially in GWT in near future? On Mar 19, 9:32 pm, El Mentecato Mayor rogelio.flo...@gmail.com wrote: I downloaded the file under openSUSE.  After bunzip2 does its thing, the tar file has the mozilla* directory containing an extra ./ at

Re: Spring and GWT 1.6RC

2009-03-19 Thread Luciano
Hi, I'm unable to use JSPs in the embedded Jetty too. A simple test: with JAVA_HOME pointing to the latest JDK, I've created an application named JspTest using webAppCreator. Then I renamed the JspTest.html file to JspTest.jsp and modified build.xml to launch that file. With ant hosted I get an

Re: Gwt code where locales can be changed be dynamically

2009-03-19 Thread Vitali Lovich
Thanks - I tried looking for that online couldn't find it. On Thu, Mar 19, 2009 at 12:49 PM, Thomas Broyer t.bro...@gmail.com wrote: On 19 mar, 16:58, Vitali Lovich vlov...@gmail.com wrote: Like I said, just reload the page with locale=locale_to_use: e.g. public static native void

Re: File Upload

2009-03-19 Thread Thomas Broyer
On 19 mar, 14:39, Bhaumik bhaumiksha...@gmail.com wrote: I have tried one single example for to read Excel File in my SMS application.By using this component i got whole path at client side Note that not all browser will give you a full path (Opera will, but it'll be a *fake* one; and HTML5

Re: Sharing GWT classes between two projects with a Maven build

2009-03-19 Thread Vitali Lovich
AFAIK, it's possible to add the stuff using super-source/ in your gwt.xml (just google super-source gwt). http://roberthanson.blogspot.com/2006/05/how-to-package-gwt-components.html There's some discussion in the comments there I believe regarding the same thing you're trying to do. On Thu, Mar

Re: Basic Keyboard listener keyCode == KEY_ENTER test fails

2009-03-19 Thread Thomas Broyer
On 19 mar, 09:54, wayne whon...@gmail.com wrote: My code looks like:                 suggestBox.addKeyboardListener(new KeyboardListenerAdapter() {                         public void onKeyDown(Widget sender, char keyCode, int modifiers) {                                 if(keyCode ==

Re: Spring and GWT 1.6RC

2009-03-19 Thread magbyr
I tried creating a completely blank / new 1.6RC project. When I put spring.jar and a blank applicationContext.xml the project stops working. Tried both with the spring context-listener and the spring servlet. [WARN] failed springServlet java.lang.LinkageError: loader constraint violation: loader

Re: gwt mix content with style?

2009-03-19 Thread Danny Schimke
You could do something like this: Style style = tmpElement.getElement().getStyle(); style.setProperty(border, 1py solid #00;); -Danny 2009/3/19 Coonay fla...@gmail.com like old html,gwt mix content with style again? in gwt ,most dynamic UI element have to set style with addStyleName

Re: can gwt be used with a templete languge sush as Django

2009-03-19 Thread Tony Strauss
I might not understand fully what you want to do, but yes, it can. While I have not used it with Django, I have used JSP templating in the GWT application HTML file. For instance, in one application, I have a different GWT module loaded depending on the type of user (admin, client, etc). Here

Recommend server framework

2009-03-19 Thread sgkannan
Hi, We are having several years of domain expertise in manufacturing with intermediate programming skills - having worked with Java, JSP, Servlets, Web Services and DB. We are developing an application (enterprise, web based, each application instance should handle 2000+ users) from scratch and

Re: gwt mix content with style?

2009-03-19 Thread Vitali Lovich
Do not do it that way. Style's should always be in a separate CSS document - it's better that way any way you look at it. GWT is not mixing content with style I don't think. How you would write the equivalent HTML? table class=stocksFlexTable /table (that's not the element FlexTable uses, but

Help! My Generators don't work for Web Mode :(

2009-03-19 Thread Marcelo Emanoel
Hi guys I have a problem with generators... I've manage to do 2 generators and they work fine on hosted mode however they don't work when I compile code to web mode :( What I'm trying to acomplish is to build an API for binding... An important thing is that my generators work on hosted mode

Re: Spring and GWT 1.6RC

2009-03-19 Thread Flemming Boller
I can also confirm the above experience. loader constraint violation /Flemming On Thu, Mar 19, 2009 at 6:56 PM, magbyr mag...@gmail.com wrote: I tried creating a completely blank / new 1.6RC project. When I put spring.jar and a blank applicationContext.xml the project stops working. Tried

Re: JsArray.length giving error: HostedModeException: Expected primitive type int; actual value was undefined

2009-03-19 Thread Farrukh Najmi
Dear GWT dev team, I would be grateful if someone could respond to this issue. Ideally I would appreciate: * Validation that this is a GWT bug. If so, I will file an issue. BTW where is the issue tracker for GWT/webtoolkit project? * Suggestions for a workaround * Best guess when the fix

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread markmac
Hmmm, Thats not good news, could you provide more information about the custom selection script/linkers? Also, I was wondering, if we were to mimic, the .nocache.js file, by calling its internal methods, would this be a problem when we deploy to production code and obfuscate the javascript code?

Re: Help! My Generators don't work for Web Mode :(

2009-03-19 Thread Marcelo Emanoel B. Diniz
this is my entry point package br.com.gwt.symbiosis.client; import br.com.gwt.symbiosis.client.mock.FormView; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.RootPanel; public

Re: NumberFormat getCurrenyFormat()

2009-03-19 Thread fatjack1...@googlemail.com
Anyone have any suggestions? On Mar 18, 5:21 pm, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Or at least change it to £2.57 instead of $? On Mar 17, 8:58 pm, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Ok, The reason I wasparsing it back in was to

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread Ian Bambury
I might be being a bit thick here, but why do you want to delay the onModuleLoad routine? Why not: * create a GWT method to insert the widgets into the page * in the onModuleLoad, create a JS function to call the insertWidgets method * When the Ajax call returns, just call the GWT routine

uncaught Exception java.lang.IllegalArgumentException

2009-03-19 Thread greatness
Hi all, I have got this problem since migrating to GWT 1.5.3 from 1.4.62. I get this exception only in the web mode. I do not get this in the hosted mode. I am kind of new to the GWT and I am not sure how I can fix this. I have a tree structure that pages are shown on the right by selecting tree

ImageBundle and polling very often

2009-03-19 Thread GhostNr1
Hi! I'm trying to use ImageBundle to paint all my images. That's work very good except from one thing. Every 3 secound I poll the server to check if an ohtello plan have changed and then I try to paint it for (int i = 0; i gamePlan.getColumnCount(); i++) {

RequestBuilder.setPassword on IE6

2009-03-19 Thread Geoff
I've encountered an issue with the RequestBuilder that only crops up on IE6. If I set a username and password using RequestBuilder.setUser () and RequestBuilder.setPassword(), and then call RequestBuilder.sendRequest(), my onResponseReceived() immediately gets called with a Response object that

Re: body bgcolor issue

2009-03-19 Thread Tony Paul
Hello again, This issue does not exist outside of GWT, so it's not that trivial, please try to reproduce it and see for yourself. If you know of a solution, please let me know. Thank you, Tony On Mon, Mar 16, 2009 at 4:46 PM, tony.p.. tony.t@gmail.com wrote: Hello all, I tried to

Re: Gwt code where locales can be changed be dynamically

2009-03-19 Thread flyingb...@gmail.com
Why dont u do redirect the google way with Window.open just use target as _self also if you really if u want to be able to change local on the fly you would need to create all the strings as variables that can get changed. Make a class an abstract while the differnet languages extends it. so

can someone covert a 1.5 run file to 1.6 for me?

2009-03-19 Thread flyingb...@gmail.com
Well the project i did is already using gwt 1.6 but the test is still using the old method i used gwt4nb to generate the project layout for 1.5 but there is no gwt4nb for 1.6 yet so I cant get it converted to the new test layout. --~--~-~--~~~---~--~~ You

Re: body bgcolor issue

2009-03-19 Thread Ian Bambury
Try getting rid of the standard theme you left in the module.gwt.xml? Just a guess. Ian http://examples.roughian.com 2009/3/19 Tony Paul tony.t@gmail.com Hello again, This issue does not exist outside of GWT, so it's not that trivial, please try to reproduce it and see for yourself.

Re: body bgcolor issue

2009-03-19 Thread Tony Paul
Ian, You gave me the idea, I added the color in the css file and used it in the html file and that fixed it. Thank you, Tony On Thu, Mar 19, 2009 at 6:01 PM, Ian Bambury ianbamb...@gmail.com wrote: Try getting rid of the standard theme you left in the module.gwt.xml? Just a guess. Ian

Re: Performance of history handling with IE - The larger the app the worse the performance

2009-03-19 Thread jay
We experienced a very similar problem, though we're not using GXT. Doing a navigation in IE was taking a crazy amount of time, whereas in other browsers the navigation was fine. We wound up doing the navigations by getting the user gesture (click, or whatever) indicating that they want to

Re: gwt mix content with style?

2009-03-19 Thread Coonay
public class FirstGWT implements EntryPoint { private FlexTable stocksFlexTable = new FlexTable(); } FirstGWT.css: . stocksFlexTable { border:solid; } if i want to apply the stocksFlexTabl style, do i have to call stocksFlexTable.addStyleName(stocksFlexTable ) or something else gwt

Re: Gwt code where locales can be changed be dynamically

2009-03-19 Thread Vitali Lovich
That is not a great way because it bypasses the whole internationalization framework of GWT for no good reason. Essentially, you're going to have to duplicate the effort to make your own for no good reason. At that point, just make RPC calls (or regular Ajax calls) to fetch the strings from the

Re: gwt mix content with style?

2009-03-19 Thread Vitali Lovich
Of course you need to do: stocksFlexTable.addStyleName(stocksFlexTable ) . You seem to be completely missing the point that the variable stocksFlexTable is not the name of the HTML element. I think you need to review what an HTML page looks like. This is the pseudocode GWT will generate when it

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread markmac
Hi Ian, That sounds like a good idea, dont know why i didnt think of that... nice one! Im assuming you mean that I need to define a JSNI method in my GWT code, that my own custom client code calls to invoke the insertion of the widget on to the page? thanks for the thoughts! On Mar 20, 9:10 

Re: ImageBundle and polling very often

2009-03-19 Thread Vitali Lovich
Try doing an initialization first: for (int i = 0; i gamePlan.getColumnCount(); i++) for (int j = 0; j gamePlan.getRowCount(); j++) gamePlan.setWidget(i,j, new Image()); Then in your actual paint do: imagePrototype.applyTo(gamePlan.getWidget(i,

getOffsetWidth() and getOffsetHeight()

2009-03-19 Thread logan
Hi all, I would like to attach a composite widget that contains a HorizontalPanel and some other widgets into an AbsolutePanel. My problem is that I need to know the height and the width of the widget before I can calculate the correct location to place it in the AbsolutePanel, but

Re: ImageBundle and polling very often

2009-03-19 Thread Vitali Lovich
Also, make sure that the stall is actually because you're swapping memory not because your trying to repaint a large board (look at your OS resource monitor). You should see almost no CPU usage in user-space if it's memory swapping. If it's the CPU, you'll want to do the traditional trick of

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread Ian Bambury
Something like this: package com.whatever.client; public class Main implements EntryPoint { public void onModuleLoad() { createJsFunction(); } private static native void createJsFunction() /*-{ $wnd.jsToGWT = function(parm) { @com.

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread Vitali Lovich
Slight modification - why are you making it a static call? What about the way below. Also, don't forget to include the nocache.js file in your HTML - it actually needs to be there statically (well - inserted onto the page before it finishes loading). On Thu, Mar 19, 2009 at 8:44 PM, Ian Bambury

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread Ian Bambury
Sorry, I don't understand. What static call? What 'way below'? And obviously it won't work if you don't include the GWT app in the page. Ian http://examples.roughian.com 2009/3/20 Vitali Lovich vlov...@gmail.com Slight modification - why are you making it a static call? What about the way

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread markmac
I think he means the call to createJsFunction() and gwtMethod() which are both static, BTW, I found this in the GWT Doco: http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideJavaFromJavaScript which shows how to avoid the need for static calls...

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread Vitali Lovich
Sorry - if you use gmail, you'll have to open the quoted text (that's where I made the change). On Thu, Mar 19, 2009 at 10:00 PM, markmac mark.macum...@gmail.com wrote: I think he means the call to createJsFunction() and gwtMethod() which are both static, BTW, I found this in the GWT Doco:

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread markmac
Yeah ok I see what you did, that removes the need for the static call like its stated in the Google GWT Doco. Now it looks like everything is firing, but there is nothing, at all, inside the jsToGWT function body (according to FireBug anyway). So nothing at all happens when I call jsToGWT...

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread Ian Bambury
What is wrong with using static methods? Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread markmac
nothing, just personal preference I guess, but that really doesnt matter, it obviously supports both, which is important and good to know. Any ideas about it rendering nothing inside the function body? On Mar 20, 1:47 pm, Ian Bambury ianbamb...@gmail.com wrote: What is wrong with using static

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread Ian Bambury
Well, I never managed to get instance methods to work inside JS functions which is why I used static methods :-) Also, I only ever have one entrypoint class. It works the way I showed you, and instance methods will get called from within a JSNI method, but as soon as you put it in a JS function,

Differences

2009-03-19 Thread jagadesh
What are the differences between GWT RPC, Request Builder HttpSession why do we need 3 for the same thing . thank u, jagadesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: How i found the real name of a obfuscated function? How i find the code lines?

2009-03-19 Thread Adligo
Hi, I would use the i_log commons logging port that I wrote, send your errors (Exceptions and other log messages) through http to a server side log file through a servlet , log4j and/or email to them to your email account. You should at least be able to determine the Class name where your

Re: Invoke GWT entry point via custom JavaScript?

2009-03-19 Thread Vitali Lovich
Lol no. I didn't test the code. I have absolutely no time - my own GWT project is taking up all my time. On Thu, Mar 19, 2009 at 10:56 PM, Ian Bambury ianbamb...@gmail.com wrote: Well, I never managed to get instance methods to work inside JS functions which is why I used static methods :-)

[gwt-contrib] ImageBundle pruning

2009-03-19 Thread Robert Hanson
Maybe I being naive, but is it be possible to use pruning with ImageBundles so that only referenced images are included in the compiled output? In my case I have a bundle of 250 flags of the world, and all 250 are included in the compiled output even though I am only using a few of them. Maybe

[gwt-contrib] Re: ImageBundle pruning

2009-03-19 Thread Bruce Johnson
A great idea, and it's something Bob Vawter has been pushing for for ages now. We do need to add some new architecture to make it possible. It might be possible to hack it in by doing weird with generators and linkers working in concert, but realistically, the right way will take a good bit of

[gwt-contrib] Re: HashSet throwing incorrect exception possible compiler bug

2009-03-19 Thread Scott Blum
By the way, GWT doesn't actually throw CoMods in web mode. So that's the real JRE you were tangling with. :-) On Wed, Mar 18, 2009 at 10:08 PM, Vitali Lovich vlov...@gmail.com wrote: It's actually not event listeners - it's just a simple messaging delivery system I wrote. I was more

[gwt-contrib] Re: RpcRequestBuilder

2009-03-19 Thread Scott Blum
Ray-- can't you cast the rebind result to SerializationStreamFactory and use createStreamWriter()/createStreamReader() to throw your own party? On Wed, Mar 18, 2009 at 10:34 PM, Ray Cromwell cromwell...@gmail.comwrote: On Wed, Mar 18, 2009 at 6:11 PM, BobV b...@google.com wrote: On Wed, Mar

[gwt-contrib] [google-web-toolkit commit] r5047 - Remove obsolete branch.

2009-03-19 Thread codesite-noreply
Author: b...@google.com Date: Thu Mar 19 06:41:40 2009 New Revision: 5047 Removed: changes/bobv/rpc_request_builder/ Log: Remove obsolete branch. --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] How to manage buttons in horizontal panel?

2009-03-19 Thread Sherkan
Hi, I got: final HorizontalPanel rightMenuPanel = new HorizontalPanel(); //rightMenuPanel.setHorizontalAlignment(HorizontalPanel.ALIGN_LEFT); rightMenuPanel.setSize(597px, 35px); I want to add 3 buttons and push them to left corner, how can I do

[gwt-contrib] Re: How to manage buttons in horizontal panel?

2009-03-19 Thread John LaBanca
Which OS are you using, and is this in standards mode? If you can provide a screenshot, that would be helpful too. My guess is that, because you are setting the width, the buttons are wrapping, although I find that very unusual. Thanks, John LaBanca jlaba...@google.com On Thu, Mar 19, 2009 at

[gwt-contrib] Re: New StyleSheetLoader class

2009-03-19 Thread John LaBanca
I agree with all of the general comments: - Need more doc and an example - Need to prevent unintentional style affects In terms of moving this into GWT, the list of concerns on this email are what I'm worried about. Basically, there are a lot of concerns that could arrise, and I'd like to hash

[gwt-contrib] Re: RpcRequestBuilder

2009-03-19 Thread Ray Cromwell
You could, but the call sites no longer look like plain RPC method calls if I understand you. The cleanest solution I've come up with so far is to just override the ServiceInterfaceGeneratorProxy and replace the RemoteServiceProxy with one that has the proper doInvoke() method, but it feels hacky,

[gwt-contrib] Re: New StyleSheetLoader class

2009-03-19 Thread Ray Ryan
On Thu, Mar 19, 2009 at 9:40 AM, John LaBanca jlaba...@google.com wrote: I agree with all of the general comments: - Need more doc and an example - Need to prevent unintentional style affects In terms of moving this into GWT, the list of concerns on this email are what I'm worried about. 

[gwt-contrib] Re: ImageBundle pruning

2009-03-19 Thread BobV
The original idea was to have some kind of ReachabilityOracle that could tell a Linker if some Java method were still contained in the compiled JS output. The Generator would create a task-list of resources to add to the compiled output, and it would be the Linker's responsibility to add that

[gwt-contrib] Review Request - Make UIObject.DebugIdImpl public

2009-03-19 Thread John LaBanca
Bruce - This patch makes UIObject.DebugIdImpl and UIObject.DebugIdImplEnabled public again. While it wasn't JavaDoc'd, it is possible to override these classes using a DeferredBinding, which allows users to set something other than the ID when UIObject.ensureDebugId() is called. Some users may

[gwt-contrib] [google-web-toolkit commit] r5049 - This patch makes UIObject.DebugIdImpl and DebugIdImplEnabled public. The impl classes we...

2009-03-19 Thread codesite-noreply
Author: jlaba...@google.com Date: Thu Mar 19 14:18:42 2009 New Revision: 5049 Modified: releases/1.6/user/src/com/google/gwt/user/client/ui/UIObject.java Log: This patch makes UIObject.DebugIdImpl and DebugIdImplEnabled public. The impl classes were public originally so people could

[gwt-contrib] [google-web-toolkit commit] r5051 - Have tools generate native platform line endings.

2009-03-19 Thread codesite-noreply
Author: sco...@google.com Date: Thu Mar 19 14:38:10 2009 New Revision: 5051 Modified: releases/1.6/dev/core/src/com/google/gwt/util/tools/Utility.java Log: Have tools generate native platform line endings. Review by: bruce Modified:

[gwt-contrib] [google-web-toolkit commit] r5052 - Fixes command help text on several tools.

2009-03-19 Thread codesite-noreply
Author: sco...@google.com Date: Thu Mar 19 14:39:00 2009 New Revision: 5052 Modified: releases/1.6/dev/core/src/com/google/gwt/dev/HostedMode.java releases/1.6/dev/core/src/com/google/gwt/dev/HostedModeBase.java releases/1.6/dev/core/src/com/google/gwt/dev/RunWebApp.java

[gwt-contrib] [google-web-toolkit commit] r5055 - Updates the classpath of apichecker in the build.xml file as per r5048 commit

2009-03-19 Thread codesite-noreply
Author: amitman...@google.com Date: Thu Mar 19 15:01:28 2009 New Revision: 5055 Modified: trunk/build.xml Log: Updates the classpath of apichecker in the build.xml file as per r5048 commit Patch by: amitmanjhi Modified: trunk/build.xml

[gwt-contrib] [google-web-toolkit commit] r5056 - Edited wiki page through web user interface.

2009-03-19 Thread codesite-noreply
Author: amitman...@google.com Date: Thu Mar 19 15:24:58 2009 New Revision: 5056 Modified: wiki/CompilationUnit.wiki Log: Edited wiki page through web user interface. Modified: wiki/CompilationUnit.wiki == ---

[gwt-contrib] [google-web-toolkit commit] r5057 - Re-enable the gwt.typecreator.shard.size system property to fix RPC serializer code in le...

2009-03-19 Thread codesite-noreply
Author: b...@google.com Date: Thu Mar 19 16:19:41 2009 New Revision: 5057 Modified: trunk/user/src/com/google/gwt/user/rebind/rpc/TypeSerializerCreator.java Log: Re-enable the gwt.typecreator.shard.size system property to fix RPC serializer code in legacy hosted mode. Patch by: bobv

[gwt-contrib] [google-web-toolkit commit] r5058 - Got generic parameters on methods (including those needed for local classes) working.

2009-03-19 Thread codesite-noreply
Author: j...@google.com Date: Thu Mar 19 17:28:46 2009 New Revision: 5058 Modified: changes/jat/ihm/dev/core/src/com/google/gwt/dev/javac/TypeOracleMediator.java Log: Got generic parameters on methods (including those needed for local classes) working. Modified:

[gwt-contrib] [google-web-toolkit commit] r5059 - Enum support, a bit of cleanup.

2009-03-19 Thread codesite-noreply
Author: j...@google.com Date: Thu Mar 19 19:01:26 2009 New Revision: 5059 Modified: changes/jat/ihm/dev/core/src/com/google/gwt/core/ext/typeinfo/JRealClassType.java changes/jat/ihm/dev/core/src/com/google/gwt/dev/javac/TypeOracleMediator.java Log: Enum support, a bit of cleanup.

[gwt-contrib] [google-web-toolkit commit] r5060 - Fix some name confusion, TOMTest passes everything but testRefesh,

2009-03-19 Thread codesite-noreply
Author: j...@google.com Date: Thu Mar 19 19:21:21 2009 New Revision: 5060 Modified: changes/jat/ihm/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java Log: Fix some name confusion, TOMTest passes everything but testRefesh, testRefreshWithErrors, and testUnresolvedSymbols -- all of which

[gwt-contrib] [google-web-toolkit commit] r5061 - Updates the classpath of apichecker's test in the build.xml file as per r5048 commit

2009-03-19 Thread codesite-noreply
Author: amitman...@google.com Date: Thu Mar 19 20:07:46 2009 New Revision: 5061 Modified: trunk/tools/api-checker/build.xml Log: Updates the classpath of apichecker's test in the build.xml file as per r5048 commit Patch by: amitmanjhi Modified: trunk/tools/api-checker/build.xml

[gwt-contrib] [google-web-toolkit commit] r5062 - One line patch to fix http://code.google.com/p/google-web-toolkit/issues/detail?id=3370

2009-03-19 Thread codesite-noreply
Author: amitman...@google.com Date: Thu Mar 19 20:38:51 2009 New Revision: 5062 Modified: trunk/distro-source/linux/build.xml trunk/distro-source/mac/build.xml trunk/distro-source/windows/build.xml Log: One line patch to fix