Re: How to use Request Factory with JPA Hibernate and PostgreSQL ?

2012-09-26 Thread Jens
If you want to use Hibernate I guess the persistence provider is wrong. Looks like its the one of EclipseLink. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Anybody else having a problem with the mac GWT dev plugin in Chrome?

2012-09-26 Thread Jens
I am using stable Chrome Version 21.0.1180.89 and do not have any problems with DevMode plugin on Mac OS (10.8.2). I switched to stable Chrome because lately the DevMode plugin stopped working for me in all the dev versions of Chrome. -- J. Am Mittwoch, 26. September 2012 03:37:59 UTC+2

Re: Need a tool to find out client side coverage .

2012-09-26 Thread Chris Lercher
Thanks for the link, Joseph - it's an old version of eclemma, but it works: It shows client side coverage when running in dev mode (not in production mode). Then again, I'm not sure what the patch does exactly. I installed the unpatched v1.3.2 and v1.5.3 from

Re: [Activities Places] How to save and display the criterias again when hitting the back button ?

2012-09-26 Thread Chris Lercher
On Tuesday, September 25, 2012 5:00:28 PM UTC+2, Celinio Fernandes wrote: How can i save them ? If you always only need the previously selected criteria, you don't have to store them in the token: - Either save the values somewhere in your Java objects (wherever you want). When re-creating

Re: [Activities Places] How to save and display the criterias again when hitting the back button ?

2012-09-26 Thread Chris Lercher
On Wednesday, September 26, 2012 1:55:53 PM UTC+2, Chris Lercher wrote: you can use HTML5 Storagehttps://developers.google.com/web-toolkit/doc/latest/DevGuideHtml5Storage (consider browser support). Forgot to mention: You could also save them in a cookie. -- You received this message

Re: Need a tool to find out client side coverage .

2012-09-26 Thread Joseph Lust
Chris, Indeed, it is old. It still works however, and GWT Coverage is more important to me than moving to v2.1. When getting my whole team to use it, this is easier than asking folks to explode/repackage the jars as the official GWT fix requires. I've looked at the patch on the Google site,

for new object, stableId() not the same before/after persist

2012-09-26 Thread Yan
Hi there, I have an entity proxy object that is created on the client. After persisting into server, I would expect the returned proxy (from server) has the same stableId() (i.e., the two equals) But this is not happening. I thought GWT documentation says the two should equal to each other.

Re: Localize String array

2012-09-26 Thread Honza Rames
Hi, I think you could use plural forms to do that (see GWT documentation on i18n). I'm using a bit simpler way: public interfce MyMessage extends Messages { MyMessages INST = GWT.create(MyMessages.class); String[] TEXTS = {INST.text1(), INST.text2()}; String tetx1(); String text2(); }

Re: Web Viewer for the ALMA Radio Telescope

2012-09-26 Thread El Mentecato Mayor
Satoshi, The link you provided doesn't work for me. It returns: Forbidden You don't have permission to access /portal/alma/sv.do on this server. On Monday, September 24, 2012 3:03:30 AM UTC-4, Satoshi Eguchi wrote: Hello! I'm Satoshi Eguchi, a posdoc of National Astronomical Observatory of

Re: for new object, stableId() not the same before/after persist

2012-09-26 Thread Thomas Broyer
On Wednesday, September 26, 2012 3:42:43 PM UTC+2, Yan wrote: Hi there, I have an entity proxy object that is created on the client. After persisting into server, I would expect the returned proxy (from server) has the same stableId() (i.e., the two equals) But this is not happening. I

RequestFactory polymorphism

2012-09-26 Thread Jakob Mar
public class Foo{ ... public List? extends Base getList(){...} ...} public class Base {...} public class A extends Base{...} public class B extends Base{...} @ProxyFor( value=Foo.class, locator...) public interface FooProxy extends EntityProxy{ public List? extends BaseProxy getList(); public

is this the pattern, re-retrieve server side object after persisting?

2012-09-26 Thread Yan
Hi there, One question about GWT request factory is that both RequestContext and Proxy objects are one-off kind. In other words, a requestContext is fired once and discarded. Because of that, client proxy is not supposed to be kept around, either. In addition, the

Re: RequestFactory polymorphism

2012-09-26 Thread Thomas Broyer
On Wednesday, September 26, 2012 4:25:12 PM UTC+2, Jakob Mar wrote: public class Foo{ ... public List? extends Base getList(){...} ...} public class Base {...} public class A extends Base{...} public class B extends Base{...} @ProxyFor( value=Foo.class, locator...) public interface

Re: is this the pattern, re-retrieve server side object after persisting?

2012-09-26 Thread Thomas Broyer
On Wednesday, September 26, 2012 4:30:20 PM UTC+2, Yan wrote: Hi there, One question about GWT request factory is that both RequestContext and Proxy objects are one-off kind. In other words, a requestContext is fired once and discarded. Because of that, client proxy is not supposed to

Re: How to use Request Factory with JPA Hibernate and PostgreSQL ?

2012-09-26 Thread Manuel
Hmm ok.. so whats the provider? Found this org.hibernate.ejb.HibernatePersistence one. I updated the provider and put my class (Worker.java) in the persistence.xml but Iam still get an exception: When i create the EntityManagerFactory, ReflectiveServiceLayer.invoke(Method domainMethod,

Re: RequestFactory polymorphism

2012-09-26 Thread Jakob Mar
Tank you Thomas, that worked. However when using InProcessRequestTransport and SimpleRequestProcessor (which I use for testing) this doesn't work. I only get BaseProxy instances. On Wednesday, September 26, 2012 2:36:16 PM UTC, Thomas Broyer wrote: On Wednesday, September 26, 2012 4:25:12 PM

Re: How to use Request Factory with JPA Hibernate and PostgreSQL ?

2012-09-26 Thread Manuel
Some more Info: Thats the Worker.java class: package de.mash.project.server; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.GeneratedValue; import

GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jambi
Hey guys, today I was starting my gwt app in Chrome and there appears a message that the dev plugin couldn´t be loaded. I think this could be the fault of an auto update... Does anyone else have this issue on Mac osx with Chrome 22.0.1229.79 and dev plugin 1.0.9738? this drives me crazy oO!

Re: How to use Request Factory with JPA Hibernate and PostgreSQL ?

2012-09-26 Thread Manuel
Btw, do I have to disable App Engine ? Actually My Project-Propertys-Google-App Engine- Use Google App Engine is set. Do I have to configurate jdoconfig.xml? When i use the following persistence.xml I dont get the exception anymore, buts its still not working :( Thats the output: Sep 26,

Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread John
YES!! And I thought maybe uninstalling/reinstalling the plugin might help, but it doesn't reinstall. :( On Wednesday, September 26, 2012 12:49:08 PM UTC-4, Jambi wrote: Hey guys, today I was starting my gwt app in Chrome and there appears a message that the dev plugin couldn´t be loaded.

Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jambi
ah ok! have you figured out a convienient way to roll back the versioning? maybe someone has an idea which old version to use. I was trying an older beta but it still won´t work Am Mittwoch, 26. September 2012 19:23:25 UTC+2 schrieb John: YES!! And I thought maybe uninstalling/reinstalling

Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jens
It works with stable Chrome 21.x.xxx. Just don't use the Chrome Beta build. -- J. Am Mittwoch, 26. September 2012 18:49:08 UTC+2 schrieb Jambi: Hey guys, today I was starting my gwt app in Chrome and there appears a message that the dev plugin couldn´t be loaded. I think this could be the

Re: DevMode not working in Chrome after update

2012-09-26 Thread Brandon Donnelson
Chrome won't load my GWT DevMode plugin in my chromes? Whats the deal? *How to installed on my mac...* 1. Click on the gwt devmode plugin and it downloads and wants to install. 2. Goto downloads in finder and drag that file onto the chrome://extensions page and it will install. -- You

Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread John
No, just jumped over to Firefox. What a pain! On Wednesday, September 26, 2012 1:35:29 PM UTC-4, Jambi wrote: ah ok! have you figured out a convienient way to roll back the versioning? maybe someone has an idea which old version to use. I was trying an older beta but it still won´t work

Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jambi
Thanks! It works! here some links: http://mac.oldapps.com/google_chrome.php?old_chrome=1242 http://osxdaily.com/2012/04/06/disable-google-chrome-automatic-software-update/ Am Mittwoch, 26. September 2012 19:41:59 UTC+2 schrieb Jens: It works with stable Chrome 21.x.xxx. Just don't use the

Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jens
You should also consider using Firefox during development. The DevMode plugin for Firefox is *a lot faster* than the Chrome plugin. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jambi
Yes, usually i do. But right now i´m developing with MGWT (so webkit only). Am Mittwoch, 26. September 2012 20:01:37 UTC+2 schrieb Jens: You should also consider using Firefox during development. The DevMode plugin for Firefox is *a lot faster* than the Chrome plugin. -- J. -- You

Re: DevMode not working in Chrome after update

2012-09-26 Thread Joseph Lust
Hmm, wish I could say that worked on my 2011 MacBook Pro 10.7.4 ( 22.0.1229.79). Followed everyone else's instructions and installed with the drag and drop method, and I can see the extension in the ToolsExtension's page, but still no love. It is worth noting the when no GWT plugin is

Re: DevMode not working in Chrome after update

2012-09-26 Thread Thad
This morning I upgraded Chrome on openSUSE 12.2 from v19 to v22 and DevMode stopped working. I fixed this by going to menu - Settings - Extensions and checking Allow in incognito. I dunno what the means or why it works, but DevMode is now working. Go figure... On Wednesday, September 26,

Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Thad
I've got it working! See https://groups.google.com/d/msg/google-web-toolkit/jDg3KoXoVPc/9PcgFBvLJM8J On Wednesday, September 26, 2012 12:49:08 PM UTC-4, Jambi wrote: Hey guys, today I was starting my gwt app in Chrome and there appears a message that the dev plugin couldn´t be loaded. I

Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jambi
Thanks for the hint! I´ll try it later Am Mittwoch, 26. September 2012 20:57:15 UTC+2 schrieb Thad: I've got it working! See https://groups.google.com/d/msg/google-web-toolkit/jDg3KoXoVPc/9PcgFBvLJM8J On Wednesday, September 26, 2012 12:49:08 PM UTC-4, Jambi wrote: Hey guys, today I was

Re: GWT Designer - Can't create SWT Browser

2012-09-26 Thread Jeff Chimene
Haven't a clue. On Wed, Sep 26, 2012 at 12:19 PM, Magnus alpineblas...@googlemail.comwrote: Hi jchimene, the thread your link points to suggests several settings. I first tried adding the path, without change. Then I added both variables to eclipse.ini:

Re: How to use Request Factory with JPA Hibernate and PostgreSQL ?

2012-09-26 Thread Manuel
Hey, I use the following persistence.xml now. I dont get a exception anymore but I still dont get any records saved into my database either. I also should see some SQL statements in my console if he would commit any SQL, right? I dont see any SQL :( If I change databasename or password to any

Re: DevMode not working in Chrome after update

2012-09-26 Thread Brandon Donnelson
The incognito trick didn't work for me on mac osx chrome... -- 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/-/vCYGBAv6XtoJ. To post to this group,

Re: DevMode not working in Chrome after update

2012-09-26 Thread Brandon Donnelson
Workaround works for me, by downloading an older version, Chrome 21 on my mac... Not ideal, but works... http://mac.oldapps.com/google_chrome.php 1. download dmg 2. extract to desktop 3. rename to Chrome21 4. drag to applications 5. Run development mode, right click link and add browser,

Re: DevMode not working in Chrome after update

2012-09-26 Thread Casey
The incognito trick didn't work for me on mac osx chrome... didn't work for me either. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

[gwt-contrib] Re: Upgraded the devmode Chrome extension to manifest version 2. (issue1840803)

2012-09-26 Thread skybrian
http://gwt-code-reviews.appspot.com/1840803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Upgraded the devmode Chrome extension to manifest version 2. (issue1840803)

2012-09-26 Thread jat
LGTM, though I still wonder if you want -style PRETTY to be the default. http://gwt-code-reviews.appspot.com/1840803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Upgraded the devmode Chrome extension to manifest version 2. (issue1840803)

2012-09-26 Thread skybrian
On 2012/09/26 18:51:33, jtamplin wrote: LGTM, though I still wonder if you want -style PRETTY to be the default. It only increases the size of the zipped extension by about 5% (from 349k to 365k). I think I'd rather leave it on since it makes debugging easier.

[gwt-contrib] Re: Upgraded the devmode Chrome extension to manifest version 2. (issue1840803)

2012-09-26 Thread jat
LGTM http://gwt-code-reviews.appspot.com/1840803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Upgraded the devmode Chrome extension to manifest version 2. (issue1840803)

2012-09-26 Thread skybrian
For comparison, the Firefox extension is now a 7M download, due to having a separate binary for each version of Firefox * three platforms. http://gwt-code-reviews.appspot.com/1840803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors