Wednesday, February 27, 2013

Re: EAR application with war (GWT) and JPA

Yes, you loose alot of extensiblity with that, but it is a very stable solution though. Also can be a little restricting when you start dealing with nested DAO objects

kara


On Wed, Feb 27, 2013 at 4:47 PM, Kris <klindp@gmail.com> wrote:
I ended up with a solution where I in the GWT server implementation convert the Entity Bean class to a plain POJO that implements IsSerializable. 
Not the nicest solution :) 

Kris


On Thursday, February 21, 2013 4:33:20 PM UTC-8, Kris wrote:
I have a maven project consisting of a parent project with 3 modules. 

1. Modul is a GWT webapp. 
2. Modul is a jar module using session beans and Hibernate. called server module
3. Modules is module that builds the ear file ( maven-ear-plugin ) 

In the webapp I created a GWT gui than can create records in the database. 
It does that with an injected session bean from the server module. 

Second I can search for records in the database. 
This is also done vie the session bean. 
And here is the problem. 

I have a hibernate entity bean in the server module. Product
When searching the session bean returns a list of product beans to the GWT server implementation. 

The webapp knows about the product bean cause maven dependencies. 

I would like this list of products to be listed in the gui. 

But when compiling : 
No source code is available for type com.xx.yy.server.model.Product

Sure enough, the product bean in a maven dependency. 

I can of cause create a new product DTO in the webapp an convert the product bean to this product DTO... but that sounds stupid. 

Anyone got a good solution for this. 









--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/dhA7PxGfpJg/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.

To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

adding custom widget to FormPanel

Hi,

I am using GWT 2.5.0.  

I have a FormPanel that has several "normal" form widgets.  I have a custom widget that extends Composite and implements HasName and HasValue<String>.  All the setters and getters are implemented.  However, when the form is submitted it does not seem to recognized the custom widget.  There are no errors it is just that the value of the custom widget is ignored.

Is there special magic for making a custom form widget?

Seven

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: Problem use GWT 2.5.0 Super Dev Mode

Here is a blog post I wrote on getting the code server running with the Elemental library.  You might find stuff in it that is useful.




On Wednesday, February 27, 2013 1:09:59 AM UTC-8, Dominic Warzok wrote:
Hey I try to use Super Dev Mode in my web app. 

But I always get the message
 "Can't find any GWT Modules on this page. code server"

I follow these Steps to get Super Dev Mode running in eclipse: 

1. add <add-linker name="xsiframe" />
<set-configuration-property name="devModeRedirectEnabled" value="true" />
 to my webapp.xml

2. build a new Java configuration "Run as Java App"
3. Start up code server Output:
A lot of compiling packages and this:
     Source Maps Enabled
   Compile of permutations succeeded
Linking into C:\Users\warzok\AppData\Local\Temp\gwt-codeserver-2196663031883485286.tmp\com.SchumannGmbH.cam.web.Web_CAM\compile-1\war\web_cam; Writing extras to C:\Users\warzok\AppData\Local\Temp\gwt-codeserver-2196663031883485286.tmp\com.SchumannGmbH.cam.web.Web_CAM\compile-1\extras\web_cam
   Link succeeded
   Compilation succeeded -- 50,274s
Compile completed in 50873 ms
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation

The code server is ready.
4. Run normal dev mode with these  programm arguments:

-war "${workspace_loc:Web-CAM/war}" -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl Web_CAM.html -logLevel INFO -codeServerPort 4321 -port 8888 com.SchumannGmbH.cam.web.Web_CAM
 
Maybe here is the error ?! 

6. Click Dev Mode On 

If I set up a Testproject this will work but not with my bigger webapp, 

Any sugesstions 

Thanks in advance . 








--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: EAR application with war (GWT) and JPA

I ended up with a solution where I in the GWT server implementation convert the Entity Bean class to a plain POJO that implements IsSerializable. 
Not the nicest solution :) 

Kris


On Thursday, February 21, 2013 4:33:20 PM UTC-8, Kris wrote:
I have a maven project consisting of a parent project with 3 modules. 

1. Modul is a GWT webapp. 
2. Modul is a jar module using session beans and Hibernate. called server module
3. Modules is module that builds the ear file ( maven-ear-plugin ) 

In the webapp I created a GWT gui than can create records in the database. 
It does that with an injected session bean from the server module. 

Second I can search for records in the database. 
This is also done vie the session bean. 
And here is the problem. 

