Re: Super dev mode - sourcemap not working anymore

2013-05-21 Thread Martones
Hello Brian, thanks for your answer. I tested the Showcase sample from the 2.5.1 GA bundle and the issue is the same. SDM works well for me. Here is my compilation result which states that source maps are well enabled : Compiling 1 permutation Compiling permutation 0... Source

Re: problem with javax.servlet.ServletContext in gwt-user.jar

2013-05-21 Thread Gabriele Prandini
I'm not deployng the app... the error comes in compile time. Deleting the servletcontext.class in the jar resolved the problem 2013/5/21 Thomas Broyer t.bro...@gmail.com On Monday, May 20, 2013 10:27:17 AM UTC+2, gabriele.prandini wrote: I'm using GWT (2.5.0) with grails (www.grails.org)

Re: problem with javax.servlet.ServletContext in gwt-user.jar

2013-05-21 Thread Jens
During compilation you have a servlet 3.0 vs. servlet 2.5 (which is embedded in gwt-user.jar/gwt-servlet.jar) mismatch. Make sure you have servlet 3.0 api on classpath before gwt-user.jar. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: problem with javax.servlet.ServletContext in gwt-user.jar

2013-05-21 Thread Thomas Broyer
On Tuesday, May 21, 2013 10:30:44 AM UTC+2, gabriele.prandini wrote: I'm not deployng the app... the error comes in compile time. Er, you're running Tomcat at compile-time? (or is the blog you linked to actually unrelated to your issue?) Deleting the servletcontext.class in the jar

Re: Super dev mode - sourcemap not working anymore

2013-05-21 Thread Juan Pablo Gardella
I don't know what is your problem, but try https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/78Hl47eFPKw . 2013/5/21 Martones ludovit.marton...@gmail.com Hello Brian, thanks for your answer. I tested the Showcase sample from the 2.5.1 GA bundle and the issue is the same.

Re: problem with javax.servlet.ServletContext in gwt-user.jar

