Re: Are servlets available when performing GWT Unit Tests?

2013-08-12 Thread ckuetbach
Hi Thomas, are there any known regressions with this way in GWT 2.5.1? I created a moduleText.gwt.xml with inherits my module.gwt.xml to add the servlet-element. If I misspell the servlet-classname, I get an error loading the module. But if everything seems to be correct, I don't get any

Re: Export CellTable's selected rows into a csv file

2013-08-12 Thread Thad Humphries
No, I was just saying how I did it. As I recall--it's been several years--I first used OpenCSV but switched to Apache's CSV because it also had a tab delimited option (though I guess you can do the same thing with OpenCSV by changing the delimiters). If your file is empty, I'd check your file

Re: Custom cell in CellTable with TextCell and SelectionCell

2013-08-12 Thread Jochen Schnaidt
Hi everybody, my cell now reacts on changes. But this brings up new questions, first of all: How do I get my event from my custom cell to to my CellTable to trigger an FieldUpdater? Thanks a lot. Best regards Jochen -- You received this message because you are subscribed to the Google

add more option in dorpdown list like Street name

2013-08-12 Thread Hardik Chavda
How can i add more option in drop down list like street name, locality, etc. If anyone know how to add please tell me. i want add my own society in street name filed. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from

FIX: Problem with Firefox 22 and GWT Dev Plugin? Upgrade to Firefox 23

2013-08-12 Thread Tony BenBrahim
Go to Help About, an update from 22 to 23 should automatically start downloading. It fixed the problem for me. -- 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

Difference between script tag in code and ScriptInjector

2013-08-12 Thread asif . tmcp
Hi , I am trying to inject 3rd Party javascript libraries into my gwt project. If I import the scripts directly via my html with script src=..path to src type=text/javascript/ it works perfectly. However, when I load them at runtime with ScriptInjector, the scripts are loaded but a call to

Typed service methods using RequestFactory and ServiceLocator

2013-08-12 Thread Steve C
I'm trying to work up an example of request factory using a service locator. The discussions/tutorials all say that ServiceLocator is useful when there's a generic DAO with static methods for instance operations. I'm taking that to mean that my entity classes don't have their own methods to

Dom change propagation time

2013-08-12 Thread asif . tmcp
Hi , I am changing the id of an element in the dom with tableeditor.getElement().setId(tableeditor); where @UiField SimplePanel tableeditor; After this I call a javascript which manipulates the dom based on the id=tableeditor. However, if I put a timeout of 1 sec after changing the

Re: Difference between script tag in code and ScriptInjector

2013-08-12 Thread Jens
If you need to inject it into the top window document you can use ScriptInjector.fromString(script).setWindow(ScriptInjector.TOP_WINDOW).inject(); -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and

Re: Difference between script tag in code and ScriptInjector

2013-08-12 Thread asif . tmcp
Thanks Jens, That works perfectly - along with some help from thishttp://stackoverflow.com/questions/8744663/how-to-insert-twitter-widget-into-a-gwt-view/8764304#8764304 On Monday, August 12, 2013 10:49:16 AM UTC-4, Jens wrote: If you need to inject it into the top window document you can

Re: RPC that returns void, how to type the callback?

2013-08-12 Thread Ohad Kravchick
AsyncCallbackVoid should work. Pay attention though that you do need to call it with a valid Void object, for which null is appropriate. Not the clearest API, but it works. void fn(final AsyncCallbackVoid callback) { callback.onSuccess(null); } On Wednesday, August 6, 2008 5:05:27 AM UTC-4,

Re: Problems with GWT-RPC: encodedRequest cannot be empty

2013-08-12 Thread christopher . e . plummer
I've done a lot of research into this over the past couple of months - before I get into the details, my web application is using GWT 2.x running on Tomcat 7, with an Apache httpd 2.2.x and mod_jk 1.2.x setup in front. With mod_jk version 1.2.26, I'd occasionally see the 'encodedRequest cannot

