Re: hosted mode stucks, debugger does not work...

2009-07-24 Thread Paul Robinson
Check which version of the JDK you have. There's a bug in 1.6.0_14 that prevents debugger breakpoints from working. If you are using that version, then you should downgrade to 1.6.0_13 Jaimon wrote: hi all, i am new to the GWT world, i have started to do the tutorial (StockWatcher) and

Re: Command Pattern, MVP, EventBus

2009-07-24 Thread Kwhit
Are your responses also in the form of events, where the traditional response value is the payload of a new event object?  For either server error or validation error, are you sending back a different event, or setting a flag inside the expected return event? Yes currently all

Re: Command Pattern, MVP, EventBus

2009-07-24 Thread Kwhit
On Jul 23, 3:11 pm, Eduardo Nunes esnu...@gmail.com wrote: Shouldn't the server errors be treated as unchecked exceptions (extends RuntimeException)? Maybe a solution could be three methods, I've found my self coding RE's for just about everything now. I think they are the most undervalued

Re: Fileupload does not work

2009-07-24 Thread Thomas Broyer
On 24 juil, 05:46, kongxiaoyang kongxiaoy...@gmail.com wrote: Hello guys, My fileupload function works pretty fine in the GWT default testing environment jetty, but when I compile the project to js files, and deploy it to TOMCAT, it does not work. When I click the Submit button, only the

Re: GWT 1.6 Architecture

2009-07-24 Thread Kwhit
See Ray Ryan's presentation: http://www.youtube.com/watch?v=PDuhR18-EdM and http://dl.google.com/io/2009/pres/Th_0200_GoogleWebToolkitArchitecture-BestPracticesForArchitectingYourGWTApp.pdf for a good starting point --~--~-~--~~~---~--~~ You received this message

Re: Hint: Previous compiler errors may have made this type unavailable

2009-07-24 Thread mirceade
Read the manual, read the errors, learn English, get a life. On Jul 23, 2:46 pm, BMax massimo.bo...@gmail.com wrote: Hi, I post here my module xml code: module         inherits name='com.google.gwt.user.User'/         inherits name='com.gwtext.GwtExt' /         entry-point

File upload trouble form Flex application to GWT server(hosted mode)

2009-07-24 Thread Katigaki
Hello guys, I'm developing an application that GWT call Flex using ExternalInterface. To Upload image file to GWT server side(hosted mode) from Flex application, I call Flex function FileReference.upload(). But it doesn't work. Despite the fact that GWT server send Http status 200 in GWT hosted

Re: Vertical panel not showing tree component

2009-07-24 Thread Carles Iglesias
Ok, I was wrong. It's not about absolute position in a div, but a height with 100% style. If you put a fix height ( 500px example) splitpanel will appear. 2009/7/23 selrak sel...@gmail.com Ok, i have not the final answer, but i had same problem, and was a css style problem. It seems if you

help on a servlet issue

2009-07-24 Thread Simon
hi, sorry, I am a newbie on this. I used eclipse to create the project, and I added a new module called setup (so I have two modules) then I tried to add a new servlet for the setup module, but I got the following error message, if I add a servlet for the original module, it will be fine. GWT

Standalone GWT Scrollbar Widget

2009-07-24 Thread Carl
Does anyone know where a standalone GWT Scrollbar widget might be found? I'm talking about a scrollbar control that is not attached to a window, that has a settable range of possible integer values through which it scrolls, and to which listeners can be attached to observe changes that the user

Problem with GWT Hosted Mode

2009-07-24 Thread vkm
when i am trying to run the application in the Hosted Mode, I get the below exception: [ERROR] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (TypeError): Object doesn't support this property or method number: -2146827850 description: Object doesn't support this

Not able to use 2 different sessions of different users

2009-07-24 Thread vkm
Hi, I have a problem with GWT and Firefox 3 and IE 8 browsers. I have an application developed in GWT. 1. I open Firefox / IE browser and login with valid credentials and it works fine. 2. I keep this session open and open other new Firefox / IE Browser window and i login with different

Re: GWT page reload according to login

2009-07-24 Thread mars1412
maybe this: com.google.gwt.user.client.Window.Location.reload() On Jul 24, 12:24 am, Bhayat baki.hayat.c...@gmail.com wrote: Hi How can i reload my page after one button is clicked like enter with new username --~--~-~--~~~---~--~~ You received this

Re: Hint: Previous compiler errors may have made this type unavailable

