Re: How to print a portion of the screen (like a view in AP) ?

2013-01-29 Thread Freller
Indeed! Please use the latest version: http://code.google.com/p/gwt-print-it/ Regards, Freller Em segunda-feira, 28 de janeiro de 2013 00h31min19s UTC-2, Stevko escreveu: This question was already answered in this thread

Re: Passing Message between two GWT modules

2013-01-29 Thread Blaze
Hi Clement, Will work with no problem, I have done for my internal use a lot of wrappers to native JS so there is no diff, JAVA here gets just compiled to js. If you stay in the same window(no new tab or so) this will work, you can name the methods what ever you like, this will also work:

How to execute afterStartup commands?

2013-01-29 Thread membersound
Hi, how can I execute statements after the whole application has started up? Some kind of afterInit() method. Is there anything beside placing these calls at the end of the EntryPoint onModuleLoad(). -- You received this message because you are subscribed to the Google Groups Google Web

Re: How to remove a value from ValueListBox?

2013-01-29 Thread membersound
Great, works this way! Am Montag, 28. Januar 2013 17:15:29 UTC+1 schrieb Jens: In addition, keep in mind that ValueListBox currently merges its current selected value to the list of acceptable values if its not already in this list. If you want to remove the selected value from the

Re: How to execute afterStartup commands?

2013-01-29 Thread Jens
You only have onModuleLoad. However you could fire a custom event like AppInitializedEvent on the EventBus to notify independent parts of your application that everything has been set up properly. -- J. -- You received this message because you are subscribed to the Google Groups Google Web

Re: How to add ChangeHandler to ValueListBox using ui:binder?

2013-01-29 Thread membersound
Ok I was missing the type argument for the ValueChangeEvent. Using it works as expected! Am Montag, 28. Januar 2013 16:52:56 UTC+1 schrieb Thomas Broyer: Are you sure you're using the correct ValueChangeEvent from com.google.gwt.event.logical.shared? I just tried the following and it

How to call gwt api from jquery/javascript ?

2013-01-29 Thread vaibhav bhalke
Hi All, I want to know is there any way to call gwt's api from javascript/jquery. -- Best Regards, Vaibhav -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

How to create dependent dropndown/selection cell In GWT celltable 2.3?

2013-01-29 Thread vaibhav bhalke
http://stackoverflow.com/q/14534616/297907 -- Best Regards, Vaibhav -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: How to call gwt api from jquery/javascript ?

2013-01-29 Thread Alain Ekambi
Have a look at GWT-Exporter 2013/1/29 vaibhav bhalke bhalke.vaib...@gmail.com Hi All, I want to know is there any way to call gwt's api from javascript/jquery. -- Best Regards, Vaibhav -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

How to exchange widgets in uibinder?

2013-01-29 Thread membersound
Hi, I have a g:Tree / defined in ui:binder. Now if I check a specific Checkbox, I want that Tree to be converted to a CellTable (to provide some quick inplace edit). Again if I uncheck the box, I want reconversation to Tree. How could I do this? I mean, how can I exchange Tree widget by a

Re: How to exchange widgets in uibinder?

2013-01-29 Thread Thomas Broyer
UiBinder is only a tool to build your UI with XML rather than Java code. SO just like with Java code, you have to put your widget in a parent container where you can swap it (DeckPanel/DeckLayoutPanel, or SimplePanel, come to mind, but there are other solutions). On Tuesday, January 29, 2013

Re: How to execute afterStartup commands?

2013-01-29 Thread El Mentecato Mayor
You probably want to schedule a deferred command: https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsDelayed#deferred On Tuesday, January 29, 2013 5:44:16 AM UTC-5, membersound wrote: Hi, how can I execute statements after the whole application has started up? Some

Re: CellList - is there a better way than building raw html?

2013-01-29 Thread BM
Not sure if you got this working. But one can't use Vertical Panel as cell rows inside any Cell Widgets. GWT widgets (Vertical Panels, Horizontal Panel, GWT Button, GWT textbox, etc) can't be used inside Cell because they are heavyweight components and very slow so if used would defeat the

Obfuscation tuning

