How to get the print preview of the widget?

2009-08-19 Thread Ragoth
Hi all, I am having three tables in the GWT application. At the bottom of every table I am having one button say “Print Preview…” If I click the “Print Preview…” button the particular table should be view as image in a separate popup window. I need to view a particular widget as a print

REST : It's maybe time to add Http methods PUT DELETE

2009-08-19 Thread nicorama
Hi, Due to a bug in Safari, and limitations of Konqueror, it's not possible to create easily PUT DELETE HTTP requests. The documentation talks about this bug : https://bugs.webkit.org/show_bug.cgi?id=3812 The post was created in 2005, and it seems that Apple has corrected it. As I don't work

Re: Error parsing JSON

2009-08-19 Thread Thomas Broyer
On 19 août, 01:12, Jeff Chimene jchim...@gmail.com wrote: On 08/18/2009 04:01 PM, Thomas Broyer wrote: Well, JSONParser actually calls eval() *with* the wrapping parentheses. Are they added in the parent? Checking the trunk source, I don't see that concatenation:   public static

Re: REST : It's maybe time to add Http methods PUT DELETE

2009-08-19 Thread Thomas Broyer
On 19 août, 09:45, nicorama nzo...@gmail.com wrote: Hi, Due to a bug in Safari, and limitations of Konqueror, it's not possible to create easily PUT   DELETE HTTP requests. The documentation talks about this bug :https://bugs.webkit.org/show_bug.cgi?id=3812 The post was created in 2005,

StackPanel IE8 standard mode problem

2009-08-19 Thread MiSt
I've some problems with Stackpanel in ie8 (standard mode) GWT 1.7 My StackPanel has width and height set explicitly in pixels but under ie8 it looks much higher than its size It turned out that removing line 142 from StackPanel: DOM.setElementProperty(tdb, height, 100%); solves the issue

Re: lost the text box or dialog box focus in IE

2009-08-19 Thread Thomas Broyer
On 19 août, 07:37, dsreevani...@gmail.com dsreevani...@gmail.com wrote: Hi all,   we are developing the project using gwt. I am facing one problem that is we are displaying 2 text boxes in dialog box. set the focus for the first text box using dereffered command. when ever we are opening

Re: Gin + JSNI

2009-08-19 Thread Thomas Broyer
On 19 août, 02:37, Jeff Chimene jchim...@gmail.com wrote: I think I have a solution. As I understand it, when testing, one modifies the Gin Appmodule as required? I'd rather use a test-specific module that extends/overrides/ overwrites the one used for production. In this example, I use

Re: when should we use GWT RPC and HTTP mechanism to communicate to server

2009-08-19 Thread DaveS
Our application uses both, depending on quite a few factors. In some cases we are putting data into Flash (.swf) components, and need it in XML, so we use a 'raw' HTTP request to get the data. In most other cases we use GWT RPC to retreive data from the server, or to initiate actions in the

GWTENT 0.7 is available for download - A Reflection, AOP, HTML template, UI Binding and Validate(JSR303) framework for GWT

2009-08-19 Thread James
Hi, Guys GWTENT 0.7 now is available for download now, this version add UIBinding and Validate(JSR303) support to GWT and Bug fixes of HTMLTemplate and Reflection. Project web page: http://code.google.com/p/gwt-ent/ A showcase web page provided, it's only two screen at this moment, but

URL rewrite problem

2009-08-19 Thread Bhayat
we can try to create web application with using gwt framework but i coudt'n find enough document or information about how can be done url rewriting.i have tried for a week but i couldnt manage. Can any one that use url rewriting in hosted mode or in tomcat server ? if u can do this,did you use

Re: Servlet is not getting called in my GWT application.Why?

2009-08-19 Thread Srihari.Ch
Hi Lothar, Now my problem has moved forward with some good-work. As you know, My system has set-up Apache server as well as Apache tomcat server to deploy the applications in my machine, so that it can be treated as server machine all the other systems connected in LAN are treated as

Re: Servlet is not getting called in my GWT application.Why?

2009-08-19 Thread Lothar Kimmeringer
Srihari.Ch schrieb: But, my requirement is, Whatever the url we pass in my flash code: (i.e., URLRequest() parameter), the servlets must call successfully when we use either of the both url's : [B]http://localhost/Application.html[/B]. [B]http://Server-IP-Address/Application.html[/B].

Re: How to getAttribute and setAttribute on GWT + GAE like HttpSession ?

2009-08-19 Thread jlc488
Thanks for your kind reply. Just wondering, If I want to access any of values from the client side which I've setted on the server side. Is there any way to access it from the client side? Thanking you On Aug 13, 5:52 pm, Parmeet Kohli parmeet.ko...@gmail.com wrote: Hi,    You can use the

Re: Is gwt1.6/1.7 supports/compatible with gears

2009-08-19 Thread evergreen_suni
hi Sumit, Sorry for late reply.. Actually i want to store my applications html , java files into google gears.I want to make my application as offline.But i dont know how to do it.Could you please help me?I am using gwt1.7 and google plugins for eclipse. Please reply

How to configure Jetty in GWT

2009-08-19 Thread willemsl...@gmail.com
Hi, I've recently migrated from GWT 1.5.x to 1.7.0 and I'm looking for pointers to articles/documentation/... on: 1) how to configure the JNDI lookup within Jetty (I want to define my database connection details) 2) how to configure container managed security within Jetty If the above are too

Re: How to configure Jetty in GWT

2009-08-19 Thread Lothar Kimmeringer
willemsl...@gmail.com schrieb: I've recently migrated from GWT 1.5.x to 1.7.0 and I'm looking for pointers to articles/documentation/... on: 1) how to configure the JNDI lookup within Jetty (I want to define my database connection details)

Re: lost the text box or dialog box focus in IE

2009-08-19 Thread Thomas Broyer
[why did you mail me in private rather than replying to the list?] On Wed, Aug 19, 2009 at 1:44 PM, ramesh chiluverichiluveri...@gmail.com wrote: Hai Thomas, I am also facing same problem.I gone through the link which u sent,but i  didn't find any solution. We faced this issue when we

Re: MVP question

2009-08-19 Thread Ian Bambury
2009/8/19 Davis Ford davisf...@zenoconsulting.biz My basic question is: why not just return TextBox if that is what is in your view? The coupling is between 2 classes: view and presenter. If you later change TextBox to SuperWidgetTextBox, you can re-factor it in your IDE in 5 seconds and be

Re: GWTENT 0.7 is available for download - A Reflection, AOP, HTML template, UI Binding and Validate(JSR303) framework for GWT

2009-08-19 Thread Eduardo Nunes
do you recommend it to use in production environment? On Wed, Aug 19, 2009 at 4:57 AM, Jamesjamesluo...@gmail.com wrote: Hi, Guys  GWTENT 0.7 now is available for download now, this version add UIBinding and Validate(JSR303) support to GWT and Bug fixes of HTMLTemplate and Reflection.  

Re: when should we use GWT RPC and HTTP mechanism to communicate to server

2009-08-19 Thread venki
Thank you DaveS Ok cool instance... One more doubt Dave. I understand your example. Let us suppose my service is going to use by GWT client only. So in this case i can use either GWT RPC or HTTP. So i can do my application with out using RPC also rather i can use HTTP.Can you please tell me an

Re: integrate GWT into SVN

2009-08-19 Thread Tobe
Issn't there any way to move the libraries and other files of GWT to another location? On Aug 5, 11:03 am, Tobe tobias.jungnic...@googlemail.com wrote: Now, I have a SVN project with PHP where I want to integrate GWT. Therefore the src and war folders shall be located in the trunk folder.

Re: url rewrite and gwt

2009-08-19 Thread Bhayat
hmm are u sure that url rewrite is impossible in gwt side,and also i use tomcat server but i couldnt find .htaccess file.where is it or where can i find it in tomcat server how can i do this and how can i get this file and gwt project together On 7 Ağustos, 16:29, twdarkflame

Re: url rewrite and gwt

2009-08-19 Thread Ian Bambury
2009/8/19 Bhayat baki.hayat.c...@gmail.com hmm are u sure that url rewrite is impossible in gwt side Yes. Rewrites are done on the server, GWT is on the client. Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you

Re: url rewrite and gwt

2009-08-19 Thread davis
Yep, I have been using urlrewrite successfully in GWT project for a couple weeks now since I introduced it. It works great! Here's a sample maven GWT project you can download that uses urlrewrite: http://zenoconsulting.wikidot.com/blog:16 Regards, Davis On Aug 19, 9:03 am, Ian Bambury

