Take snapshot from Canvas and save it to disk or upload to server..?

2012-04-16 Thread Thomas Broyer
This is what toDataUrl and getImageData are for. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/1L21uPzHRVAJ. To post to this group, send email

Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-16 Thread Nagin Kothari
GWT is the very good framework which gives you flexibility to use their in-built widgets or functionality as well allow to work on low level API or customize framework to your need like compiler linker etc. My company does 100% in GWT and Java. Using only one standard language for both server and

Re: Serialization Error

2012-04-16 Thread l.denardo
Moreover, Set, just like List, Object etc. is NOT Serializable. If the interface does not extend Serializable, a serialization error is thrown. The fact of Set not being serializable is all but obvious, I think we all forgot this problem with RPC. Btw, this behavior is documented (in a couple of

getOffsetWidth = 0 after reattaching Panel

2012-04-16 Thread MeiAestro
Hi, after reattaching a SimplePanel-extension to the RootPanel getOffsetWidth() returns 0. After the first attach it works just fine. In an extension of SimplePanel I simply do a RootPanel.get().add(this); to (re-)attach the panel and a removeFromParent(); to detach the Panel.

Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-16 Thread massimo malvestio
According to Google code blog article, Dart can be translated in Javascript to obtain borwsers compliance, http://googlecode.blogspot.it/2011/10/dart-language-for-structured-web.html Dart code can be executed in two different ways: either on a native virtual machine

Re: Deploying Application (GWT 2.1.0) on Tomcat

2012-04-16 Thread Magallo
How can we avoid the delivery of this file? To create the .war I use the GWT Compile Project... menu item from the Eclipse toolbar button called Google Services and Development Tools. From here, we can't decide what files to deliver. Am I missing something? On Thursday, February 10, 2011

Re: Filtering requestfactory response

2012-04-16 Thread Thomas Lefort
Ha! (I feel a bit stupid) That does indeed solve the issue of the db update, however I still get the error message Could not find static method with a single parameter of a key type. Will look into that a bit more. Thanks again. Thomas On Sunday, 15 April 2012 14:19:53 UTC+2, Thomas Broyer

Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-16 Thread Shawn Brown
Honestly, everything sounds to me like a political choice to force people to shift from java platform develepment to Dart platform, leveraging the huge Android diffusion through cellphones and tablets. OK yeah sure maybe it is political but ... What if Oracle wins big against Google in terms

Re: How does the GWT developer plugin work..?

2012-04-16 Thread Thomas Broyer
On Sunday, April 15, 2012 8:50:22 PM UTC+2, Carsten wrote: Hi, when I run GWT apps in dev mode I see them in the browser (using the dev mode plugin). Can somebody give some details how this works and what exactly is running in the browser? Obviously the Java code is not converted to

Re: For gin+code splitting,why will how to call injector's method affect splitting result?

2012-04-16 Thread Derek
I'm not entirely sure of your questions at the end, but it looks like you're not using AsyncProvider the way it's intended and that might be causing your problems. AsyncProvider does not need to be bound to an implementation. AsyncProvider should be managed by Gin. public class MyModule extends

Re: getOffsetWidth = 0 after reattaching Panel

2012-04-16 Thread MeiAestro
solved... before reattaching the panel I sat the property visible to false. What I did not know: invisible panels have a size of 0x0 although the attributes are set differently. On 16 Apr., 11:06, MeiAestro jmalbre...@gmx.de wrote: Hi, after reattaching a SimplePanel-extension to the

Re: does any Breedcrumb widget in gwt 2.4?

2012-04-16 Thread Thomas Lefort
May be follow bootstrap for gwt? There is a breadcrumb in bootstrap so you can imagine one days the guys at gwt bootstrap will add it? may be add a feature request? https://github.com/gwtbootstrap/gwt-bootstrap On Friday, 16 March 2012 07:52:30 UTC+1, tong123123 wrote: Hi, is there

Shortest way to get a List of widgets with text and a button (VerticalPanel, CellList..?)

2012-04-16 Thread tanteanni
i need a list of label plus button entries (the button says delete line). The List won't become very long (100 entries). So the first question is: Is CellList a good approach? I tried VerticalPanel, but the alignment is odd. A second/third widget is added in the middle of remaining space

Re: Shortest way to get a List of widgets with text and a button (VerticalPanel, CellList..?)

2012-04-16 Thread Thomas Broyer
On Monday, April 16, 2012 3:25:22 PM UTC+2, tanteanni wrote: i need a list of label plus button entries (the button says delete line). The List won't become very long (100 entries). So the first question is: Is CellList a good approach? I tried VerticalPanel, but the alignment is odd. A

Re: Shortest way to get a List of widgets with text and a button (VerticalPanel, CellList..?)

2012-04-16 Thread tanteanni
Thx Thomas, the problem i had! with flowpanel is that it renders children not surely vertically (if two children fit in one line they will be in one line) - but i think that could be easily resolved (by making children always large enough). now i began with cell-stuff. at the moment i try to

Re: Shortest way to get a List of widgets with text and a button (VerticalPanel, CellList..?)

2012-04-16 Thread Thomas Broyer
On Monday, April 16, 2012 4:20:18 PM UTC+2, tanteanni wrote: Thx Thomas, the problem i had! with flowpanel is that it renders children not surely vertically (if two children fit in one line they will be in one line) - but i think that could be easily resolved (by making children always

Re: Is SplitLayoutPanel stupid or arrogant?

2012-04-16 Thread stagirus
KevMo: The URL below came up in many of my google searches. But they do not address my issue? Or, do they? My question/issue is more to do with using a SplitLayoutPanel where specific pixel sizes are not available or not feasible? Is there any other widget that supports splitter behavior

Re: Is SplitLayoutPanel stupid or arrogant?

2012-04-16 Thread Qian Qiao
On Mon, Apr 16, 2012 at 08:01, stagirus mohanam...@gmail.com wrote: Pardom me for humanizing the all mighty SplitLayoutPanel. This panel seems to be very powerful except that it is making itself unfriendly and useless in the following scenario. In our application, we needed a vertical

Re: Take snapshot from Canvas and save it to disk or upload to server..?

2012-04-16 Thread Carsten
Sorry...I was too unspecific. I am drawing on a small canvas. Mainly shapes. When I say I want to take a snapshot, I want to be able to get a 'snapshot' at any resolution. In theory I would need to resize everything...canvas, shapes, etc. and redraw everything. Is there a simpler solution? On Apr

Problems with GWT-RPC: encodedRequest cannot be empty

2012-04-16 Thread kishorpatel415
Hi, We are using GWT 2.3. Our application is encountering the error encodedRequest cannot be empty. Full stack trace below. This is an intermittent error that occurs when making GWT-RPC calls. Please let me know if there are any work around or solutions available. Thank you. Stack Trace:

Re: Is SplitLayoutPanel stupid or arrogant?

2012-04-16 Thread stagirus
My apologies for my English being not that helpful. As my original post stated: SplitLayoutPanel.setSize(100%, 100%) does not function as one would expect. In our case, the instance of (new SplitLayoutPanel) is added into another panel (VerticalPanel) that in turn fills (spreads) out within

Re: RPC - can't get to remote server

2012-04-16 Thread Jesse Hutton
Are you missing implements ArahantService in your RPC servlet? Jesse On Sat, Apr 14, 2012 at 11:43 AM, Blake McBride blake1...@gmail.com wrote: Greetings, I have a pre-existing Java / NetBeans / tomcat server app that I am trying to interface to an eclipse / GWT front-end.  I can't seem to

Re: Is SplitLayoutPanel stupid or arrogant?

2012-04-16 Thread Qian Qiao
On Tue, Apr 17, 2012 at 01:14, stagirus mohanam...@gmail.com wrote: My apologies for my English being not that helpful. As my original post stated: SplitLayoutPanel.setSize(100%, 100%) does not function as one would expect. In our case, the instance of (new SplitLayoutPanel) is added into

Re: Take snapshot from Canvas and save it to disk or upload to server..?

2012-04-16 Thread Jens
I don't think so. Canvas is pixel based and everything you can export from it is basically a .png file. I think you would need to implement some sort of a scene graph that knows what has been painted and a resize operation that can be applied to that scene graph. The scene graph is then your

RequestFactory and @OneToMany association

2012-04-16 Thread Daniel Mauricio Patino León
Iam stuck here! any help would be appreciated. (sorry for duplicate the post : http://stackoverflow.com/questions/10180282/requestfactory-and-onetomany-association ) My case is that i have a @OneToMany association on my module. class Parent{ @OneToMany( mappedBy=parent

Re: Is SplitLayoutPanel stupid or arrogant?

2012-04-16 Thread stagirus
Probably, I got confused this time, though your response is very sound technically! Are you saying, the so called LayoutPanels in GWT 2.X are not compatible with the ubiquitous GWT panels such as VerticalPanel? This implies there were some design flaws in non-layout panels. Rather than fixing

Communicating XML documents bidirectionally between GWT app and a foreign Java server app via sockets

2012-04-16 Thread Blake McBride
Greetings, Attempting to communicate bidirectionally between a GWT app and another Java server (on the same machine or not) proved to be a bit of a challenge for me (i.e. getting past the SOP restriction, bidirectional communications, and structured communications). After a lot of head banging,

Re: Communicating XML documents bidirectionally between GWT app and a foreign Java server app via sockets

2012-04-16 Thread Blake McBride
I thought I would give a little more information and a short example. The server side handles multiple connections via threads. Communications code on both side look the same. Here is a sample: s = new Socket((String) null, 2000); OutputStream out = s.getOutputStream(); InputStream in =

Re: RequestFactory and @OneToMany association

2012-04-16 Thread Aidan O'Kelly
You'll probably need: with(parents, parents.childs) getChilds() is not a method on your Callback object.. 2012/4/16 Daniel Mauricio Patino León ceo.lion@gmail.com Iam stuck here! any help would be appreciated. (sorry for duplicate the post :

How to track native browser scroll up-down movement

2012-04-16 Thread Deepak Singh
Hi, I have the following scenario, Html: div div style=width:100% ui:field=topDiv/div div style=width:40% ui:field=leftDiv/div div style=width:60% ui:field=rightDiv/div /div Now, this uibinder is rendered at a particular position in html. Browser scrolls up and down and this uibinder scrolls up

Strange GWT runtime error: (TypeError): this.abort is not a function

2012-04-16 Thread dhoffer
Using GWT 2.4. Once in a while at runtime I get the following error in my app's global exception handler: (TypeError): this.abort is not a function This comes from the message variable below. public void onUncaughtException(Throwable t) { t.getClass().getName();

Re: Using System.getProperty(User.Name) in GWT

2012-04-16 Thread Saty
Hi GWT experts, Can you please provide any suggestions? Thanks! On Apr 5, 9:33 am, Saty saty1...@gmail.com wrote: I would like to use System.getProperty(User.Name) in GWT. The server will be running on iSeries platform. I am looking for ways to do this without introducing new framework . --

Re: Using System.getProperty(User.Name) in GWT

2012-04-16 Thread Hilco Wijbenga
On 5 April 2012 07:33, Saty saty1...@gmail.com wrote: I would like to use System.getProperty(User.Name) in GWT. The server will be running on iSeries platform. I am looking for ways to do this without introducing new framework . If you mean on the server then it has nothing to do with GWT,

Re: Is SplitLayoutPanel stupid or arrogant?

2012-04-16 Thread Qian Qiao
On Tue, Apr 17, 2012 at 03:27, stagirus mohanam...@gmail.com wrote: Are you saying, the so called LayoutPanels in GWT 2.X are not compatible with the ubiquitous GWT panels such as VerticalPanel? This implies there were some design flaws in non-layout panels. Rather than fixing the design

[gwt-contrib] Re: Added OrderedMultiSelectionModel that retains the order of selection (issue1674803)

2012-04-16 Thread jlabanca
LGTM I recommended a bit of extra javadoc, but code looks good. http://gwt-code-reviews.appspot.com/1674803/diff/4001/user/src/com/google/gwt/view/client/OrderedMultiSelectionModel.java File user/src/com/google/gwt/view/client/OrderedMultiSelectionModel.java (right):

[gwt-contrib] Re: Added OrderedMultiSelectionModel that retains the order of selection (issue1674803)

2012-04-16 Thread jlabanca
LGTM http://gwt-code-reviews.appspot.com/1674803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors