Re: DataGrid GWT 2.4 RC1
I have tried it to add in on a LayoutPanel, but nothing is displayed. what I have to do? On 13 Aug., 18:43, Jeff Larsen larse...@gmail.com wrote: I think DataGrid needs to be displayed inside a LayoutPanel. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
number only text component
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 does it exist? if not, how can i fake one? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOR7XjAAoJENRtux+h35aGWCwQAMOLbc3ibdsm8gnp24S3SsoQ Wv0+TDEJXUonu8+7wfSM9d5qRGIw0MRIZJcMNeqelidx8oWdPmXw68fUVwLuMgc0 oXieYzCfbZA5LyciZEnhWTeDzUo3PiboW6s3+EPmChO69V3HGWKl2dft2Ilr1STT zJLIEkvgt1U0JXUAjg7Vg1Ep7WN6RIUkaBj0t+Xnz3xJhPG6IjDXgDXvzg4p0qWN lhTynfvNAm6a5ccZsdr5qo16GlXpk59H7E1zVPMzPh1KyJJm/3c66xCBsFf9HJsq 8uzcO2C1zNaGmi10MiirAZvIdXITAURS3ittspVmgF6ipSpYUvUf/kMrfrlf/Dk+ 9GsOzEoxVrTOLQka6BgoLhDxBlGW/qBKembpRTcAYBlbDMOBaZGGYDhzrgbppOmW sXwn8I1v1SPJwdl8gYd2KhJYgpIoJUo0FvMCGu2WRio7KcOFbrGtvo7r81uRmvpZ DqDVGqKOEcGveJa6LB7C4ccA+oqUTZtT1nxRuY/ai4kT5mq82j6WkcNnDCSuNEXb +eOEIVbLzUvLD7wdXPj57khpKQfhsZKhDdvdDkl99rpb815V51sdE9kIhhWmNQ8H e5EU5RafgEX5TxVMBWf6Zjilu346ULL92W5IaqQoQvxnygZ1f4JWBjpc15G7BQiN uvfoXW2jr0GsBWbPOd4V =A41c -END PGP SIGNATURE- -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Problems deploying to app engine
So I added add-linker name=xsiframe / to the Circulus.gwt.xml module so that I can run the compiled version locally in chrome. Compiling with log level info and output style detailed. Getting this circulus.nocache.js: http://dl.dropbox.com/u/6174666/circulus.nocache.js And the following uncaught errors: Uncaught #Object (anonymous function) Circulus.html:269 gwtOnLoad Circulus.html:7967 (anonymous function) Circulus.html:7973 installCode circulus.nocache.js:115 circulus.onScriptDownloaded circulus.nocache.js:121 onBodyDone circulus.nocache.js:86 script.language circulus.nocache.js:104 I'm having a difficult time deciphering what is wrong. I've looked through the code that I added but can't find errors with anything that related to casting. The code working as it should in dev mode also seems to indicate that there is nothing wrong with what I've been doing? Any help would be greatly appreciated :c //Oliver On Aug 14, 12:50 am, Shawn Brown big.coffee.lo...@gmail.com wrote: Hi, You can see what that is like here: http://3.michaeltyack.appspot.com Look at firebug or the web inspector in safari or chrome and look for errors in the console. It shows an error stemming from this code in 909C8695A83550446C89538CB145ACB1.cache.html:1486[object Object]: function dynamicCast(src, dstId){ if (src != null !(src.castableTypeMap$ src.castableTypeMap$[dstId])) { throw new ClassCastException_0; } return src; } So I would look through your changes and see if there is anywhere you might be doing something that is causing the app to throw this ClassCastException. Shawn -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Problems deploying to app engine
Oh! Here is what the HTML looks like at the time of the exception: http://dl.dropbox.com/u/6174666/909C8695A83550446C89538CB145ACB1.cache.html On Aug 14, 1:57 pm, Oliver Uvman embry...@gmail.com wrote: So I added add-linker name=xsiframe / to the Circulus.gwt.xml module so that I can run the compiled version locally in chrome. Compiling with log level info and output style detailed. Getting this circulus.nocache.js:http://dl.dropbox.com/u/6174666/circulus.nocache.js And the following uncaught errors: Uncaught #Object (anonymous function) Circulus.html:269 gwtOnLoad Circulus.html:7967 (anonymous function) Circulus.html:7973 installCode circulus.nocache.js:115 circulus.onScriptDownloaded circulus.nocache.js:121 onBodyDone circulus.nocache.js:86 script.language circulus.nocache.js:104 I'm having a difficult time deciphering what is wrong. I've looked through the code that I added but can't find errors with anything that related to casting. The code working as it should in dev mode also seems to indicate that there is nothing wrong with what I've been doing? Any help would be greatly appreciated :c //Oliver On Aug 14, 12:50 am, Shawn Brown big.coffee.lo...@gmail.com wrote: Hi, You can see what that is like here: http://3.michaeltyack.appspot.com Look at firebug or the web inspector in safari or chrome and look for errors in the console. It shows an error stemming from this code in 909C8695A83550446C89538CB145ACB1.cache.html:1486[object Object]: function dynamicCast(src, dstId){ if (src != null !(src.castableTypeMap$ src.castableTypeMap$[dstId])) { throw new ClassCastException_0; } return src; } So I would look through your changes and see if there is anywhere you might be doing something that is causing the app to throw this ClassCastException. Shawn -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
New computer for compiling gwt
I'm looking at upgrading my development computer, as my old Athlon 64 4200+ is getting too slow for me. For the cpu I'm considering the following two intel i7 processors. Does anyone have some advice on which way to go? Intel Core i7 980 3.33GHz Socket 1366 6-core (12 threads) Intel Core i7 2600K 3.4GHz Socket 1155 4-core (8 threads) Most of the information I can find is targeted for gamers (which is not me - unless you count angry birds on my android phone). Most of the gamers are choosing the 2600k as it's better value for gaming performance. I'm thinking that the 4 extra hyper-threads will help compile my permutations much faster. Your thoughts? -- 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/-/tWu9X04XZSMJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: New computer for compiling gwt
I am also looking for a new laptop with 8 gb ram.. My requirements: 1.GWT 2.3 2. Spring 3.0 3. JBoss 5.1 4. Eclipse 3.6 Which dell laptop bests suits this requirement. I am looking at the Dell Latitude series. I already hold latitude d630 and wish to go for a new laptop. On Sun, Aug 14, 2011 at 6:29 PM, Brendan Doherty bren...@propertysimplified.com wrote: I'm looking at upgrading my development computer, as my old Athlon 64 4200+ is getting too slow for me. For the cpu I'm considering the following two intel i7 processors. Does anyone have some advice on which way to go? Intel Core i7 980 3.33GHz Socket 1366 6-core (12 threads) Intel Core i7 2600K 3.4GHz Socket 1155 4-core (8 threads) Most of the information I can find is targeted for gamers (which is not me - unless you count angry birds on my android phone). Most of the gamers are choosing the 2600k as it's better value for gaming performance. I'm thinking that the 4 extra hyper-threads will help compile my permutations much faster. Your thoughts? -- 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/-/tWu9X04XZSMJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: New computer for compiling gwt
MacBook Pro 15 with 2.2GHz (i7 quad core), 8GB RAM and SSD flies through the compiles -- Jan Vladimir Mostert BEngSci MyCee Technologies On Sun, Aug 14, 2011 at 4:58 PM, Navindian navind...@gmail.com wrote: I am also looking for a new laptop with 8 gb ram.. My requirements: 1.GWT 2.3 2. Spring 3.0 3. JBoss 5.1 4. Eclipse 3.6 Which dell laptop bests suits this requirement. I am looking at the Dell Latitude series. I already hold latitude d630 and wish to go for a new laptop. On Sun, Aug 14, 2011 at 6:29 PM, Brendan Doherty bren...@propertysimplified.com wrote: I'm looking at upgrading my development computer, as my old Athlon 64 4200+ is getting too slow for me. For the cpu I'm considering the following two intel i7 processors. Does anyone have some advice on which way to go? Intel Core i7 980 3.33GHz Socket 1366 6-core (12 threads) Intel Core i7 2600K 3.4GHz Socket 1155 4-core (8 threads) Most of the information I can find is targeted for gamers (which is not me - unless you count angry birds on my android phone). Most of the gamers are choosing the 2600k as it's better value for gaming performance. I'm thinking that the 4 extra hyper-threads will help compile my permutations much faster. Your thoughts? -- 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/-/tWu9X04XZSMJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: DataGrid GWT 2.4 RC1
DataGrid provides scrolling capabilities. setHeight() on the table. On Aug 14, 4:00 am, Foermchen82 juergen.f...@gmx.de wrote: I have tried it to add in on a LayoutPanel, but nothing is displayed. what I have to do? On 13 Aug., 18:43, Jeff Larsen larse...@gmail.com wrote: I think DataGrid needs to be displayed inside a LayoutPanel. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error using GWT Designer in ld.so inconsistency detected
Do a search on Inconsistency detected by ld.so. This looks like a problem with your Linux distro and not a GWT Designer issue. -- 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/-/gylGNUoKlW4J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: DataGrid GWT 2.4 RC1
How can I at a DataGrid to a panel next to other panel. The problem is, that a LayoutPanel has to be added to the RootLayoutPanel. This is allways in fullscreen. So how can I add, for example, a navigationbar next to the DataGrid? I tried the following, but it doesn't work: DataGrid grid = new DataGrid(); DockPanel mainPanel = new DockPanel(); mainPanel.add(new Label(HeaderPanel), DockPanel.NORTH); mainPanel.add(new Label(Navigationbar), DockPanel.WEST); mainPanel.add(grid, DockPanel.CENTER); RootLayoutPanel.get().add(mainPanel); On 14 Aug., 18:06, Rajesh kwa...@gmail.com wrote: DataGrid provides scrolling capabilities. setHeight() on the table. On Aug 14, 4:00 am, Foermchen82 juergen.f...@gmx.de wrote: I have tried it to add in on a LayoutPanel, but nothing is displayed. what I have to do? On 13 Aug., 18:43, Jeff Larsen larse...@gmail.com wrote: I think DataGrid needs to be displayed inside a LayoutPanel. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: New computer for compiling gwt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 random suggestion: take a look at intellij idea. it's pretty good. Am 14.08.2011 16:58, schrieb Navindian: I am also looking for a new laptop with 8 gb ram.. My requirements: 1.GWT 2.3 2. Spring 3.0 3. JBoss 5.1 4. Eclipse 3.6 Which dell laptop bests suits this requirement. I am looking at the Dell Latitude series. I already hold latitude d630 and wish to go for a new laptop. On Sun, Aug 14, 2011 at 6:29 PM, Brendan Doherty bren...@propertysimplified.com mailto:bren...@propertysimplified.com wrote: I'm looking at upgrading my development computer, as my old Athlon 64 4200+ is getting too slow for me. For the cpu I'm considering the following two intel i7 processors. Does anyone have some advice on which way to go? Intel Core i7 980 3.33GHz Socket 1366 6-core (12 threads) Intel Core i7 2600K 3.4GHz Socket 1155 4-core (8 threads) Most of the information I can find is targeted for gamers (which is not me - unless you count angry birds on my android phone). Most of the gamers are choosing the 2600k as it's better value for gaming performance. I'm thinking that the 4 extra hyper-threads will help compile my permutations much faster. Your thoughts? -- 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/-/tWu9X04XZSMJ. To post to this group, send email to google-web-toolkit@googlegroups.com mailto:google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com mailto:google-web-toolkit%2bunsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. - -- -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOSAVhAAoJENRtux+h35aGBiMP/2Nn6ocZ4L9xX0fSSu/GmmVv DfthufWJ9FOVTt+Sw8Td2R5141aUy8v9f9Y0JAWsMhOvkepZAZpDyP5/zBhm3sml EG6Ud4bCeUZXrb7GxSxNX8wX4t7fOIUwvEw8JcYEUMuLhr2C8IXIiNwpSc6X7LL2 AF7S9SQJqLqVtkZ9rz8fc3Q5n2/L+1TDjSt/19dX64Y7g79OmqkFhBLPEkCubq0W lNsIhH2jqA9J8ICnGj/jDzIppKkJe3u3fwN5sUaJBZFEW42/k6uscHymzivLbK8N xeHVGgCe7BOnqA5JiQjhTc4ts5hjT26q3OqpURvHyu6KiWQxV5kooJ4wnB66bCFk ACtm92MZNnJ480s5PXNjk/NIZHsnSqN1GEMCxF8QczdVYoyQhfKQ9mYKK/Xzzw37 xNdIryTOacdURKAMTTTOR0B06KRrvKsXEj5S7zGp1eXYnkeJO2obusb3CU3kFTow V8s+e+6irbN/YU8NcNmPXhZk5T4p5SbKQ4K9LwW/PHNqAkEdyqKNN30KOpZLNBo+ DihFX1HPReV4W7nFtA4Pxl3MxGDl2yPzc6rEY7n8ciqAqoDgIe9IHuwFq2XVJfRX 8kKgByyxEjEz7eYWjYchbl7jdCLFpaZVmbyy7AdrX0lCweS7CofEZVQaRIb2OFhC s1LbSTsNDD5IfpH3rXue =knr4 -END PGP SIGNATURE- -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Fwd: error 400(Not deploy)
-- Forwarded message -- From: leonardi britez2...@gmail.com Date: 2011/8/14 Subject: error 400(Not deploy) To: Google Web Toolkit google-web-toolkit@googlegroups.com I get the following message. An error occurred while Trying to sign in: 400 Bad Request. See the error log for more details. When I like deploy at the app-engine Please, solutions... -- *Leonardo Britez * -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Issues with Code splitting using AsyncProvider interface of Gin
I am trying to do code splitting in my GWT application. Following MVP pattern, I have a Presenter and View called TopPanelPresenter and TopPanelViewer, which are instantiated in the application level controller called AppPresenter. I have tried two approaches. With one of the approaches (Using AsynProvider and Gin), there is some part of TopPanelPresenter and TopPanelView in the leftover segment, while with the second approach, there is nothing remaining in leftover segment. The 2 approaches should be doing the same thing, but I am getting different results of code split for the class TopPanelPresenter. Please guide me as to why this is happening, or am I using a wrong version of Gin. The following Gin Jars are present in my classpath aopalliance.jar gin-1.5-post-gwt-2.2.jar guice-3.0-rc2.jar guice-assistedinject-3.0-rc2.jar guice-assistedinject-snapshot.jar guice-servlet-3.0-rc2.jar guice-snapshot.jar Approach 1 - Using GIN and AsyncProvider public class AppPresenter { TopPanelPresenter topPanelPresenter = null; private void loadTopPanel() { EasyMedicalEntry.ginjector.getTopPanelPresenterAsyncProvider().get(new AsyncCallbackTopPanelPresenter() { @Override public void onFailure(Throwable caught) {} @Override public void onSuccess(TopPanelPresenter result) { topPanelPresenter = result; topPanelPresenter.bind(); view.setTopPanel(topPanelPresenter.getDisplay()); } }); } } Approach 2 public class TopPanelPresenter { // A callback for using the module instance once it's loaded public interface ModuleClient { void onSuccess(TopPanelPresenter instance); void onUnavailable(); } private TopPanelPresenter(EventBus bus, AppContext ctx) { System.out.println(Entering TopPanelPresenter); this.eventBus = bus; this.display = new TopPanelViewer(); this.appCtx = ctx; } public static void createAsync(final EventBus bus, final AppContext ctx, final ModuleClient client) { GWT.runAsync(new RunAsyncCallback() { public void onFailure(Throwable err) { client.onUnavailable(); } public void onSuccess() { if (instance == null) { instance = new TopPanelPresenter(bus, ctx); } client.onSuccess(instance); } }); } public class AppPresenter { TopPanelPresenter topPanelPresenter = null; private void loadTopPanel() { TopPanelPresenter.createAsync( eventBus, appCtx, new TopPanelPresenter.ModuleClient() { public void onSuccess(TopPanelPresenter presenter) { topPanelPresenter = presenter; topPanelPresenter.bind(); view.setTopPanel(topPanelPresenter.getDisplay()); } @Override public void onUnavailable() { // TODO Auto-generated method stub } }); } } -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Is it possible to manualy edit the SerializationPolicy?
Hello, I'm using GWT 2.3.0 with objectdb 2.2.8. Since objectdb uses proxy classes for collections, maps and dates (which are subclasses of the original classes) i have problems receiving data from the database because those classes are not on the whitelist of GWTs SerializationPolicy. So i get the following error: com.google.gwt.user.client.rpc.SerializationException: Type 'objectdb.java.util.ArrayList' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized. java.util.ArrayList is on the whitelist (see the *.gwt.rpc file) but objectdb.java.util.ArrayList is not. I found a workaround for getting types on the list: http://stackoverflow.com/questions/138099/how-do-i-add-a-type-to-gwts-serialization-policy-whitelist But for me this does not work because I dont have objectdb.java.util.ArrayList classfile itself. Is there any posiibility to get those classes onto the list manualy? Thanks! Simson -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: number only text component
Do you men a textbox-like wih only numbers allowed? Checkout IntegerBox and DoubleBox. -- 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/-/FRzOfV6s7xAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is it possible to manualy edit the SerializationPolicy?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 if you don't have the source, you're screwed. if you have it, the workaround will work. Am 14.08.2011 19:29, schrieb Simson: Hello, I'm using GWT 2.3.0 with objectdb 2.2.8. Since objectdb uses proxy classes for collections, maps and dates (which are subclasses of the original classes) i have problems receiving data from the database because those classes are not on the whitelist of GWTs SerializationPolicy. So i get the following error: com.google.gwt.user.client.rpc.SerializationException: Type 'objectdb.java.util.ArrayList' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized. java.util.ArrayList is on the whitelist (see the *.gwt.rpc file) but objectdb.java.util.ArrayList is not. I found a workaround for getting types on the list: http://stackoverflow.com/questions/138099/how-do-i-add-a-type-to-gwts-serialization-policy-whitelist But for me this does not work because I dont have objectdb.java.util.ArrayList classfile itself. Is there any posiibility to get those classes onto the list manualy? Thanks! Simson - -- -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOSBa/AAoJENRtux+h35aGZVIP/280ntZ41dzPiPrHQnrkt3qt aLqGKBCFGbytEgYkDR4ja8kAkvmJhoMUI7eiZMrdkVWWuR3+sIhYs+xmfXp/yJP3 +Cd9EpYM1P7/BYnP5A6AlXinwTVfGW5YxBn/jwrm0ljXebtIpLS+fKIcTVYZ2Hp5 rRD1JwMQiVJlx0QJZufMABhrb9xxhFwGNCxXdio9p/OgYR+9M3+Kcj2UKvSFIKqG fJSiJLFobjZfXH9AQDk9OkFy4X5xEM+KOoeAUNjDjOeHL4x64ngaNKf8N0N0phCh aBhnYHmhrzM00jP7cuV7ObWqbj3tbflXgyW9xnh5s2i1j2ekqeO2lwamZiIU2Y60 8au0C9MqizV/u2TKZdZ9miAv/02lChzgqBBzg+j9nxpIp62VFk6qmeXpTATL+3/D LrDqasq5Otz3XP3jY+0giuojqj4LS6yP7TOumVHOepcJTYPRs3Amd37ciAhV5UqC 9MA4+8ljVUHNTAcLy/mff5gLfn5Obd7lChpvMbBSnvsKQgSclPRKVD+cxtGSGFlS UG//imLb7eCLqOmXqRTjMrr1Sl1wiOuK4ve4rdPgw8WWtketniZmxrXa9J+fYmFU ih13oh2lYSJ7MPiJ+nahXnrSxbf3NYsT8m+1Y0vbQQe4u9iccHpXGNhr3ddVtMm/ AnBTPW7nsNReZOwEosSs =IunQ -END PGP SIGNATURE- -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: number only text component
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yes. Am 14.08.2011 20:33, schrieb ciosbel: Do you men a textbox-like wih only numbers allowed? Checkout IntegerBox and DoubleBox. -- 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/-/FRzOfV6s7xAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. - -- -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOSBbUAAoJENRtux+h35aGgo0QANOc6msOQKxKuucXpLEBephl 6aujgO6v4HzuMm5Me0nt7blZZVggaBrNIjl9QBSd1WaQi12aFVvcuhYocTfUPKF2 U+fHvypwmKgxKaZmrn5JqaU4CEqstkDJSfgHou3btCCcTrS4zNR2F+TIYN/mIOtS B8ftZIi/SsgoIM4ZSVEw2W8bqa7IJyUc5/Um6ayZ5I3vKE/z9QuldPsyEEwx1MMn WmALdW75gnHonopyefjJpt9nMnPb2MoZ1hqaZ8wJpOcs1n9/ENLkV9ByJg93T5eI 46BPADhygIZCoD/M+F7rPlsgsltlUgCdBydFHHEvQQJvL6FL8DSTfn6UEiOab1g3 577PrK60eG8VWzcHPmfMwB8UBsYnLLUu4K3gImbdjYnefsPwIGVk6vfGhXsyC7Kg wLTByN7sCvAKl2WzISd5/VY421ozY87l7Ov9diMoxYDGMLcgB8zTRaFoJ8v+bc5f cU6Y05miGGtvVnBBA/fIrKU3eQuCYdjfqVpT2bCavDHjlOLrrY+DJxE6HDtM6qwx Akcuwlz91Hiywq/7EBNTfqUy22HiKmSvrXL60HjH1BfDbEpgyiQXeJwiX+2TZTMO +l1tdcAYN4wVHKS1CsJqihTZKRdO/umPAof9M7kSsvlToLYWml3ZYX8PWLeyuvZk hTS3NaO01S74dsxD79Eu =Dwo1 -END PGP SIGNATURE- -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to use Mockito for testing Async calls?
And of course you can just define your Async interface methods by Request myAsyncMethod(AsyncCallbackString callback); instead of void myAsyncMethod(AsyncCallbackString callback); then you can use normal Mockito-syntax, ala when(service.myAsyncMethod(any(AsyncCallback.class))).thenAnswer(new AnswerRequest(){ Request answer(InvocationOnMock invocation) { Object[] args = invocation.getArguments(); AsyncCallbackString callback = (AsyncCallbackString) args[args.length - 1]; callback.onSuccess(mockServerAnswer); return mockRequest; } Having a Request return type for AsyncMethods has the advantage, that you can use request.cancel() anyways, which sometimes comes in handy... And of course, you should use dependency injection, as mentioned above, i.e. never call GWT.create(MyService.class), but instead use Gin and write the constructor as @Inject public MyWidget(MyServiceAsync service){ this.service = service; } or push the async service into the constructor by hand/factory, so you can use a mock service with Mockito in your tests... Greetz, Peter On Aug 13, 6:12 pm, pete superp...@geekcity.de wrote: I always though this produced nicely readable tests for async calls: http://blog.reflectedcircle.co.uk/2009/12/08/gwt-rpc-asynccallback-te... Greetz On Aug 12, 11:24 am, Magno Machado magn...@gmail.com wrote: Code from a @Test method: ListPesquisaProxy pesquisas = new ArrayListPesquisaProxy(); Request? request = mock(Request.class); doReturn(request).when(pesquisaRequest).listAll(); doReturn(pesquisaRequest).when(requestFactory).pesquisaRequest(); doAnswer(RequestFactoryUtils.ok(pesquisas)).when(request).fire(RequestFacto ryUtils.anyReceiver()); And here my RequestFactoryUtils.ok: public static T AnswerT ok(final T result) { return new AnswerT() { @Override public T answer(InvocationOnMock invocation) throws Throwable { Object[] args = invocation.getArguments(); Object _receiver = args[args.length - 1]; ReceiverT receiver = (ReceiverT)_receiver; receiver.onSuccess(result); return null; } }; } On Thu, Aug 11, 2011 at 6:32 PM, objectuser kevin.k.le...@gmail.com wrote: Here's how I do it. @Test public void testAsync() { doAnswer(new AnswerVoid() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { AsyncCallbackCommandResult callback = (AsyncCallbackCommandResult) invocation.getArguments()[1]; callback.onSuccess(new CommandResult()); return null; } }).when(commandProcessor).execute(any(Command.class), any(AsyncCallback.class)); // invoke something that sends the command ... then verify the results verify(...)...; } -- 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/-/xx0OrJ46MUwJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Magno Machado Paulohttp://blog.magnomachado.com.brhttp://code.google.com/p/emballo/ -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
css templates
Does anyone know if there are css templates available for purchase so you can have a custom look and feel? Something like template monster but for GWT css? I have searched but I cannot seem to find any. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to set the selection color of a CellList widget?
Hello everyone, I can't help it anymore. I am really stuck on the CellList. Creating and working with a CellList is quite simple, but I can't change the style of the CellList. I search the internet via Google but I couldn't find any results that 'really' helped me out. I just want to be able to change the background color of a selected cell, but whatever I try the color won't change from yellow to blue. All I've got so far is changing the whole background of the celllist into blue (including the cells which are not selected) but that's getting me nowhere. Please, can anyone help me out? I really would like to have a step by step guide for this problem. I am exhausted :( Regards, Rod -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
DataGrid on a hidden tab
Hi, I am using a DataGrid on a TabLayouPanel. As long as the the DataGrid is on the viewable tab it gets rendered. As soon as it is on the hidden tab it does not. What am I doing wrong? brgds, Papick -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Embed pdf into gwt app
hello, I am tryring to display PDF files in my app. Unfortunately, Firefox and Safari are downloading the PDF instead of showing them embedded. I tried object and embed and an iframe element, the PDF always gets downloaded. When using embed or object it even messes with the history, the app get thrown back in history (I am using Places/MVP). Did anyone succeed in showing a PDF? Brgds, Papick -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
HTTP Persistent Connection in Jetty
Hi, I'm new to GWT. I'm using GWT 2.3 and the embedded Jetty server instance(not sure what version of Jetty). Will someone point me to an example of how Jetty should be configured to support persistent HTTP connections? From my reading, don't think there is a jetty.xml file to configure. Should Jetty be set up from com.google.gwt.dev.shell.jetty.JettyLauncher class? If so, could you provide an example? Thanks for your time! Gator Bait -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Embed pdf into gwt app
On 08/14/2011 04:34 PM, P.G.Taboada wrote: hello, I am tryring to display PDF files in my app. Unfortunately, Firefox and Safari are downloading the PDF instead of showing them embedded. I tried object and embed and an iframe element, the PDF always gets downloaded. When using embed or object it even messes with the history, the app get thrown back in history (I am using Places/MVP). Did anyone succeed in showing a PDF? Brgds, Papick The way I've done this in the past is via an iframe. Split the screen, and set the iframe url to your pdf generator's url. The gotcha is that you want a custom emitter on your host. IOW, you can't just go to example.com/file.pdf You'll probably need something like example.com/emit.cgi?file=file.pdf The custom emitter will set the mime type to application/pdf Then things should work on the browser as you expect (except the URL is the emitter url, not the file url) -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Focus bug with TabLayoutPanel?
TabLayoutPanel does not seem to manage focus correctly, whereas TabPanel does. This works fine - the name TextBox ends up with focus: public void onModuleLoad() { TabPanel tabPanel = new TabPanel(); FlowPanel panel = new FlowPanel(); TextBox name = new TextBox(); panel.add(name); tabPanel.add(panel, Tab 1); RootLayoutPanel.get().add(tabPanel); tabPanel.selectTab(0); name.setFocus(true); } Replace the tabPanel creation line with: TabLayoutPanel tabPanel = new TabLayoutPanel(1.5, Style.Unit.EM); and the name TextBox does not end up with focus. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to put html created by uibinder to another uibinder xml template?
For example,I have a html called Indicator created by uibinder like this: -- public class IndicatorImpl extends UIObject implements Indicator { private static IndicatorImplUiBinder uiBinder = GWT.create(IndicatorImplUiBinder.class); interface IndicatorImplUiBinder extends UiBinderElement, IndicatorImpl { } public IndicatorImpl() { setElement(uiBinder.createAndBindUi(this)); } //methods. } --- And want to reference above in this Widget's template: --- g:HTMLPanel aImpl:IndicatorImpl ui:field=indicator / .g:HTMLPanel .. --- This will generate compile error: -- [ERROR] Line 74: The method addAndReplaceElement(Widget, Element) in the type HTMLPanel is not applicable for the arguments (IndicatorImpl, Element) -- Question is since HTMLPanel can contain htmls,why can't it accept htmls created by uibinder?Or did I do something wrong here? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Focus bug with TabLayoutPanel?
This problem occurs with all browsers I have tested: Windows IE, Firefox, Safari I have logged this as issue 6687 http://code.google.com/p/google-web-toolkit/issues/detail?id=6687 On Aug 15, 12:08 pm, camerojo jadcpub-goo...@yahoo.com.au wrote: TabLayoutPanel does not seem to manage focus correctly, whereas TabPanel does. This works fine - the name TextBox ends up with focus: public void onModuleLoad() { TabPanel tabPanel = new TabPanel(); FlowPanel panel = new FlowPanel(); TextBox name = new TextBox(); panel.add(name); tabPanel.add(panel, Tab 1); RootLayoutPanel.get().add(tabPanel); tabPanel.selectTab(0); name.setFocus(true); } Replace the tabPanel creation line with: TabLayoutPanel tabPanel = new TabLayoutPanel(1.5, Style.Unit.EM); and the name TextBox does not end up with focus. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Activities and Places and Layouts (again)
This topic has been brought up a few times before. This thread is probably most appropriate: http://tinyurl.com/3z8mn4v. I still don't get it though. Seems like Activities and Places is fairly limited in the types of layouts that can be used, based on the HelloMVP example. Let's assume I want to build an app that has three activities. Let's call them A, B, and C. Each activity has its own place and the place occupies the entire web page. The UI for each activity/place may be completely different. For example, A may have a DockLayout, B may have a tabbed panel, and C may have something else. Questions: 1) I am particularly confused by why the EntryPoint (of HelloMVP) starts with a SimplePanel? The scenario I explained above seems like it may be fairly common (especially on mobile devices, like Android, where the screens are small). Yet placing a DockLayoutPanel or other panel in an activity's view doesn't work because few panels implement AcceptsOneWidget. One suggestion has been to place another layout panel in the SimplePanel. However, if I place a DockLayoutPanel within the SimplePanel, the DockLayoutPanel doesn't show up. 2) Maybe the above scenario is not that common or I misunderstand Activities Places, probably Presenters in particular. Does it make sense in the above scenario to use one presenter per place? Maybe a presenter is not intended to be used for complex/compound layouts like dock and tabbed panels? Mike -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: scheglov pointed out a leak in compilation units in dev mode after a refresh (issue1490801)
http://gwt-code-reviews.appspot.com/1490801/diff/5002/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java File dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java (right): http://gwt-code-reviews.appspot.com/1490801/diff/5002/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java#newcode275 dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java:275: // ignore Consider resetting the thread's interrupted state: Thread.currentThread().interrupt(); http://www.javaspecialists.eu/archive/Issue056.html http://gwt-code-reviews.appspot.com/1490801/diff/5002/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java#newcode356 dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java:356: // ignore Consider resetting interrupted here too. http://gwt-code-reviews.appspot.com/1490801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors