Re: Best MVP framework right now?

2012-09-07 Thread Thomas Broyer
On Friday, September 7, 2012 5:12:49 AM UTC+2, vehdra music wrote: Hi, already know about gwtp, mvp4g, guit, GWT MVP, etc. But I have been some time outside from GWT world :( so now I am returning to this beatiful framework again and I would to know which have been your experiences, wich

Re: GWT Compilation Time Performance Improvement

2012-09-07 Thread Niraj Salot
Hi All, I even tried upgrade of GWT 2.5 and SuperDevMode. But Still no improvement. Thanks. On Tuesday, 4 September 2012 11:40:19 UTC+5:30, Niraj Salot wrote: Hi Members, We are using GWT Version 2.4 in our current project. On server side, we are using Spring Custom JDBC framework. We

Re: Best MVP framework right now?

2012-09-07 Thread Frank Hossfeld
If you think about using one of these libs, take a look at mvp4g. I personally prefer it. It is smart, works well and is easy to understand. It has everything you need writing large GWT applications. Thomas is right, you don't need to use one of then. I think, it will save you a lot of code.

Re: GWT Compilation Time Performance Improvement

2012-09-07 Thread Thomas Broyer
On Friday, September 7, 2012 9:06:51 AM UTC+2, Niraj Salot wrote: Hi All, I even tried upgrade of GWT 2.5 and SuperDevMode. But Still no improvement. Really?! You mean that each time you hit the DevMode On bookmarklet and Compile button, it takes 4-6 minutes before the page is refreshed

Re: fundamental problems with predictive layout

2012-09-07 Thread Jens
For example, the solution posted by Jens works perfectly in isolation, but when I put it into a LayoutPanel it didn't work at all. Really? For me it works. Copy the example UiBinder xml and put it into a RootLayoutPanel: !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;

MVP presenter interface: use HasWidgets or AcceptsOneWidget ?

2012-09-07 Thread Francois Marot
Hi all, I'll have to set the basics for a in-house framework and can't make my mind on the basic Presenter interface. Is it better to use HasWidgets or AcceptsOneWidget ? This would lead to: public interface Presenter { public void go(final HasWidgets container); } or public interface

Re: MVP presenter interface: use HasWidgets or AcceptsOneWidget ?

2012-09-07 Thread Thomas Broyer
On Friday, September 7, 2012 12:21:19 PM UTC+2, Francois Marot wrote: Hi all, I'll have to set the basics for a in-house framework and can't make my mind on the basic Presenter interface. Is it better to use HasWidgets or AcceptsOneWidget ? This would lead to: public interface

Re: CellTable - style specific columns

2012-09-07 Thread Andrei
Kevin, If you use an external CSS file, GWT does nothing to it. Your code should work perfectly well as long as you (1) have an external CSS file with the special_column_style class, and (2) provide a link to this CSS file in your host page. Andrei -- You received this message because you

Re: MVP presenter interface: use HasWidgets or AcceptsOneWidget ?

2012-09-07 Thread Francois Marot
Hi Thomas and thanks for your response. You're right, I'm not talking about how the View sees its Presenter but how the Presenter is seen from what's above him (in my case, usually another Presenter, my Presenters are nested). From what I understood (and pretty like it !) from the Google MVP

Re: change DateBox default time

2012-09-07 Thread Andrei
Jens, You were right about DatePicker setting dates to noon. I created an issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=7650 It's a minor problem, of course, since you can always do Long date = datePicker.getValue().getTime(); return new Date(date - date % (24 * 60 * 60

Re: change DateBox default time

2012-09-07 Thread Patrick Tucker
They chose to set it to noon because certain timezones do not have a 0 at day light savings time. If you set the time to 0 on one of these date/timezone combinations, if I understood correctly, the date will roll back and not forward. Causing the date to be set to the previous day instead of

Re: fundamental problems with predictive layout

2012-09-07 Thread Abraham Lin
the only empty DIV I see is the label, and it's empty because the label does not contain text. Right, and that's why it has zero height as you observed. Do you agree to the statement posted in this thread that the GWT's layout panels should be used for the overall page layout

Re: change DateBox default time

2012-09-07 Thread Jens
Noon is totally fine because of DST that can occur at midnight in some countries. You would get an invalid date otherwise. Assume a country does its DST on 20.06.2012 12:00:00 a.m (midnight). The valid dates are 19.06.2012 11:59:59 p.m. 20.06.2012 01:00:00 a.m. (DST active. There is no

Re: Best MVP framework right now?

2012-09-07 Thread vehdra music
Hi Tomas, when I named GWT MVP I tried to refer to Activities and Places (https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces) not to gwt-mvp thats why I used capitalized words :) So if I want to start a GWT development from scratch right now the best option is

Re: Nasty overlay types restrinction : Only one JavaScriptObject type may implement the methods of an interface

2012-09-07 Thread Sebastián Gurin
Thanks Paul, Nino and Thomas Paul: yes I suppose that too, but interfaces do not implement methods, so I thought it is strange. Nino: I do not want to make object wrapping as you suggested because I want my library user's to use the overlay types directly for a zero-overhead API. Your

Re: Nasty overlay types restrinction : Only one JavaScriptObject type may implement the methods of an interface

2012-09-07 Thread Alain Ekambi
Your approach however would make this kind of Java API much more confortable to Java users Is nt it why you are wrapping YUI in the first place ? To make it confortable for Java users ? 2012/9/7 Sebastián Gurin sebastigu...@gmail.com Thanks Paul, Nino and Thomas Paul: yes I suppose that

Re: MVP presenter interface: use HasWidgets or AcceptsOneWidget ?

2012-09-07 Thread Thomas Broyer
On Friday, September 7, 2012 2:43:51 PM UTC+2, Francois Marot wrote: Hi Thomas and thanks for your response. You're right, I'm not talking about how the View sees its Presenter but how the Presenter is seen from what's above him (in my case, usually another Presenter, my Presenters are

Re: Nasty overlay types restrinction : Only one JavaScriptObject type may implement the methods of an interface

2012-09-07 Thread Chris Price
Sebastián: You may already be aware of this, but when I first looked into this problem it was a subtlety I had overlooked. If you have - interface A { void a();} interface B extends A { void b(); } interface C extends A { void c(); } You can't have - final class BImpl implements B { void a()

Re: Need help in using CellTable

2012-09-07 Thread Thad
Look at the example in the CellTable Javadoc ( http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/cellview/client/CellTable.html), specifically Pushing data asynchronously with Async Data Provider. Like the example says, instead of a Timer, make an RPC call. On

CellList + NoSelectionModel - can we get visual feedback on click?

2012-09-07 Thread markww
Hi, I've got a CellList. I am using a NoSelectionModel strategy (I just want the user to click an item in the list without any visual statefulness). When an item is clicked, the list doesn't provide any visual feedback. Can we do this via css (something like set a mouse-down style for a

Re: How to obfuscate RequestFactory type name, not only the operations ( GWT 2.4 )

2012-09-07 Thread James Horsley
I'll see if I can get some time to getting a patch together for this. On 6 September 2012 17:32, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, September 6, 2012 4:58:31 PM UTC+2, Chris Lercher wrote: On Thursday, September 6, 2012 3:58:34 PM UTC+2, Thomas Broyer wrote: Would you

Re: Creating GWT application

2012-09-07 Thread GWTSree
Hi Rajeev, I am also facing same firewall problem... I tried to do it in the manual way you explained here. But the site http://commondatastorage.googleapis.com/eclipse_toolreleases/products/gpe/main/3.3/site.xml; shows the below: ErrorCodeNoSuchKey/CodeMessageThe specified key does not

Re: Clearing cache of fileupload widget.

2012-09-07 Thread Dave Williams
You can clear the selected files by setting the 'value' property to an empty string. (For a TYPE=FILE input control, you can only set the 'value' property to an empty string - trying to set it to anything else will be treated as an error and will be ignored by the web browser. For more info

Re: CSS1Compat Error

2012-09-07 Thread alexcote666
Did you resolved this? I have the same issue On Thursday, October 27, 2011 3:25:41 PM UTC-4, Bill Morrison wrote: Greetings, In my GWT application I have set it to standards mode (!doctype html) in the main html file. However, at run time I keep receiving this message : 12:20:17.905

Re: GWT dev plugin for Chrome 21.0.1180.60 m not installing

2012-09-07 Thread Abdullah
*Steps on adding extensions from other websites* We recommend you only add extensions from other websites that you trust. In Chrome, you can follow these steps to add the extension: 1. Download the extension file from the website and save it to your computer. 2. Click the wrench

GWT and Visual Paradigm ORM Probleme

2012-09-07 Thread Maxime P. CIMS
Hi, Am making management application for research center and I have a probème with using visual-paradigm orm file: 1. ORM + Java = work 2. ORM + java + RPC = not working I have always an error like. 00:02:31,153 [ERROR] Line 80: No source code is available for type org.orm.PersistentSession;

TextBox not working in FireFox

2012-09-07 Thread rohit s kumar
Hi I am using gwt 2.4.0. jar. I have a problem with text box setFocus() in Firefox 15. I researched about the topic and I have find out a lot of solution using Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand () { public void execute ()

unable to compile after rebuilding GWT from source

2012-09-07 Thread Erik Sapir
I want to make some changes to the GWT compiler. I downloaded the source code and built the package using the following instructions: https://developers.google.com/web-toolkit/makinggwtbetter#compiling After that i configured Google Web Toolkit in Eclipse to be the generated directory. Now

Re: Best MVP framework right now?

2012-09-07 Thread Jeffrey Kleiss
There is a new framework called Slotted (http://code.google.com/p/slotted/), that adds the concept of nested slots to GWT Activities and Places. It provides complete url for complex nested UIs. It is still in the very early phases of development and not well documented yet. It does have an

Struts2 and GWT Intgration

2012-09-07 Thread naufal kk
Hi I am new in Struts2 technology, I am planning to develop a small web based ERP like application using Struts2 and GWT. I have some queries regarding this topic 1. Is Struts2 and GWT compatable each other? 2. Merits and demerits of integration in Struts2 and GWT ? 3. Have any other tool kit

[gwt-contrib] Re: Make DateBox implement HasEnabled. (issue1823803)

2012-09-07 Thread t . broyer
Note this fixes http://code.google.com/p/google-web-toolkit/issues/detail?id=6197 and there was already a patch pending review, submitted almost one year ago: http://gwt-code-reviews.appspot.com/1568803/ http://gwt-code-reviews.appspot.com/1823803/ --

[gwt-contrib] Re: Issue 7381: 2 RequestFactory with 2 differents Proxy on the same domain class (issue1712803)

2012-09-07 Thread skybrian
LGTM. Committing... https://gwt-code-reviews.appspot.com/1712803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Issue 7381: 2 RequestFactory with 2 differents Proxy on the same domain class (issue1712803)

2012-09-07 Thread skybrian
On 2012/09/07 19:57:58, skybrian wrote: LGTM. Committing... I'm getting 500 errors in MultipleFactoriesTest. java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the com.google.web.bindery.requestfactory.shared.MultipleFactoriesTest.Factory1 RequestFactory type

[gwt-contrib] Re: Issue 7381: 2 RequestFactory with 2 differents Proxy on the same domain class (issue1712803)

2012-09-07 Thread skybrian
Never mind, looks like a hard-coded list in our build file. https://gwt-code-reviews.appspot.com/1712803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] GWT Google Map API V3.8 Direction with Waypoint

2012-09-07 Thread Thai Ha Duong
Hi all I having a problem with the gwt google map v3.8 api When i make a direction request with only source and destination i have a call back and it work When i add one or more waypoint then the call back do not occur. Here is my section of code. It will be a great help you can point out what