I have a hibernate entity bean in the server module. Product
When searching the session bean returns a list of product beans to the GWT server implementation. 

The webapp knows about the product bean cause maven dependencies. 

I would like this list of products to be listed in the gui. 

But when compiling : 
No source code is available for type com.xx.yy.server.model.Product

Sure enough, the product bean in a maven dependency. 

I can of cause create a new product DTO in the webapp an convert the product bean to this product DTO... but that sounds stupid. 

Anyone got a good solution for this. 









--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: Could not load GWT DMP Plugin

Why don't the automatic updates install 11357? I can attest, hundreds of times over, that the auto updates install 11338. And 11338 has issues.  

On Wed, Feb 27, 2013 at 12:53 PM, Brian Slesinsky <skybrian@google.com> wrote:
Please uninstall and reinstall from the Chrome store to get the latest version (11357).



On Wed, Feb 27, 2013 at 7:22 AM, David Briney <david.briney@gmail.com> wrote:
I still ... months later ... have to remove GWT Plugin version 1.0.11338 several times daily and replace it with a reliable old version (9738). This is because 11338 crashes - will not load into Chrome 25.0.1364.97 m. To say this is aggravating is an understatement. Suggestions? 


On Fri, Jan 4, 2013 at 3:45 PM, Brian Slesinsky <skybrian@google.com> wrote:
We switched to the Chrome store fairly recently and the migration isn't finished yet. For now you'll have to uninstall and reinstall.

- Brian


On Fri, Jan 4, 2013 at 2:17 PM, David Briney <david.briney@gmail.com> wrote:
Is GWT DMP 1.0.11357 available to the public? When I update my Chrome extensions, that process comes back with 1.0.11338, which, assuming the versioning is in numeric order, predates 11357. v 11338 doesn't work for me.

On Fri, Jan 4, 2013 at 2:38 PM, Brian Slesinsky <skybrian@google.com> wrote:
I just tried it and it works for me.

Windows 7 Enterprise
Chrome 33.0.1271.97 m
Plugin 1.0.11357

I tested by launching the Showcase sample app in dev mode.

I hadn't noticed earlier that your plugin version seems to be old. Could you try installing it from the web store?



On Fri, Jan 4, 2013 at 1:13 PM, David Briney <david.briney@gmail.com> wrote:
Crickets?


On Wed, Jan 2, 2013 at 11:31 AM, David Briney <david.briney@gmail.com> wrote:
Chrome 23.0.1271.97 (m) is the most recent version. What version do you suggest I roll back to (assuming I can even find it)?


On Wed, Jan 2, 2013 at 11:14 AM, Brian Slesinsky <skybrian@google.com> wrote:
Unlikely. A different version of Chrome is more likely to help.


