what is best way to display an image slider in GWT?

2009-09-21 Thread balachandra maddina
Hi There, Im trying to code a slider using GWT which displays lists of images. my approach here is to load few images like first 10, and display them to user when user scrolls the sidebar ill hit the server for the rest of the images and display them(much like the way flash does while listing).

Emulated java class serialization issues

2009-09-21 Thread Andrius Juozapaitis
Hey, I stumbled upon a problem when trying to use CouchDB with GWT (the JCouchDB framework has unserializable fields in the lists they return, that are not really relevant in GWT clientside). So I created a simple test case (maven project) that tries to emulate the non-serializable class using

Re: Emulated java class serialization issues

2009-09-21 Thread Lothar Kimmeringer
Andrius Juozapaitis schrieb: I have a crawling suspicion, the server tries to serialize the original class, and the client gets additional object reference int the stream, that it doesn't know how to handle. What is the correct way to solve this problem, apart from rewriting the library in

HttpSession NullPointerException

2009-09-21 Thread Dariusz
Hi! A simple scenario. - User logs in - User in database, save user object in HttpSession (works) - Forward to page /account and read the HttpSession (not working) Saving the user object in session works fine, but when I try to read it, I get a NullPointerException. The session is not there.

Re: HttpSession NullPointerException

2009-09-21 Thread Lothar Kimmeringer
Dariusz schrieb: - User logs in - User in database, save user object in HttpSession (works) - Forward to page /account and read the HttpSession (not working) The session is found by a cookie. If the browser forbids the use of cookies, the server is screwed. The weird part is here. If I run

Re: Advice for bundling RPC calls in ONE HTTP request

2009-09-21 Thread Thomas Broyer
On 21 sep, 10:37, maku martin.k...@gmx.at wrote: Hi, I would like to bundle different RPC calls into one physical http call. The idea is to use GWT serialization mechanism and generic functionality to handle this. I could imagine a generic RPC method with has a DTO as paramter and the

Re: Advice for bundling RPC calls in ONE HTTP request

2009-09-21 Thread maku
If you use a command pattern (i.e. have your RPC have only one method and use different Command/Action classes to determine which action shuld be performed), then batching is just a matter of sending a super-action whose parameters are a list of commands/actions. From my point of view we

Tables, scrolling, FocusPanel and Safari

2009-09-21 Thread George Georgovassilis
Recently I run into a problem with the following setup: ScrollPanel table ... tr td FocusPanel /td /tr ... /table /ScrollPanel When the table becomes longer than the page can accomodate, the scrollpanel should normally display scrollbars and contain the entire table. Which it does for all

Re: file download option in GWT

2009-09-21 Thread Ian Bambury
When you create the file, you can use an absolute path (with a drive letter) to where the link is picking it up with the relative path. Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Emulated java class serialization issues

2009-09-21 Thread Andrius Juozapaitis
Use wrapper-classes containing only the values you need in your GWT-application. The server creates these objects out of the server-side instances and set the values when received from the client. It's more or less the same as you already did but with the difference that you don't rely on

Re: HttpSession NullPointerException

2009-09-21 Thread Dariusz Borowski
OK, I think it is related to my vhosts settings. The problem is, that I'm using a vhost to forward from port 80 to my internal webapp directory. I'm using ProxyPass and probably this causes the problem. My settings are: *Virtual Host xx.xx.xx.x:80 Servername my.url.com DocumentRoot

Re: HttpSession NullPointerException

2009-09-21 Thread Dariusz
Thanks Lothar, but I allow Cockies and still the session is not there... Dariusz On Sep 21, 10:35 am, Lothar Kimmeringer j...@kimmeringer.de wrote: Dariusz schrieb: - User logs in - User in database, save user object in HttpSession (works) - Forward to page /account and read the

OOPHM and Mac OSX

2009-09-21 Thread P.G.Taboada
Hi, it's working on my Mac Snow Leopard as long as I don't start the shell from Eclipse. I have seen some posts about doing this and that but it looks like they are all out of date. Any help/ tips here for the current trunk? brgds, Papick --~--~-~--~~~---~--~~

