How to use Spinner in GWT 1.4.62

2009-02-12 Thread priya
Hi all, I want to use Spinner for month and year in GWT 1.4.62. I found google-web-toolkit-incubator.It is having ValueSpinner functionality. But google-web-toolkit-incubator works only with GWT 1.5.3 onwards. Can anyone tell me how to use Spinner with GWT 1.4.62 ? or can i use

Re: Exporting Grid data to MS-Excel

2009-02-12 Thread Chhatrapal Sharma
Thanks Alex for your reply I was trying this idea only but getting an error below... Do u have any idea? Thanks Once Again... Java Model Exception: Java Model Status [Cannot retrieve the attached javadoc for Object [in Object.class [in java.lang [in C:\Program

Re: save as dialog

2009-02-12 Thread cyril.lakech
You must implement a servlet and then redirect to this servlet with this code in your GWT code (buttonlistener.click) String url = GWT.getModuleBaseURL() + export; // + ? fileToDownload=bob.jpg; Window.open(url, _SELF, ); And have a look to the search feature of this groupe please !!!

compiling gwt app

2009-02-12 Thread ytbryan
hi all i want to see the output of gwt-compile as it gives error. but it always closes immediately. how do i make it pause? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Struts+GWT

2009-02-12 Thread Rockster
Could you state what the reason is you want to use Struts in combination with GWT ? On Feb 12, 8:37 am, GWT GWT rdforj...@gmail.com wrote: Hi , I am trying to develp an application using GWT+Struts . I had search on net But I am not getting tutorial to develop  an application using

Re: compiling gwt app

2009-02-12 Thread ytbryan
ok ... i used pause; i got this error. tried searching in this forum but got no result. can someone help me out? Exception in thread main java.lang.NoClassDefFoundError: com/google/ gwt/dev/GW TCompiler Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.GWTCompiler at

Add a ClickListener on PagingScrollTable

2009-02-12 Thread Josse
Hello for my application I need to add DoubleClickListener, RightClickListener and ClickListener on each element of my PagingScrollTable. Do you know how to do that? PS : I'm a beginner :p --~--~-~--~~~---~--~~ You received this message because you are subscribed

FastTree UserObject

2009-02-12 Thread Allahbaksh
Hi, In my project I need to populate a Tree with huge TreeItem and depending upon the click on the kind of TreeItem I have to do processing. I tried using default GWT Tree and TreeItem though they offer lot of functionality but they are slow as compared to the FastTree. The problem with

Re: How to implement DTO correctly for use with RPC?

2009-02-12 Thread Felipe Cypriano
BobM, See if my thoughts are right. Assuming I've this entity class: package myapp.entity; public class Item { private int id; private String productName; private BigDecimal price; // getters and setters } This class is packaged in a file called entities.jar and because the

Re: compiling gwt app

2009-02-12 Thread Felipe Cypriano
I think you're missing gwt-dev-system.jar in your classpath. --- Felipe Marin Cypriano Vitória - ES On Thu, Feb 12, 2009 at 8:16 AM, ytbryan ytbr...@gmail.com wrote: ok ... i used pause; i got this error. tried searching in this forum but got no result. can someone help me out?

Re: Allowing plugins to our GWT app

2009-02-12 Thread Ash
You can't do it, as far as I'm aware (I looked up the same topic a couple of months back). The GWT compiler likes to have all the source code (including imported modules) for every class it might ever need, so it can do its aggressive trimming of unused code. These threads on the the same topic

Re: Need to enable parallel download .

2009-02-12 Thread Eric Ayers
On Wed, Feb 11, 2009 at 3:34 PM, Ghostcoder thanneer.ma...@gmail.com wrote: I have created my site using gwt1.5 and I have used gwt google map api too.When i open my site in the browser I realize that a main.js file is downloaded from maps.google.com. which is 68 kb(4 sec to download) and my

HTMLPanel bug hwne migrating from 1.4.6 to 1.5.3

2009-02-12 Thread ruds
Hello there, I used to play around with HTMLPanels by loading the html source from the server. The htmls could be some templates, so in the case where i have a loop over a template, i have duplicate IDs per HTMLPanel instance. When using GWT 1.4.6 this used to work smoothly as the HTMLPanel was

Re: HTMLPanel bug hwne migrating from 1.4.6 to 1.5.3

2009-02-12 Thread rudolf michael
ok, it is fixed now :) i had to replace the whole HTMLPanel class instead of extending it and overriding its methods :) I JUST LOVE OPEN SOURCE Projects regards, ruds On Thu, Feb 12, 2009 at 2:28 PM, ruds roud...@gmail.com wrote: Hello there, I used to play around with HTMLPanels by loading

Adding or Removing a row dynamically in PagingScrollTable

2009-02-12 Thread debu
Hi, I would like to know if its possible to add or remove a row dynamically in a PagingScrollTable. Thanks, Debu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: save as dialog

2009-02-12 Thread luisfpg
Your server should send a request by adding the header Content- Disposition: attachment; filename=aaa.csv. If you set the browser's URL using Location.assign(path), your page will keep being displayed (because it's an attachment) and there won't be a new popup on the client browser. On Feb 12,

Re: Exporting Grid data to MS-Excel

2009-02-12 Thread Chhatrapal Sharma
yup i got a new solution...jExcel.. tahnks for yr reply On Thu, Feb 12, 2009 at 6:28 PM, alex.d alex.dukhov...@googlemail.comwrote: No idea actually. My magical powers are not enough to see your problem without the code ;-) I suggest you start to debug your application. On 12

Scrolling a PagingScrollTable

2009-02-12 Thread debu
Hi, Does anyone have an idea as to how to sort a PagingScrollTable..I used a previously given solution here but the column number being returned was random whereas I would require a specific column number..It would be of great help if anyone can help me out with this.. Thanks, Debu

Re: How to implement DTO correctly for use with RPC?

2009-02-12 Thread BobM
See my comments in line, below ... Assuming I've this entity class: package myapp.entity; public class Item { private int id; private String productName; private BigDecimal price; // getters and setters } This class is packaged in a file called entities.jar and

Re: Getting a report in NB of GWT libraries not loaded

2009-02-12 Thread BobM
I am still wanting to get so help on this issue, please. --~--~-~--~~~---~--~~ 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

Unable to find/load mapped servlet class

2009-02-12 Thread ytbryan
hi all, i compiled my gwt application that has rpc in it. after that i try running it but it gives me com.google.gwt.user.client.rpc.StatusCodeException: Unable to find/ load mapped servlet class 'com.tribling.gwt.test.mysqlconn.server.MySQLConnServiceImpl' can someone advices me what is

Web link on a widget

2009-02-12 Thread Piotre Ugrumov
Hi, I have a simple question, how can I assign a web link on a widget? I have an url as http://www.google.it how can I assign this url to a click on a widget? Does it exist a simple method to make it possible? Thanks, bye bye. --~--~-~--~~~---~--~~ You received

Re: Adding or Removing a row dynamically in PagingScrollTable

2009-02-12 Thread Isaac Truett
Yes. You can modify the underlying table model and reload the current page if necessary. On Thu, Feb 12, 2009 at 7:51 AM, debu deban...@gmail.com wrote: Hi, I would like to know if its possible to add or remove a row dynamically in a PagingScrollTable. Thanks, Debu

Re: Getting a report in NB of GWT libraries not loaded

2009-02-12 Thread Isaac Truett
Don't deploy those jars. On Thu, Feb 12, 2009 at 9:46 AM, BobM bmar...@bcscomputers.com wrote: I am still wanting to get so help on this issue, please. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

Re: How to implement DTO correctly for use with RPC?

2009-02-12 Thread Felipe Cypriano
I'll test if packaging the DTO classes in another package works. On Thu, Feb 12, 2009 at 12:42 PM, BobM bmar...@bcscomputers.com wrote: The client side should not have to change anything. It works with ItemDTO on its side and sends it back to the server side as required. Why not? If a

DateTimeFormat problem when deploying to tomcat on unix

2009-02-12 Thread jptard
Hello, I encounter a problem with DateTimeFormat class..., not on my computer but when my application is deployed on production: I configured my module to force locale fr_FR like this on my module properties file: extend-property name=locale values=fr_FR/ and I put the meta line below

Re: Id property on a Button

2009-02-12 Thread Ruku
Thanks Preeth. It worked!!! On Feb 11, 10:29 pm, Litty Preeth preeth.h...@gmail.com wrote: button.getElement().setId(btn_1); On Thu, Feb 12, 2009 at 4:45 AM, Ruku ruku...@gmail.com wrote: Does anyone know how to set the id property of a button? I am adding buttons to a panel with a for

Re: Moving Rows in a Table