On Wed, Jan 2, 2013 at 10:10 AM, David Briney <david.briney@gmail.com> wrote:
Win 7 Enterprise. Could IntelliJ (I'm using 11.1.4) be a factor?


On Wed, Jan 2, 2013 at 11:06 AM, Brian Slesinsky <skybrian@google.com> wrote:
Which OS?


On Wed, Jan 2, 2013 at 9:59 AM, David Briney <david.briney@gmail.com> wrote:
Brian,

GWT Dev plugin 1.0.11338 plus Chrome 23.0.1271.97 either crashes or will not load. When will this be addressed?

Thanks,
David Briney


On Mon, Nov 26, 2012 at 4:57 PM, Thomas Broyer <t.broyer@gmail.com> wrote:


On Monday, November 26, 2012 9:15:09 PM UTC+1, Mark Bosshard wrote:
Hey Brian

It says "Your computer doesnt support this App" when I try downloading it from the appstore.

Are you on Windows 8? Windows 8 makes it impossible to support NPAPI plugins in Chrome.
 
However with drag and drop I get the gwt-plugin working, but it crashes with this error "Could not load GWT DMP" Plugin. I added 0.0.0.0, 127.0.0.1 as well as localhost both in server and local in the table of the gwt plugin options. So - no chance on chrome.

Have you tried SuperDevMode?
 
I tried firefox. Downloaded the normal today's version of firefox on mozilla.org. But: The Plugin is not accepted by Firefox since today we're on version 17 and the GWT Plugin is outdated.

This means: Your GWT Plugin is right now only working on Internet Explorer as a major windows browser. THATS A PAIN IN THE ASS

Yes.

--
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/-/oZg7ih0L5lcJ.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/4fWzySzpbtQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.

To post to this group, send email to google-web-toolkit@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/4fWzySzpbtQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.

To post to this group, send email to google-web-toolkit@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: Could not load GWT DMP Plugin

Please uninstall and reinstall from the Chrome store to get the latest version (11357).



On Wed, Feb 27, 2013 at 7:22 AM, David Briney <david.briney@gmail.com> wrote:
I still ... months later ... have to remove GWT Plugin version 1.0.11338 several times daily and replace it with a reliable old version (9738). This is because 11338 crashes - will not load into Chrome 25.0.1364.97 m. To say this is aggravating is an understatement. Suggestions? 


On Fri, Jan 4, 2013 at 3:45 PM, Brian Slesinsky <skybrian@google.com> wrote:
We switched to the Chrome store fairly recently and the migration isn't finished yet. For now you'll have to uninstall and reinstall.

- Brian


On Fri, Jan 4, 2013 at 2:17 PM, David Briney <david.briney@gmail.com> wrote:
Is GWT DMP 1.0.11357 available to the public? When I update my Chrome extensions, that process comes back with 1.0.11338, which, assuming the versioning is in numeric order, predates 11357. v 11338 doesn't work for me.

On Fri, Jan 4, 2013 at 2:38 PM, Brian Slesinsky <skybrian@google.com> wrote:
I just tried it and it works for me.

Windows 7 Enterprise
Chrome 33.0.1271.97 m
Plugin 1.0.11357

I tested by launching the Showcase sample app in dev mode.

I hadn't noticed earlier that your plugin version seems to be old. Could you try installing it from the web store?



On Fri, Jan 4, 2013 at 1:13 PM, David Briney <david.briney@gmail.com> wrote:
Crickets?


On Wed, Jan 2, 2013 at 11:31 AM, David Briney <david.briney@gmail.com> wrote:
Chrome 23.0.1271.97 (m) is the most recent version. What version do you suggest I roll back to (assuming I can even find it)?


On Wed, Jan 2, 2013 at 11:14 AM, Brian Slesinsky <skybrian@google.com> wrote:
Unlikely. A different version of Chrome is more likely to help.


On Wed, Jan 2, 2013 at 10:10 AM, David Briney <david.briney@gmail.com> wrote:
Win 7 Enterprise. Could IntelliJ (I'm using 11.1.4) be a factor?


On Wed, Jan 2, 2013 at 11:06 AM, Brian Slesinsky <skybrian@google.com> wrote:
Which OS?


On Wed, Jan 2, 2013 at 9:59 AM, David Briney <david.briney@gmail.com> wrote:
Brian,

GWT Dev plugin 1.0.11338 plus Chrome 23.0.1271.97 either crashes or will not load. When will this be addressed?

Thanks,
David Briney


On Mon, Nov 26, 2012 at 4:57 PM, Thomas Broyer <t.broyer@gmail.com> wrote:


On Monday, November 26, 2012 9:15:09 PM UTC+1, Mark Bosshard wrote:
Hey Brian

It says "Your computer doesnt support this App" when I try downloading it from the appstore.

Are you on Windows 8? Windows 8 makes it impossible to support NPAPI plugins in Chrome.
 
However with drag and drop I get the gwt-plugin working, but it crashes with this error "Could not load GWT DMP" Plugin. I added 0.0.0.0, 127.0.0.1 as well as localhost both in server and local in the table of the gwt plugin options. So - no chance on chrome.

Have you tried SuperDevMode?
 
I tried firefox. Downloaded the normal today's version of firefox on mozilla.org. But: The Plugin is not accepted by Firefox since today we're on version 17 and the GWT Plugin is outdated.

This means: Your GWT Plugin is right now only working on Internet Explorer as a major windows browser. THATS A PAIN IN THE ASS

Yes.

--
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/-/oZg7ih0L5lcJ.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/4fWzySzpbtQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.

To post to this group, send email to google-web-toolkit@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: How to disable drag and top on mouse move over image?

Hey,

even if this is a pretty old post, I had the same problem.

I used to fix it this way:

resizeImage.addMouseDownHandler(new MouseDownHandler(){
                    public void onMouseDown(MouseDownEvent event) {
                    event.preventDefault();
                    }
                    });

Does anyone know if this causes onmousedown="return false; ?

Nevertheless it would still be interesting how to set onmousedown="return false; directly.

Regards,
Manuel

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.