Re: Compiling for IE8

2013-01-29 Thread Luca Morettoni
On Thu, Jan 17, 2013 at 9:08 AM, Thomas Broyer 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 me out: wh

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 Canvas.toDat

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: 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 recomp

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 y

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 h

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: com

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

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 reque

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 ArrayList fieldList = new ArrayList(); I then dump a lot of different variables to this array. fieldList.add(Obje

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

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 f

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: [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/j

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 off

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: How to print a portion of the screen (like a view in A&P) ?

2013-01-29 Thread Celinio Fernandes
Thanks, it works ! On Jan 29, 2013, at 10:32 AM, Freller 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 already answered in t

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

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: https://

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

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 un-busi

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

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 objec

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

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 val

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 purp

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? > So

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 3:

How to exchange widgets in uibinder?

2013-01-29 Thread membersound
Hi, I have a 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 CellTable wi

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 > 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 unsub

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 google-web-toolkit+unsubscr...@google

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 t

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

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 We

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 th

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 Too

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:

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

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 > https://groups.google.com/d/topic/google-web-toolkit/7qSLr76O7WM/di