2009-02-12 Thread Ruku
Any Ideas on this? Thanks. On Feb 10, 1:56 pm, Ruku ruku...@gmail.com wrote: Hi, I am looking for a table like or table widget where I canmovecolumns up and down on a button click. Is there a widget I could use to get that functionality? PS: I am currently using FlexTable to add

compiling gwt with classes outside gwt jre emulation library

2009-02-12 Thread ytbryan
hi all, i wanted to add a java class that retrieve the data from a webpage and display it on my gwt. however, i just realised that the additional class contains java.net.HTTPURLConnection which is not in gwt jre emulation library. so right now, the application cannot work and can't compile. i

Re: Web link on a widget

2009-02-12 Thread Litty Preeth
May be you can look at the Anchor widget On Thu, Feb 12, 2009 at 8:34 PM, Piotre Ugrumov afmul...@gmail.com wrote: Hi, I have a simple question, how can I assign a web link on a widget? I have an url as http://www.google.it how can I assign this url to a click on a widget? Does it exist a

Re: save as dialog

2009-02-12 Thread ytbryan
thank you all for your reply. now i understand how to do the save-as dialog. But my servlet is using RemoteServiceServlet. can i just use rpc to receive the response? if no, how to implement httpservlet with remoteserviceservlet? On Feb 12, 2:01 pm, luisfpg lfpg@gmail.com wrote: Your

Re: compiling gwt with classes outside gwt jre emulation library

2009-02-12 Thread mikedshaf...@gmail.com
Without knowing your specifics, you have to evaluate what the additional class is doing. Perhaps there is a GWT compatible class that performs the same functionality. More than likely, what you want to do can't be done on the client. Remember: your GWT Java code is compiled into Javascript

Re: Announcing GWT 1.6 Milestone 1

2009-02-12 Thread Scott Blum
On Wed, Feb 11, 2009 at 4:29 AM, Alex dP (Violet UML Editor, WebVNC...) alexandre.de.pelleg...@gmail.com wrote: Congratulation for this release. Unfortunately, there's still nothing about Maven support. No official repository, no official plugin I hope this will arrive this Milestone

JSNI - Could not find a native method with the signature

2009-02-12 Thread Vish
Hi I'm trying to work with JSNI and am new with it. I tried the most basic step to implement the JSNI in GWT class and I'm getting following error: Unable to load module entry point class com.myComp.client.MeetingApp (see associated exception for details) java.lang.RuntimeException: Could not

Re: Integrating GWT/Hibernate, what does SPRING give us?

2009-02-12 Thread Jorge Guerrero Damian
I'm starting to learn gwt, but I know something about spring. - Spring is powerfull with security issues (I recomend that) - The Spring MVC module is usefull to have a clean separation of the code. - Spring have a great integration with hibernate, in topics like sessions, transactions, and

Re: JSNI - Could not find a native method with the signature