2013-05-21 Thread Gabriele Prandini
Thanks Jens, i thik the problem is what you explain 2013/5/21 Thomas Broyer t.bro...@gmail.com On Tuesday, May 21, 2013 10:30:44 AM UTC+2, gabriele.prandini wrote: I'm not deployng the app... the error comes in compile time. Er, you're running Tomcat at compile-time? (or is the blog

JPA issue: A parent cannot be established or changed once an object has been persisted.

2013-05-21 Thread Nermin
Dear GWT developers, I have a probably simple problem with my application which I am obviously not able to solve. Two Classes: Company, Tradesman @Entity public class Company { @OneToMany(cascade = CascadeType.ALL, mappedBy = company) private ListTradesman users = new

Re: JPA issue: A parent cannot be established or changed once an object has been persisted.

2013-05-21 Thread Thomas Broyer
On Tuesday, May 21, 2013 11:18:42 AM UTC+2, Nermin wrote: Dear GWT developers, I have a probably simple problem with my application which I am obviously not able to solve. Two Classes: Company, Tradesman @Entity public class Company { @OneToMany(cascade = CascadeType.ALL,

Re: JPA issue: A parent cannot be established or changed once an object has been persisted.

2013-05-21 Thread Juan Pablo Gardella
Update your entity as: @Entity public class Tradesman extends User{ @ManyToOne(optional=false) private Company company; *@PrePersist* public void hashPassword(){ setPassword(BCrypt.hashpw(**entity.getPassword(), BCrypt.gensalt()); } And then check where are you

Re: JPA issue: A parent cannot be established or changed once an object has been persisted.

2013-05-21 Thread Nermin
Dear Juan, I tried *@ManyToOne(optional=false)*, unfortunately no changes. In my current setting, the @PrePersist is called only once. (I see it on system out) That means: no multiple attempts to persist Tradesman entity. However, it looks to me that whenever I change parameters on the

IE9 problem with GWT

2013-05-21 Thread Mike
GWT Release: 2.5.0 Browser: IE9 Our clients have a problem using our web application because, on IE9, when the application shows a message (i.e., to confirm if a file is uploaded or not), the focus remains behind the message shown and it is impossible to interact with the message, so you

Re: JPA issue: A parent cannot be established or changed once an object has been persisted.

2013-05-21 Thread Juan Pablo Gardella
You should persist company before persist Tradesman or attach to an existent company. This relation should be explicit. Create company.addTrademan(Trademan t) method: company.addTrademan(Trademan t){ users.add(t); t.setCompany(this); } Call this in a transactional method. Juan 2013/5/21

Re: IE9 problem with GWT

2013-05-21 Thread Juan Pablo Gardella
How do you show messages? 2013/5/21 Mike miguelaz9...@gmail.com GWT Release: 2.5.0 Browser: IE9 Our clients have a problem using our web application because, on IE9, when the application shows a message (i.e., to confirm if a file is uploaded or not), the focus remains behind the

Re: Handling Violations controlled by groups or Violations not found by default validation

2013-05-21 Thread Alex opn
I just ran into the same issue. As there is no way to get or change the SimpleRequestProcessor im stuck now! Have you found out anything more, Michael Wiles? Am Mittwoch, 27. März 2013 10:52:24 UTC+1 schrieb Michael Wiles: I'm using GWT 2.5.0 and Request Factory. I have configured a

Re: MVP For Popups

2013-05-21 Thread David
Typically you would have a Presenter that initializes your view ( the static dom) , loads your view with data from an async server invocation , and receives requests from the view for more data . Have a look at https://developers.google.com/web-toolkit/articles/mvp-architecture-2. Apart

Re: Handling Violations controlled by groups or Violations not found by default validation

2013-05-21 Thread Jens
By default, GWT calls validator.validate(domain) in ReflectiveServiceLayer.validate(), but you probably want if(domain.getId() == null) { return validator.validate(domain, CreateGroup.class); } return validator.validate(domain, Server/DefaultGroup.class); You can do this by providing a

Re: Super dev mode - sourcemap not working anymore

2013-05-21 Thread Martones
I tryed to reinstall the bookmark, this didnt help. But thanks for your tip ;) -- 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: IE9 problem with GWT

2013-05-21 Thread Honza Rames
If you display the message in DialogBox (or PopupPanel), are you displaying glass to darken the window? If so doesn't the glass overlap your message? It could be a problem of layouting, are you using multiple z-orders in your app? These issues should be easy to figure out in developer tools

Re: Handling Violations controlled by groups or Violations not found by default validation

2013-05-21 Thread Alex opn
Thanks for your answer! Well...propably I'm abusing bean validation (?), but in my case that doesn't help (actually I'm already doing it like this with different groups). I'll try to explain my problem: Basically I've got two validation groups which both should be run on the server-side:

Re: Handling Violations controlled by groups or Violations not found by default validation

2013-05-21 Thread Thomas Broyer
From the point of view of RF, these are just an exception thrown by the service method, like any other. If you want to communicate failure to your client with specific information, then you have to make your service method return a response object containing the status (success/failure) and the

Re: JPA issue: A parent cannot be established or changed once an object has been persisted.

2013-05-21 Thread Alfredo Quiroga
Or use a cascade persist, merge to force creation or merge respectively Sent from my iPhone On May 21, 2013, at 7:02 AM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You should persist company before persist Tradesman or attach to an existent company. This relation should be

Re: Testing GWT without GwtTestCase

2013-05-21 Thread Thad
On Monday, May 20, 2013 2:14:42 PM UTC-4, Goktug Gokdogan wrote: On Mon, May 20, 2013 at 6:42 AM, Thad thad.hu...@gmail.com javascript:wrote: Can anyone clarify for me this Google testing blog entry? http://googletesting.blogspot.com/2009/08/tott-testing-gwt-without-gwttest.html

Re: Offline debugging my gwt app

2013-05-21 Thread yves
Yes hosted.html is included in the CACHE section of the manifest. I don't have a devmode.js file. Yves -- 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: Testing GWT without GwtTestCase

2013-05-21 Thread Jens
I am also in the process of making GWT-RPC method implementation independent of GWT-RPC/Servlet for easier testing. I don't really bother about introducing new short lived objects created for each request. Short living objects are not a real problem in todays JVMs and you can probably save a

Creating clickable links within text

2013-05-21 Thread Joel
I have a cell that contains some text. I would like to create links within the text that are clickable. For, example abc and xyz should be links. I figured on using InlineLabel to create the links within the text. However, since the whole thing is a cell I can't click on the individual

Re: Testing GWT without GwtTestCase

2013-05-21 Thread Joseph Lust
Early on in the presentation Erik also mentions a recently released GWT Mockito setup that might benefit your non-GwtTestCase goals. https://www.youtube.com/watch?v=kilmaSRq49g Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Error: com.google.gwt.user.client.rpc.StatusCodeException: 404 on Tomcat server

2013-05-21 Thread Maurice
Hi Ahmed, Yes the problem was the hosting company did not support GWT. I now use arvixe.com which works fine. http://stackoverflow.com/questions/9691609/gwt-servlet-error-com-google-gwt-user-client-rpc-statuscodeexception-404-on-to Good luck On Monday, May 20, 2013 1:17:58 PM UTC-6, Ahmed

Re: drag and drop group

2013-05-21 Thread bhomass
you mean no body has done this before? On Thursday, May 16, 2013 11:23:02 AM UTC-7, bhomass wrote: I have been using GWT native Dnd successfully. Now I have a need to create Dnd group. This means if Widget A and panel B are in the same group, I want to allow user to drag A into B. C and D

[gwt-contrib] Change in gwt[master]: fixed a typo in StringBuilder

2013-05-21 Thread Daniel Kurka
Daniel Kurka has uploaded a new change for review. https://gwt-review.googlesource.com/2861 Change subject: fixed a typo in StringBuilder .. fixed a typo in StringBuilder Change-Id:

[gwt-contrib] Change in gwt[master]: fixed a typo in StringBuilder

2013-05-21 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: fixed a typo in StringBuilder .. Patch Set 1: Code-Review+1 Hah, LGTM But please make the commit message more descriptive like: Fix typo in method name:

[gwt-contrib] Change in gwt[master]: fixed a typo in StringBuilder

2013-05-21 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: fixed a typo in StringBuilder .. Patch Set 1: Code-Review+2 (1 comment) Commit Message Line 7: fixed a

[gwt-contrib] Change in gwt[master]: Introduces generic Composite widgets.

2013-05-21 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Introduces generic Composite widgets. .. Patch Set 3: (1 comment) I'd vote for removing FocusComposite from this change, to get it merged early, and adding

[gwt-contrib] Change in gwt[master]: fixed a typo in StringBuilder

2013-05-21 Thread Daniel Kurka
Daniel Kurka has submitted this change and it was merged. Change subject: fixed a typo in StringBuilder .. fixed a typo in StringBuilder Change-Id: I640d45e056d90794648a73f7d5546c520d4a41df --- M

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-05-21 Thread John Ahlroos
John Ahlroos has uploaded a new change for review. https://gwt-review.googlesource.com/2900 Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload .. Use JSON.parse() instead of eval() to

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-05-21 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload .. Patch Set 1: Code-Review-2 (2 comments) AFAICT, this change is kind of useless

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-05-21 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload .. Patch Set 1: Brian, I added you as a reviewer as you're the author of the RPC

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-05-21 Thread Colin Alworth
Colin Alworth has posted comments on this change. Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload .. Patch Set 1: (1 comment) The ServerSerializationStreamWriter will also need

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-05-21 Thread John Ahlroos
John Ahlroos has posted comments on this change. Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload .. Patch Set 1: (2 comments)

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-05-21 Thread John Ahlroos
Hello Leeroy Jenkins, Thomas Broyer, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/2900 to look at the new patch set (#2). Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-05-21 Thread John Ahlroos
John Ahlroos has posted comments on this change. Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload .. Patch Set 2: Removed the protocol version for now since it will cause a lot of work

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-05-21 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload .. Patch Set 2: (1 comment) As Colin said, this change is not backwards-compatible

[gwt-contrib] Change in gwt[master]: working on issue 8063, ie10 permutation and ms pointer events

2013-05-21 Thread Manuel Carrasco Moñino
Manuel Carrasco Moñino has posted comments on this change. Change subject: working on issue 8063, ie10 permutation and ms pointer events .. Patch Set 2: Code-Review+1 (4 comments)

Re: [gwt-contrib] Integration Testing Idea

2013-05-21 Thread darkling235
That actually sounds promising. This may be a dumb question but can anyone think of a way to slave the WebDriver and JUNIT together? All I really need is to run a JDBC query or a RPC command before each test runs. As long as I can get the DB into a known state before running each test all my

Re: [gwt-contrib] Moving mailing lists to @gwtproject.org?

2013-05-21 Thread Stephen Haberman
It is slightly redundant, but I think it's nice to keep the option open to create other foo-discuss or bar-contrib mailing lists if the project grows and splits into independent subprojects. True; I like being optimistic about future growth. :-) But I'd also like to avoid the name gwt-users

Re: [gwt-contrib] Integration Testing Idea

2013-05-21 Thread Jens
That actually sounds promising. This may be a dumb question but can anyone think of a way to slave the WebDriver and JUNIT together? Take a look at: http://nadimsaker.blogspot.de/2011/10/how-to-run-selenium-webdriver-code-with.html Before setting up WebDriver in the setUp() method you

[gwt-contrib] Change in gwt[master]: Lint errors

2013-05-21 Thread Roberto Lublinerman
Roberto Lublinerman has uploaded a new change for review. https://gwt-review.googlesource.com/2881 Change subject: Lint errors .. Lint errors Change-Id: I62cc493c7324d42bf6fa36085007cbd59e87933a --- M

[gwt-contrib] Change in gwt[master]: Lint errors

2013-05-21 Thread Roberto Lublinerman
Roberto Lublinerman has abandoned this change. Change subject: Lint errors .. Abandoned Pushed in error. -- To view, visit https://gwt-review.googlesource.com/2881 To unsubscribe, visit

[gwt-contrib] Change in gwt[master]: Chooses a default gwt source level to match the current java...

2013-05-21 Thread Roberto Lublinerman
Hello Leeroy Jenkins, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/2910 to look at the new patch set (#2). Change subject: Chooses a default gwt source level to match the current java runtime.

[gwt-contrib] Change in gwt[master]: Chooses a default gwt source level to match the current java...

2013-05-21 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Chooses a default gwt source level to match the current java runtime. .. Patch Set 1: (1 comment)

[gwt-contrib] Change in gwt[master]: Chooses a default gwt source level to match the current java...

2013-05-21 Thread Roberto Lublinerman
Roberto Lublinerman has posted comments on this change. Change subject: Chooses a default gwt source level to match the current java runtime. .. Patch Set 2: I just noticed that the ApiChecker fails if you are running with

[gwt-contrib] Change in gwt[master]: Chooses a default gwt source level to match the current java...

2013-05-21 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Chooses a default gwt source level to match the current java runtime. .. Patch Set 2: The code should still compile the same as before with either JDK6 or

[gwt-contrib] Change in gwt[master]: Chooses a default gwt source level to match the current java...

2013-05-21 Thread Roberto Lublinerman
Roberto Lublinerman has posted comments on this change. Change subject: Chooses a default gwt source level to match the current java runtime. .. Patch Set 1: (1 comment)

[gwt-contrib] Change in gwt[master]: Chooses a default GWT source level to match the current java...

2013-05-21 Thread Roberto Lublinerman
Hello Leeroy Jenkins, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/2910 to look at the new patch set (#3). Change subject: Chooses a default GWT source level to match the current java runtime.

[gwt-contrib] Change in gwt[master]: Chooses a default GWT source level to match the current java...

2013-05-21 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Chooses a default GWT source level to match the current java runtime. .. Patch Set 3: (1 comment)

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-05-21 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload .. Patch Set 2: Haven't looked at the code yet, but it seems like we should rev the

[gwt-contrib] Change in gwt[master]: Introduces generic Composite widgets.

2013-05-21 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Introduces generic Composite widgets. .. Patch Set 3: (1 comment) Agreed. The patch is growing; I will take the FocusComposite and PanelComposite out but

[gwt-contrib] Change in gwt[master]: Introduces generic Composite widgets.

2013-05-21 Thread Jens Nehlmeier
Jens Nehlmeier has posted comments on this change. Change subject: Introduces generic Composite widgets. .. Patch Set 4: I have once written a widget that does this foo.getDelegate().addXyzHandler() style but it comes with

Re: [gwt-contrib] Do you guys need help in translation, Arabic language specifically?

2013-05-21 Thread John A. Tamplin
On Tue, May 14, 2013 at 2:13 AM, Mohammad Al-Quraian m4des...@gmail.comwrote: I want to try and help improve GWT, and I was wondering if that is possible. I noticed for instance in the Simple Pager, the words are still in English even when the selected locale is Arabic. That particular

[gwt-contrib] Change in gwt[master]: Introduces generic Composite widgets.

2013-05-21 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Introduces generic Composite widgets. .. Patch Set 4: Fair enough, it has to work with UiBinder. Though I suppose UiBinder could check for a delegate (or

[gwt-contrib] Change in gwt[master]: Introduces generic Composite widgets.

2013-05-21 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Introduces generic Composite widgets. .. Patch Set 4: It doesn't work with UIBinder because you are changing the expected semantics of a widget. So even

[gwt-contrib] Change in gwt[master]: Introduces generic Composite widgets.

2013-05-21 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Introduces generic Composite widgets. .. Patch Set 4: Fair enough - I don't understand the particular use cases. My point is that we should make sure they

[gwt-contrib] Change in gwt[master]: Chooses a default GWT source level to match the current java...

2013-05-21 Thread Roberto Lublinerman
Hello Leeroy Jenkins, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/2910 to look at the new patch set (#4). Change subject: Chooses a default GWT source level to match the current java runtime.

[gwt-contrib] Change in gwt[master]: Chooses a default GWT source level to match the current java...

2013-05-21 Thread Roberto Lublinerman
Roberto Lublinerman has posted comments on this change. Change subject: Chooses a default GWT source level to match the current java runtime. .. Patch Set 3: (1 comment)

[gwt-contrib] Change in gwt[master]: Introduces generic Composite widgets.

2013-05-21 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Introduces generic Composite widgets. .. Patch Set 4: I played with a separate method but I didn't find something I like. Actually, I quite like our

[gwt-contrib] Change in gwt[master]: Including the module name in the magic sourceURL comment in ...

2013-05-21 Thread Brian Slesinsky
Brian Slesinsky has submitted this change and it was merged. Change subject: Including the module name in the magic sourceURL comment in code generated by the iframe linker. This gives a bit more context in the browser debugger, and is especially important when including multiple GWT

[gwt-contrib] Change in gwt[master]: Introduces generic Composite widgets.

2013-05-21 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Introduces generic Composite widgets. .. Patch Set 4: It might be possible to intercept the events and update the source after they're generated: class

[gwt-contrib] Change in gwt[master]: Introduces generic Composite widgets.

2013-05-21 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Introduces generic Composite widgets. .. Patch Set 4: This looks like exactly what I have proposed; you might have missed some of the discussion. It is