2013-01-29 Thread Paul Stockley
We are having some issues on IE tracking down some errors in production. IE is often less than helpful in that it often doesn't give you any call stack, Instead you get messages like (TypeError): Unable to get value of the property 'f': object is null or undefined description: Unable to get

More Questions about MVP, Custom Events and the Eventbus

2013-01-29 Thread Thomas Keschl
I have an application where a set of custom composite widgets in the view have to know when each is clicked so the clicked widget can offer the user a red border to indicate the selection and also so that any previously selected widget can go back to being the normal color. These widgets can be

RequestFactory and outdated client data

2013-01-29 Thread Manuel Malhado
I am currently working on a project that uses GWT 2.4 on the client side, RequestFactory as the transport layer, and Apache Tomcat and Hibernate on the server side. The trouble I'm having involves a service call that results in changes in a database Entity which as it happens is not the

use visualization javascript api in GWT

2013-01-29 Thread oussama abid
hi all, i want to use the visualization javascript api in my gwt project, i use the JSNI methods but it didn't work, i want to use the javascript api because it contain more features and more charts, can anyone have an exemple or an idea to make it work ? -- You received this message because

Re: Problem with ListEditor when list items' Ids are composites (@EmbeddedId)

2013-01-29 Thread bloo
Thomas - that was it! I was (again) trying to be clever and encapsulating the composite id from my front end code, by delegating the biz object's setters into the id object on the server side. I suppose using a composite id in lieu of a Long or other primitive, you have to treat it very

Re: Cancel CellList selection

2013-01-29 Thread BM
I was looking something similar and your example is perfect. I am going with approach of having my custom SingleSelectionHandler i.e PromptingSelectionModel . My view is more like GWT Showcase CellList-DetailForm example. If I click on my cell, my code populates the form elements. My Form is a

The Chrome 24 Animation bug and unstable APIs in general

2013-01-29 Thread Andy
I just wanted to share my thoughts about the recent chrome animation bug and how this could be avoided in the future. If I missed some follow-on discussion about this, please give me a link because I haven't seen anything. If you're not sure what I'm talking about, see these two links:

Re: The Chrome 24 Animation bug and unstable APIs in general

2013-01-29 Thread Jens
Take a look at https://groups.google.com/d/topic/google-web-toolkit-contributors/Al-kyayYeQM/discussion -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: How to print a portion of the screen (like a view in AP) ?

2013-01-29 Thread Celinio Fernandes
Thanks, it works ! On Jan 29, 2013, at 10:32 AM, Freller andre.frel...@gmail.com wrote: Indeed! Please use the latest version: http://code.google.com/p/gwt-print-it/ Regards, Freller Em segunda-feira, 28 de janeiro de 2013 00h31min19s UTC-2, Stevko escreveu: This question was

Re: More Questions about MVP, Custom Events and the Eventbus