2009-07-24 Thread BMax
Thanks mirceade! Now, after your post, I'm really so happy! Fortunately you exist!!! However, there is someone (smarter than mirceade) who can help me? Bye, Max On 24 Lug, 10:20, mirceade mirce...@gmail.com wrote: Read the manual, read the errors, learn English, get a life. On Jul 23,

GWT code not running using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1

2009-07-24 Thread Rick
Hi all I am building my application using GWT 1.6. Today I moved on Firefox/ 3.5.1. and to my wonder, my aplication is not working with this version. I am getting following error. Any suggestion in this regards will be highly appreciated as I am totally blocked.

GWT + Apache Commons + Jetty

2009-07-24 Thread Petein
my web app was deployd on jetty 6.1.19 but when i try to upload a file i get this message Can't read input file! from my web app. The logs say that the servlet works fine. another thing is that the web app works fine in the google web toolkit hosted mode, as i press run from eclipse. any ideas?

Re: Problems with hosted mode

2009-07-24 Thread Rajeev Dayal
Hey Pavel, Can you post the contents of your web.xml file, and also the contents of your JSP page? Also, where is your JSP page located? Thanks, Rajeev On Thu, Jul 23, 2009 at 1:08 PM, Pavel Byles pavelby...@gmail.com wrote: I am using a JSP page as my startup page for my GWt/GAE project and

Re: java.lang.UnsupportedClassVersionError: Bad version number in .class file in eclipse-3.4 + mac osx

2009-07-24 Thread Rajeev Dayal
Also, check your compiler compliance level. Eclipse does not use javac from the JDK you are using; it uses its own compiler, and it will compile for a particular version of the JDK depending on your compiler compliance settings. They can be found under Preferences -- Java -- Compiler. On Thu, Jul

Re: Accent Agnostic SuggestOracle / SuggestBox

2009-07-24 Thread Aldo
Hi Simon, I also need exactly what you are looking for. Have you found a way to do this? Did you re-implement the Oracle? Thanks, Aldo PS. I had several problems with package-protected methods when using SuggestBox too. Google should create more extensible widgets. On Jun 22, 9:35 am,

Re: help on a servlet issue

2009-07-24 Thread Rajeev Dayal
Can you post the code for the servlet you're trying to add? Also, when you say that you added a new servlet for the setup module, what exactly do you mean? How are you associating the servlet with your module? On Fri, Jul 24, 2009 at 3:07 AM, Simon xingzhi@gmail.com wrote: hi, sorry, I am

Re: In Hosted mode, GWT Stopped displaying Widgets

2009-07-24 Thread Raju
I also tried creating running dummy 'HelloWorld' application out side of eclipse, it does not work. Looks like I am unable to run any GWT application on this machine. On Jul 23, 5:05 pm, Raju raju.technol...@gmail.com wrote: Here's what I did: From a fresh eclipse 3.4 installation with

How would I add a mouseover handler to Grid cells?

2009-07-24 Thread Chris
Hi I have a Grid object that has lots (~ 100 x 100) of empty cells; I'm using it to represent a matrix of values for scientific visualisation, giving a style to each cell to set its color. I currently have a ClickHandler that lets me know which Grid cell the user clicks on. However, I would also

Reading XML

2009-07-24 Thread Joakim Sjöberg
Hello! This might be the wrong forum for this question but maybe someone knows. I have an xml file that looks something like this: block nameFK_BB_BA/name pages page namedsd/name firstPagetrue/firstPage

Re: Standalone GWT Scrollbar Widget

2009-07-24 Thread Isaac Truett
Hi Carl, Sounds like you might want to look at the SliderBar in the GWT Incubator project: http://code.google.com/p/google-web-toolkit-incubator/wiki/SliderBar I imagine you could style it to look like a browser's scroll bar if that's what you want. - Isaac On Fri, Jul 24, 2009 at 2:24 AM,

Re: In Hosted mode, GWT Stopped displaying Widgets

2009-07-24 Thread Rajeev Dayal
Hey Raju, It definitely sounds cookie related. What OS and Browser are you running with? Rajeev On Fri, Jul 24, 2009 at 9:04 AM, Raju raju.technol...@gmail.com wrote: I also tried creating running dummy 'HelloWorld' application out side of eclipse, it does not work. Looks like I am unable

Re: Command Pattern, MVP, EventBus

2009-07-24 Thread Eduardo Nunes
I use exceptions in this way: - RuntimeException for all those things that shouldn't happen in a normal environment. For example, databases/files problems, requests of objects using wrong ids (something like the user changed the id in the url to a wrong one). And I just shown a default error

Creating composite widgets

2009-07-24 Thread Rahul
Hi I am trying to create an composite widget that would have label and textbox wrapped in a verticalpanel here is my code for this: package com.example.test11.client; import com.google.gwt.dev.asm.Label; import com.google.gwt.user.client.ui.Composite; import

Re: Command Pattern, MVP, EventBus

2009-07-24 Thread Eduardo Nunes
I call them BusinessException and BusinessUncheckedException BusinessException has the message key and an array of parameters, so I can build pretty error messages in the client side. On Fri, Jul 24, 2009 at 11:11 AM, Eduardo Nunesesnu...@gmail.com wrote: I use exceptions in this way: -

Re: Creating composite widgets

2009-07-24 Thread Paul Robinson
You imported com.google.gwt.dev.asm.Label instead of com.google.gwt.user.client.ui.Label Rahul wrote: Hi I am trying to create an composite widget that would have label and textbox wrapped in a verticalpanel here is my code for this: package com.example.test11.client; import

Re: Composite - disabling click events

2009-07-24 Thread romant
Thanks for the advice. This could be a way, but I am a bit afraid that it could be a bit risky to take this approach without knowing exactly what one is doing. Maybe I could create some circular reference causing memory leaks or something like that - some experienced folks could maybe drop a word

How can you detect a mouse double click on a text box?

2009-07-24 Thread Rahul
Hi i would like the functionality that when a user double clicks on the textbox, the existing text on the textbox deletes itself how should i proceed to do that so ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

GWT 1.6.4 and servlet error problems

2009-07-24 Thread james
I have just upgraded to GWT 1.6.4 and I have run into problems deploying GXT to Tomcat. I am getting this error in the logs: java.lang.ClassCastException: com.rbsgbm.ival.gui.server.CommandServiceImpl cannot be cast to javax.servlet.Servlet at

Re: How to Run GWT App in Hosted Mode by Using Netbeans 6.5?

2009-07-24 Thread jwheat3300
Hi Leonardo, If you have everything set up correctly then your web app should just run. One thing to consider though with netbeans is the use of Glassfish v2.2 as your server. It seems that Glassfish v3 prelude does not want to work fully with a GWT app. I am not sure why this is, but I was

FlexTable and RowSpan

2009-07-24 Thread JAppetta
Using the FlexTable and CSS, is there a way to achieve the effect of rowspan? I have a 4 column table, where (for 99% of the time), the first two columns have the same data, only the data in the last two columns will differ Col1 Col2 Col3 Col4 aa

PHP in hosted mode

2009-07-24 Thread Tobe
Hi, I want to use GWT in a PHP project but can't find files like project- name-shell or com.google.com.gwt.dev.GWTShell. I'm using GWT 1.6.4 with Eclipse on Mac OS X. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Standalone GWT Scrollbar Widget

2009-07-24 Thread Carl
Isaac, Thanks so much - that control is exactly what I need. I had started to hack a Composite widget together by wrapping ScrollPanel, and it was kind of working, but for some reason Opera wouldn't display the horizontal scrollbar. And in any case, SliderBar looks 1000 percent better than the

Re: Standalone GWT Scrollbar Widget

2009-07-24 Thread Carl
Correction - for the labels, I meant to say there would be 5 at intervals of 20. On Jul 24, 9:41 am, Carl consult...@goalstate.com wrote: Isaac, Thanks so much - that control is exactly what I need.  I had started to hack a Composite widget together by wrapping ScrollPanel, and it was kind

How to convert an EntryPoint object into a Composite object.

2009-07-24 Thread Baskar
I am new to GWT RPC application. I have downloaded the GWT plugin for eclipse and did a sample GWT java product and defined a module which contains the following three screens: 1, Login Screen 2, Main Screen, which contains menu bar and tool bar options and 3, A master screen, ie., Item Master,

server name missing in WASReqURL cookie in WAS 6.1.0.17

2009-07-24 Thread Tapan
Hi All, I am using Form based login in my GWT+Portal based application. To go back to the user requested page after successfull login i am using WASReqURL cookie set by Websphere. Now currently i am using WAS 6.1.0.17 WAS server. I tried in local m/c also in unix server and at both place the