Re: NullPointerException when annotations are used

2009-08-19 Thread davis
Just a follow-up -- in case anyone else here ever encounters this issue. I found the root cause. Running mvn clean gwt:compile fails for me because I now have order- dependency in the build. mvn clean wipes out the classes/* directory gwt:compile then tries to compile the GWT code, but needs

Re: Server side

2009-08-19 Thread ALEXEI BARBONI
OPS, MY BAD FOLKS My Jar file doesn't have the jar's necessary. My apologize. 2009/8/18 Alexei Telles alexeitel...@gmail.com Hello guys. I'm trying finally to make my GWT application works client and server sides. I have a simple service (just one method for now). This method, on the

user roles for GWT applications

2009-08-19 Thread Phineas Gage
I would like to implement a GWT application where users log in and are assigned roles, as is typical in many web applications. Based on their role, they would be able to see and use different areas of the application. The trouble when using GWT is, because the entire application is transmitted

Re: url rewrite and gwt

2009-08-19 Thread Ian Bambury
But you are not doing what Bhayat asked for Ian http://examples.roughian.com 2009/8/19 davis davisf...@zenoconsulting.biz Yep, I have been using urlrewrite successfully in GWT project for a couple weeks now since I introduced it. It works great! Here's a sample maven GWT project you can

Re: MVP question

2009-08-19 Thread Alejandro D. Garin
On Wed, Aug 19, 2009 at 9:30 AM, Ian Bambury ianbamb...@gmail.com wrote: 2009/8/19 Davis Ford davisf...@zenoconsulting.biz My basic question is: why not just return TextBox if that is what is in your view? The coupling is between 2 classes: view and presenter. If you later change TextBox

Re: url rewrite and gwt

2009-08-19 Thread Bhayat
yes Davis i am looking at this side in 4 days but i am still in trouble.if you want (of course i will be very happy),i can send u my simple example project ? of course to your gmail account On 19 Ağustos, 16:13, davis davisf...@zenoconsulting.biz wrote: Yep, I have been using urlrewrite

Re: user roles for GWT applications

2009-08-19 Thread mars1412
just my 2 cents: 1) Even though users cannot execute, for example, administrative RPC methods, by reverse engineering the JavaScript they may still be able to read sensitive information regarding the format or nature of the available administrative requests. Careful developers may be able to

Re: MVP question

2009-08-19 Thread davis
If your view interface return a TextBox you can't test the presenter with JUnit, you will need to use GWTTestCase. Sure you can: import static org.easymock.classextension.EasyMock.*; import com.google.gwt.user.client.ui.TextBox; public class SomePresenterTestCase { private MyPresenter

Re: url rewrite and gwt

2009-08-19 Thread davis
Bhayat -- feel free to email the project to me. I'll take a look at it tonight. I'll be happy to help you out. On Aug 19, 9:45 am, Bhayat baki.hayat.c...@gmail.com wrote: yes Davis i am looking at this side in 4 days but i am still in trouble.if you want (of course i will be very happy),i

Re: Use an Event Bus - Ray

2009-08-19 Thread plcoirier
I created this framework http://code.google.com/p/mvp4g/ that allows you to use an event bus without creating extra classes. It may interest you. On Aug 19, 12:48 am, Thomas Broyer t.bro...@gmail.com wrote: On 18 août, 20:48, Nathan nathan.shel...@gmail.com wrote: Hey GWT peoples,   In

Re: Gin + JSNI

2009-08-19 Thread Jeff Chimene
On Wed, Aug 19, 2009 at 1:30 AM, Thomas Broyert.bro...@gmail.com wrote: On 19 août, 02:37, Jeff Chimene jchim...@gmail.com wrote: I think I have a solution. As I understand it, when testing, one modifies the Gin Appmodule as required? I'd rather use a test-specific module that

Re: MVP question

2009-08-19 Thread davis
Point taken Ian. I think the design tradeoffs are at least on the table. In most cases, I think I'm comfortable with coupling the view- presenter in a 1:1 relationship -- (i.e. not making universally generic presenters that can be used with any view), but I understand your argument, and can see

Re: How to configure Jetty in GWT

2009-08-19 Thread willemsl...@gmail.com
Thanks for your answer, Lothar. The info on jetty you provided I had already found. What I am actually looking for is that specific info in the context of GWT 1.7, So as to be able to use all the debugging features (as well client as server code debugging) when running my gwt-app in eclipse, in

Re: user roles for GWT applications

2009-08-19 Thread Phineas Gage
On Aug 19, 4:02 pm, mars1412 martin.trum...@24act.at wrote: just my 2 cents: hiding or obfuscating will not stop a detrmined attacker anyway, so there's no reason to worry about that. that does of course not mean, that you shouldn't do it, if it's easy: e.g. of course use the OFB mode when

Re: Refresh page on loading

2009-08-19 Thread Chad
Rahul, Instead of trying to refresh the page, you should probably defer the loading of your buttons, labels, and tabs. Use a DeferredCommand for making the call to the method(s) for creating those widgets. It sounds like they are loading before something that they rely on loads. Although, this

Add a style dependent name to a TreeItem

2009-08-19 Thread hriess
Hi, I want to add a dependent style name to a TreeItem: TreeItem treeItem = new TreeItem(); treeItem.addStyleDependentName(inactive); treeItem.setText(shopConstants.shoppingcart()); treePanel.addItem(treeItem); The css:

Re: MVP question

2009-08-19 Thread Alejandro D. Garin
Hi David, I tried your example, but I have this error: Caused by: java.lang.UnsupportedOperationException: ERROR: GWT.create() is only usable in client code! It cannot be called, for example, from server code. If you are running a unit test, check that your test case extends GWTTestCase and

Re: Posting back xml to server

2009-08-19 Thread Rahul
Hi Would using the Fileupload widget or the gwtupload project solve my purpose? On Aug 18, 1:47 pm, Rahul coolrahul18...@gmail.com wrote: Hi, I want to retrieve an XML from the server to my client , changing values of that xml and want to send the modified xml back to the server.

Re: MVP question

2009-08-19 Thread davis
Alejandro, what is the command you were running? I just downloaded the zip, and ran this: mvn gwt:run -DrunTarget=com.example.User/User.html It launched the hosted browser ok. I have a regex check in there that pops up Window.alert if the url isn't what urlrewrite expects. You can delete

Re: MVP question

2009-08-19 Thread davis
My fault -- I thought you were talking about something else. It appears you are correct. It looks like even easy mock class extension can't do it. Somewhere in the initialization code of TextBox.class it calls GWT.create()...major bummer. On Aug 19, 10:59 am, Alejandro D. Garin

Re: Use an Event Bus - Ray

2009-08-19 Thread charlie
I've seen this framework before, I'm just wearisome about adopting a 3rd party solution if google is going to create it's own. For now though since we can't seem to get an answer of Is google going to provide this in GWT I will be using your framework, thanks for your work on this! On Wed, Aug

Re: MVP question

2009-08-19 Thread davis
Here you go...try it with this: http://code.google.com/p/google-web-toolkit/source/browse/releases/1.7/user/src/com/google/gwt/junit/GWTMockUtilities.java import static org.easymock.classextension.EasyMock.createMock; import static org.junit.Assert.assertNotNull; import org.junit.After; import

Re: MVP question

2009-08-19 Thread davis
Unfortunately, I get this: Caused by: java.lang.ClassNotFoundException: com.google.gwt.core.client.GWTBridge Not sure why, but it appears that this class was designed exactly for the purpose of allowing EasyMock to mock UI widgets so it doesn't blow up on GWT.create( ). If anyone has any

Re: MVP question

2009-08-19 Thread Alejandro D. Garin
also I found this article interesting: http://blog.danielwellman.com/2009/02/mocking-gwt-widgets-with-gwtmockutilities.html On Wed, Aug 19, 2009 at 12:28 PM, Alejandro D. Garin aga...@gmail.comwrote: David, Maybe GWTMockUtilities could help, but didn't tried it. On Wed, Aug 19, 2009 at

Re: MVP question

2009-08-19 Thread Alejandro D. Garin
David, Maybe GWTMockUtilities could help, but didn't tried it. On Wed, Aug 19, 2009 at 12:19 PM, davis davisf...@zenoconsulting.bizwrote: Probably stems from the constructor doing this: /** * Creates an empty text box. */ public TextBox() {

Re: MVP question

2009-08-19 Thread Alejandro D. Garin
yes david, that seems to work. Personally I still prefer to use interfaces in the view rather than using Widgets. Cheers, On Wed, Aug 19, 2009 at 12:24 PM, davis davisf...@zenoconsulting.bizwrote: Here you go...try it with this:

Re: MVP question

2009-08-19 Thread Nathan Wells
The way I see it (and there is obviously a lot of room for interpretation based on app needs), you want to actually make your view (i.e. widgets) as generic as possible, while the work of what should be displayed is up to the presenter. For example, I created a form-like section that has an

private method code gets eliminated in OBFUSCATED mode if only called from native JSNI code

2009-08-19 Thread mgrouch
Hello, We found that private java method code gets eliminated in resulting javaScript by GWT compiler in OBFUSCATED mode if this private method is only called from native JSNI code. Is this GWT compiler bug? Thanks, --MG --~--~-~--~~~---~--~~ You received this

Make selected item visible in ListBox on IE

2009-08-19 Thread El Mentecato Mayor
I have a ListBox that in most cases will have more items than are visible at a time (visibleItemCount). I then add a new item dynamically and set it to be selected using setItemSelected(idx, true). The item is added to the bottom of the ListBox, which is fine, but I would like the item to be

Re: Use an Event Bus - Ray

2009-08-19 Thread pohl
On Aug 18, 1:48 pm, Nathan nathan.shel...@gmail.com wrote: Hey GWT peoples,   In Ray's GWT talk, he suggests using the Event Bus pattern in GWT applications, to keep things clean.  Does anyone have suggestions on how to approach this? I've discovered that Ray Ryan actually left very

Re: MVP question

2009-08-19 Thread Davis Ford
Alejandro -- when you tried it, did you not get: Caused by: java.lang.ClassNotFoundException:com.google.gwt.core.client.GWTBridge If so, what GWT version are you using? On Wed, Aug 19, 2009 at 11:33 AM, Alejandro D. Garinaga...@gmail.com wrote: yes david, that seems to work. Personally I

Re: Error parsing JSON

2009-08-19 Thread Jeff Chimene
On 08/19/2009 12:56 AM, Thomas Broyer wrote: On 19 août, 01:12, Jeff Chimene jchim...@gmail.com wrote: On 08/18/2009 04:01 PM, Thomas Broyer wrote: Well, JSONParser actually calls eval() *with* the wrapping parentheses. Are they added in the parent? Checking the trunk source, I

Re: Error parsing JSON

2009-08-19 Thread Jeff Chimene
On 08/19/2009 09:00 AM, Jeff Chimene wrote: On 08/19/2009 12:56 AM, Thomas Broyer wrote: On 19 août, 01:12, Jeff Chimene jchim...@gmail.com wrote: On 08/18/2009 04:01 PM, Thomas Broyer wrote: Well, JSONParser actually calls eval() *with* the wrapping parentheses. Are they added in the

Re: Use an Event Bus - Ray

2009-08-19 Thread java4africa
Here is another application based on gwt-presenter. It's an IMAP email client. http://svn.apache.org/repos/asf/labs/hupa/src/main/java/org/apache/hupa/ On Aug 18, 11:33 pm, brendan brendanpdohe...@gmail.com wrote: I'm just testing out gwt-presenter to achive what you want.  You may also be

Re: Formatting parts of typed text

2009-08-19 Thread Pradeep
+1 i have a similar requirement, color coding text based on the current context. I tried using RichTextArea , but it does not return the cursor whereabouts in anyway( or does it??)... Thnx in advance. Pradeep On Jul 30, 11:45 pm, John Ky newho...@gmail.com wrote: Hello, I have a text area

RPC taking longer with each iteration

2009-08-19 Thread Vikrant Chourasia
Hi, We have a screen that contains around 350 controls. We are facing a heavy performance degradation issue when we repetitively open this screen and close the same. When analyzed, what we found taking, comparatively, longer each time, is the RPC time (to be more precise what is getting majorly

gwt grid data acces

2009-08-19 Thread SanjayR Jain
Hi I m using a grid(gwtext).Now I want to get the data of all rows for a particular column.Can you suggest any way for it??? Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

gwt-maps custom info window

2009-08-19 Thread luigi
Hi all, I need some help i try to make a custom info window, i use a EWindow.js from http://econym.org.uk/gmap/ewindows.htm i put the link rel=stylesheet type=text/css href=ewindow.css and script type=text/javascript src=EWindow.js/script in the html file, and after i create a native method with

Re: Error parsing JSON

2009-08-19 Thread Luke Howell
I actually figured out the problem. There were '\n' characters in the string I was trying to parse. Once removed that solved the problem. Sent via iPhone On Aug 19, 2009, at 11:02 AM, Jeff Chimene jchim...@gmail.com wrote: On 08/19/2009 09:00 AM, Jeff Chimene wrote: On 08/19/2009 12:56

Re: Use an Event Bus - Ray

2009-08-19 Thread Norman Maurer
Thx for mention my project, anyway I need to refactor it a bit to better use the bind(), unbind() stuff, so maybe not the best starting point for understand how gwt-presenter should get used.. Bye, Norman 2009/8/19 java4africa forbes...@googlemail.com: Here is another application based on

Re: MVP question

2009-08-19 Thread Dalla
I recall getting this error aswell. The exception Caused by: java.lang.ClassNotFoundException:com.google.gwt.core.client.GWTBridge is thrown if you try to invoke GWTMockUtilities.disarm(); GWTMockUtilities.restore(); without having gwt-dev.jar in your classpath. On 19 Aug, 17:52, Davis Ford

Re: RemoteServiceServlet throws NoClassDefFoundError on Tomcat6

2009-08-19 Thread Igor
Just for the record, I've found a workaround: downgrading Tomcat to version 6.0.18 made the problem go away. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Re: Gin + JSNI

2009-08-19 Thread Jeff Chimene
On 08/19/2009 07:13 AM, Jeff Chimene wrote: On Wed, Aug 19, 2009 at 1:30 AM, Thomas Broyert.bro...@gmail.com wrote: On 19 août, 02:37, Jeff Chimene jchim...@gmail.com wrote: I think I have a solution. As I understand it, when testing, one modifies the Gin Appmodule as required? I'd

Re: GWT architecture MVP/EventBus (mentioned at Google I/O)

2009-08-19 Thread Zheren
Hi, Everyone I start to work on my app which has requirement to have some kind of action buffer in the client side. All the actions will push to this buffer and make request to server every 2 or 3 seconds. Basically it is doing batching. So it should be a good use case to use command pattern to

Re: MVP question

2009-08-19 Thread Dalla
I remember testing this approach when playing around with the GWT Maps API, (the GWT specific API for Google Maps), and it didn´t work very well. It seems like you run into trouble when testing complex Widgets that make calls to other widgets. I was using Jmock, not EasyMock, but it should be

Balloon tooltip/callout widget

2009-08-19 Thread lowecg2004
On accessing the new Adwords interface for the first time I was met with a balloon tooltip/callout message that read Welcome to the New AdWords Interface I need that widget! Does anyone know if it is publicly available? If so I'd be grateful for some info or a link. I've been hunting for

Automatic resource inclusion for CSS and cache?

2009-08-19 Thread retro
When we use stylesheet in module xml file does GWT compiler keep track of if the stylesheet changes? I mean does the bootstrap nocache pull the changed CSS everytime it changes like it does for the cache.html or do we need to add the appropriate cache headers?

JSONValue variable throwing runtime exception.

2009-08-19 Thread Tarek
Hi, I'm trying to parse a JSON value returned by my PHP script. The returned JSON string is valid and the project compiles just fine. The problem I'm running into is that JavaScript throws a (TypeError): data.isArray() is null. JavaScript throws that same exception for isTYPE method except for

Re: Posting back xml to server

2009-08-19 Thread Rahul
hi, I am sorry if i was unclear with my issue( because i havent recieved any replies yet) I am getting an xml file from the server using RequestBuilder. Then I am modifying the values of the xml and I would like to post back the modified xml back to the server. So the next time i get the xml

Eclipse 3.5 and GWT Plugin

2009-08-19 Thread Paul Grenyer
Hi All I've taken the plunge and upgraded to Eclipse 3.5 with the latest version of the plugin. However, when I install it (from the update site) I loose my previous plugins (subclipse, IvyDE, etc) and there's no sign of the GWT plugin either, although all of my plugins, including GWT, are

ImageBundle png getting downloaded multiple times

2009-08-19 Thread retro
Hi, When i go to my app firebug shows the xyz.cache.png being downloaded once. If i hit refresh i see 4 requests for the same image strip? Any ideas why will this happen? Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: when should we use GWT RPC and HTTP mechanism to communicate to server

2009-08-19 Thread mdwarne
Hi venkl, We use RPC because it makes things so simple. For some of our service calls we pass java objects as parameters to the service. The response coming back are also java objects. such as lists and arrays of data etc. Boolean, integers, dates etc are automatically converted, and arrive in

Re: Refresh page on loading

2009-08-19 Thread Ian Bambury
Hi Rahul, For some reason I didn't get the email Chad has replied to. I'm sure there must be a way to create the layout you want in the right order first time. Do you have an example? Refreshing should create exactly the same effect as running it the first time (all other factors being equal -

Proxying server calls with a servlet

2009-08-19 Thread Marcelo Sena
Continuing from: http://code.google.com/p/google-web-toolkit/issues/detail?id=3131 @marceloslacerda: the error when running your unit tests means that the GWTShellServlet is reached, so either you set the servlet-mapping after the one for the GWTShellServlet in your web.xml It isn't:

Using Multiple GWT versions simultaneously

2009-08-19 Thread Nirmal
Hi, I am currently using GWT 1.4 for my app. I want to migrate to later versions of GWT but, the codebase is sufficiently large that I cannot imagine changing all the event handling if I move to GWT1.7. So my questions are: Can I continue using GWT 1.4 for my old modules and use GWT1.7 only

Re: Proxying server calls with a servlet

2009-08-19 Thread Thomas Broyer
On 19 août, 21:26, Marcelo Sena marceloslace...@gmail.com wrote: Continuing from: http://code.google.com/p/google-web-toolkit/issues/detail?id=3131 @marceloslacerda: the error when running your unit tests means that the GWTShellServlet is reached, so either you set the servlet-mapping

Re: JSONValue variable throwing runtime exception.

2009-08-19 Thread Thad
The top-level data is not an array. It's an object with two keys, jewelry and metalwork, which contain arrays. See the diagrams in http://www.json.org/ You need to call data.keySet() and iterate through the keys. On Aug 19, 1:25 pm, Tarek tar...@gmail.com wrote: Hi, I'm trying to parse a

Re: url rewrite and gwt

2009-08-19 Thread Bhayat
pardon not gmail account your address that is below davisf...@zenoconsulting.biz On 20 Ağustos, 00:07, Bhayat baki.hayat.c...@gmail.com wrote: thanks for help,i sent it to your gmail account On 19 Ağustos, 17:11, davis davisf...@zenoconsulting.biz wrote: Bhayat -- feel free to email the

did you forget to inherit a required module? error while building the GWT Project

2009-08-19 Thread sudheer
Hello Iam a newbie to GWT and iam still in the learning stage.When iam trying to build my GWT Project,iam getting the following error.I integrated the spring mail functionality,so iam using the SimplEmail Notifier.I have a class valled login.java where i included the code for simpleEmail

Re: url rewrite and gwt

2009-08-19 Thread Bhayat
thanks for help,i sent it to your gmail account On 19 Ağustos, 17:11, davis davisf...@zenoconsulting.biz wrote: Bhayat -- feel free to email the project to me.  I'll take a look at it tonight.  I'll be happy to help you out. On Aug 19, 9:45 am, Bhayat baki.hayat.c...@gmail.com wrote: yes

Re: Posting back xml to server

2009-08-19 Thread Ian Bambury
Hi Rahul, Basically, you get the contents of an XML file on the server and send it as a string to the GWT client. It gets changed on the client, then you send it back as a string to the server where a server script writes it back to the file. You can send a file from the server to the client and

Re: MVP question

2009-08-19 Thread Ian Bambury
My feeling is that, if you design things properly, you will not need to end up with a bloated interface. For example, in a registration page, you don't need to have something for every field if you require name/address/phone number, you just link in to HasInternationalContactDetails and that

Re: GWTENT 0.7 is available for download - A Reflection, AOP, HTML template, UI Binding and Validate(JSR303) framework for GWT

2009-08-19 Thread James
It's depends, I'm using it in production environment. On Aug 19, 10:35 pm, Eduardo Nunes esnu...@gmail.com wrote: do you recommend it to use in production environment? On Wed, Aug 19, 2009 at 4:57 AM, Jamesjamesluo...@gmail.com wrote: Hi, Guys  GWTENT 0.7 now is available for download

Re: Who is using smartgwt?

2009-08-19 Thread Shawn Brown
Hi, the lack of documentation is a serious issue. 4) i found the ext architecture to be overly complex 5) I might be wrong , but Ext feels to me just like Spring, their open source code is just a way to drive , sales of books, trade shows , and support contracts. I went with GXT and am

Re: Possible to set -localWorkers compiler flag in Eclipse?

2009-08-19 Thread spike2...@googlemail.com
But when I press Compile/Browse in the Hosted Mode I still only use 1 processor, how do I change that? On 27 Jul., 19:02, jscheller jschel...@csoftware.com wrote: Thanks Jason! Too much digging in all the preferences and settings trees, only to find this right in front of me... Duh.

Re: Possible to set -localWorkers compiler flag in Eclipse?

2009-08-19 Thread jscheller
On Aug 19, 5:22 pm, spike2...@googlemail.com spike2...@googlemail.com wrote: But when I press Compile/Browse in the Hosted Mode I still only use 1 processor, how do I change that? Are you passing a number after the flag, i.e. -localWorkers 4 or similar?

Where/how download gwt 1.7 source code

2009-08-19 Thread irc1258
I'd like to have access to gwt 1.7 source code. I saw somewhere on this site that it should be included with the std gwt download. This apparently is not the case as it is not in my download of 1.7. Do I need to download it from svn? If so, can someone say were exactly it is in svn? Thanks

Re: Where/how download gwt 1.7 source code

2009-08-19 Thread James
Hi, SVN: http://google-web-toolkit.googlecode.com/svn/trunk/ Donwload List: http://code.google.com/p/google-web-toolkit/downloads/list The source code in jar files as well. On Aug 20, 8:36 am, irc1258 chuck.r.irv...@embarq.com wrote: I'd like to have access to gwt 1.7 source code. I saw

Re: MVP question

2009-08-19 Thread Davis Ford
You and others have won me over, Ian :) I re-factored to all interfaces. One of my biggest pain points was the crazy number of mock and mock returns I was ending up needing -- that, and I needed to included gwt-dev on the classpath, which the codehaus gwt-maven-plugin warns not to do... It

