Re: PDF document generation from gwt pages

2013-04-10 Thread Alain Ekambi
We are about to release ClientIO. A GWT Module that will allow client side file generation. Inculded PDF and Excel. You can see it in action here : http://eemi2010.github.io/ext4j/#!ClientIO. Click on export to PDF and/or Excel Should be part of the Flash4j 4.1 release coming soon 2013/4/10

Google Web Toolkit Developer Plugin - Install problem

2013-04-10 Thread Moe
Hello, i have a problem with the installation of GWT Developer Plugin for Chrome. I can't install, theres a message Diese Anwendung wird auf diesem Computer nicht unterstützt. Die Installation wurde deaktiviert.. This means, that my computer is not supported. Can you help me please? Thanks

Re: Code splittingmysteries

2013-04-10 Thread Ed Bras
I just downgraded to GWT 2.4 and my left over fragment disappeared :(... (initial load was almost the same) Strange - or 2.4. had a code splitting involved bug or 2.5. has one... On Mon, Mar 25, 2013 at 4:03 PM, Ed Bras post2edb...@gmail.com wrote: BTW: a corresponding issue in the issue

Junit test, this.getThreadLocalRequest() always return null

2013-04-10 Thread tong123123
In normal user interaction through browser, in my servlet SearchServiceImpl which extends RemoteServiceServlet, calling this.getThreadLocalRequest() inside a method of SearchServiceImpl can return the request. but in JUnit test, if calling a method of SearchServiceImpl which includes

Re: Is there a set of best practices for implementing nested presenters/view?

2013-04-10 Thread Ed
I wouldn't use these MVP patterns like gwtp before understanding well the different View patterns, start reading here: http://martinfowler.com/eaaDev/SupervisingPresenter.html (martin fowler). Every situation is different, and simple adding a tool like gwtp might not work for you, even worse,

Re: Is there a set of best practices for implementing nested presenters/view?

2013-04-10 Thread Mohammad Al Quraian
Yeah, I don't have any intentions in using any more frameworks. Let me ask you this, let's say that you have a page which has multiple panels and in each panel there are multiple widgets. How would you go about implementing that yourself? I'm especially interested in the case that you wanted for

Re: Google Web Toolkit Developer Plugin - Install problem

2013-04-10 Thread Moe
Sorry, I forgot my PC specs. Windows 8 with the newes version of chrome. Am Mittwoch, 10. April 2013 07:27:36 UTC+2 schrieb Moe: Hello, i have a problem with the installation of GWT Developer Plugin for Chrome. I can't install, theres a message Diese Anwendung wird auf diesem Computer

Re: RequestFactory: .with causes NPE on server if returned value is null

2013-04-10 Thread Thomas Broyer
Please open an issue. I don't have time to do it right now but (tentatively) reproducing the issue is really easy in the current RF test suite (com.google.web.bindery.requestfactory.gwt.client.RequestFactoryTest#testNullEntityProxyResult), so no need to attach a repro case (just link to this

Re: Google Web Toolkit Developer Plugin - Install problem

2013-04-10 Thread Thomas Broyer
See https://code.google.com/p/google-web-toolkit/issues/detail?id=7778 On Wednesday, April 10, 2013 10:16:20 AM UTC+2, Moe wrote: Sorry, I forgot my PC specs. Windows 8 with the newes version of chrome. Am Mittwoch, 10. April 2013 07:27:36 UTC+2 schrieb Moe: Hello, i have a problem with

Re: Is there a set of best practices for implementing nested presenters/view?

2013-04-10 Thread Ed Bras
Let me give you some idea's from what I use now, and which I like after trying/playing many things in the last 7 years with gwt: + Well defined overall functionality, like login, productInfo are contained in a component. The component has a Controller, View, if required a Presenter and always a

Re: Google Web Toolkit Developer Plugin - Install problem

2013-04-10 Thread Moe
Thank you very much. I will check it in the evening. Am Mittwoch, 10. April 2013 10:28:12 UTC+2 schrieb Thomas Broyer: See https://code.google.com/p/google-web-toolkit/issues/detail?id=7778 On Wednesday, April 10, 2013 10:16:20 AM UTC+2, Moe wrote: Sorry, I forgot my PC specs. Windows 8

Re: Is there a set of best practices for implementing nested presenters/view?

2013-04-10 Thread Mohammad Al Quraian
Wow, that's a lot to digest, I need some time for that. Thank you very much. Just a quick Q, controllers, views, presenters and facades are all different things? Also, wouldn't you consider facades a form of presenters? If not then what is the difference? I really like your input and hope more

Re: Repainting a canvas - clear or create new object?

2013-04-10 Thread Kody
Isn't this what I'm doing if I save everything that is not dragged to an image an draw this static image behind the drag context? If not, could you be more specific? 2013/4/9 David Durham david.durham...@gmail.com There's a trick where you layer Canvas elements on top of each other, because

Re: Is there a set of best practices for implementing nested presenters/view?

2013-04-10 Thread Ed
Just a quick Q, controllers, views, presenters and facades are all different things? Yes, different. Facades have nothing to do with presenters, controllers in this case. Facades are just stupid things that form the central access to something, in my case: the component. I use the component

Re: Repainting a canvas - clear or create new object?

2013-04-10 Thread membersound
How do you stack multiple canvas onto each other? I tried the following, which only placed them below each other so that both are visible at a time. .layer1 { z-index: 1; left: 0; top: 0; } .layer2 { z-index: 0;

Re: clear browser cache automatically?

2013-04-10 Thread Magnus
Hi, thanks! Now which solution is better? Am Mittwoch, 3. April 2013 14:06:07 UTC+2 schrieb ocaner: script src=m1/m1.nocache.js?version=1.0.1/script Does it have to be the attribute version and does its value have to change on every deployment? If so, I'd prefer the filter because then

moveable areas as in iGoogle?

2013-04-10 Thread Magnus
Hi, how can one realize such moveable areas, which can be placed with drag drop at predefined positions, such as in iGoogle? Is there a tutorial? Thanks Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this

How to globally catch all exceptions?

2013-04-10 Thread membersound
Hi, how could one best catch all exceptions within the application that occur and are not handled anywhere? Would it just require a try-catch block in the onModuleLoad()? Or maybe an extra Servlet? Thanks -- You received this message because you are subscribed to the Google Groups Google

Re: moveable areas as in iGoogle?

2013-04-10 Thread Andrea Boscolo
You need some kind of drag drop functionality. You can either use the built-in GWT drag drop support (which is based on the HTML5 drag drop API [1]), or use the always handy gwt-dnd [2]. Do note that HTML5 dd API is about moving data, not actual widgets, but it can be used also in that way,

Re: How to globally catch all exceptions?

2013-04-10 Thread Andrea Boscolo
Use the GWT.setUncaughtExceptionHandler() [1]. [1] http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/core/client/GWT.html#setUncaughtExceptionHandler%28com.google.gwt.core.client.GWT.UncaughtExceptionHandler%29 -- You received this message because you are subscribed to

Re: Repainting a canvas - clear or create new object?

2013-04-10 Thread Thad
If you don't want the lower layer to show through, you need to fill the upper layer with an opaque (alpha 1.0) color. The transparency of canvas is a good think at least for one of my apps. I have three Canvas, all stacked in an AbsolutePanel. The lowest Canvas holds an image (a PNG that was

Re: Is there a set of best practices for implementing nested presenters/view?

2013-04-10 Thread Ed
One more things that popped up: + Use WidgetDisplayer interface with methods like show(IsWiget) (or multiple widgets) and isShowing(IsWidget). This is used by the Views to show their content, such that you abstract the location (and how) it's content is shown. You often specify these

Re: Removing obfuscation from a stack trace.

2013-04-10 Thread Flying-w
The symbolmaps are created in shark_sencha_prototype/symbolMaps, I can see them there. However any value I try to specify for param-namesymbolMaps/param-name still results in an obfuscated stack trace. I attached eclipse to Tomcat and whenever RemoteLoggingServiceImpl.logOnServer() is

Problem with TabSelector Widget.

2013-04-10 Thread skippy
I have a TabSelector Wedgit that I am adding and removing different objects based on the users navigation. The problem is that the objects that I remove are still around and catching event from the bus. Is there a way to distroy the objects after removing them from the tabSelector? Thanks

Re: GWT Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2013-04-10 Thread MikeJennings
Hi, I've been trying to get familiar with the source to see if I can pitch in and help out (with the plugin that is). I noticed that in the Makefile in jni/mac, it looks like gwt-webkit.h gets generated from com.google.gwt.dev.shell.mac.LowLevelSaf (which presumably has some JNI stuff) But I

Re: Removing obfuscation from a stack trace.

2013-04-10 Thread Jens
RemoteLoggingServiceImpl does not read any init parameters from your web.xml. You should do something like: public class MyRemoteLoggingService extends RemoteLoggingServiceImpl { @Override public void init() throws ServletException { super.init();

Re: Problem with TabSelector Widget.

2013-04-10 Thread skippy
The base object is DecoratedTabPanel On Apr 10, 10:48 am, skippy al.leh...@fisglobal.com wrote: I have aTabSelectorWedgit that I am adding and removing different objects based on the users navigation.  The problem is that the objects that I remove are still around and catching event from the

Problem with DecoratedTabPanel.

2013-04-10 Thread skippy
I have a DecoratedTabPanel that I am adding and removing different objects based on the users navigation. The problem is that after the object is removed they are still around and catching event from the bus. Is there a way to distroy the objects after removing them from the DecoratedTabPanel?

Re: Problem with DecoratedTabPanel.

2013-04-10 Thread Jens
Store the HandlerRegistration instance you get from the event bus and call HandlerRegistration.removeHandler() when your widget is removed from the DOM. You can override Widget.onLoad() and Widget.onUnload() to add/remove your event handlers. -- J. -- You received this message because you

Eclipse Junu 64 bit version

2013-04-10 Thread skippy
Is there a GWT Plug-in for this version and does this effect the browser plug-in for debugging? -- 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 does GWT work with App Engine backends?

2013-04-10 Thread Chris Malloy
Hi All, I'm trying to find some documentation on how to get GWT working with an App Engine backend. The sample code GWT generates is enough to get servlets up and running, but not much else. The available documentation from Google has helped me to properly configure backends.xml, and I can see

How to detect emailid in text box and put cross symbol

2013-04-10 Thread Anshu Gupta
Hi, I am very new to GWT. I want to design a form like Gmail mail compose window. I have a text area where I enter lots of email id's. What I want is when user enters one email id , it automatically makes it look like a textbox with cross icon besides it, same as it happens in Gmail. Any

Re: moveable areas as in iGoogle?

2013-04-10 Thread Brandon Donnelson
If you want to use a thirdparty api to do it, GXT has it ready to go. http://www.sencha.com/examples/#ExamplePlace:portallayout Brandon On Wednesday, April 10, 2013 3:33:33 AM UTC-7, Magnus wrote: Hi, how can one realize such moveable areas, which can be placed with drag drop at

Re: Unable to find '.gwt.xml' on your classpath (again)

2013-04-10 Thread Brandon Donnelson
Do you know if the Project.gwt.xml is ont he client side? ./project/client/Project.gwt.xml Screenshot your directory layout and post it here. On Monday, April 8, 2013 10:45:50 PM UTC-7, Andy King wrote: I am at my wits end with this problem ... I've looked at suggested solutions, but

Re: UIBundle XML not seeing CSS styles

2013-04-10 Thread Brandon Donnelson
Another option: Css Resources https://github.com/branflake2267/Archetypes/blob/master/archetypes/gwt-css/src/main/java/org/gonevertical/project/client/resources/Resources.java CSS Injection

Problems trying to run MobileWebApp.

2013-04-10 Thread Mohammad Al-Quraian
I'm having so many issues running this sample app, I was able to run it using the maven command line with some problems but it works. When I import it to eclipse I encounter many problems for example: HTTP ERROR: 500 No realm RequestURI=/MobileWebApp.html *Powered by Jetty://* I wish that

Re: Unable to find '.gwt.xml' on your classpath (again)

2013-04-10 Thread Andy King
Well, I found a solution, although I don't know why the original project doesn't work. The fact that the project ran with no problem on one machine, but had problems on the other machine, seemed to point to a difference in configuration. I renamed the .html file, TimeToPlay.html, to

Re: Identify or get around popup blockers

2013-04-10 Thread Alexander Murauski
This is how to do it without native JavaScript: First, create an empty window with the name mySiperPuperTarget. This must be called synchronously i.e. not from any callback: Window.open(, mySuperPuperTarget, ); Now, you can use the mySuperPuperTarget as a target name for your form and submit

[gwt-contrib] Linker bug with useSourceMaps

2013-04-10 Thread Alex Epshteyn
I'm trying to fix a bug ( https://code.google.com/p/google-web-toolkit/issues/detail?id=8100 ), and I could use some expert advice. I'm a long time GWT user (7 years), but only recently started hacking the internals, and I need help on this one. Background:

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-10 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: IIRC, this new behavior is also consistent with @Inject in google-gin which again makes

[gwt-contrib] Change in gwt[master]: add StringBuffer/Builder.reverse

2013-04-10 Thread Daniel Kurka
Daniel Kurka has posted comments on this change. Change subject: add StringBuffer/Builder.reverse .. Patch Set 1: (1 comment) File

[gwt-contrib] Change in gwt[master]: add StringBuffer/Builder.reverse

2013-04-10 Thread Daniel Kurka
Daniel Kurka has uploaded a new patch set (#2). Change subject: add StringBuffer/Builder.reverse .. add StringBuffer/Builder.reverse fixes ISSUE 449 Change-Id: I342e7ed86c0e4efa90d09bdfe0d72c79db2654c5 Review-Link:

[gwt-contrib] Change in gwt[master]: add StringBuffer/Builder.reverse

2013-04-10 Thread Daniel Kurka
Daniel Kurka has uploaded a new patch set (#3). Change subject: add StringBuffer/Builder.reverse .. add StringBuffer/Builder.reverse fixes ISSUE 449 Change-Id: I342e7ed86c0e4efa90d09bdfe0d72c79db2654c5 Review-Link:

[gwt-contrib] Change in gwt[master]: Prevent dev mode breakage when lots of jso classes are used.

2013-04-10 Thread John Ahlroos
John Ahlroos has uploaded a new patch set (#3). Change subject: Prevent dev mode breakage when lots of jso classes are used. .. Prevent dev mode breakage when lots of jso classes are used. Elemental introduces a lot of native

[gwt-contrib] Change in gwt[master]: Prevent dev mode breakage when lots of jso classes are used.

2013-04-10 Thread John Ahlroos
John Ahlroos has posted comments on this change. Change subject: Prevent dev mode breakage when lots of jso classes are used. .. Patch Set 3: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/2210 To

[gwt-contrib] Change in gwt[master]: Widget Iterator now throws NoSuchElementExceptions correctly.

2013-04-10 Thread Daniel Kurka
Daniel Kurka has uploaded a new patch set (#4). Change subject: Widget Iterator now throws NoSuchElementExceptions correctly. .. Widget Iterator now throws NoSuchElementExceptions correctly. Change-Id:

[gwt-contrib] Change in gwt[master]: Widget Iterator now throws NoSuchElementExceptions correctly.

2013-04-10 Thread Daniel Kurka
Daniel Kurka has uploaded a new patch set (#5). Change subject: Widget Iterator now throws NoSuchElementExceptions correctly. .. Widget Iterator now throws NoSuchElementExceptions correctly. Change-Id:

[gwt-contrib] Change in gwt[master]: Workaround for resolving mouse button on mouse move in Firefox

2013-04-10 Thread John Ahlroos
John Ahlroos has uploaded a new patch set (#3). Change subject: Workaround for resolving mouse button on mouse move in Firefox .. Workaround for resolving mouse button on mouse move in Firefox Change-Id:

[gwt-contrib] Change in gwt[master]: Fixes ISSUE 7079 - Add support for the newer bindery Handler...

2013-04-10 Thread Daniel Kurka
Daniel Kurka has posted comments on this change. Change subject: Fixes ISSUE 7079 - Add support for the newer bindery HandlerRegistration .. Patch Set 1: Hi Julien, I can't find you on the CLA-SIGNERS list:

[gwt-contrib] Change in gwt[master]: Upon selection in a SuggestBox's pop up, focus the text field

2013-04-10 Thread Daniel Kurka
Daniel Kurka has posted comments on this change. Change subject: Upon selection in a SuggestBox's pop up, focus the text field .. Patch Set 2: Hello Christian, I could not find you on the CLA signers list:

[gwt-contrib] Change in gwt[master]: Fixes ISSUE 7079 - Add support for the newer bindery Handler...

2013-04-10 Thread Julien Dramaix
Julien Dramaix has posted comments on this change. Change subject: Fixes ISSUE 7079 - Add support for the newer bindery HandlerRegistration .. Patch Set 1: I signed the following one :

[gwt-contrib] Change in gwt[master]: set target and source level to 1.6 for JSP compilation

2013-04-10 Thread Daniel Kurka
Daniel Kurka has abandoned this change. Change subject: set target and source level to 1.6 for JSP compilation .. Abandoned Submitted -- To view, visit https://gwt-review.googlesource.com/2201 To unsubscribe, visit

[gwt-contrib] Change in gwt[master]: fixing possible NPE in on CellWidget.onBrowserEvent if cell ...

2013-04-10 Thread Daniel Kurka
Daniel Kurka has abandoned this change. Change subject: fixing possible NPE in on CellWidget.onBrowserEvent if cell does not consume any events fixes issue 7649 .. Abandoned Submitted -- To view, visit

[gwt-contrib] Change in gwt[master]: add StringBuffer/Builder.reverse

2013-04-10 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: add StringBuffer/Builder.reverse .. Patch Set 3: (1 comment) File

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-10 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: I think there are optimization steps in JS which can reduce the code bloat. Roberto, can

[gwt-contrib] Change in gwt[master]: Widget Iterator now throws NoSuchElementExceptions correctly.

2013-04-10 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Widget Iterator now throws NoSuchElementExceptions correctly. .. Patch Set 5: Code-Review+1 (1 comment)

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-10 Thread Roberto Lublinerman
Roberto Lublinerman has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: The JsInliner should take care of this case. Methods that are called in only one

[gwt-contrib] Change in gwt[master]: Upon selection in a SuggestBox's pop up, focus the text field

2013-04-10 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Upon selection in a SuggestBox's pop up, focus the text field .. Patch Set 2: Daniel, isn't the CLA process handled by Gerrit now? (BTW, CLA-SIGNERS is

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-10 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: A simple fix is to only use the JSNI method if the method is private. And in that case, also

[gwt-contrib] Change in gwt[master]: set target and source level to 1.6 for JSP compilation

2013-04-10 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: set target and source level to 1.6 for JSP compilation .. Patch Set 2: So Daniel, how does it feel to be on the other side now? ;-) -- To view, visit

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-10 Thread Roberto Lublinerman
Roberto Lublinerman has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: The existing code is already fixed. The question remains whether we want to allow

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-10 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: Actually we discussed this internally and we have an agreement on our side to add the

[gwt-contrib] Re: Linker bug with useSourceMaps

2013-04-10 Thread Alex Epshteyn
Okay, I found a pretty good solution. Solved the problem by adding a method isSourceMapsEnabled to CompilationResult, which gets passed all the way from Link to SelectionScriptLinker. The value is set in Link via the permutation's property oracles. I tested this and it works well! Now, how can

Re: [gwt-contrib] Re: Linker bug with useSourceMaps

2013-04-10 Thread Matthew Dempsky
On Wed, Apr 10, 2013 at 12:22 PM, Alex Epshteyn alexander.epsht...@gmail.com wrote: Thanks Thomas! Is it possible to still use SVN by any chance? We'll continue accepting patches from Rietveld, just it's a bit more work for us to merge them. -- --

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-10 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: I agree that we should indirect through JSNI only if the method is actually private. This

Re: [gwt-contrib] Re: Linker bug with useSourceMaps

2013-04-10 Thread Alex Epshteyn
Gotcha. I will certainly have more than one patch to contribute now that I've really dived into the GWT compiler internals, so I might as well start working with the new git-based system to make things easier for everyone. I've already made quite a few other enhancements and bug fixes to the

Re: [gwt-contrib] Re: Linker bug with useSourceMaps

2013-04-10 Thread Thomas Broyer
On Wednesday, April 10, 2013 9:22:18 PM UTC+2, Alex Epshteyn wrote: Thanks Thomas! Is it possible to still use SVN by any chance? I haven't made the leap over to git yet as I'm still using an older version of IntelliJ without git support. If not, could you help me out with some

[gwt-contrib] Change in gwt[master]: Avoid implicit inter-dependencies between DOM, History, Wind...

2013-04-10 Thread Goktug Gokdogan
Goktug Gokdogan has abandoned this change. Change subject: Avoid implicit inter-dependencies between DOM, History, Window and Widgets through BaseListenerWrapper by moving things to where they're used. .. Abandoned

Re: [gwt-contrib] Re: Linker bug with useSourceMaps

2013-04-10 Thread Alex Epshteyn
Thanks Thomas! I appreciate it. I'll give it a try! On Wed, Apr 10, 2013 at 5:01 PM, Thomas Broyer t.bro...@gmail.com wrote: On Wednesday, April 10, 2013 9:22:18 PM UTC+2, Alex Epshteyn wrote: Thanks Thomas! Is it possible to still use SVN by any chance? I haven't made the leap over

[gwt-contrib] Change in gwt[master]: Prevent dev mode breakage when lots of jso classes are used.

2013-04-10 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Prevent dev mode breakage when lots of jso classes are used. .. Patch Set 3: (3 comments) File

Re: [gwt-contrib] Re: Linker bug with useSourceMaps

2013-04-10 Thread Jens
If you are on Windows or Mac OS I would recommend http://www.sourcetreeapp.com/ as git frontend (its free). -- J. -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit

[gwt-contrib] Change in gwt[master]: Prevent dev mode breakage when lots of jso classes are used.

2013-04-10 Thread James Nelson
James Nelson has posted comments on this change. Change subject: Prevent dev mode breakage when lots of jso classes are used. .. Patch Set 3: Code-Review-1 (3 comments) This patch doesn't actually fix the underlying issue;