Re: file download option in GWT

2009-09-21 Thread sathya
Hi Ian, I am not able to relate absolute path and relative path. Can you give example of both absolute path and its equivalent relative path whih I can use it in my code. On Sep 21, 3:21 pm, Ian Bambury ianbamb...@gmail.com wrote: When you create the file, you can use an absolute

Re: file download option in GWT

2009-09-21 Thread sathya
for eg, if d:/nas/local/results/xml_5.6_46.2.xls is absolute path, Then what will equivalent relative path that I can use in my code to where the link can pick it up. On Sep 21, 5:22 pm, sathya sathyavik...@gmail.com wrote: Hi Ian,          I am not able to relate absolute path and relative

Re: GWT Good file upload exmaple

2009-09-21 Thread GumbyGWTBeginner
The the Upload Submit form works a treat. Not really sure what to research in the way of transmitting data from the SUBMIT form to the server and how the server processes this file for me to pass to a class that reads the text file. (which I have created so to speak) Unfortunately I cam from a

DateTimeFormat - format month bug

2009-09-21 Thread MiSt
DateTimeFormat takes always DateTimeConstants.standaloneMonths() for formatting months this produce wrong date format in languages where DateTimeConstants.standaloneMonths()!=DateTimeConstants.months() Form example in polish locale (pl) String s = DateTimeFormat.getLongDateFormat()

Re: file download option in GWT

2009-09-21 Thread Ian Bambury
http://en.wikipedia.org/wiki/Path_(computing)http://en.wikipedia.org/wiki/Path_(computing) Ian http://examples.roughian.com 2009/9/21 sathya sathyavik...@gmail.com for eg, if d:/nas/local/results/xml_5.6_46.2.xls is absolute path, Then what will equivalent relative path that I can use in

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

2009-09-21 Thread Thomas Broyer
On 21 sep, 11:06, BMax massimo.bo...@gmail.com wrote: Hi dougx, thanks a lot for your message! Sorry if I reply only at this time! I checked my code and its setting... I saw that it's already like you told me... and now? What can I do? And you don't have any other error before that one?

Re: one Composite widget with multiple valueChangeHandlers of different types

2009-09-21 Thread Dean Karres
Thank you. Exactly what I was looking for. Cheers, On Fri, Sep 18, 2009 at 9:42 PM, Chad chad...@gmail.com wrote: dk, There are a few ways you can accomplish this. One way to do it is to use inner classes to handle your events: public class MyCoolWidget {  private class DateHandler

Very! basis question: Call from JavaScript to Java

2009-09-21 Thread kuri...@googlemail.com
Hi, i have a pretty simple problem i guess, and i cant get the solution because i cant all the examples available in the web work. I have a HTMLPanel with the following content: a href=# onclick=\javascript:alert (th...@com.meinskat.client.content.components.msloginpage::getLink() ());\gt;

Re: How I can call a javascript function???

2009-09-21 Thread Senshi
Please ..who can help me?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email

Re: Advice for bundling RPC calls in ONE HTTP request

2009-09-21 Thread maku
Would it be a solution to change the generator in that sense that the generated proxy classes extends from our own RemoteServiceProxy class? The extended RemoteServiceProxy class would override the doInvoke method to collect information (payload and so on) until I certain end of the unit of work

tree-grid

2009-09-21 Thread Senshi
how can I build a tree-grid with totals by group or father??? ... some example 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

jvm crash

2009-09-21 Thread lam lam
I did a ant build under samples/Mail with the errors: gwtc: [java] Compiling module com.google.gwt.sample.mail.Mail [java] # [java] # An unexpected error has been detected by Java Runtime Environment: [java] # [java] # SIGSEGV (0xb) at pc=0x0625665c, pid=7535,

Trying out StockWatcher tutorial

2009-09-21 Thread f2009 bee
Hi, I am trying out the GWT using ecilipse. I have complied the StockWatcher tutorial successfully. Now I am trying to deploy the WAR file to Tomcat 6.0 on localhost. I noticed that the compilation generated files in stockwatcher/war directory but not a .WAR file which I will need in order

Client side validation

2009-09-21 Thread Sachin Kanade
Hi, How can i validate different widget at a time. i.e. I want the multifield validator for differnet widget. How can i display the error messages on the client side --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: MySQL Connection

2009-09-21 Thread Chamira Fernando
Hi All, I have the same problem when I connect to MySQL database, What I understand from the GWT doc, whatever server side scripts we have to in .server package and this will be on server side on host mode when we debug the application. here is the scenario I can get the data from the server

Language detector application

2009-09-21 Thread Utkarsh
Hi I am new to GWT and came across it after lot of google on topics. I am working on a application where in :- 1) A program will read URls from a file (Static list). 2 ) Retrieves its content . 3) Checks in which language the content is in ? and returns and saves the language against the URL

Help with Datasource with GWTshell or HostedMode or tomcat

2009-09-21 Thread Flyzone
Hello, I'm trying to make a connection without DriverManager, of course I'm a newbieI'm using gwt 1.7 with Eclipse 3.5 With GWTshell: import javax.naming.InitialContext; import javax.naming.Context; Context context = new InitialContext(); javax.sql.DataSource ds

[help] New in GWT is considering the tecnology

2009-09-21 Thread Manuel
Hi all, i write here after reading some materials, i need to start a new project to realize an application able to be run, in windows, linux, as web application or windows application. I read about hosted mode, i'd like to know if is possible using gwt, to deploy an applicationas a normal windows

Re: GWT Presenter and PlaceManager/History

2009-09-21 Thread Sascha
Thanks, I did not realize there is such a group! I will check there first, before reposting... :-) On Sep 21, 5:31 pm, Chris Lowe chris.lowe...@gmail.com wrote: Can you repost this to the gwt-presenter group? http://groups.google.com/group/gwt-presenter Cheers, Chris. On Sep 21, 4:31 

Re: OOPHM and Mac OSX

2009-09-21 Thread Jason Parekh
Hi Papick, Where does it exactly break when you start from Eclipse? Do you have any logs? (One place to check is WORKSPACE/.metadata/.log) thanks jason On Mon, Sep 21, 2009 at 8:02 AM, P.G.Taboada pgtabo...@googlemail.comwrote: Hi, it's working on my Mac Snow Leopard as long as I don't

Re: How to put multiple apps in one project

2009-09-21 Thread BobM
Exactly my problem, also. I will be watching your posts to see if you or somkeone else comes in with the answer to this. Thanks for posting you question. See my post about How do I create an altenate URL. On Sep 20, 6:16 am, Jaap jaap.hait...@gmail.com wrote: Hi, I'm working on a web app

Running GWT JUnit on Eclipse

2009-09-21 Thread Pion
I am following the instructions on http://code.google.com/webtoolkit/tutorials/1.6/JUnit.html. I can run the junit successfully using command line. My environments are: Eclipse-Galileo, GWT SDK 1.7 on Windows Vista. However, I am having problem when trying to run it on Eclipse. Eclipse gave me

Re: GWT Host page EntryPoint switch

2009-09-21 Thread BobM
Very similar to my need - and at least one other - to be able to run more than one entry point. In my case I would like to run a second as a subApp under the main app URL. I don't have an answer to your problem but maybe by responding we can move your question (and mine) back up to the front of

Re: GWT Host page EntryPoint switch

2009-09-21 Thread chris
I solved the problem, but it isn't as clean as I'd like it to be. I manage the switch myself by putting a meta tag in the head and selecting my view widget by the class name. Consequently, I have to maintain a global list of available views. It works for now until I can find a solution that

Re: How can I set an alternative URL?

2009-09-21 Thread BobM
I still need to figure out how ro run a piece of my application by http://www.myApp.com/subApp Somebody help? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Running GWT JUnit on Eclipse