How to fire events registered with a HandlerManager?

2009-08-19 Thread jscheller
Hello - So, I've got a composite that has something like this inside it... private HandlerManager changeHandlers = new HandlerManager( null ); public HandlerRegistration addValueChangeHandler(ValueChangeHandler handler) { return changeHandlers.addHandler(ValueChangeEvent.getType(),

Re: MVP question

2009-08-19 Thread Dalla
I think I can see where you´re getting at, but I´m a bit confused here so I need to ask a couple of more questions :-) Let´s say we return an interface as in your example, our interface would then look something like interface ContactDetailsInterface { HasInternationalContactDetails

Weird Bug (sorry)

2009-08-19 Thread Luke
I wouldn't normally ask things like this but I have something weird going on that I cannot figure out. I have a class that I am using to get information from the server. The JSONArray that is returned by calling the function ServerConnector.getProjectArray() is then evaluated. The function that

Re: MVP question

2009-08-19 Thread Dean S. Jones
This is where I diverged from the typical MVP pattern, the Has* interfaces just became to numerous and unwieldy. My solution was to make the model richer, and attach a Map of state values to each model property. It was then up to the Presenter to interpret the associated property state map, and

Re: Cookies and client state. Suggestions?

2009-08-19 Thread brett.wooldridge
On Aug 7, 11:52 pm, Jeff Chimene jchim...@gmail.com wrote: Well, I'll take a stab at this so that this email doesn't disappear into the void. I think these are good design questions. On Tue, Aug 4, 2009 at 10:55 PM, brett.wooldridgebrett.wooldri...@gmail.com wrote: What we would like to

Compiling GWT code on server

2009-08-19 Thread Yogesh Bhave
Hi folks, I am trying to compile GWT code on server (amd 64-bit, Ubuntu). I have gwt 1.6.4 on server. I am compiling code with ant it works fine on localhost(Ubuntu), same ant script. But on server it throws error as follow: # # An unexpected error has been detected by Java Runtime Environment:

[gwt-contrib] Comment on CodeSplitting in google-web-toolkit

2009-08-19 Thread codesite-noreply
Comment by cromwellian: Not currently. GWT Exporter was created under the paradigm that it only exports what is explicitly requested, or what is absolutely necessary. I felt at the time that 'inheriting' annotations could lead to a lot of bloat, as well as asking the TypeOracle to give

  1   2   >