2009-02-12 Thread Ian Petersen
On Thu, Feb 12, 2009 at 8:52 AM, Vish visheshs...@gmail.com wrote: Hi I'm trying to work with JSNI and am new with it. I tried the most basic step to implement the JSNI in GWT class and I'm getting following error: Unable to load module entry point class com.myComp.client.MeetingApp (see

Re: Integrating GWT/Hibernate, what does SPRING give us?

2009-02-12 Thread Christoph
Thanks Jorge, for you info. After a bit more research, I posted a similar question on the Spring forum, with a bit more detail: http://forum.springsource.org/showthread.php?t=67423 It a first glance, it appears that Springs MVC is tailored to traditional form based HTTP GET/POST type web

Re: Announcing GWT 1.6 Milestone 1

2009-02-12 Thread flyingb...@gmail.com
Well, I just finished changing every single listener i have into handlers and have to rewrite widgets a little that fires listeners. I have no idea what to do with the build.xml thing to make it using new compiler. On Feb 12, 9:26 am, Scott Blum sco...@google.com wrote: On Wed, Feb 11, 2009 at

Re: JSNI - Could not find a native method with the signature

2009-02-12 Thread Vish
Sorry I figured out the problem the error I was getting was because of a bad jar file which I removed and that error got resolved. The function getSomeValue() is called from the onModuleLoad() function mentoined in my post earlier. The other problem was the return type was not assigned to any

Re: Getting a report of WGT libraries not loaded

2009-02-12 Thread Sumit Chandel
Hi BobM, I think part of the problem here is that you seem to be deploying your application with the gwt-user and gwt-dev-linux JARs. These JARs are only required during development and build time, but aren't meant for deployment. Try removing these from the WEB-INF/lib directory when deploying

How to enable logging in tomcat lite during hosted mode

2009-02-12 Thread farrukh.n...@gmail.com
I am new to GWT and did not find answer to my question in archives. I would like to be able to configure tomcat lite so it generates the tomcat log as is the case by default in normal tomcat. At the moment I am not sure where the tomcat lite files are located and what I need to change to enable

Re: Evaling scripts in a JSNI method

2009-02-12 Thread jdwyah
scripts[i].getAttribute(src) is going to be something like 'myscript.js' you can't just eval that string. Are you trying to fetch the js and eval? I'd imagine you need to do that explicitly. -Jeff On Feb 12, 2:23 pm, Matt Raible mrai...@gmail.com wrote: I'm trying to integrate analytics into

Re: Integrating GWT/Hibernate, what does SPRING give us?

2009-02-12 Thread Jorge Guerrero Damian
I have some of experience working with Spring MVC and Velocity in the view. With Spring MVC you can send to the view POJOs, and from the client I receive the data with GET/POST. you can take a look to this link http://noon.gilead.free.fr/gilead/ maybe can be usefull. I'm starting to read a book

Re: DateTimeFormat problem when deploying to tomcat on unix

2009-02-12 Thread Pascal
Bonjour JP, The problem is not with the DateTimeFormat class. You have to look at the way dates work in java. A date object is little more than an offset in milliseconds which happens to be on a give day in the timezone where the date object has been created. So for example, if you create it with

Re: Change default size of embedded browser

2009-02-12 Thread acc
Hi, Also, once Out-Of Process Hosted Mode (OOPHM) comes out, you'll have more flexibility with the hosted mode browser configuration. You can read more about how OOPHM is going to work here: http://code.google.com/p/google-web-toolkit/wiki/DesignOOPHM In the meantime, you could also edit the

Asynchronous woes :-)

2009-02-12 Thread Matthew
Greeetings, Like many others, I’m running into a bit of difficulty getting my head around the asynchronous RPC mindset. I’ve done a substantial amount of reading in the forums (found the excellent “beer” example) and in simple cases, I get it, however in more complex cases – I’m finding I’m

Re: Asynchronous woes :-)

2009-02-12 Thread Ian Petersen
On Thu, Feb 12, 2009 at 12:26 PM, Matthew mtwo...@beakstar.com wrote: // Return true if the host is reachable from the server public boolean pingHost(String host){ return pingImp(host); } // Return true if the port is open on the host (ping it before checking) public

Re: Evaling scripts in a JSNI method

2009-02-12 Thread Matt Raible
How do I go about fetching the script and then eval'ing it? Thanks, Matt On Feb 12, 11:45 am, jdwyah jdw...@gmail.com wrote: scripts[i].getAttribute(src) is going to be something like 'myscript.js' you can't just eval that string. Are you trying to fetch the js and eval? I'd imagine you

Re: Nothing about better i18n support in roadmap

2009-02-12 Thread acc
Hi, As the roadmap mentions, you can expect more details on the features in the next release (2.0) once 1.6 has been released. And as the bug details mention, XLIFF support has been accepted for inclusion in 2.0. In the meantime, have you explored using other tools to convert XLIFF to Java

Re: GWT 1.5.3 in NetBean IDE 6.5 environment

2009-02-12 Thread ni...@stsoftware.com.au
Hi, I don't know if this will help but here are our ant tasks for Netbeans to support GWT in our environment Hope this helps, Nigel. target name=-gwt-edit-development unless=GWT-PRODUCTION replaceregexp byline=true regexp pattern=^.*#GWT_DEVELOPMENT_START.*$/

Is there a garbage college for removed elements?

2009-02-12 Thread flyingb...@gmail.com
Just wondering does gwt handle garbage collection. For example if I attach a widget than later unreference it. Will the widget listeners/handlers be removed or will it still be trying to listen for that widget? --~--~-~--~~~---~--~~ You received this message

OutOfMemory error while sending 10 MB data back in a RPC call

2009-02-12 Thread milind
We are coming across OutOfMemory error in the RPC serialization code while returning a large document back to the GWT client. The environment is IBM WebSphere Process Server, 6.0.2.1, GWT 1.4.62, server is configured with 1024 MB max memory. Here is the server log giving details of the RPC call

Re: Asynchronous woes :-)

2009-02-12 Thread Jason Essington
Same Origin Policy limits you to making XHRs only to the host (same server, port, and protocol) where the Host Page was loaded ... That means if your host page is https://foo.com/index.html and you load the javascript from http://cache.bar.com/some.js you still have to make your XHRs to

KeyboardListener(Right,Left,Up,Down,Enter) too , too slow

2009-02-12 Thread pib...@yahoo.co.uk
Hello all, Please I’d appreciate if you could help me. I’ve got a FlexTable and when I use left , right , up , down keyboard it changes the: cell’s board to read; show on a TexBox what keyboard was used. If enter it changes de cell’s text to the TexBox’s text All these are working.

link as action on a button

2009-02-12 Thread tony.p..
Hello everyone, I have a button and when I click on it, I want the action to run or invoke a link. Example: myButton.addClickListener(new ClickListener() { public void onClick(Widget sender) { runLink(http://192.168.1.123/abc;); } }); What can I use to run the link? I do

Re: Evaling scripts in a JSNI method

2009-02-12 Thread jdwyah
js only I guess you could do an Ajax.Request, but in JSNI you don't have Prototype.. I dunno, I feel like you're descending down the rabbit hole. I wonder if there's another approach. -jdwyah On Feb 12, 3:56 pm, Matt Raible mrai...@gmail.com wrote: How do I go about fetching the script and

Re: Evaling scripts in a JSNI method

2009-02-12 Thread Jason Essington
Why would you need prototype? just use RequestBuilder to fetch the text, and pass the result into your JSNI eval() ... -jason On Feb 12, 2009, at 4:17 PM, jdwyah wrote: js only I guess you could do an Ajax.Request, but in JSNI you don't have Prototype.. I dunno, I feel like you're

Re: how to access the flash components in GWT

2009-02-12 Thread Sumit Chandel
Hi swathi, You can work Although I'm not very familiar with the gwt-fabridge library, the project page indicates that it does offer support for Flash .swf files as well as Flex .swf files. I suggest taking a deeper look into the library to see how you might be able to get this setup. In the

Newline characters?

2009-02-12 Thread Soren Johnson
I am trying to use newline characters inside of Labels, but it only seems to work in the hosted mode. (Doesn't work in FireFox, for example) in other words, 'new Label(This is Line1\nThis is Line2\nThis is Line3)' doesn't seem to work. Any idea how I can get this to work? thanks...

Re: OutOfMemory error while sending 10 MB data back in a RPC call

2009-02-12 Thread milind
I have implemented a work around to bring in the failed document via normal http post and that works fine. But any insight into the RPC failure and ways to fix that would be really great. Regards, Milind On Feb 12, 1:30 pm, milind mpaltanw...@gmail.com wrote: We are coming across OutOfMemory

Re: Newline characters?

2009-02-12 Thread Ben Tilford
Try br / You'll probably have to tell it not to escape html/xml though. On Thu, Feb 12, 2009 at 7:02 PM, Soren Johnson soren.john...@gmail.comwrote: I am trying to use newline characters inside of Labels, but it only seems to work in the hosted mode. (Doesn't work in FireFox, for example)

Re: What about GWT in Groovy instead of Java?

2009-02-12 Thread Sumit Chandel
Hi Heart Beat, As Andreas mentioned, you can't currently write GWT application in the Groove language because the GWT compiler Although I'm not very familiar coding with Groovy, it seems that using a dynamic language as an abstraction over another dynamic language would defeat some of the

Re: GWT Incubator: table example broken link

2009-02-12 Thread Sumit Chandel
Hi Fred, Thanks for reporting the broken link. It's now been fixed to point to the ScrollTableDemo. Cheers, -Sumit Chandel On Mon, Feb 9, 2009 at 5:32 AM, Arthur Kalmenson arthur.k...@gmail.comwrote: I recommend just grabbing the source and running the example yourself. It works fine. --

Re: Client-side GChart 2.4 Released: Click events, pop-ups, selection brushes, etc.

2009-02-12 Thread John Gunther
The follow-up Client-side GChart 2.41 release adds methods to help those who need to create points at the mouse location or convert between client-window (pixel) and chart-data (model) coordinates. The new LayZLine(tm) Chart Editor on the live demo illustrates how you can use v2.41's

Re: How to add points in chart by clicking on different areas of it?

2009-02-12 Thread John Gunther
GChart 2.41 is out and it incorporates a getMouseCoordinate method and adds an improved version of the simple line chart editor I linked to above to the Chart Gallery and live demo. Thanks for adding your request for these features to the GChart issue tracker. See this related post for more

-noserver unable to find .gwt.xml on your classpath

2009-02-12 Thread Michel
Hi, All is working well in my application, and now I am trying to use the - noserver option. I can successfully deploy the entire application to Tomcat, and use a (non-GWT hosted) browser, and my entire application works well. I have following these instructions to use -noserver:

Re: Adding a SWF File with GWT2SWF

2009-02-12 Thread Matt Raible
The cause of this turned out to be because we had a # in the URL (for GWT's history feature). http://bugs.adobe.com/jira/browse/SDK-13830 The workaround we used was to load the SWF in the EntryPoint and setVisible(false). Then on the View that needs it, we setVisible (true). Hope this helps

loading different css files based on instance.

2009-02-12 Thread sona.m...@gmail.com
hi team, i am using GWT 1.5, i need to know how do i load the css file based on instance. --~--~-~--~~~---~--~~ 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: Evaling scripts in a JSNI method

2009-02-12 Thread Matt Raible
If I'm in JSNI, I don't have access to the RequestBuilder, do I? If so, do you have some example code? Some options I can think of: 1) Parse the String and look for script src= before calling eval (). If src is found, grab the script's location and load it using RequestBuilder. 2) Add a JS

loading different css based on instance

2009-02-12 Thread sona.m...@gmail.com
hi team, i am using GWT 1.5, i need to know how do i load the css file based on instance. Let me elaborate the stuff. The server jboss contains an instance called application instance. Inspecting that instance, need to decide which css file to load. if the instance is xy(say) the css file

Re: Best image preloading practice?

2009-02-12 Thread davidroe
I had thought the same, but I remember that there was a reason for using this technique. ISTR that at least one browser didn't load images from the server when attached to a parent whose display is none. I wouldn't stake my life on this being true, as something else may have been causing that

Re: Newline characters?

2009-02-12 Thread A Friend Of Yours
I guess HTML widget will be better if you want to use br/ On Feb 13, 5:55 am, Ben Tilford bentilf...@gmail.com wrote: Try br / You'll probably have to tell it not to escape html/xml though. On Thu, Feb 12, 2009 at 7:02 PM, Soren Johnson soren.john...@gmail.comwrote: I am trying to use

Question: How can I get login user from Windows in GWT?

2009-02-12 Thread Roger
Hi all, Greeting from Roger. I do not know how to get login user from Windows in GWT. I try solving this in the way below, unfortunately does not work. In RemoteServiceServlet, ... Principal principal = getThreadLocalRequest().getUserPrincipal () // principal is NULL!!

Re: Evaling scripts in a JSNI method

2009-02-12 Thread Matt Raible
Figured it out: /** * Evaluate scripts in an HTML document. Will eval both script src=/script * and scriptjavascript here/scripts. * * @param element a new HTML(text).getElement() */ public static native void evalScripts(Element element) /*-{ var scripts

Re: Question: How can I get login user from Windows in GWT?

2009-02-12 Thread Damien Picard
Hi, There is no way to do this with standard GWT apps because the navigators don't authorize website to get this information. It would be an important security issue. If you really want to do that, the best way is to install(if it exists) or develop a plugin/activex for each navigator you want to

[gwt-contrib] Re: code-splitting user manual

2009-02-12 Thread Paul Robinson
Lex Spoon wrote: At long last, I have started a wiki page on how to use GWT.runAsync. It covers the basics, how to use SOYC to iterate to something better, and a couple of recommended coding patterns. http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting Thoughts welcome. Or,

[gwt-contrib] Re: code-splitting user manual

2009-02-12 Thread Ray Ryan
Lex or Bob, can you add something about AsyncProxy to this? rjrjr On Thu, Feb 12, 2009 at 7:46 AM, Lex Spoon sp...@google.com wrote: On Thu, Feb 12, 2009 at 5:28 AM, Paul Robinson ukcue...@gmail.com wrote: Can you give a code example that shows what would qualify as exclusive, base or

[gwt-contrib] [google-web-toolkit commit] r4702 - wiki

2009-02-12 Thread codesite-noreply
Author: sp...@google.com Date: Thu Feb 12 07:47:10 2009 New Revision: 4702 Modified: wiki/CodeSplitting.wiki Log: Simplified the description of leftovers fragments. Modified: wiki/CodeSplitting.wiki == ---

[gwt-contrib] [google-web-toolkit commit] r4705 - in trunk: dev/core/src/com/google/gwt/dev/jjs/impl user/src/com/google/gwt/user/rebind/rpc

2009-02-12 Thread codesite-noreply
Author: br...@google.com Date: Thu Feb 12 08:17:32 2009 New Revision: 4705 Modified: trunk/dev/core/src/com/google/gwt/dev/jjs/impl/ReplaceRunAsyncs.java trunk/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java Log: Reduced the log level of ReplaceRunAsyncs and

[gwt-contrib] [google-web-toolkit commit] r4691 - branches/snapshot-2009.02.09

2009-02-12 Thread codesite-noreply
Author: j...@google.com Date: Wed Feb 11 09:33:57 2009 New Revision: 4691 Modified: branches/snapshot-2009.02.09/branch-info.txt Log: Updating branch-info. Modified: branches/snapshot-2009.02.09/branch-info.txt ==

[gwt-contrib] [google-web-toolkit commit] r4706 - in branches/snapshot-2009.02.09: dev/core/src/com/google/gwt/dev/jjs/impl user/src/com/go...

2009-02-12 Thread codesite-noreply
Author: j...@google.com Date: Thu Feb 12 08:31:25 2009 New Revision: 4706 Modified: branches/snapshot-2009.02.09/dev/core/src/com/google/gwt/dev/jjs/impl/ReplaceRunAsyncs.java branches/snapshot-2009.02.09/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java

[gwt-contrib] [google-web-toolkit commit] r4707 - releases/1.6/dev/core/src/com/google/gwt/dev

2009-02-12 Thread codesite-noreply
Author: sco...@google.com Date: Thu Feb 12 09:10:12 2009 New Revision: 4707 Modified: releases/1.6/dev/core/src/com/google/gwt/dev/HostedModeBase.java Log: Update help text to not mention Tomcat specifically. Modified: releases/1.6/dev/core/src/com/google/gwt/dev/HostedModeBase.java

[gwt-contrib] [google-web-toolkit commit] r4708 - releases/1.6/user/src/com/google/gwt/user/client/ui

2009-02-12 Thread codesite-noreply
Author: rj...@google.com Date: Thu Feb 12 09:28:34 2009 New Revision: 4708 Modified: releases/1.6/user/src/com/google/gwt/user/client/ui/HasKeyPreview.java Log: Adds a redirect to the deprecation on HasKeyPreview reviewed by: ecc Modified:

[gwt-contrib] Re: Tweak HasKeyPreview deprecation message

2009-02-12 Thread rjrjr
Committed @r4708 http://gwt-code-reviews.appspot.com/4804 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] [google-web-toolkit commit] r4710 - changes/jat/ihm/dev/core/src/com/google/gwt/dev/util

2009-02-12 Thread codesite-noreply
Author: j...@google.com Date: Thu Feb 12 10:04:17 2009 New Revision: 4710 Added: changes/jat/ihm/dev/core/src/com/google/gwt/dev/util/Name.java Log: Left out of previous commit. Added: changes/jat/ihm/dev/core/src/com/google/gwt/dev/util/Name.java

[gwt-contrib] Re: RR: logging script size for programs with code splitting

2009-02-12 Thread Bruce Johnson
This is a very welcome metric. I'd love to see this land (assuming the algorithm is correct, which I didn't actually check :-) On Thu, Feb 12, 2009 at 12:21 PM, Lex Spoon sp...@google.com wrote: Code splitting adds a small challenge for anyone monitoring their overall code size: overall code

[gwt-contrib] Re: RR: logging script size for programs with code splitting

2009-02-12 Thread John Tamplin
On Thu, Feb 12, 2009 at 1:55 PM, Bruce Johnson br...@google.com wrote: This is a very welcome metric. I'd love to see this land (assuming the algorithm is correct, which I didn't actually check :-) It would be good to get the initial download size as well, if we are going to be getting them

[gwt-contrib] Re: RR: logging script size for programs with code splitting

2009-02-12 Thread Bruce Johnson
I agree that a handful of metrics like that would be ideal. Two more: - Min/Max/Avg startup fragment - Min/Max/Avg of the per-permutation sum of fragments On Thu, Feb 12, 2009 at 2:04 PM, John Tamplin j...@google.com wrote: On Thu, Feb 12, 2009 at 1:55 PM, Bruce Johnson br...@google.com

[gwt-contrib] JSNI signature shortcuts

2009-02-12 Thread Matthew Mastracci
Hey all, I'd like to propose a feature for a future GWT release: JSNI signature shortcuts. == JSNI references are an advanced feature of GWT. They are also very brittle and tend to break when the surrounding classes are refactored. They also depend on the user being

[gwt-contrib] Re: JSNI signature shortcuts

2009-02-12 Thread Bruce Johnson
+1 to the concept; need more time to think through the specifics, but it's needed On Thu, Feb 12, 2009 at 3:00 PM, Matthew Mastracci matt...@mastracci.comwrote: Hey all, I'd like to propose a feature for a future GWT release: JSNI signature shortcuts. == JSNI

[gwt-contrib] Adding more visual tests

2009-02-12 Thread ecc
Reviewers: jlabanca, Description: Adds some more visual tests and some helper methods to create more visual visual tests still. We love to test don't we :-). Please review this at http://gwt-code-reviews.appspot.com/2807 Affected files:

[gwt-contrib] Re: Adding more visual tests

2009-02-12 Thread jlabanca
Overall it looks good, but I have a few nit picky comments. http://gwt-code-reviews.appspot.com/2807/diff/1/3 File reference/code-museum/src/com/google/gwt/museum/client/common/EventReporter.java (right): http://gwt-code-reviews.appspot.com/2807/diff/1/3#newcode78 Line 78: HandlerRegistration

[gwt-contrib] Re: JSNI signature shortcuts

2009-02-12 Thread Matthew Mastracci
On 12-Feb-09, at 1:12 PM, John Tamplin wrote: I think JSNI references should honor imports and the normal name resolution process -- that would eliminate much of the wordiness. Regarding the syntax, I would prefer ::xxx to self::xxx, being more concise and avoiding ambiguity if a class

[gwt-contrib] Re: JSNI signature shortcuts

2009-02-12 Thread Scott Blum
Just use 'this' instead of 'self'. 'this' is a Java keyword so it can't be a classname. On Thu, Feb 12, 2009 at 3:12 PM, John Tamplin j...@google.com wrote: I think JSNI references should honor imports and the normal name resolution process -- that would eliminate much of the wordiness.

[gwt-contrib] Re: JSNI signature shortcuts

2009-02-12 Thread John Tamplin
On Thu, Feb 12, 2009 at 4:17 PM, Scott Blum sco...@google.com wrote: Just use 'this' instead of 'self'. 'this' is a Java keyword so it can't be a classname. Seems awkward to use this to refer to a class rather than an instance -- I still prefer just :: to mean the same class. -- John A.

[gwt-contrib] Re: JSNI signature shortcuts

2009-02-12 Thread Ray Cromwell
I prefer :: also, but if you need another reserved Java keyword, you could use 'class', e.g. class::foo -Ray On Thu, Feb 12, 2009 at 1:21 PM, John Tamplin j...@google.com wrote: On Thu, Feb 12, 2009 at 4:17 PM, Scott Blum sco...@google.com wrote: Just use 'this' instead of 'self'. 'this'

[gwt-contrib] [google-web-toolkit commit] r4712 - in changes/jat/ihm/dev: core/src/com/google/gwt/dev core/src/com/google/gwt/dev/cfg core/...

2009-02-12 Thread codesite-noreply
Author: j...@google.com Date: Thu Feb 12 13:41:20 2009 New Revision: 4712 Modified: changes/jat/ihm/dev/core/src/com/google/gwt/dev/HostedModeBase.java changes/jat/ihm/dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java

[gwt-contrib] Re: Adding more visual tests

2009-02-12 Thread ecc
http://gwt-code-reviews.appspot.com/2807/diff/1/3 File reference/code-museum/src/com/google/gwt/museum/client/common/EventReporter.java (right): http://gwt-code-reviews.appspot.com/2807/diff/1/3#newcode78 Line 78: HandlerRegistration r; On 2009/02/12 20:17:30, jlabanca wrote: can you use a

[gwt-contrib] Re: JSNI signature shortcuts

2009-02-12 Thread Matthew Mastracci
I filed issue 3358 to track this feature: http://code.google.com/p/google-web-toolkit/issues/detail?id=3358 On 12-Feb-09, at 2:23 PM, Ray Cromwell wrote: I prefer :: also, but if you need another reserved Java keyword, you could use 'class', e.g. class::foo -Ray On Thu, Feb 12, 2009 at