2009-09-21 Thread Jason Parekh
Hi Pion, Did the error you described (The input type of the launch configuration does not exist) come when you were following the StockWatcher test instructions or the Google Plugin for Eclipse test instructions? What error did you run into when you tried the Google Plugin for Eclipse test

protected getAttr()

2009-09-21 Thread Senshi
how can I access, the protected method setattr () HTMLTable.CellFormatter class? I need to add some attributes to a FlexTable td. thanks for the help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: gwt rpc client side serialization

2009-09-21 Thread Sumit Chandel
Hi akhil, You should be able to accomplish what you're looking to do using the GWT Gears library, as Etienne pointed out above. I recommend downloading the library from the link below and checking out the DatabaseDemo packaged in the samples directory once you extract the archive. The demo covers

Re: Running GWT JUnit on Eclipse

2009-09-21 Thread Pion
I got the error when following the instructions on http://code.google.com/webtoolkit/tutorials/1.6/JUnit.html. Following http://code.google.com/eclipse/docs/gwt_junit.html did not give me any error. I went to Eclipse Run - Run Configurations ... which display a dialog box. But the Run button

Re: Running GWT JUnit on Eclipse

2009-09-21 Thread Jason Parekh
On Mon, Sep 21, 2009 at 1:21 PM, Pion onlee2...@gmail.com wrote: I got the error when following the instructions on http://code.google.com/webtoolkit/tutorials/1.6/JUnit.html. Following http://code.google.com/eclipse/docs/gwt_junit.html did not give me any error. I went to Eclipse Run - Run

Re: Running GWT JUnit on Eclipse

2009-09-21 Thread Pion
I right-click on my java test file and select Run As - GWT Junit Test. Then, I got the following error: The input type of the launch configuration does not exist. On Sep 21, 10:27 am, Jason Parekh jasonpar...@gmail.com wrote: On Mon, Sep 21, 2009 at 1:21 PM, Pion onlee2...@gmail.com wrote:

Re: Advice for bundling RPC calls in ONE HTTP request

2009-09-21 Thread Sripathi Krishnan
We had a similar problem, but couldn't find an easy way to extend RemoteServiceProxy. Instead, we created custom a RpcRequestBuilder class and inserted it using the setRpcRequestBuilder() just after calling GWT.create() to get the service proxy. MyServiceAsync async = GWT.create(MyService.class);

Plugin Hosted Mode failing to resolve import java.net.* on Macintosh

2009-09-21 Thread kbowe...@gmail.com
Hi Guys, I first posted about this problem (full details below) on the AppEngine/Java list; a response there from Jason Parekh (also added here at end) suggested that there may be problems with GWT, so I'm here to check that out. Here's what I've run into: - I seem to have

Re: gwt rpc client side serialization

2009-09-21 Thread Sumit Chandel
Sorry, I just re-read your question and noticed that you're actually asking about something else, namely using the RPC serialization mechanism manually in your client-side code. Unfortunately, this isn't currently possible, at least not directly. The GWT RPC serialization mechanism is asymmetric.

Re: What to inherit for ScrollTable (and other widgets)?

2009-09-21 Thread Starchy Grant
Hi Brandon, Try replacing the ScrollTable line with this one: inherits name=com.google.gwt.gen2.table.Table / Also, if you're using the Gen2 version, you can elide the WidgetIdeas include. Regards, Starchy On Sep 18, 5:10 pm, bnedwek bned...@gmail.com wrote: Hi everybody, Sorry for what

Re: Trying out StockWatcher tutorial

2009-09-21 Thread Venkatesh Babu
Think if you have your project setup using webAppCreator, you will get an ant task called war. That task will create a war file for you. Hope this helps. -Venkatesh On Mon, Sep 21, 2009 at 5:33 AM, f2009 bee f2009...@gmail.com wrote: Hi, I am trying out the GWT using ecilipse. I have

Re: GWT + SPRING

2009-09-21 Thread Sumit Chandel
Hi osquitranki, I believe many developers have had success using the GWT-SL project, however you can also integrate GWT with Spring with a manual project setup, as described in the blog post below (a little outdate, but should still be helpful). Integrating GWT with Spring:

Re: Running GWT JUnit on Eclipse

2009-09-21 Thread Jason Parekh
Strange! Could you send us the contents of your WORKSPACE/.metadata/.log file? It might have more detailed information about the error. Thanks jason On Mon, Sep 21, 2009 at 1:51 PM, Pion onlee2...@gmail.com wrote: I right-click on my java test file and select Run As - GWT Junit Test. Then,

How do you set/get host page form values from GWT?

2009-09-21 Thread rb
How do you set/get host page form values from GWT? For example: form name=orderForm method=POST input type=text name=state maxlength=2 size=2 / /form From GWT, how do I set/get the state value? I tried: native String getState() /*-{ return orderForm.state.value; }-*/; but

Re: Plugin Hosted Mode failing to resolve import java.net.* on Macintosh

2009-09-21 Thread Venkatesh Babu
java.net package is not supported by GWT. You can find the list of supported java packages here: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html -Venkatesh On Mon, Sep 21, 2009 at 2:35 PM, kbowe...@gmail.com kbowe...@gmail.comwrote: Hi Guys, I first posted about this

Re: Very! basis question: Call from JavaScript to Java

2009-09-21 Thread Rakesh
look into jsni: http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html On Sep 21, 9:48 am, kuri...@googlemail.com kuri...@googlemail.com wrote: Hi, i have a pretty simple problem i guess, and i cant get the solution because i cant all the examples available

Re: Running GWT JUnit on Eclipse

2009-09-21 Thread Pion
Sorry for the late reply. I just returned to my desk. Where can I find those info? Can you give me more specific examples? I can't seem to find them. On Sep 21, 12:11 pm, Jason Parekh jasonpar...@gmail.com wrote: Strange!  Could you send us the contents of your WORKSPACE/.metadata/.log file?  

Anchor.wrap question

