Re: Running Hupa in Development Mode

2014-03-04 Thread Harry Lin
Thanks!! I can compile with : mvn clean package -DskipTests But got errors when launching log : D:\Harry.Lin\java\workspace\james-hupa-trunkmvn -am -pl hupa gwt:run [INFO] Scanning for projects... [INFO] [INFO] Reactor

Download Servlet doesn't work

2014-03-04 Thread Davide Micheletti
Hi all.. i've 2 project with the same downloadservlet but in the second project the Download doesn't work.. WHY?? Here my second web.xml (here the download doesn't work) ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: Download Servlet doesn't work

2014-03-04 Thread Jens
The DownloadServlet class is the same in everything.. Maybe thats the problem. The above XML doesn't look wrong. Normally, if something does not work, you have some kind of an error message that should already tell you WHY it doesn't work. So go and search your error message. -- J. --

Re: Download Servlet doesn't work

2014-03-04 Thread Davide Micheletti
i know, but when i try to download a file i've some communications (dest folder, fileName etc etc) in the doGet() of the DownloadServlet class but no messages are displayed.. On Tue, Mar 4, 2014 at 12:32 PM, Jens jens.nehlme...@gmail.com wrote: The DownloadServlet class is the same in

Re: Download Servlet doesn't work

2014-03-04 Thread Jens
i know, but when i try to download a file i've some communications (dest folder, fileName etc etc) in the doGet() of the DownloadServlet class but no messages are displayed.. Look at your server log file, add log statements to your code if needed. Or run your server in debug mode and

Problems using native JavaScript library (Snap)

2014-03-04 Thread Magnus
Hi, I am currently testing two SVG libraries for use within my GWT application: - SVGJS (http://svgjs.com) - SnapSVG (http://snapsvg.io) The first one, SVGJS, is now working for me, following a good explanationhttps://groups.google.com/d/msg/google-web-toolkit/JmJDMdZKVH0/GsjR6CSmkKIJin

Re: Download Servlet doesn't work

2014-03-04 Thread Davide Micheletti
Solved! i had an anchor with url and i switched it with an HTML a tag and now it works.. On Tue, Mar 4, 2014 at 1:32 PM, Jens jens.nehlme...@gmail.com wrote: i know, but when i try to download a file i've some communications (dest folder, fileName etc etc) in the doGet() of the

Re: Download Servlet doesn't work

2014-03-04 Thread Davide Micheletti
however in the server log there were any errors. On Tue, Mar 4, 2014 at 2:24 PM, Davide Micheletti d.michelett...@gmail.comwrote: Solved! i had an anchor with url and i switched it with an HTML a tag and now it works.. On Tue, Mar 4, 2014 at 1:32 PM, Jens jens.nehlme...@gmail.com wrote:

Re: Problems using native JavaScript library (Snap)

2014-03-04 Thread Thomas Broyer
I find it very strange that you do not use $wnd.SVG() or $wnd.Snap(), but just SVG() or Snap(). When injecting your script, make sure you inject it into the top window (setWindow(ScriptInjector.TOP_WINDOW)), then reference your globals within $wnd. I suppose your errors come from using nodes

Re: Custom widget with custom UiBinder markup

2014-03-04 Thread Steve C
Some additional questions in the absence of a full dev guide: 1. What about a class that extends TabLayoutPanel? I can write and annotate a method addTab(Widget w) in order to use the xxx:tab child instead of g:tab, but what about the grandchild g:header that the g:tab could have had? 2. Can

Re: GWT+Hibernate

2014-03-04 Thread Amir kessentini
Could anywone help me ? i want a clear exemple to understand how hiberbate works with rpc call in gwt -- 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: GWT+Hibernate

2014-03-04 Thread Jens
Hibernate is a server technology and you only have problems if you want to share the same Hibernate classes between server and browser/client. There are tons of resources about hibernate and GWT out there so just read them. Event the GWT homepage has an article about it:

Re: Problems using native JavaScript library (Snap)

2014-03-04 Thread Magnus
Hi Thomas! I find it very strange that you do not use $wnd.SVG() or $wnd.Snap(), but just SVG() or Snap(). When I use $wnd.Snap, I get: Object [object global] has no method 'Snap' And the first library (SVGJS) works without $wnd. I inject like this: LibraryBundle b = GWT.create

Re: SplitLayoutPanel particulars

2014-03-04 Thread Steve C
AFAIK, there is no way to disable a splitter in SplitLayoutPanel. But, you can use a plain LayoutPanel as the container, and its children would be the original right side widget, and the left side as a SplitLayoutPanel with just two pieces (probably West and Center). So, the former East part

Re: Problems using native JavaScript library (Snap)

2014-03-04 Thread Jens
When I use $wnd.Snap, I get: Object [object global] has no method 'Snap' And the first library (SVGJS) works without $wnd. I inject like this: LibraryBundle b = GWT.create (LibraryBundle.class); ScriptInjector.fromString (b.svgLib().getText()).inject(); If you use $wnd you MUST

Boost performance of Widget creation by using DocumentFragment, Range.createContextualFragment or something else?

2014-03-04 Thread Carlos Aguayo
Hi folks, I work with an app that builds hundreds of widgets and obviously has a performance hit. I'm well aware of performance improvements of the sort of: reduce the number of widgets, use directly html, use cell widgets, etc, however those paths are not helpful for me. I'm just interested

Newbie GWT 2.6.0 Question on inheritance - Maybe a bug?

2014-03-04 Thread Jonathan Stevens
Hey Everyone, I am having an issue that showed up in GWT 2.6.0 that was not present in 2.5.1. It seems that if a derived class overrides a method used by the base c-tor, any declared member variables are available in the base. It feels like a scoping issue. I posted a code snippet below. The

Re: Super Dev Mode in Firefox, Breakpoints not being hit

2014-03-04 Thread Brian Slesinsky
In my testing they do sometimes work but it is certainly flaky. I recommend adding a GWT.debugger() call and recompiling; that should always work, unless something is really wrong. - Brian On Monday, March 3, 2014 12:44:06 PM UTC-8, Ben Hegarty wrote: Hi, I was wondering if anyone is seeing

Re: Newbie GWT 2.6.0 Question on inheritance - Maybe a bug?

2014-03-04 Thread Jens
https://code.google.com/p/google-web-toolkit/issues/detail?id=380 The above bug has been fixed in GWT 2.6 and your code has only worked because of that bug. What you are doing doesn't work in pure Java. The reason is that field initializers are executed after the super() call returns but

Re: Super Dev Mode in Firefox, Breakpoints not being hit

2014-03-04 Thread Ben Hegarty
That seems to have helped, so it breaks on the GWT.Debugger() but the breakpoints still seem not to work. At least I have a workaround cheers. On Tuesday, 4 March 2014 18:19:59 UTC, Brian Slesinsky wrote: In my testing they do sometimes work but it is certainly flaky. I recommend adding a

Re: Super Dev Mode in Firefox, Breakpoints not being hit

2014-03-04 Thread Brian Slesinsky
Here's the Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=949118 On Tue, Mar 4, 2014 at 11:52 AM, Ben Hegarty heg...@gmail.com wrote: That seems to have helped, so it breaks on the GWT.Debugger() but the breakpoints still seem not to work. At least I have a workaround cheers.

Development mode testing in IE 11, Chrome

2014-03-04 Thread H Maner
Hello, I have a nice new Windows 8.1 laptop and I am all set with the latest Eclipse and GWT 2.6.0... except... I need to use the Development mode and I cannot launch my application in IE11 and I cannot launch it in Chrome. I am still investigating the IE problem but Chrome will not let me

Re: Datepicker - show 2 months together

2014-03-04 Thread Deepak Singh
Any help please.. On 3 March 2014 01:19, Deepak Singh deepaksingh...@gmail.com wrote: hi All, Is it possible somehow to show 2 months(current and next) calender to show together with GWT 2.6 datepicker ? -- Deepak Singh -- Deepak Singh -- You received this message because you are

Re: Development Mode will not be supported in Firefox 27+

2014-03-04 Thread Joseph Lust
I'm surprised more folks are not excited to jump ship to SuperDevMode. I'd argue Eclipse DevMode is more pain than it's worth. Certainly, it is very cool to have your backend and frontend breakpoints set and hit on the same screen. Yet I've spent a lot of time trying to all of the *Run

Re: Development Mode will not be supported in Firefox 27+

2014-03-04 Thread Ed Bras
I'm surprised more folks are not excited to jump ship to SuperDevMode. I think because many dev peeps use GWT for enterprise projects.(and they should of course)... And for bigger projects, SDM is (still) hard to use (as explained in this post, and I really tried/used it several times).

Re: Newbie GWT 2.6.0 Question on inheritance - Maybe a bug?

2014-03-04 Thread Joseph Lust
Best practice is to only call *final* methods from constructors, or this kind of unexpected behavior can ensue. Sincerely, Joe -- 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

Re: Development Mode will not be supported in Firefox 27+

2014-03-04 Thread Thomas Broyer
And as a corollary, Enterprise culture has a HUGE resistance to change. There are people out there still using GWT 2.4 (more than 2 years old already!) or even older versions. The problem is with these people and that culture; most of the time they chose GWT (and webapps) for bad reasons, and

Re: Newbie GWT 2.6.0 Question on inheritance - Maybe a bug?

2014-03-04 Thread Thomas Broyer
I'd also add that constructors shouldn't do real work: postpone that init to a later point in time, possibly lazy-initializing as/when needed. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop

Re: Problems using native JavaScript library (Snap)

2014-03-04 Thread Magnus
On Tuesday, March 4, 2014 5:55:35 PM UTC+1, Jens wrote: When injecting your script, make sure you inject it into the top window (setWindow(ScriptInjector.TOP_WINDOW)), then reference your globals within $wnd. How exactly would you modify the injection code above? Ehh...by calling

Re: Problems using native JavaScript library (Snap)

2014-03-04 Thread Magnus
Hi, I modified the injection code like this: class MyGraphics { ... public static void injectSnap () { LibraryBundle b = GWT.create (LibraryBundle.class); FromString f = ScriptInjector.fromString (b.srcSnap().getText()); f.setWindow (ScriptInjector.TOP_WINDOW); f.inject(); } }

Re: [gwt-contrib] JavaWriter API as replacement for SourceWriter family

2014-03-04 Thread Andrés Testi
Take a look at this comment of Kevin Bourillion about we they dislike Lombok. I couldn't have said It better: http://www.reddit.com/r/java/comments/1y9e6t/ama_were_the_google_team_behind_guava_dagger/cfjf5v5 - Andrés Testi -- http://groups.google.com/group/Google-Web-Toolkit-Contributors ---