Re: Session

2009-12-22 Thread Nicanor Cristian
This is the normal behavior. If you need to persist data after you close the browser, you should use cookies. On 12/22/2009 12:06 AM, hemodroid wrote: com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.getThreadLocalRequest ().getSession() On 21 déc, 23:17, Nicanor

Re: Why doesn't ListBox ChangeHandler handle inserts?

2009-12-22 Thread Paul Grenyer
Hi On Tue, Dec 22, 2009 at 7:41 AM, Jim Douglas jdoug...@basis.com wrote: The ListBox ChangeEvent tells you that the user changed the selected index.  It's not fired when you change the selected index programmatically, and it's not fired when you change the contents of the list.  It's assumed

Re: Why doesn't ListBox ChangeHandler handle inserts?

2009-12-22 Thread Paul Grenyer
Hi So what would you suggest? 1. Overriding insertItem, etc and firing a ChnageEvent (I had a quick look and I can't see how)? Did a bit more digging: ChangeEvent.fireNativeEvent(Document.get().createChangeEvent(), this); -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com b:

Re: UI Binder bugs - maybe config issue on my side(?)

2009-12-22 Thread Peter
Sure, thanks for helping hand. Zipped project is here: ns.blucina.net/lovisek/tmp/XploreU-inbox.zip I also deployed the project here: http://ns.blucina.net/lovisek/tmp/xu/XploreU_inbox.html As you can see, onClick handler is never fired despite it should be triggered after clicking on button

Re: Gilead + Guice + Gwt-Dispatch

2009-12-22 Thread mariyan nenchev
If you are tired to write Actions and Results you may consider using the RPC the old way, nothing is gonna constrain you. On Mon, Nov 23, 2009 at 4:36 PM, djd alex.dobjans...@gmail.com wrote: Yes, I worked on a sample code that achieved that a couple of month ago... I will try to post some

Re: Development mode crashes Safari 4.0.4 in OS X 10.4

2009-12-22 Thread Alex Reid
The issue appears to be with 10.4 and the browser plug-ins, not GWT 2.0 on 10.4 itself. A slightly rubbish workaround is to install a Linux or Windows virtual machine (VirtualBox works fine) and install the GWT plug-in into the browser on Linux/Windows. Luckily my main machine is running 10.6 :)

Saving form inputs for browser autocomplete

2009-12-22 Thread skrat
Hi all, I am curious about, how can one enable, or force a browser to remember value inside text inputs (TextBox) values. In browsers it basically works when you submit a form, then all values are remembered, and next time you open that form, you will be provided with autocomplete box. All major

Problem upgrading Eclipse for 2.0

