Re: RequestFactory 2.4: save entities with multiple sub entities, can only get the first one at server side.

2012-05-29 Thread Ashwin Desikan
Additionally, try using List instead of Set. It works for me when I faced similar issues. Only problem would be you will have to manage any redundancy with List ~Ashwin Sent from my iPhone On May 29, 2012, at 11:20 AM, Thomas Broyer t.bro...@gmail.com wrote: There are unfortunately many

what is the function of gwt-unitcache directory (not under target directory)?

2012-05-29 Thread tong123123
I try to run mvn:clean install and the content in gwt-unitCache (not the one in target directory, but the one directly under the project folder) will not changed, so what is its use? Could I not commit this folder in svn if it is not important? -- You received this message because you are

Re: RequestFactory 2.4: save entities with multiple sub entities, can only get the first one at server side.

2012-05-29 Thread July G
Thank you guys, i changed to List and it works. BTW before i use EntityProxy in Set which lead to error, other than ValueProxy On Tue, May 29, 2012 at 2:04 PM, Ashwin Desikan ashwin.desi...@gmail.comwrote: Additionally, try using List instead of Set. It works for me when I faced similar

Re: Editor persist throws A request is already in progress

2012-05-29 Thread Thomas Broyer
A RequestContext is a builder; you queue things into it and then fire(). Once fire()d, it's no longer usable; you have to create a new one and start over. On Tuesday, May 29, 2012 2:02:07 AM UTC+2, jmbz84 wrote: Hello, I'm trying to set up a basic editor in gwt. Everything works fine, the

Re: what is the function of gwt-unitcache directory (not under target directory)?

2012-05-29 Thread Thomas Broyer
On Tuesday, May 29, 2012 8:53:07 AM UTC+2, tong123123 wrote: I try to run mvn:clean install and the content in gwt-unitCache (not the one in target directory, but the one directly under the project folder) will not changed, so what is its use? Could I not commit this folder in svn if it

Re: How to Connect MySQL Connection?

2012-05-29 Thread Philippe Lhoste
On 24/05/2012 15:07, Mahe wrote: I am Mahesh, new in GWT and Java. I want to create one application in that. Actually I do basic application like stop-watcher. But now i want connect my database to application and do dynamic application means like store all value in database of user registration

How to make CellTable Header always on top

2012-05-29 Thread tong123123
In my application, I have a scrollpanel and a celltable inside the scrollPanel, most of the column in the celltable is sortable, the problem is that when the record in the celltable is large and when the user scroll down, the celltable header will be hide. is it possible to make the celltable

Re: GWT and HttpServletResponse

2012-05-29 Thread Akis
The generated file has to be automatically downloaded on button pressing. Maybe, in future, the generated file could also be a zip file, containing several resources generated from input client-side data, so it could also be a large file -- You received this message because you are subscribed to

Re: How to make CellTable Header always on top

2012-05-29 Thread Thomas Broyer
On Tuesday, May 29, 2012 11:15:16 AM UTC+2, tong123123 wrote: In my application, I have a scrollpanel and a celltable inside the scrollPanel, most of the column in the celltable is sortable, the problem is that when the record in the celltable is large and when the user scroll down, the

Large Project Structure

2012-05-29 Thread Niraj Salot
Hi All, What should be consider as Best Practice for Large Project Structure ? We have multiple modules inside the projects. Also We would like to make sure that single change in one module does not require compile of all the files. It should be just that module only. How to achieve this in GWT

Re: Large Project Structure

2012-05-29 Thread Кирилл Карпенко
You can think about Maven as building toolkit for your project. It's allow you to make a hierarchical and linear dependencies between modules which decrease project total complexity. More details you can find here: http://maven.apache.org and here: http://mojo.codehaus.org/gwt-maven-plugin/

Re: Large Project Structure

2012-05-29 Thread Thomas Broyer
On Tuesday, May 29, 2012 1:26:10 PM UTC+2, Niraj Salot wrote: Hi All, What should be consider as Best Practice for Large Project Structure ? We have multiple modules inside the projects. Also We would like to make sure that single change in one module does not require compile of all

Re: GWT Celltable How to make Non-Editable cell in Editable column