Debugging GWT App in Eclipse

2009-07-24 Thread CI-CUBE
Hi... I'm in the Getting Started Tutorial example, everything works so far, but I'm unable to debug (Step 6). It always runs thru the code ignoring my breakpoints. BTW, if I create a breakpoint there isn't a breakpoint window where that one appears (like shown in the Tutorial) I tried both

How can i put HTML containing li elements in its content ?

2009-07-24 Thread Radosław Grębski
The problem is when i try to display com.google.gwt.user.client.ui.HTML (String html) with html like this code brullidotted el1br/lilidotted el1br/li/ulfont color=#339966bbr/b/fontollione/lilitwo/ lilifont color=#00three/fontbr/li/olfont color=#339966b/b/fontColours and other things work

Re: Is there a way to force serialization of a Class ?

2009-07-24 Thread AymenS
Hi Sumit, Yes, I did it that way, but I don't lock objects, the error message tells user that data has been changed by someone else and that he should reload, I use optimistic locking. Many thanks, On 23 juil, 19:38, Sumit Chandel sumitchan...@google.com wrote: Hi Aymen, Yes, that exactly

OSGI - adding new client/server code to an existing app through a bundle

2009-07-24 Thread Michael Sullivan
I'm looking at using GWT in an OSGi application. We want to be able to add extra features as bundles. These bundles would add new database tables, workflows and screens to an existing application. I think it would be easy to add something to the menu - have a service where the clients polls

FormPanel submit() displays popup

2009-07-24 Thread Scott
While trying to create a FormPanel that uploads a file, my application launches a pop-up window on FormPanel.submit(). Furthermore, the listener designed to retrieve the results from the submit never gets fired. I'm using the latest GWT 1.7. Below is a simplified example that reproduces the

GWT 1.7 Crash while Compiling HistoryImplTimer.java

2009-07-24 Thread Lucas Neves Martins
Well well, I was just getting excited about the new release, and then I've got busted. I've updated from the 1.6.4 to the new 1.7 gwt release, and now I'm getting an error when trying to compile the application. Here is my GWT Development Shell Output: [code] [INFO] Starting HTTP on port

Re: Debugging GWT App in Eclipse

2009-07-24 Thread Lucas Neves Martins
Just Right+Click the *.gwt.xml in your app package, and click Debug As . There will be two ok possibilities, debugging as GWT Hosted mode Application, or as Web Application ( with the blue google icon). Just choose the one that suits you, if you are in doubt, just try both. It might sound

Re: Debugging GWT App in Eclipse

2009-07-24 Thread CI-CUBE
Thx. I did setup an identical configuration on my home machine, which works as expected. Even the breakpoint window appears. So, hopefully, I can manage to get it running on the office machine too. Thread over for now. Thx again Ekki On Jul 24, 8:59 pm, Sean slough...@gmail.com wrote:

Re: Working with xml nodes gives exceptions in google chrome only

2009-07-24 Thread Sumit Chandel
Hello, For anyone else experiencing similar issues, please see Issue #3871 (link below) for follow-up. Issue #3871: http://code.google.com/p/google-web-toolkit/issues/detail?id=3871 Thanks, -Sumit Chandel On Jul 22, 10:08 am, mihai007 mihai@gmail.com wrote: The error is: Uncaught

ListBox Problem - Show only after mouse over

2009-07-24 Thread GDMS
Hi, When the panel is shown some list boxes simply don't appear, I have to pass the mouse over the list box to force the browser to show it. I have this problem with one line listbox (combobox) and multiline listbox. I test this problem with Google Chrome, FireFox and Internet Explorer, ONLY

Re: GWT module needs to be (re)compiled

2009-07-24 Thread Jennifer Vendetti
I'm trying to upgrade from 1.5.2 to 1.6.4 and have the same issue as the posts above, but I'm not using Maven at all. When I run in hosted mode (launching from Eclipse Ganymede), as soon as I click the Compile/Browse button, I get the error message GWT module needs to be (re)compiled. I also

Re: Problems with hosted mode

2009-07-24 Thread Pavel Byles
?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app !-- Default page to serve -- welcome-file-list welcome-fileCaribbeanvisit.jsp/welcome-file

Re: Problems with hosted mode

2009-07-24 Thread Pavel Byles
JSP file is located in my war directory (war/Caribbeanvisit.jsp): %@ page contentType=text/html;charset=UTF-8 language=java % %@ page import=com.google.appengine.api.users.User % %@ page import=com.google.appengine.api.users.UserService % %@ page

Re: Problems with hosted mode

2009-07-24 Thread Pavel Byles
JSP is located directly in the war directory. %@ page contentType=text/html;charset=UTF-8 language=java % %@ page import=com.google.appengine.api.users.User % %@ page import=com.google.appengine.api.users.UserService % %@ page import=com.google.appengine.api.users.UserServiceFactory % !DOCTYPE

Re: How to convert an EntryPoint object into a Composite object.

2009-07-24 Thread Isac
You have to extend Composite instead of EntryPoint and initialize your widgets in the constructor. Simple example: public class SimpleButtons extends Composite{ public SimpleButtons(){ final VerticalPanel panel = new VerticalPanel(); initWidget(panel); final Button

Reading styles directly from the stylesheet?

2009-07-24 Thread Graham J
Is there a convenient way to access a stylesheet in programmatic form? My intention is to have an animation, and to let another developer specify a 'before' style and an 'after' style in the CSS rather than the code (just width and height at this point), and then to have the animation tween

Re: GWT module needs to be (re)compiled

2009-07-24 Thread Isaac Truett
Jennifer, Sounds like you're up against this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3510 There's a patch attached to comment #21 that has worked for many (including myself). You can also upgrade to 1.7.0, which includes the fix for issue #3510. Hope that helps. -

Changing TabPanel's table label?

2009-07-24 Thread ToddP
Hi, I want to change my TabPanel's tab labels dynamically (e.g. add info about what the user has done within the tab such as how many items he has selected). Can the title be changed? TIA --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: In Hosted mode, GWT Stopped displaying Widgets

2009-07-24 Thread Raju
Windows XP, I have IE Firefox Chrome installed on the machine. Thanks On Jul 24, 7:02 am, Rajeev Dayal rda...@google.com wrote: Hey Raju, It definitely sounds cookie related. What OS and Browser are you running with? Rajeev On Fri, Jul 24, 2009 at 9:04 AM, Raju

Re: GWT page reload according to login

2009-07-24 Thread Bhayat
one more question :) i know gwt mention about easy ajax,but i couldtnt find usage of sessions in gwt.can you give or send me any link or document to learn how to manage and use sessions in gwt --~--~-~--~~~---~--~~ You received this message because you are

Newbie Question. Windows 7 + Eclispe 3.4 + GWT 1.7 + Debug + Getting Started Tutorial.

2009-07-24 Thread Howard Tan
Hi, I've been combing through the Getting Started guide, and I got everything to work except this page. http://code.google.com/webtoolkit/tutorials/1.6/debug.html I've followed the directions and it doesn't work. The tutorial runs normally and it doesn't break at the breakpoints. Anybody got

Re: Debugging GWT App in Eclipse

2009-07-24 Thread Howard Tan
Hi Ekki, Did you get this to work on your office computer? I'm experiencing the same problem, and just like to get this to work. Thanks, Howard On Jul 24, 12:25 pm, CI-CUBE e...@ci-cube.info wrote: Thx. I did setup an identical configuration on my home machine, which works as expected. Even

JPA with GWT

2009-07-24 Thread Guess What
I am trying to use JPA with GWT . I am not sure how to make this communication work . I did googling around on this quite a bit . People suggest dozer and gilead . Dozer plug in is not working currently . Gilead there is aproblem with lazy fetching . This must be a time and tested approach . So

Re: How to convert an EntryPoint object into a Composite object.

2009-07-24 Thread Nuno
you may give a look at this pagehttp://tcninja.blogspot.com/2009/07/composites-when-you-need-to-group.html to learn a little more about composites. On Fri, Jul 24, 2009 at 7:07 AM, Baskar baskarani...@gmail.com wrote: I am new to GWT RPC application. I have downloaded the GWT plugin for

Re: GWT module needs to be (re)compiled

2009-07-24 Thread Jennifer Vendetti
Hello Isaac, Many thanks for the pointer to that thread. The patch fixed the issue in 1.6.4 and I will also upgrade to 1.7.0 as you suggest. Best, Jennifer On Jul 24, 2:13 pm, Isaac Truett itru...@gmail.com wrote: Jennifer, Sounds like you'reup against this issue:

Re: HTML 5 video

2009-07-24 Thread Joseph Arceneaux
Thanks, that was helpful. On Thu, Jul 23, 2009 at 1:43 PM, Sumit Chandel sumitchan...@google.comwrote: Hi Joseph, GWT support for HTML 5 is definitely something the team is looking at for an upcoming release. Until then, you can always use an HTMLPanel to contain the video tag and manage its

Problem with CssResource upgrading to 1.7 from 1.5.3

2009-07-24 Thread Diego
Hi, I'm trying to upgrade my code to 1.7, but I'm having a few problems, and after trying to sort them myself searching the group and the documentation, I gave up. 1) In 1.7 com.google.gwt.libideas.resources.client.ImmutableResourceBundle is deprecated, and the javadoc point to

Re: Reading styles directly from the stylesheet?

2009-07-24 Thread Adam T
Hi Graham, there's not a directly way in GWT as yet. As part of a project I'm doing, I've been building up an animation library that is based on tweening between 2 styles that I've been able to kept as open source. You can find the library here: http://code.google.com/p/gwt-fx/ and an example

Problem with serializing Date in map

2009-07-24 Thread ramraj
Hi all, I am new to this rpc,i facing a problem with Date type,I have one methods that takes MapString,Object argument,when i am trying to send to Date as value for that map i am getting exception like java.lang.reflect.InvocationTargetException java.lang.AssertionError: Not enough methods,

GWT1.6.4 + gwt2swf + IE7 problem

2009-07-24 Thread priya
Hi all, I am using gwt2swf jar for Flash Tag cloud widget. I am passing history token in my url of each tag. So, on click of each tag it goes to the onHistoryChanged() method when I am working in Firefox and Chrome. But in IE 7.0 and Safari when I click on any tag it first goes to onModuleLoad()

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-24 Thread Alen Vrecko
1) A generator uses the SystemCL.  Not recommended because it won't see changes in client code unless hot-replace is working. 2) A generator uses TypeOracle.  Recommended; changes are picked up on refresh. 3) A generator uses the TypeOracleClassLoader.  Useful for interacting with

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-24 Thread Scott Blum
On Fri, Jul 24, 2009 at 6:01 AM, Alen Vrecko alen_vre...@yahoo.com wrote: 1) A generator uses the SystemCL. Not recommended because it won't see changes in client code unless hot-replace is working. 2) A generator uses TypeOracle. Recommended; changes are picked up on refresh. 3)

[gwt-contrib] Re: [SOLVED] Re: Trouble building GWT 2.0 from svn

2009-07-24 Thread Freeland Abbott
I think it'd be reasonable. Patches welcome, particularly as you have the reproduction case. ;-) On Fri, Jul 24, 2009 at 10:33 AM, mescali...@gmail.com mescali...@gmail.com wrote: ok sorry for all this bugspam I finally solved this issue. it turns out that Gentoo has many ant tasks

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-24 Thread Alen Vrecko
in GIN's case we could then do ctx.getTypeOracleClassLoader().useSystemFor().startingWith (com.google.gwt.inject.).create(); and not worry about any surprises. That seems, complicated and unnecessary.  If you really, really need the SystemCL version of a class, you'd just access it

[gwt-contrib] RPC forward/backward compat

2009-07-24 Thread Matt Mastracci
Hey all, We've been struggling with the issue of RPC forward/backward incompatibility for a little while and I thought I'd bring it to the list for discussion. As some of you know, one of our use-cases for GWT is embedding the compiled JS in a Firefox extension. Unfortunately, the

[gwt-contrib] Include Window init scripts using TextResource instead of function.toString()

2009-07-24 Thread jlabanca
Reviewers: jgw, Description: Description: = WindowImplIE needs to embed a script tag on the outer window in order to sink events on the outer window from within an iframe, which means we need the init event methods as strings. Previously, we did this by writing a JSNI black that

[gwt-contrib] Re: Include Window init scripts using TextResource instead of function.toString()

2009-07-24 Thread jlabanca
This patch is an improvement either way, but it doesn't fix the tests. It looks like various tests are causing an infinite loop. Looking into it now. http://gwt-code-reviews.appspot.com/51814 --~--~-~--~~~---~--~~

[gwt-contrib] Re: Include Window init scripts using TextResource instead of function.toString()

2009-07-24 Thread jgw
On 2009/07/24 17:27:00, jlabanca wrote: This patch is an improvement either way, but it doesn't fix the tests. It looks like various tests are causing an infinite loop. Looking into it now. LGTM. http://gwt-code-reviews.appspot.com/51814

[gwt-contrib] Re: Include Window init scripts using TextResource instead of function.toString()

2009-07-24 Thread bobv
One thing this setup won't do is to minify the JS. http://gwt-code-reviews.appspot.com/51814 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Record line numbers for JsExpressions derived from JSNI methods

2009-07-24 Thread bobv
Reviewers: scottb, Message: Review requested. Description: Rhino's Node.getLineno() only returns useful data for JS statements. This patch changes GWT's JsParser to provide statement-level line number resolution for JsExpressions. Please review this at http://gwt-code-reviews.appspot.com/51816

[gwt-contrib] Re: Record line numbers for JsExpressions derived from JSNI methods

2009-07-24 Thread scottb
Mostly LGTM. http://gwt-code-reviews.appspot.com/51816/diff/1/2 File dev/core/src/com/google/gwt/dev/js/JsParser.java (right): http://gwt-code-reviews.appspot.com/51816/diff/1/2#newcode159 Line 159: SourceInfo toReturn = program.createSourceInfo(lineno, parent.getFileName()); Why can't we use

[gwt-contrib] Re: Record line numbers for JsExpressions derived from JSNI methods

2009-07-24 Thread bobv
http://gwt-code-reviews.appspot.com/51816/diff/1/2 File dev/core/src/com/google/gwt/dev/js/JsParser.java (right): http://gwt-code-reviews.appspot.com/51816/diff/1/2#newcode159 Line 159: SourceInfo toReturn = program.createSourceInfo(lineno, parent.getFileName()); Will change.

[gwt-contrib] Re: Record line numbers for JsExpressions derived from JSNI methods

2009-07-24 Thread scottb
http://gwt-code-reviews.appspot.com/51816/diff/1/2 File dev/core/src/com/google/gwt/dev/js/JsParser.java (right): http://gwt-code-reviews.appspot.com/51816/diff/1/2#newcode159 Line 159: SourceInfo toReturn = program.createSourceInfo(lineno, parent.getFileName()); BTW: I didn't necessarily mean

[gwt-contrib] JsStackEmulator incorrectly parses out the base name

2009-07-24 Thread jlabanca
Reviewers: robertvawter_google.com, Description: Description: === JsStackEmulator#baseName() does not handle urls from the file system (eg. file:whatever). This can result in an infinite loop in StackTraceCreator. Fix: Fixed the parser based on bob's suggestion. Please review

[gwt-contrib] Re: JsStackEmulator incorrectly parses out the base name

2009-07-24 Thread bobv
LGTM http://gwt-code-reviews.appspot.com/51817 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Trouble building GWT 2.0 from svn

2009-07-24 Thread Mark M
Something wrong with my windows env. I rebuilt successfully on a different windows env. On Jul 24, 9:24 am, Freeland Abbott fabb...@google.com wrote: Huh. Well, if you look in dev/core/build.xml, you should see the rules for building alldeps.jar; I'd edit that block heavily to add some more

[gwt-contrib] Re: RPC forward/backward compat

2009-07-24 Thread Matt Mastracci
On 24-Jul-09, at 6:39 PM, BobV wrote: I have a design wave going on about how to add this to the new RPC implementation. Here's a cruddy copy-and-paste of the current state of the document. Bob, this is awesome! Is the plan to land this as part of deRPC, or is this a future feature that

[gwt-contrib] Re: RPC forward/backward compat

2009-07-24 Thread BobV
Also, will this be supported on methods themselves?  For instance, can I mark a new method parameter as @Optional so that older clients don't need to provide it?  Conversely, could we remove a parameter from a method and still support clients sending data with the old signature? I could go

[gwt-contrib] Testing new GWT RPC implementation (aka deRPC)

2009-07-24 Thread BobV
The deRPC code went into trunk a week or so ago, and no initial fires have been reported. I'd like to get folks on GWTC to give it a shakedown. Quickstart (for vanilla configurations): - Inherit com.google.gwt.rpc.Rpc in your gwt.xml file - Change your remote service interfaces to extend

[gwt-contrib] Re: RPC forward/backward compat

2009-07-24 Thread Matt Mastracci
On 24-Jul-09, at 9:11 PM, BobV wrote: Also, will this be supported on methods themselves? For instance, can I mark a new method parameter as @Optional so that older clients don't need to provide it? Conversely, could we remove a parameter from a method and still support clients