2013-01-29 Thread Jens
You are not forced to use an EventBus. You could write a presenter/controller that keeps track of the selected view and changes its style through a view method. Something like: interface RedBorderView extends IsWidget { //UI events are delegated to meaningful methods interface Delegate {

Re: The Chrome 24 Animation bug and unstable APIs in general

2013-01-29 Thread Andy
Thanks for the link. Good discussion. I was under the impression that there was other code that used prefixed js, but grepping the code just now I only find the animation impl. I agree with your comments in that thread that it should be enabled by default and agree that 2.4 should have been

Re: [POLL RESULTS] Maven project layout, what to standardize?

2013-01-29 Thread Rob
+1 Option 3 On Tuesday, January 29, 2013 4:23:23 AM UTC+11, James Nelson wrote: Personally, I store all super source and .gwt.xml in src/main/resources, and never have a problem. (Eclipse 4.2; not too painful if you don't use GTK window manager) No filtering, especially on src/main/java;

Re: More Questions about MVP, Custom Events and the Eventbus

2013-01-29 Thread Thomas Keschl
I never thought of creating a presenter for the widget itself and making visual element a view interface all its own and wiring up the presenter of the widget to manage the state. This is a bit more complicated of an idea, and I think I have wrapped my head around it (mostly), but I'll have to

Re: Parametrized Css class

2013-01-29 Thread Rob
Hi, What about using SASS (Syntactically Awesome Stylesheets)? Take a look at this post: https://vaadin.com/blog/-/blogs/link-to-the-client-side-from-sass Cheers Rob On Tuesday, January 29, 2013 7:11:42 AM UTC+11, Joseph Lust wrote: Thanks Goktug! CSS3 and GWT have been the biggest issue

Dirty Form Flag in GWT or basically how to identify if in the form if there are any unsaved changes

2013-01-29 Thread BM
I have a form in GWT and I want to capture an event similar to dirtyform flag in JQuery. Basically I want to understand if any of the form data has been changed. The requirement is pretty simple here. I am NOT looking for if the data has been actually been modified but just to find out if they

How to change a variables value from a array? (is it even possible?)

2013-01-29 Thread darkflame
This is a little confusing question to express, its probably more Java then gwt specific, but given that gwt is really javascript, I am not quite sure what domain it falls under. So ArrayListObject fieldList = new ArrayListObject(); I then dump a lot of different variables to this array.

Re: Appstats RecordingFuture classcast exception

2013-01-29 Thread ingo
Hi, I have the exact same issue. Did you ever get around this problem? Thanks, Ingo On Friday, April 22, 2011 9:58:17 AM UTC-4, Baloe wrote: Hi all, We're using the appstats for extra logging. Works fine as far as I've looked at it, but not we get a classcast exception for most requests.

Re: Dirty Form Flag in GWT or basically how to identify if in the form if there are any unsaved changes

2013-01-29 Thread Rob Whiteside
The GWT Editor Framework does stuff with isDirty(). But by default it just compares your UI fields to the underlying model. So that won't cover your cases 1 and 2. You'd need to add some custom code to handle those cases. The only way I can think to do that is by listening for events. WIth

GWT app does not work in IE 8

2013-01-29 Thread GWTSree
I am working on a GWT application developed using MVP Architecture. The application works fine on firefox in Development Mode, but throws an AttachDetachException in IE. Please help me identify what I am doing wrong? The IDE is Eclipse indigo, GWT version 2.4 and IE version 8. Caused by:

Re: Dirty Form Flag in GWT or basically how to identify if in the form if there are any unsaved changes

2013-01-29 Thread BM
Thanks Rob for the reply. Point 1 and 2 are really not important. I put it there as I really don't want to check every field and see if any value is really actually changed or not. I haven't used Editor framework though. Not sure how easy it is to implement existing forms done thru GWT event

Re: The Chrome 24 Animation bug and unstable APIs in general

2013-01-29 Thread Thomas Broyer
See also https://plus.google.com/114156500057804356924/posts/45D9ZfZkF28 On Tuesday, January 29, 2013 7:11:16 PM UTC+1, Jens wrote: Take a look at https://groups.google.com/d/topic/google-web-toolkit-contributors/Al-kyayYeQM/discussion -- J. -- You received this message because you are

Re: The Chrome 24 Animation bug and unstable APIs in general

2013-01-29 Thread Andy
Thanks Thomas. Another great discussion, but I'm really surprised by all of the enterprise software hate. Obviously, the core issue is that too many people don't get the Web, but that's another debate. Of those people, who came complaining in the forum, some said they couldn't even

GWT Canvas resize ImageData and get Canvas.toDataUrl

2013-01-29 Thread Musicman75
Hello, for 2 days now I'm trying to resize my Canas data to get a smaller value when calling Canvas.toDataUrl. The szenario: User draws to a Canvas (Sign something). The drawing Canvas is sized to the Window size. Before transgering the data to the server I want to scale the Canvas to fit to

Re: GWT Canvas resize ImageData and get Canvas.toDataUrl

2013-01-29 Thread Musicman75
By the way, I don't want to paint the resized image to the UI. Only get the resized data to thranfer to the server. Am Mittwoch, 30. Januar 2013 07:50:44 UTC+1 schrieb Musicman75: Hello, for 2 days now I'm trying to resize my Canas data to get a smaller value when calling

Re: Compiling for IE8

2013-01-29 Thread Luca Morettoni
On Thu, Jan 17, 2013 at 9:08 AM, Thomas Broyer t.bro...@gmail.com wrote: I've got a fairly complex RIA application involving GWT 2.5 and GXT 3.0.1, and I noticed that changing compiler flags (like optimization level) doesn't improve (and even degrades) performance in IE8. So, could anyone help

[gwt-contrib] Change in gwt[master]: fixes ISSUE 7752 added constructor for java.util.logging.Lev...

2013-01-29 Thread Patrick Tucker
Patrick Tucker has posted comments on this change. Change subject: fixes ISSUE 7752 added constructor for java.util.logging.Level gwt emulation to be compatible with JRE .. Patch Set 4: I'm just curious, why are hashCode()

[gwt-contrib] Re: Change in gwt[master]: Updates ICU4J from 4.4.2 to 50.1.1

2013-01-29 Thread Gaspard van Ko
It seems that the build.xml file has been merged with this patch but the tools directory still has the previous (4.4.2) version, hence with a fresh checkout of both, the build fails: common.ant.xml:169: The archive icu4j.jar doesn't exist On Tuesday, January 29, 2013 1:23:18 AM UTC+1, Andrew

[gwt-contrib] Change in gwt[master]: Proxy IDs have to be the same for a given proxy in the respo...

2013-01-29 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Proxy IDs have to be the same for a given proxy in the response payload. .. Patch Set 2: Code-Review+1 -- To view, visit

[gwt-contrib] Fix for typo in JsJsonString (issue1802804)

2013-01-29 Thread mdempsky
LGTM http://gwt-code-reviews.appspot.com/1802804/ -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails

[gwt-contrib] Re: Fix for typo in JsJsonString (issue1802804)

2013-01-29 Thread goktug
On 2013/01/29 22:52:16, mdempsky wrote: LGTM Can you add a test case? It looks like that line is not covered in any test cases. http://gwt-code-reviews.appspot.com/1802804/ -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are

[gwt-contrib] Change in gwt[master]: Currently the GWT compiler adds a var declaration for each c...

2013-01-29 Thread Ray Cromwell
Ray Cromwell has uploaded a new change for review. https://gwt-review.googlesource.com/1810 Change subject: Currently the GWT compiler adds a var declaration for each catch parameter in a try/catch statement, but this is unneeded according to the spec, and the Closure compiler will issue

[gwt-contrib] Change in gwt[master]: Currently the GWT compiler adds a var declaration for each c...

2013-01-29 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Currently the GWT compiler adds a var declaration for each catch parameter in a try/catch statement, but this is unneeded according to the spec, and the Closure compiler will issue errors against it.

[gwt-contrib] Change in gwt[master]: Currently the GWT compiler adds a var declaration for each c...

2013-01-29 Thread Roberto Lublinerman
Roberto Lublinerman has posted comments on this change. Change subject: Currently the GWT compiler adds a var declaration for each catch parameter in a try/catch statement, but this is unneeded according to the spec, and the Closure compiler will issue errors against it.

[gwt-contrib] Change in gwt[master]: Currently the GWT compiler adds a var declaration for each c...

2013-01-29 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Currently the GWT compiler adds a var declaration for each catch parameter in a try/catch statement, but this is unneeded according to the spec, and the Closure compiler will issue errors against it.

[gwt-contrib] Re: incremental dev mode

2013-01-29 Thread Dragan Malenica
IMHO this should be the #1 feature to add to the next GWT version (after 2.5.1). On Thursday, December 13, 2012 5:18:15 AM UTC+1, Stephen Haberman wrote: Hey, Since Thomas brought up changes to dev mode, I've been thinking about how to implement an incremental dev mode. After playing

Re: [gwt-contrib] GWT 2.5.1 release - Call for help

2013-01-29 Thread Petar Tahchiev
Any news on the 2.5.1 release? On Saturday, January 19, 2013 5:01:33 PM UTC+2, Patrick Tucker wrote: Issue 7905 created. On Thursday, January 17, 2013 3:49:16 PM UTC-5, Daniel Kurka wrote: Please do ! Thanks Patrick! 2013/1/16 Patrick Tucker tuck...@gmail.com I do not have an open