2012-05-29 Thread sanjay puri
On Wednesday, November 2, 2011 12:20:51 PM UTC+5:30, vaibhav gwt wrote: Thanks Ozgur. public void render(com.google.gwt.cell.client.Cell.Context context, String value, SafeHtmlBuilder sb) { if(context.getColumn()==2

Re: Error with GWT 2.4

2012-05-29 Thread skippy
Thanks for the tip. ChromeFrame was not installed. This was a brand new build of a laptop. However, I found a registry setting in internet settings/user agent/ post platform/chromeframe/15.0.874.121. the full path of the key is: HKey_local_Machine/Software/microsoft/Windows/current

Debugging is terribly slow

2012-05-29 Thread Magnus
Hi, debugging my web app is terribly slow. It's so slow that chrome keeps on opening this small window offering to kill the app. It's a GWT app with a mysql backend... What can I do? Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Debugging is terribly slow

2012-05-29 Thread Magnus
I forgot to say that I use eclipse as a ide. Magnus -- 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/-/6m86vZmXCfcJ. To post to this group, send

Re: Debugging is terribly slow

2012-05-29 Thread Juan Pablo Gardella
Use firefox 2012/5/29 Magnus alpineblas...@googlemail.com I forgot to say that I use eclipse as a ide. Magnus -- 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: making Anchor look like a normal link

2012-05-29 Thread Joseph Lust
Depending on how you're implementing your hyperlinks (if they are foo links), then you could add a method to your handler to first check if the user is authenticated, and then forward them to the target of the link. Of course foo links would need to be considerate of the CTRL+click, middle

Re: Editor persist throws A request is already in progress

2012-05-29 Thread jmbz84
Thanks for the reply, In order to create a new RequestContext what I must do is call the : editorContainer.edit(requestFactory.getComposerRequest()); before I save for the second time? It means that I have to re-initialize the editor once I save it. On 29 mayo, 02:25, Thomas Broyer

Re: Unable To install GWT Developer Plug in for IE

2012-05-29 Thread skippy
I have seen this when there is a proxy server between you and that site. I have to go home to install the plug-in. Try downloading the jar/zip file. There are instructions on installing from local. On May 23, 1:57 pm, David dhy...@gmail.com wrote: I am getting 404 errors for both the IE and IE

Overlay Instantiation from within JavaScript

2012-05-29 Thread WebDude
I have a simple JavaScript overlay class. How do I instantiate an instance of this class from within JavaScript (JSNI)? -- 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: Overlay Instantiation from within JavaScript

2012-05-29 Thread Thomas Broyer
On Tuesday, May 29, 2012 9:46:32 PM UTC+2, WebDude wrote: I have a simple JavaScript overlay class. How do I instantiate an instance of this class from within JavaScript (JSNI)? The whole point of overlays is that they're not real classes, they're not things that you instantiate (they

Re: Editor persist throws A request is already in progress

2012-05-29 Thread Thomas Broyer
On Tuesday, May 29, 2012 7:09:39 PM UTC+2, jmbz84 wrote: Thanks for the reply, In order to create a new RequestContext what I must do is call the : editorContainer.edit(requestFactory.getComposerRequest()); before I save for the second time? It means that I have to re-initialize

Re: Overlay Instantiation from within JavaScript

2012-05-29 Thread WebDude
On Tuesday, May 29, 2012 1:15:58 PM UTC-7, Thomas Broyer wrote: On Tuesday, May 29, 2012 9:46:32 PM UTC+2, WebDude wrote: I have a simple JavaScript overlay class. How do I instantiate an instance of this class from within JavaScript (JSNI)? The whole point of overlays is that they're

Re: GWT Mobile App Widgets

2012-05-29 Thread Daniel Kurka
sorry for not picking this up on the group earlier ( we have a seperate mgwt user group) ff is supported for dev time though 2012/5/2 AgitoM karel.m...@gmail.com Hi Daniel, Tried the mgwt, but it seems that the framework also only support webkit based browsers? I got some errors when

Re: GWT and HttpServletResponse

2012-05-29 Thread kim young ill
On Tue, May 29, 2012 at 11:46 AM, Akis akismitra...@gmail.com wrote: The generated file has to be automatically downloaded on button pressing. Maybe, in future, the generated file could also be a zip file, containing several resources generated from input client-side data, so it could also be

Re: How to Connect MySQL Connection?

2012-05-29 Thread Rob
Hi, These post(s) may help: - http://uptick.com.au/content/working-gwt-jpa-hibernate-and-hsqldb Cheers Rob http://code.google.com/p/gwt-cx/ On May 29, 7:11 pm, Philippe Lhoste phi...@gmx.net wrote: On 24/05/2012 15:07, Mahe wrote: I am Mahesh, new in GWT and Java. I want to create one

Any way to structure a project with WEB-INF in eclipse project root

2012-05-29 Thread leemon
I need to migrate a number of old (and large) gwt 1.5 projects to 2.4 They are all set up in source control with an /html folder for the generated javascript and the WEB-INF directory located in the Eclipse project root. Is there any way to avoid restructuring all these projects in source

Re: Editor persist throws A request is already in progress

2012-05-29 Thread jmbz84
Modified the code , it is working now. Thanks for the help // //Method in the ComposerEditorContainer class // public ComposerProxy save() { ComposerRequest composerRequest = (ComposerRequest) editorDriver .flush(); final

Re: How to make CellTable Header always on top

2012-05-29 Thread Kei Kei
When I change my application from using CellTable to DataGrid, then nothing can be shown on the result page!! then I try to test the example in http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/cellview/client/DataGrid.html with just very minor modification (as attahced

Re: [gwt-contrib] HELP: Generated Javascript contains wrong prototype assignments

2012-05-29 Thread Jens
Boy will this be a hard one to fix without a stable repro case. I hope you keep around a repeatable broken build. Yes I do. Hopefully I can convert our app into a broken sample project that we can share. The code responsible for generating prototype assignments is here, you can see:

[gwt-contrib] Packaging issue: org.json and RequestFactory

2012-05-29 Thread Thomas Broyer
Hi all, it looks like there's an issue in packaging the GWT SDK (and GWT maven artifacts): org.json is not bundled gwt-user. That makes it harder to use RequestFactory out-of-the-box, as DevMode will have NoClassDefFoundErrors when trying to *send* a request to the server. org.json is bundled

Re: [gwt-contrib] Contributor License Agreements question

2012-05-29 Thread Rajeev Dayal
Just verified that you're added to the corporate CLA list. I think I was looking at an outdated spreadsheet. You're all good! On Fri May 25 10:15:54 GMT-400 2012, Alexandre Ardhuin alexandre.ardh...@gmail.com wrote: Confirmation email forwarded. Thanks, Alexandre 2012/5/25 Rajeev Dayal

[gwt-contrib] Re: Add Integer.TYPE, etc. (issue1710804)

2012-05-29 Thread rdayal
Hey Stephen - I'll do some digging and see what I can find out. Do you mind posting your updated config file as part of the patch? http://gwt-code-reviews.appspot.com/1710804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add Integer.TYPE, etc. (issue1710804)

2012-05-29 Thread stephen . haberman
On 2012/05/29 15:52:37, rdayal wrote: Do you mind posting your updated config file as part of the patch? I would if I had anything worth posting, but I didn't get to that point. I didn't get past the SafeUriHostedModeUtils error and have since deleted my crude attempt at the

[gwt-contrib] Re: DefaultProxyStore violated ProxyStore#nextId contract. (issue1622803)

2012-05-29 Thread rdayal
http://gwt-code-reviews.appspot.com/1622803/diff/6001/user/src/com/google/web/bindery/requestfactory/shared/DefaultProxyStore.java File user/src/com/google/web/bindery/requestfactory/shared/DefaultProxyStore.java (right):

[gwt-contrib] Re: Fix issue 6710: entities referenced from list of value proxies (issue1646803)

2012-05-29 Thread rdayal
https://gwt-code-reviews.appspot.com/1646803/diff/1/user/src/com/google/web/bindery/requestfactory/server/Resolver.java File user/src/com/google/web/bindery/requestfactory/server/Resolver.java (right):

[gwt-contrib] Re: Fix issue 6710: entities referenced from list of value proxies (issue1646803)

2012-05-29 Thread rdayal
https://gwt-code-reviews.appspot.com/1646803/diff/1/user/src/com/google/web/bindery/requestfactory/server/Resolver.java File user/src/com/google/web/bindery/requestfactory/server/Resolver.java (right):

[gwt-contrib] Adding the GWT 2.4_2.5 API Checker configuration file. Many API changes were added to the 2.3_2... (issue1721803)

2012-05-29 Thread jlabanca
Reviewers: rdayal, Description: Adding the GWT 2.4_2.5 API Checker configuration file. Many API changes were added to the 2.3_2.4 file because we never created the 2.4_2.5 config file, so there are a bunch of API change exceptions that had to be copied. Pretty normal, but we should get into

[gwt-contrib] Re: Add Integer.TYPE, etc. (issue1710804)

2012-05-29 Thread jlabanca
I created http://gwt-code-reviews.appspot.com/1721803/ to update the API checker config file. Its a fairly simple process, but since we only do it 2-3 times per year, we always forget how. I'll submit your change after the API Checker config file is updated. We should just need to add these

[gwt-contrib] Re: DefaultProxyStore violated ProxyStore#nextId contract. (issue1622803)

2012-05-29 Thread skybrian
On 2012/05/26 23:09:03, tbroyer wrote: (the use OperationMessage here can already be seen as a hack, kind of, because all we need is a MapString,Splittable for the storage, and a String for the version; so using another field in some diverted way is not really a problem I think) Oh yuck. Yeah,

[gwt-contrib] Re: Generated EditorContext class names take actual parameterization into account. (issue1352806)

2012-05-29 Thread skybrian
On 2012/05/26 15:20:15, tbroyer wrote: On 2012/05/25 19:35:47, skybrian wrote: Having two levels of class nesting is rather confusing. Could you move the Driver and other 4 inner classes up a level? Done. Do you think the Intern/Manager/Department should be moved to top-level classes,