2009-09-21 Thread myapplicationquestions
Hi All, This is my requirement i have a grid with where i need to 1) show an approve anchor tag foir each row 2) clicking on which will open up a dialog box. The way i am doing it is instead of using a Anchor widget i am doing an inline html dataTable.setHTML(liRows, liColumnIndex, a

Re: translate DateTimeFormat output

2009-09-21 Thread PH
someone?? On Internacionalization documents they don't describe how to translate Dateformat outputs to others languages. I mean, is it determined by browser client, since javascript runs on client? tnx in advance. On Sep 3, 11:06 pm, PH phlcas...@gmail.com wrote: Hi Dominik,  tnx for your

Re: Running GWT JUnit on Eclipse

2009-09-21 Thread Jason Parekh
No problem! If you open your Eclipse workspace folder, there should be a folder called .metadata. Inside that, there should be a file called .log. I believe Windows hides these files by default, so you may need to use the command prompt to find this file (either that, or turn on the setting to

Re: Plugin Hosted Mode failing to resolve import java.net.* on Macintosh

2009-09-21 Thread ken
Thanks Venkatesh. --Ken On Sep 21, 4:02 pm, Venkatesh Babu venkatbab...@gmail.com wrote: java.net package is not supported by GWT. You can find the list of supported java packages here:http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html -Venkatesh On Mon, Sep 21, 2009 at 2:35

Re: Server-only functions

2009-09-21 Thread Sumit Chandel
Hi all, Thanks for expressing use cases for an @ServerOnly type annotation. I've updated Issue # and forwarded it over to Scott Blum for further review. Feel free to star the issue to keep track of updates. Issue #3769: http://code.google.com/p/google-web-toolkit/issues/detail?id=3769

Re: How do you set/get host page form values from GWT?

2009-09-21 Thread rb
Found it: InputElement inputElement = ((InputElement)Document.get ().getElementById(stateId)); inputElement.setValue(CO); On Sep 21, 3:22 pm, rb rex.beir...@gmail.com wrote: How do you set/get host page form values from GWT? For example:   form name=orderForm method=POST   input

Re: Google Map for GWT 's exception

2009-09-21 Thread Sumit Chandel
Hi ヒトリ, It seems like you have conflicting JARs on your hosted mode launch configuration or project classpath. Which JDK are you using for development and for launching the hosted mode process? From the exception message you received, it's possible that the specific JDK you're using is rebundling

[ERROR] : Unable to find 'ntm/Correction.gwt.xml' on your classpath; ...

2009-09-21 Thread thc
Hi, I am having difficulty trying to compile to javascript (ant build - web mode) my GWT app with externally-include jar files (that is, non google, non gwt jar files). My understanding of the process for these jar files is that: 1) you ensure they are on your classpath (in my case, my eclipse

Re: Running GWT JUnit on Eclipse

2009-09-21 Thread Pion
Unfortunately, there is no .metadata folder. There are .settings, .classpath and .project. On Sep 21, 2:29 pm, Jason Parekh jasonpar...@gmail.com wrote: No problem! If you open your Eclipse workspace folder, there should be a folder called .metadata.  Inside that, there should be a file

Re: Problem compiling deploying GWT-Fx

2009-09-21 Thread Carlos Niebla
Hi Adam, I've encontered two problems: first, the GWT had to be updated (I've done so for v1.7 / Linux). I'm using Galileo 3.5 and it encountered no updates for the IDE. The second, there was a warning: The following classpath entry '...' will not be available on the server's classpath (for the

Re: What to inherit for ScrollTable (and other widgets)?

2009-09-21 Thread Venkatesh Babu
Hi Brandon, You might want to check your HTML DOM once. If all works fine, then you'll have the table in DOM but the table won't get displayed until the width height are not explicitly specified (through CSS or by calling the scrolltable methods). So, try setting width height for your table.

Re: jvm crash

2009-09-21 Thread Sripathi Krishnan
No .. that's not the way it is supposed to be. I work on ubuntu linux, and am able to work without resorting to sudo (and I am not a super user). Perhaps you installed GWT in a folder to which you don't have access? --Sri 2009/9/21 lam lam lamyat2...@gmail.com I did a ant build under

Re: MySQL Connection

2009-09-21 Thread Sripathi Krishnan
If you are using Google App Engine (separate from GWT), you *cannot* use an external database. App Engine doesn't allow you to open socket connections, and that is exactly what the getConnection() method does. --Sri 2009/9/21 Chamira Fernando chamira.inc...@gmail.com Hi All, I have the

Re: [ERROR] : Unable to find 'ntm/Correction.gwt.xml' on your classpath; ...

2009-09-21 Thread Sripathi Krishnan
* 2) each external class used in the app must be explicitly entered with the inherits tag in the App.gwt.xml file. * That is incorrect. If you want to use external classes, this is what you have to do - 1. Create a jar file containing both java source files and the corresponding classes.

oophm - how to?

2009-09-21 Thread otismo
Where's gwt-dev-oophm.jar? The instructions on oophm (http://code.google.com/p/google-web-toolkit/ wiki/UsingOOPHM) say that jar must be included to run oophm. I've built gwt from the trunk and I've built branches/oophm. Both builds completed successfully but I still can't find a

Re: Suddenly getting exceptions during compile in TypeOracle annotation processing

2009-09-21 Thread martijn.spr...@gmail.com
I actually were not able to solve it. I'm starting work on this again, and am tempted to switch back to using Hibernate xml instead of annotations, since that seemed to be the thing that caused these sudden issues for me to happen. Have you been able to find a solution? Cheers, Martijn On Sep

Re: oophm - how to?

2009-09-21 Thread Paul Robinson
On my linux box, a trunk or snapshot build puts it into build/lib/gwt-dev-oophm.jar and build/staging/gwt-linux-0.0.0/gwt-dev-oophm.jar otismo wrote: Where's gwt-dev-oophm.jar? The instructions on oophm (http://code.google.com/p/google-web-toolkit/ wiki/UsingOOPHM) say that jar must

Apache tomcat

2009-09-21 Thread ak
What is the Apache Tomcat Version used by GWT 1.6.4? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe

Re: MySQL Connection

2009-09-21 Thread Akash
Hey, You are going on wrong way! You can only use java.util and java.lang on client side code ... for everything else you will have to use server side code which returns results to you client. On Sep 3, 4:21 am, GumbyGWTBeginner stephan.gump...@gmail.com wrote: Hi Guys, Was wondering if

[gwt-contrib] Re: Need Help Regarding HistoryListener

2009-09-21 Thread djd
There are a couple of problems here: 1. the post should be in http://groups.google.com/group/google-web-toolkit, not here 2. first advice : try coding the HyperlinkN (in your case N=1,2,3 from snippet above) in a SINGLE generic class. That way the code will be greatly reduced and better

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread Miguel Méndez
I've also run into this problem... On Fri, Sep 18, 2009 at 8:37 AM, Marko Vuksanovic markovuksano...@gmail.com wrote: I had the same problem.. After struggling for 2 days I figured out that the embedded jetty loads the hosted.html file form cache (C: \Documents and

[gwt-contrib] Re: Respect DoNotRunWith annotation

2009-09-21 Thread amitmanjhi
Hi John, It seems that the changes to JUnitShell.java is a sort format change. Can you commit that change separately? The remaining changes should then be confined to user/build.xml, GWTTestCase.java and DoNotRunWith.java. Those look good to me. Please go ahead and commit. Regards, Amit

[gwt-contrib] Re: Respect DoNotRunWith annotation

2009-09-21 Thread jlabanca
The changes to JUnitShell change a non-static method to a static method so it can be called from GWTTestCase. What about the RunStyle stuff? I can commit that separately, but does it look good to you? http://gwt-code-reviews.appspot.com/64816

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread John Tamplin
On Mon, Sep 21, 2009 at 1:06 PM, Ray Ryan rj...@google.com wrote: Where does the error message live? This seems like the perfect time to make it a bit more helpful, even if it just suggests to people that they check for both browser and server caching.

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread Rajeev Dayal
Could we modify the hosted mode servlet so that it set the appropriate no-cache headers on hosted.html? I've also run into this issue due to browser caching. Also, is this file re-generated every time hosted mode is started up? If not, it definitely should be. On Mon, Sep 21, 2009 at 1:26 PM,

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread John Tamplin
On Mon, Sep 21, 2009 at 3:17 PM, Rajeev Dayal rda...@google.com wrote: Could we modify the hosted mode servlet so that it set the appropriate no-cache headers on hosted.html? I've also run into this issue due to browser caching. Also, is this file re-generated every time hosted mode is

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread Ray Ryan
Time to put it up on rietveld again? Or is there already an url? On Mon, Sep 21, 2009 at 12:32 PM, John Tamplin j...@google.com wrote: On Mon, Sep 21, 2009 at 3:17 PM, Rajeev Dayal rda...@google.com wrote: Could we modify the hosted mode servlet so that it set the appropriate no-cache

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread John Tamplin
On Mon, Sep 21, 2009 at 3:38 PM, Ray Ryan rj...@google.com wrote: Time to put it up on rietveld again? Or is there already an url? Same one is still there - http://gwt-code-reviews.appspot.com/56807/show -- John A. Tamplin Software Engineer (GWT), Google

[gwt-contrib] UiBinderGenerator is not stable (issue 4067)

2009-09-21 Thread mmendez
Reviewers: Ray Ryan, Description: UiBinderGenerator is not stable and results extra compiles during web app reload. In order to avoid unnecessary compiles and type oracle refreshes, code generators must be stable. This patch is a partial fix in that visitation orders have been stabilized,

[gwt-contrib] Re: Fix an potential illegal state transition in CollapsiblePanel

2009-09-21 Thread rjrjr
You've told Rietveld that this is a patch on gwt, note incubator. Can you fix that? http://gwt-code-reviews.appspot.com/68802 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix an potential illegal state transition in CollapsiblePanel

2009-09-21 Thread jlabanca
I'll document the methods as visible for testing. There may be indirect ways to get at them, but I think its better to open them up to keep the test simple and reliable. http://gwt-code-reviews.appspot.com/68802 --~--~-~--~~~---~--~~

[gwt-contrib] Re: Set cache headers properly in embedded Jetty for hosted mode

2009-09-21 Thread rjrjr
If Bob and Kelly haven't objected to this by, say, lunch time tomorrow, can we get it submitted? This issue continues to bite people, and it would be nice to see it fixed before MS1 freezes RSN. http://gwt-code-reviews.appspot.com/56807 --~--~-~--~~~---~--~~

[gwt-contrib] Re: Insert -d32 flag only when os == mac and vm is 64-bit

2009-09-21 Thread John Tamplin
On Mon, Sep 21, 2009 at 6:02 PM, Daniel Rice (דניאל רייס) r...@google.comwrote: I think this turned out not to be necessary: 1) The script uses the gwt install path to decide whether to generate the mac stuff 2) Because the ant script now uses condition, it no longer differs between

[gwt-contrib] Re: Set cache headers properly in embedded Jetty for hosted mode

2009-09-21 Thread Fred Sauer
[+Miguel] On that note: what about adding some nice defaults to appengine-web.xml as discussed here: http://code.google.com/p/google-web-toolkit/issues/detail?id=3592 This would be for project with both App Engine and GWT support. Fred On Mon, Sep 21, 2009 at 3:20 PM, rj...@google.com

[gwt-contrib] source - src in ui:style

2009-09-21 Thread rjrjr
Reviewers: jgw, Message: Joel, can you review this small change that will probably make biggish ripples in your world? Since html uses src all over the place, we should too. Please review this at http://gwt-code-reviews.appspot.com/67809 Affected files: M

[gwt-contrib] Re: Set cache headers properly in embedded Jetty for hosted mode

2009-09-21 Thread Ray Ryan
Can we move that conversation to another patch? On Mon, Sep 21, 2009 at 5:25 PM, Fred Sauer fre...@gmail.com wrote: [+Miguel] On that note: what about adding some nice defaults to appengine-web.xml as discussed here: http://code.google.com/p/google-web-toolkit/issues/detail?id=3592 This

[gwt-contrib] Re: Set cache headers properly in embedded Jetty for hosted mode

2009-09-21 Thread Fred Sauer
Absolutely. Separate subject. Separate issue (in fact it's issue 3592). I just wanted to call it out here since there seem to be 'interested parties' on this thread. On Mon, Sep 21, 2009 at 5:30 PM, Ray Ryan rj...@google.com wrote: Can we move that conversation to another patch? On Mon, Sep

[gwt-contrib] Re: RR : Speed up class selector rewriting

2009-09-21 Thread amirkashani
That was fast, LGTM http://gwt-code-reviews.appspot.com/67807/diff/1/2 File user/src/com/google/gwt/resources/rg/CssResourceGenerator.java (right): http://gwt-code-reviews.appspot.com/67807/diff/1/2#newcode320 Line 320: if (externalClasses.contains(sourceClassName)) { This is the bit I was

[gwt-contrib] Re: Set cache headers properly in embedded Jetty for hosted mode

2009-09-21 Thread jat
http://gwt-code-reviews.appspot.com/56807/diff/1/2 File dev/core/src/com/google/gwt/dev/shell/jetty/JettyLauncher.java (right): http://gwt-code-reviews.appspot.com/56807/diff/1/2#newcode450 Line 450: // to be safe, mark all non-GETs as non-cacheable On 2009/09/21 22:24:17, bobv wrote: What