modifiyng the header of a JsonpRequestBuilder

2013-08-12 Thread fatima zahra Anzour
hello everyone; can someone help me with this issue please; i'm using JsonpRequestBuilder to build request to Siasto api; im using jsonp as they recommand; but a have to make a HTTP Basic Auth for authentification, which requieres setting some information in the header; but the

Re: encodedRequest cannot be empty

2013-08-12 Thread christopher . e . plummer
Old post, I know, but if anyone encounters this, there's more discussion about it here: https://groups.google.com/forum/#!msg/google-web-toolkit/3sJkTjE4npk/EvPvDBnWwdQJ From what I've seen, it could either be an NTLM authentication issue, or a problem with IE sending partial requests after a

Re: gwt navigation with 3rd party app in iframe

2013-08-12 Thread Lance Frohman
I got the pages to not blink, but the back button does not work correctly, you need to click it three times to get to the page it should go to. It was doing this before I made your fix. thanks On Fri, Aug 9, 2013 at 9:16 AM, Lance Frohman lfroh...@gmail.com wrote: Thank you. On Thursday,

Re: gwt navigation with 3rd party app in iframe

2013-08-12 Thread Jens
I got the pages to not blink, but the back button does not work correctly, you need to click it three times to get to the page it should go to. It was doing this before I made your fix. Well thats expected as you update the URL whenever a navigation inside the 3rd party app occurs. I

Re: Dom change propagation time

2013-08-12 Thread Steve C
I've run into similar issues adding a style name to a widget and then immediately trying to read the class attribute of the element. I think that the issue is that while JS is single-threaded, the browser itself isn't required to be, and the effect of some JS statements can take time to

Generics, JSNI and Integer problem

2013-08-12 Thread Thomas Broyer
You need to wrap your int into a java.lang.Integer using its valueOf or new(). JSNI doesn't do auto-boxing/unboxing. -- 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

Proper Project Layout and CSS practices

2013-08-12 Thread Bob Spero
When creating a GWT project the CSS is associated with the entry point from the wizard. Is the proper framework to have a CSS file for every class that is a UI entry point or composite? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: change in children not saved in GWT 2.5.1 after implement OSIV

2013-08-12 Thread Matthew Pitts
On Friday, May 31, 2013 10:50:21 AM UTC-4, Yan wrote: Hi there, I have a Parent object containing a list of Children objects. Both are EntityProxy. My RequestFactory API is to persist the Parent along with Children collection. My JPA layer is EclipseLink (JPA 1.0), with entity

Re: What's the minimum number of interfaces and classes that I should need to create for a new RpcService?

2013-08-12 Thread Michael Prentice
OK, I've finally got some time to look at this again. But I'm still having some issues. Based on your feedback, I should eliminate the following two classes: - Class to represent the request and hold its DTO - Class to represent the response and hold its DTO These currently both extend

Re: What's the minimum number of interfaces and classes that I should need to create for a new RpcService?

2013-08-12 Thread Juan Pablo Gardella
Did you try gwt-distapch? 2013/8/12 Michael Prentice splak...@gmail.com OK, I've finally got some time to look at this again. But I'm still having some issues. Based on your feedback, I should eliminate the following two classes: - Class to represent the request and hold its DTO -

Re: GWT Header CheckBox requires two clicks to fire setValue, after changing its value programatically

2013-08-12 Thread Miloš Ranđelović
Sorry for the late reply (for some reason I did not receive an email notification), but I did manage to resolve the issue by creating checkbox cells in the table itself like this: CheckboxCell cell = new CheckboxCell(true,true) I've been focused on the header checkbox mostly and tried every

Re: What's the minimum number of interfaces and classes that I should need to create for a new RpcService?

2013-08-12 Thread Jens
Looks a lot like command pattern. You should really think about if you really need that pattern. It often sounds nice but it always results in lots of classes. Just to illustrate: interface LoginService extends RemoteService { UserInformationDto login(String user, pass) throws

GWT app kills Chrome Opera on Windows when idle

2013-08-12 Thread Miloš Ranđelović
Hi all, I am working on a fairly complex GWT app, the primary target browser being an SQLite powered one (with Chrome being the recommended one). When the application is running idle in the browser, after an undefined period of time (usually after 1-2 hours) the browser tab in Chrome crashes

Re: GWT app kills Chrome Opera on Windows when idle

2013-08-12 Thread Miloš Ranđelović
Just to note, Firefox or IE are out of the question as the app depends on the in-browser SQLite database to function. I've also tried Chromium, but the same thing happens. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe

Re: What's the minimum number of interfaces and classes that I should need to create for a new RpcService?

2013-08-12 Thread Michael Prentice
I looked through gwt-dispatch and its source code today but it wasn't clear that I would really be saving anything beyond what I have now, mostly just the classes and names would change. I'll take a look at the Getting Started Wiki, thanks. Yes, we are completely command pattern based on the

Re: Export CellTable's selected rows into a csv file

2013-08-12 Thread Winnie T
Oh I see. I did something like this (below), wonder if you can spot the error when I handle the results that is being passed to the library try { session.beginTransaction( ); // I am using hibernate session

Re: Export CellTable's selected rows into a csv file

2013-08-12 Thread Thad Humphries
On Tuesday, August 13, 2013 12:35:00 AM UTC-4, Winnie T wrote: Oh I see. I did something like this (below), wonder if you can spot the error when I handle the results that is being passed to the library try { session.beginTransaction( );

Re: GWT app kills Chrome Opera on Windows when idle

2013-08-12 Thread Miloš Ranđelović
Unfortunately, I cannot edit the subject, but it has gone wild on OS X as well, so the issue is not limited to Windows only. Will try and do some testing on Linux. Anyway, after closely monitoring the system - when you leave the app running idle, after some period of time the CPU goes 100%,

Re: [gwt-contrib] Possible GWT.create() Improvements (link)

2013-08-12 Thread Goktug Gokdogan
On Sun, Aug 11, 2013 at 10:16 PM, John A. Tamplin j...@jaet.org wrote: On Mon, Aug 12, 2013 at 1:13 AM, Goktug Gokdogan gok...@google.comwrote: Even though the current form is pretty flexible and you can mix and match the two, it doesn't mean it makes sense to do so. I'm having hard time

Re: [gwt-contrib] Possible GWT.create() Improvements (link)

2013-08-12 Thread John A. Tamplin
On Mon, Aug 12, 2013 at 2:29 AM, Goktug Gokdogan gok...@google.com wrote: An example use-case would be implementing String.format when the format string is a compile-time constant. I had a proof of concept mostly working for this, but it was going to require more surgery to the compiler than

Re: [gwt-contrib] Thoughts on dropwizard framework as a backend for GWT

2013-08-12 Thread Rafiq Ahamed
I agree. My thoughts are more towards integrating the good things from spiffyUI (spiffyui.org) into GWT. Wondering why no a great concept like SpiffyUI is not going mainstream but the same old JSF like Vaadin is getting into mainstream. The great thing about thick clients is that, they can be

Re: [gwt-contrib] Possible GWT.create() Improvements (link)

2013-08-12 Thread Goktug Gokdogan
John, I put together a quick proposal for evaluate-with as a comment to the document. Please take a look. On Sun, Aug 11, 2013 at 11:42 PM, John A. Tamplin j...@jaet.org wrote: On Mon, Aug 12, 2013 at 2:29 AM, Goktug Gokdogan gok...@google.comwrote: An example use-case would be implementing

Re: [gwt-contrib] Integrating Spiffy UI into GWT

2013-08-12 Thread Brian Slesinsky
It seems like a nice project, but integrating it into GWT will slow down both the GWT developers and the SpiffyUI developers a lot. There would have to be some pretty compelling reasons to do that. Otherwise, better to let them keep doing what they're doing, and let them ask for specific changes