2009-12-22 Thread bnedwek
I'm trying to upgrade to GWT 2.0. I downloaded the latest version of the Eclipse plug-in (1.2) and tried to install it, by extracting it into the dropins directory, but that didn't seem to work (couldn't add the new SDK because the old plug-in was saying it didn't contain a jar file with a

Re: Saving form inputs for browser autocomplete

2009-12-22 Thread Thomas Broyer
On Dec 22, 2:53 pm, skrat dusan.malia...@gmail.com wrote: Hi all, I am curious about, how can one enable, or force a browser to remember value inside text inputs (TextBox) values. In browsers it basically works when you submit a form, then all values are remembered, and next time you open

Re: Problem upgrading Eclipse for 2.0

2009-12-22 Thread Thomas Broyer
On Dec 22, 2:54 pm, bnedwek bned...@gmail.com wrote: I'm trying to upgrade to GWT 2.0.  I downloaded the latest version of the Eclipse plug-in (1.2) and tried to install it, by extracting it into the dropins directory, but that didn't seem to work (couldn't add the new SDK because the old

Re: Saving form inputs for browser autocomplete

2009-12-22 Thread skrat
Hmm, that script inserted forms problem, might be fatal. I guess security should be handled by browsers, and all non-XHR forms are leveraging this feature. please On Dec 22, 3:07 pm, Thomas Broyer t.bro...@gmail.com wrote: On Dec 22, 2:53 pm, skrat dusan.malia...@gmail.com wrote: Hi all,

Re: UnsatisfiedLinkError on Production Machine

2009-12-22 Thread canistel
Nobody has any ideas? :( -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: UnsatisfiedLinkError on Production Machine

2009-12-22 Thread Isaac Truett
You're trying to call a JSNI method on the server. That won't work. You get an UnsatisfiedLinkError because JSNI uses Java's native method syntax. On the server there is no native implementation of that method. You'll need to use a different MD5 implementation on the server. On Tue, Dec 22, 2009

SyncInterface

2009-12-22 Thread Luis Santos
Hi, We would like to automatically generate the AsyncInterface for a service inside an ant task (for example, could be anything else!). The point is that our async interfaces can, effectivally be generated automatically and doing it class by class inside eclipse with the google plugin in very

Re: Developing a plugin based application

2009-12-22 Thread Honza Rames
Hi, I recently had very similar problem. I have an app in which there are Views (similar to your layers) and I wanted views to be completely independent of the App (before I made the changes the App's class was responsible for creating Views which I found very sloppy). I did pretty much the same

main project

2009-12-22 Thread soma sekhar
i am btech final year student right know i should do a main project for my final sem can u suggest me how could gwt will be helpful in my project..can u even guide me which project shall i take using gwt so that i could give different innovative project of my own by your guidance

how to suppress .../*-aux/module.rpc.log

2009-12-22 Thread Kyle W. Cartmell
I am building a rather complex project which uses GWT. The build process generates a large number of .rpc.log files, each about one gigabyte in size. I would like to suppress generation of these files but after reviewing the most recent documentation and searching the mailing list archives I do

Making a GWT HTTP listener service for accepting external request

2009-12-22 Thread Joshua Partogi
Hi all, I've tried looking at the documentation on how to create a GWT HTTP service that will listen to a request from another webapp but I'm having a hard time on how to implement it. What I've found in the docs is either: - GWT calling external HTTP service - or GWT calling internal RPC service

Re: Unable to run DevMode

2009-12-22 Thread Sam E.
I am having the same issue right now. 00:00:00.684 [WARN] Error processing classpath URL 'file:/Users/ ssaammee/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/ jmxtools-1.2.1.jar' java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at

Passing and parsing parameters through history events

2009-12-22 Thread hbral
hi everyone. are there any build-in mechanics to pass and parse parameters through history events? best regards -- 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-tool...@googlegroups.com. To

GWT 2.0: Plugin failed to connect to hosted mode server

2009-12-22 Thread Yuval
Hello everybody, I am new to GWT and need some help. I have recently downloaded GWT 2.0 as an Ecplise plugin + SDK. Following the Getting started tutorial I have created a new GWT application project in Eclipse, StockWatcher. I have made no changes to the generated application. The application

Pressing the enter key in the SuggestBox popup fire onKeyUp event! How to disable this?

2009-12-22 Thread ss.require
Hi there! If I select an option in the SuggestBox popup by pressing the enter key then onKeyUp event fire. But I don't want that it happens because I already handle pressing the enter on the textbox by executing another code. My code below: suggestBox.addSelectionHandler(new

Re: New layouts not playing nicely with Maps

2009-12-22 Thread Stuart
I am using UI binding to setup my app, so I needed a little extra tweak to Eric's code. If I placed the timer either before or after the createAndBindUi call in my widget containing the map, I was still experiencing the map UI rash Jeff and Andrew had. However, since my app also uses event

Re: Developing a plugin based application

2009-12-22 Thread Eric Ayers
What I described was pretty much the Factory pattern: http://en.wikipedia.org/wiki/Factory_method_pattern On Mon, Dec 21, 2009 at 12:18 PM, Honza Rames rame...@gmail.com wrote: Hi, I recently had very similar problem. I have an app in which there are Views (similar to your layers) and I

Re: GWTShell dev mode problem

2009-12-22 Thread Rajeev Dayal
Hi Shawn, I'm not sure how those Android natures/builders were added to your project. Maybe you inadvertently triggered a wizard that creates a GAE + Android project, or some other wizard that converts your project to an Android project? At any rate, to remove the Androidness from your project,

Re: GWT 2.0: Plugin failed to connect to hosted mode server

2009-12-22 Thread Chris Ramsdale
Yuval, Can you successfully create, and debug, a new project from Eclipse? Also, does it help if you set gwt.codesvr=localhost:9997? On Tue, Dec 22, 2009 at 5:58 AM, Yuval yuval.metro...@gmail.com wrote: Hello everybody, I am new to GWT and need some help. I have recently downloaded GWT 2.0

Page back color

2009-12-22 Thread Alexei Telles
Hi guys, I am trying to change the back color of my page, but I can't do that.. I tried by CSS body { background-color: #f1f2f3; } and setting the bgcolor property of the body tag in my HTML file: body bgcolor=#f1f2f3 /body It's not working. Any help? Thanks again -- You received this

Re: gwt-voices

2009-12-22 Thread ALEXEI BARBONI
Of course...I tried by relative path too... I am going to make some more tests... Thank You 2009/12/21 olivier nouguier olivier.nougu...@gmail.com hi AFAIK you can't access local file :) deploy your audio file and use http:// with repect to SOP (Same Origin Policy) HIH On Mon, Dec 21,

Re: UI Binder bugs - maybe config issue on my side(?)

2009-12-22 Thread Thomas Broyer
On Dec 22, 10:42 am, Peter peterlovi...@gmail.com wrote: Sure, thanks for helping hand. Zipped project is here: ns.blucina.net/lovisek/tmp/XploreU-inbox.zip I also deployed the project here:http://ns.blucina.net/lovisek/tmp/xu/XploreU_inbox.html As you can see, onClick handler is never

Re: Passing and parsing parameters through history events

2009-12-22 Thread Thomas Broyer
On Dec 22, 1:16 pm, hbral nico.ro...@googlemail.com wrote: hi everyone. are there any build-in mechanics to pass and parse parameters through history events? No. History tokens are treated as opaque strings by GWT. -- You received this message because you are subscribed to the Google

Re: MVP Beginner Question

2009-12-22 Thread Chris Ramsdale
We've just added a tech article related to building GWT-based apps using the MVP architecture. Although it doesn't discuss all of the topics discussed in Ray's presentation (stay tuned, we'll be adding more), it does cover the basics of MVP, using the Event Bus, getting History right, and testing.

Re: Page back color

2009-12-22 Thread ALEXEI BARBONI
And now I see that nothing that is inside my body css (like margin, font, etc) works... Where do I set properties for my hole page thanks 2009/12/22 Alexei Telles alexeitel...@gmail.com Hi guys, I am trying to change the back color of my page, but I can't do that.. I tried by CSS

Re: main project

2009-12-22 Thread Alexander
Usually technologies are chosen from project requirements but not vice-versa! 2009/12/21 soma sekhar somuof...@gmail.com i am btech final year student right know i should do a main project for my final sem can u suggest me how could gwt will be helpful in my project..can u even guide

Re: Unable to run DevMode

2009-12-22 Thread Rajeev Dayal
On Mon, Dec 21, 2009 at 11:57 PM, Sam E. ssaam...@gmail.com wrote: I am having the same issue right now. 00:00:00.684 [WARN] Error processing classpath URL 'file:/Users/ ssaammee/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/ jmxtools-1.2.1.jar' java.util.zip.ZipException: error in opening

Re: UI Binder bugs - maybe config issue on my side(?)

2009-12-22 Thread Jason Parekh
Peter, Also, would you mind downloading a fresh copy of Eclipse (with a new workspace) for testing purposes? I imported your project, and the @UiFields are not marked as errors for me. If a fresh Eclipse works, it'll help in debugging whether it's a system configuration issue or an Eclipse

Problems reading the content of a text file.

2009-12-22 Thread Juan M.M.M.
Hi! I'm doing an example that I found ina book about GWT. It's the typical example of the hangman. I'm using Eclipse and GWT 2.0. This is my code: public class AhorGwt implements EntryPoint { private FlowPanel letters = new FlowPanel(); private Label wordLabel = new Label();

Validating ClientBundles ?

2009-12-22 Thread Carlos Aguayo
Hi, After upgrading the Eclipse plugin to GWT 2.0, whenever I import my Eclipse projects, Eclipse crashes. After importing the projects, I see multiple multiple (~12) jobs spawned called Validating ClientBundles, then it either shows a warning saying that it ran out of memory or just closes.

Re: Using Gilead with GWT 2.0 ms1

2009-12-22 Thread lucamen
Thanks Josh!! That really help me a lot and now everything is working properly! BTW Bruno (the Gilead main developer) wrote here http://sourceforge.net/projects/gilead/forums/forum/868076/topic/3484314 that a new release is coming very soon... so just wait and hope in a stable version that works

StatusCodeException

2009-12-22 Thread leslie
Mac OS X 10.5.7 Firefox 3.5 Eclipse 3.5 Galileo Cocoa Java 1.5.0 GWT 2.0 Hello, I'm catching a StatusCodeException when I try to make an RPC call. The method getStatusCode() is indeed returning 0 which I understand means that the server can not be reached. But I've been able to connect to the

Problems with generator

2009-12-22 Thread kruk.mat...@gmail.com
am implementing a generator to generate code using Apache Velocity. The question is that you use the JClassType.getMetaData () to get the annotations in the code. Some extraction of my code: GearsDataStoreGenerator extends Generator{ public String generate (TreeLogger

Re: MVP Beginner Question

2009-12-22 Thread Sripathi Krishnan
Pretty neat article. Eagerly waiting for the UI Binder and MVP follow up post, cause thats a pain right now. (I know there are a few threads floating around on that topic, and the solutions provided are good .. but I would still like a better integration with UiBinder). --Sri 2009/12/22 Chris

Re: GWT 2.0: Plugin failed to connect to hosted mode server

2009-12-22 Thread Yuval
Hi Chris Yes - using localhost:9997 did solve the problem! Thank you. I could create the project before but not debug it - it didn't even call the Java code, as I explained it showed only the static HTML. Can you explain the difference? Thanks Yuval On Dec 22, 5:50 pm, Chris Ramsdale

Javascript problem in cache.html

2009-12-22 Thread Wouter
Hi all, I have a strange problem in a hash.cache.html that is generated by GWT. When I click on an specific radio button in my application the application seems to hang (the please wait indication remains displayed). This problem occurs in Chrome, FF and IE. In IE an JS error appears which says:

JDO Error?

2009-12-22 Thread Joseph Arceneaux
I have programmatically created two data objects, which I have validated through the admin tool, and then attempt to delete them using this code: try { pm.currentTransaction ().begin (); ListStreamingMetaData list = (ListStreamingMetaData) pm.newQuery (query).execute (); if (!list.isEmpty ()) {

Re: Page back color

2009-12-22 Thread Ian Bambury
Do you have some kind of GWT style overriding it? Have a look in your project gwt.xml file. If you are adding css in the html host page, the it will be overridden by that. Ian http://examples.roughian.com 2009/12/22 ALEXEI BARBONI alexeitel...@gmail.com And now I see that nothing that is

Re: Problems reading the content of a text file.

2009-12-22 Thread Sripathi Krishnan
The URL you are trying to access is wrong... Assuming you module is named hangman, this line final RequestBuilder requestBuilder = new RequestBuilder( RequestBuilder.POST, movies.txt ); makes a request to http://myserver.com/mywar/hangman/movies.txt, whereas you want it to be

Question on Code Generation inconjunction with JS-Libraries to optimize size

2009-12-22 Thread Tom
Hi, I've been banging my head against something people here might probably be able to help me. I've written a wrapper for a extensive JavaScript Library which itself has a toolchain to optimize JS-Script code by analyzing the used JS-API. As a small example say the js-library has: * a.js * b.js

Re: Javascript problem in cache.html

2009-12-22 Thread Sripathi Krishnan
Pass the style = DETAILED flag (see http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#Why_is_my_GWT-generated_JavaScript_gibberish?) to the GWTC compiler and then run the application. It won't solve your problem, but will atleast point you to the method/variable that has

Re: Page back color

2009-12-22 Thread ALEXEI BARBONI
Hi Ian My CSS file works fine. I mean, every widget that i put setStyleName takes all properties that are in my CSS file. I need to know where do I set the properties for the hole page. Uselly I put inside body { } in my CSS file. But in my GWT project it does not work... 2009/12/22 Ian

Re: GWT2.0: POST request for some reasnos converted to OPTIONS in new hosted mode

2009-12-22 Thread Sripathi Krishnan
Oh wow! Thanks for the great explanation, Thomas. I recently switched to firefox 3.5 and started seeing the Options request. Even though I knew about cross site request support, I couldn't put 2 and 2 together. --Sri 2009/12/21 Thomas Broyer t.bro...@gmail.com On Dec 21, 4:00 pm, Mike

Re: Any easy way to tell which file is for which permutation?

2009-12-22 Thread Sripathi Krishnan
Its not that difficult, actually. When you use -style PRETTY, your nocache.js has a code fragment similar to try { unflattenKeylistIntoAnswers(['opera'], '34478C007220DB07F52AB22169457501'); unflattenKeylistIntoAnswers(['ie6'], '872904FEB2B0C8ABFEEF5D761EE7FEF4');

Re: Page back color

2009-12-22 Thread Ian Bambury
Thing is, if you set the style name to MyStyleName then there is no corresponding .MyStyleName in the GWT styles to override it. There is a body{} in there though and if you are including your style sheet from the html file (say with a link) then it will get overridden by the GWT style sheet

Re: Multiple domains from a single servlet container

2009-12-22 Thread Sripathi Krishnan
You could create multiple domain names (one for each client) that all map to the same IP Address. In your servlet, based on the domain name figure out the right database to read from. HttpServletRequest.*getRequestURL() gives you the url that the user entered in the browser. * --Sri 2009/12/21

JAXB in model classes also used by GWT RPC

2009-12-22 Thread Eric
I have about 20 model classes that I use with GWT RPC and also persist into a database using JPA. This is all working fine. On the server side I need to do some XML processing and would like to use some JAXB annotations on these model classes. However it complains with: 15:26:47.005 [ERROR]

MVP Architecture source code?

2009-12-22 Thread Dalla
Don´t know if it´s been there for some time now, but I noticed that a section named MVP Architecture has been added to the GWT Tutorial section. It looks a lot like the best practice example that Ray Ryan used in hos GWT Best practice session on Google I/O 2009. It there any chance of the

Re: how to resize a DockLayoutPanel pane using gwt 2.0 and uibinder

2009-12-22 Thread aris
I'm having the same problem... On Dec 11, 2:07 pm, morte...@gmail.com morte...@gmail.com wrote: I just tried this (in 2.0GA), and I get errors in the generated code: ui.xml looks something like this: trinity:ResizableDockLayoutPanel ui:field=rootPanel unit=PX         trinity:south size=0

UIBinder and image resources

2009-12-22 Thread ericv
Starting point: http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Using_an_external_resource My goal here is simply to bind an image, and update it later on if necessary. I implemented the following code as a first step, but I keep getting Found widget g:Image

Re: GWT 2.0 - com.google.gwt.user.client.rpc.IsSerializable is mandatory again?

2009-12-22 Thread rlag...@googlemail.com
Hi all! I tested this behavior the last days, and remarked that this generated rpc file contains entries (as row) with all types that could be use during rpc call, all with false after it. It's not possible to set it back to true, since the gwt.rpc file is generated at any running. Is there a

Re: Unable to run DevMode

2009-12-22 Thread Raziel
The jar is untouched. I also have configured the startupUrl in my eclipse plug-in Program Arguments. I can debug, however it only works after the second time I put the address in the browser's address bar. The first time I get that exception. On Dec 22, 11:40 am, Rajeev Dayal rda...@google.com

CssResource problem with specific webkit CSS instructions

2009-12-22 Thread fvisticot
I'im using CssResource. When i try to add a specific webkit instruction (-webkit- transform:translateX(0)), the compiler returns the following error: 00:37:18.859 [WARN] [mobilegwtnative] Line 2 column 59: encountered -. Was expecting one of: } ; IDENT Is there a workarround ? Any idea to solve

Code Licensing

2009-12-22 Thread Brendan Kenny
This might not be the best forum for this question, but it specifically involves GWT code and should be simple, so I'll give it a shot. I'm in the process of taking classes from some Google-written GWT modules (both java and jsni code), mangling them, and writing code on top of the result.

Re: CssResource problem with specific webkit CSS instructions

2009-12-22 Thread Brendan Kenny
Yep, for now you need to escape the first hyphen. See comment #2 and #7 on this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3595 This should maybe be more prominent in current documentation as it's been coming up a lot. On Dec 22, 5:42 pm, fvisticot fvisti...@gmail.com

change style to Menubar

2009-12-22 Thread ale
Hi, I would like to change style to a menu, I change the style for MenuBar MenuItem, but when I can't change style to the popup... I would like to remove the shadow and the border... In my css i wrote: .gwt-MenuBar .gwt-MenuItem { background-color: green;} .gwt-MenuBar .menuPopupTopLeft {

javax/naming/NamingException

2009-12-22 Thread asianCoolz
Hi, regarding your post at http://code.google.com/p/googleappengine/issues/detail?id=1240 , is there any requirement to modify PersistenceAnnotationBeanPostProcessor for spring3.0 rc3 ? or only need to modify if using spring 2.5? -- You received this message because you are subscribed to

Re: Question on Code Generation inconjunction with JS-Libraries to optimize size

2009-12-22 Thread Isaac Truett
Tom, I thought about using the GWT Code Generation to get informed whenever wrapper classes are used but as far as I understood this code generation only jumps in when I use GWT.create() but this means my Library users need to use GWT.create(AWrapper.class) instead of new AWrapper() which is

yuiiipmlM0 pdpl'm=?m

2009-12-22 Thread Milind Paltanwale
llp Sent from my iPhone -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

NumberFormat not understanding its own output?

2009-12-22 Thread Jaroslav Záruba
I can't get the NumberFormat working, it seems like it can't parse its own output. I have copied following from the watch-panel in Eclipse: /* * NumberFormat decimalFormat = com.google.gwt.i18n.client.NumberFormat.getDecimalFormat(); */ decimalFormat.format(1234.5)= 1 234,5

GWT Bindings for Google Map Utilities

2009-12-22 Thread Bobby
If you use the gwt-maps library to add map capabilities to your GWT apps then you might also be interested in the gwt-maps-utility library, it extends the gwt-maps library with some useful map utilities: http://code.google.com/p/gwt-maps-utility/ Samples are available as well:

Re: JAXB in model classes also used by GWT RPC

2009-12-22 Thread Pauli
Hi, I had the same problem a while ago and asked exactly the same question. Why don't jaxb annotations work? I remember reading somewhere that if things won't break if gwt cannot find annotation source files, but I'm not sure if I really read this or not. Well, I didn't get an answer to that

Re: [gwt-contrib] Re: uibinder : how to add a gwt:Button to html fragment ?

2009-12-22 Thread Joel Webber
Weird. Can you send a sample? One other thing to consider -- you haven't by any chance attached the widget to the document body directly, like this, have you? Document.get().getBody().appendChild(myWidget.getElement()); I know it sounds a bit strange, but this pops up fairly often. It will

[gwt-contrib] Re: Benchmark for widget creation times

2009-12-22 Thread t . broyer
Wearing my nitpicker hat ;-) How about replacing the VerticalPanel and HorizontalPanel with FlowPanels too? (replace the HTML() label with InlineHTML() to make it show on the same line as the ListBox and Button) Or even use UiBinder to create the UI? (people might look at reference applications

[gwt-contrib] Re: when-linkers-include name='xs' /

2009-12-22 Thread Lex Spoon
On Mon, Dec 21, 2009 at 11:24 PM, BobV b...@google.com wrote: Make add-linker accept conditionals based on module properties? Then rebinds and linkers can have unified predicates. Do you mean, instead of doing this: add-linker name=xs / People would normally do this:

[gwt-contrib] Re: uibinder : how to add a gwt:Button to html fragment ?

2009-12-22 Thread nicolas.deloof
code is opensource ;) http://juggers.googlecode.com/svn/trunk add log_level=DEBUG to URL string to enable gwt-log, clicking on the [inscription] button has no effect. A popup was expected, and a log tries to trace the handler method On 22 déc, 14:34, Joel Webber j...@google.com wrote: Weird.

[gwt-contrib] Use log(...) instead of log(..., null) for GWT and servlet logs (not TreeLogger)

2009-12-22 Thread rice
Reviewers: jat, Please review this at http://gwt-code-reviews.appspot.com/126816 Affected files: user/javadoc/com/google/gwt/examples/DateTimeFormatExample.java user/javadoc/com/google/gwt/examples/NumberFormatExample.java user/src/com/google/gwt/core/client/GWT.java

[gwt-contrib] Re: Use log(...) instead of log(..., null) for GWT and servlet logs (not TreeLogger)

2009-12-22 Thread jat
LGTM http://gwt-code-reviews.appspot.com/126816/diff/1/7 File user/src/com/google/gwt/core/client/GWT.java (right): http://gwt-code-reviews.appspot.com/126816/diff/1/7#newcode201 Line 201: GWT.log(message, null); Is GWT. needed here? http://gwt-code-reviews.appspot.com/126816 --

[gwt-contrib] Re: Use log(...) instead of log(..., null) for GWT and servlet logs (not TreeLogger)

2009-12-22 Thread דניאל רייס
No, I thought it would avoid a warning in Eclipse but Eclipse seems fine with it. Dan On Tue, Dec 22, 2009 at 11:55 AM, j...@google.com wrote: LGTM http://gwt-code-reviews.appspot.com/126816/diff/1/7 File user/src/com/google/gwt/core/client/GWT.java (right):

[gwt-contrib] [google-web-toolkit] r7346 committed - Use log(...) instead of log(..., (Throwable) null) for GWT.log and...

2009-12-22 Thread codesite-noreply
Revision: 7346 Author: r...@google.com Date: Tue Dec 22 09:01:01 2009 Log: Use log(...) instead of log(..., (Throwable) null) for GWT.log and servlet logs. Review by: jat http://code.google.com/p/google-web-toolkit/source/detail?r=7346 Modified:

[gwt-contrib] JSNI references with ?? as the parameter list

2009-12-22 Thread spoon
Reviewers: bobv, Description: This patch allows JSNI references to non-overloaded methods to use ?? as the parameter list. This saves a typing for the most common references to methods. Implementation notes: The best place to look first is JavaAccessFromJavaScriptTest.java . This adds tests

[gwt-contrib] Re: JSNI references with ?? as the parameter list

2009-12-22 Thread cromwellian
On 2009/12/22 19:20:36, Lex wrote: Very cool. Lex, wasn't there also a proposal a while back to allow the current class to be omitted if you're referring to a method in the same class, e.g. @this::someMethod(??)(a,b) or @class::someMethod(??)(a,b) ? or maybe just @::someMethod(??)(a,b)

Re: [gwt-contrib] Re: JSNI references with ?? as the parameter list

2009-12-22 Thread John Tamplin
On Tue, Dec 22, 2009 at 2:24 PM, cromwell...@gmail.com wrote: Very cool. Lex, wasn't there also a proposal a while back to allow the current class to be omitted if you're referring to a method in the same class, e.g. @this::someMethod(??)(a,b) or @class::someMethod(??)(a,b) ? or maybe

Re: [gwt-contrib] Re: JSNI references with ?? as the parameter list

2009-12-22 Thread Lex Spoon
On Tue, Dec 22, 2009 at 2:29 PM, John Tamplin j...@google.com wrote: On Tue, Dec 22, 2009 at 2:24 PM, cromwell...@gmail.com wrote: Very cool. Lex, wasn't there also a proposal a while back to allow the current class to be omitted if you're referring to a method in the same class, e.g.

[gwt-contrib] JsDuplicateFunctionRemover

2009-12-22 Thread cromwellian
Reviewers: Lex, Description: When compiler.stackMode = strip, functions with duplicate post-obfuscation bodies which are not seed functions are removed and a single definition is used by all callsites. Please review this at http://gwt-code-reviews.appspot.com/126818 Affected files:

[gwt-contrib] Make java.sql.Timestamp.valueOf() emulation more lenient

2009-12-22 Thread rice
Reviewers: jat, Description: To behave more like the JRE, TimeStamp.valueOf() should accept strings without a nanoseconds part. Also, if the nanoseconds part has fewer than 9 digits it should be implicitly right-padded with zeros. Please review this at

[gwt-contrib] Re: Benchmark for widget creation times

2009-12-22 Thread jaimeyap
Initial run through. Ill take a deeper look after I finish up some year end todo's. http://gwt-code-reviews.appspot.com/127801/diff/1101/1106 File reference/Microbenchmarks/src/com/google/gwt/reference/microbenchmark/client/Microbenchmarks.java (right):

[gwt-contrib] Improve inlining by adding String.equals(String) to the JRE emulation

2009-12-22 Thread rice
Reviewers: jat, Description: Add String.equals(String) to the String emulation code. Compiled output of Showcase shows that the method is nicely optimized to a == b rather than requiring an instanceof check and a function call. Of course it would be nicer for the compiler to figure this out but

[gwt-contrib] Re: Improve inlining by adding String.equals(String) to the JRE emulation

2009-12-22 Thread John Tamplin
LGTM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: JSNI references with ?? as the parameter list

2009-12-22 Thread John Tamplin
On Tue, Dec 22, 2009 at 2:35 PM, Lex Spoon sp...@google.com wrote: Do you remember, John, if we included the :: if the class type was left off? I was thinking we could do @someMethod(??)(a,b), which is more concise. I think we discussed leaving it as @::method, but I don't remember if there

[gwt-contrib] [google-web-toolkit] r7347 committed - Add a more inlinable path for String.equals(String)...

2009-12-22 Thread codesite-noreply
Revision: 7347 Author: r...@google.com Date: Tue Dec 22 11:53:08 2009 Log: Add a more inlinable path for String.equals(String) Review by: jat http://code.google.com/p/google-web-toolkit/source/detail?r=7347 Modified: /trunk/user/super/com/google/gwt/emul/java/lang/String.java

[gwt-contrib] Re: when-linkers-include name='xs' /

2009-12-22 Thread BobV
The main question I have, though, is how to transition to such a scheme?  Users currently write explicit add-linkers all over the place. Since the choice of link style is an application, as opposed to library, kind of choice, and the switch is a one-liner, I propose that we break existing

[gwt-contrib] Re: Inline Polymorphic Function Declarations

2009-12-22 Thread bobv
LGTM http://gwt-code-reviews.appspot.com/89810/diff/4001/4006 File dev/core/src/com/google/gwt/dev/js/EvalFunctionsAtTopScope.java (right): http://gwt-code-reviews.appspot.com/89810/diff/4001/4006#newcode74 Line 74: Extra whitespace in this file.

[gwt-contrib] Re: when-linkers-include name='xs' /

2009-12-22 Thread Lex Spoon
On Tue, Dec 22, 2009 at 2:58 PM, BobV b...@google.com wrote: The main question I have, though, is how to transition to such a scheme?  Users currently write explicit add-linkers all over the place. Since the choice of link style is an application, as opposed to library, kind of choice, and

Re: [gwt-contrib] Re: when-linkers-include name='xs' /

2009-12-22 Thread BobV
Do you see a need for more deprecation?  If that's all it is, then it seems reasonable to hard code the specific deprecations in the compiler rather than adding a general deprecation system for module components. It would be a nice-to-have. RayC's impending change to enable stack-stripping

[gwt-contrib] Ensure .split(,) returns { }

2009-12-22 Thread rice
Reviewers: jlabanca, Please review this at http://gwt-code-reviews.appspot.com/126821 Affected files: user/super/com/google/gwt/emul/java/lang/String.java user/test/com/google/gwt/emultest/java/lang/StringTest.java Index: user/super/com/google/gwt/emul/java/lang/String.java

[gwt-contrib] Re: Ensure .split(,) returns { }

2009-12-22 Thread jlabanca
LGTM It looks like there is a little ambiguity as to what should happen in these cases: .split(,, 0); I would expect the return the be an empty array, but that is n't what the JRE does according to dan. +1 for being consistent with the JRE. http://gwt-code-reviews.appspot.com/126821 --

[gwt-contrib] [google-web-toolkit] r7348 committed - Ensure .split(,) returns { }. This is the behavior of Sun's...

2009-12-22 Thread codesite-noreply
Revision: 7348 Author: r...@google.com Date: Tue Dec 22 13:40:05 2009 Log: Ensure .split(,) returns { }. This is the behavior of Sun's JRE, although the JRE javadoc is somewhat ambiguous. Review by: jlabanca http://code.google.com/p/google-web-toolkit/source/detail?r=7348 Modified:

[gwt-contrib] Re: Benchmark for widget creation times

2009-12-22 Thread jgw
Not so much a review, as just a few (hopefully) useful comments: I was really surprised by the fact that the cursor-based DOM-walking code was faster than getElementById(). I've added this case to some of my own tests, and saw (somewhat) similar results. From what I can tell, it appears that the

[gwt-contrib] Re: RR : Make @url and gwt-image work with nested ClientBundles

2009-12-22 Thread rjrjr
Believe I already re-reviewed this, but for the record: LGTM Did it get submitted? http://gwt-code-reviews.appspot.com/126802 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Benchmark for widget creation times

2009-12-22 Thread rjrjr
Thanks, Joel. The intent here is that the resulting structures are as near identical as I can make them. Did you see something else? http://gwt-code-reviews.appspot.com/127801 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Benchmark for widget creation times

2009-12-22 Thread rjrjr
http://gwt-code-reviews.appspot.com/127801/diff/1101/1102 File reference/Microbenchmarks/src/com/google/gwt/reference/microbenchmark/Microbenchmarks.gwt.xml (right): http://gwt-code-reviews.appspot.com/127801/diff/1101/1102#newcode2 Line 2: !DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web

[gwt-contrib] Re: Benchmark for widget creation times

2009-12-22 Thread jaimeyap
http://gwt-code-reviews.appspot.com/127801/diff/1101/1106 File reference/Microbenchmarks/src/com/google/gwt/reference/microbenchmark/client/Microbenchmarks.java (right): http://gwt-code-reviews.appspot.com/127801/diff/1101/1106#newcode59 Line 59: horizontalPanel.remove(runningLabel); Here is a

  1   2   >