Re: Flextable getCellClickedEvent

2013-02-01 Thread Arpita Dasgupta
On Wednesday, 30 January 2013 10:53:40 UTC+5:30, Arpita Dasgupta wrote: FlexTable table = new FlexTable(); table.setBorderWidth( 1 ); table.setText( 0, 1, Span 2 Rows ); table.getFlexCellFormatter().setRowSpan( 0, 1, 2 ); table.setText( 0, 0, First ); table.setText( 1, 0, Second );

Re: GWT 2.5 compiler is running out of memory

2013-02-01 Thread Thomas Broyer
Which kind of OutOfMemory are you seeing? Also, try to set localWorkers to some value lower than the number of cores/cpus of your system: if you don't set localWorkers, the gwt-maven-plugin will use the number of cores/cpus by default, and obviously parallelizing work increases the memory

load indicator when loading application

2013-02-01 Thread Thomas Lefort
Is it possible (by fiddling with the bootstrap or else) to display a loading indicator at start-up, I mean to show how much is left to load of the application? Thanks, Thomas -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Chrome incorrectly asks me to install GWT Developer Plugin

2013-02-01 Thread richard.row...@gmail.com
Hate to bump and ancient thread, but I am having this same issue today. Using Ubuntu 12.04 LTS on a x64 machine. When I browse to a hosted mode site, I get the same Download the GWT Developer Plugin for chrome button as below, but it doesn't do anything when I click it. I went to the

Re: GWT 2.5 compiler is running out of memory

2013-02-01 Thread David Hoffer
The last error was this: [INFO] # [INFO] # There is insufficient memory for the Java Runtime Environment to continue. [INFO] # Native memory allocation (malloc) failed to allocate 32744 bytes for ChunkPool::allocate [INFO] # [INFO] # There is

How to best download a file on client side?

2013-02-01 Thread membersound
Hi, what is the best way to create a download file on the client side, when the content that is to be saved also only exists on the client side? Do I have to write a Servlet creating a file of the content that is send from the client side? Or is there any possibility to just make an export

Re: How to best download a file on client side?

2013-02-01 Thread Alain Ekambi
The only cross browser way i know is by using Flash. 2013/2/1 membersound kodyreco...@gmail.com Hi, what is the best way to create a download file on the client side, when the content that is to be saved also only exists on the client side? Do I have to write a Servlet creating a file of

Re: How to best download a file on client side?

2013-02-01 Thread Kody
Ok, no that's not an option. I have to stick to plain gwt. So I have to use servlets? 2013/2/1 Alain Ekambi jazzmatad...@gmail.com The only cross browser way i know is by using Flash. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: GWT Best practice for preventing duplicate requests and displaying busy icon

2013-02-01 Thread Marko Mišković
If you show modal dialog, user can't interact with elements outside of that dialog. You can display dialog every time user start action. Maybe in first second you can set style display: none. You can try this. On Thursday, 31 January 2013 03:24:04 UTC+1, andy_p1 wrote: Hello, I am a new GWT

Re: How to best download a file on client side?

2013-02-01 Thread membersound
Is there any way of sending content to the server and generating the downloadable file without submitting this content in the URL as parameter to the servlet? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group

Re: How to best download a file on client side?

2013-02-01 Thread Thomas Broyer
On Friday, February 1, 2013 3:55:55 PM UTC+1, membersound wrote: Is there any way of sending content to the server and generating the downloadable file without submitting this content in the URL as parameter to the servlet? Well, you can use a form with method=post. If I were you, I'd

Re: Chrome incorrectly asks me to install GWT Developer Plugin

2013-02-01 Thread Thomas Broyer
On Friday, February 1, 2013 2:10:05 PM UTC+1, richard...@gmail.com wrote: Hate to bump and ancient thread, but I am having this same issue today. Using Ubuntu 12.04 LTS on a x64 machine. When I browse to a hosted mode site, I get the same Download the GWT Developer Plugin for chrome

How to download a file from server without browser opening new window?

2013-02-01 Thread membersound
Hi, I created a servlet that provides a downloadable file (from String content) by writing to the ServletOutputStream. On the client side, I trigger the file download by an Anchor with: Window.open(GWT.getModuleBaseURL() + MyServlet, _blank, ); It works fine, BUT it seems to open a new browser

Re: GWT 2.5 compiler is running out of memory

2013-02-01 Thread David Hoffer
I've got 8 cores so I set localWorkers to 4...that makes a big difference in how much RAM is uses, with that set it never spikes up near 8GB. However it still fails...with this error message: [INFO]Compiling 12 permutations [INFO] Compiling permutation 1... [INFO] Process output

Re: GWT Best practice for preventing duplicate requests and displaying busy icon

2013-02-01 Thread Paul Stockley
I wrote a modal working mask that fades a working indicator into view after a second. At any time, input is blocked. The mask also does reference counting so if multiple RPC requests are kicked off, the mask is only hidden once all the requests are complete. On Friday, February 1, 2013

Re: How to download a file from server without browser opening new window?

2013-02-01 Thread Thomas Broyer
Can't you just link to your servlet? a href={0}Download/a (where {0} is replaced with your URL) or new Anchor(Download, GWT.getModuleBaseURL() + MyServlet) On Friday, February 1, 2013 4:57:06 PM UTC+1, membersound wrote: Hi, I created a servlet that provides a downloadable file (from String

Re: GWT 2.5 compiler is running out of memory

2013-02-01 Thread Thomas Broyer
By default, GWT spawns new processes for the workers, you can switch to using threads by passing -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory in extraJvmArgs. Either that or try an even smaller value for localWorkers (or use a smaller memory opts)

Re: How to download a file from server without browser opening new window?

2013-02-01 Thread membersound
I'm using ui:binder. How should I provide href for the anchor as GWT.getModuleBaseURL()? Am Freitag, 1. Februar 2013 17:13:06 UTC+1 schrieb Thomas Broyer: Can't you just link to your servlet? a href={0}Download/a (where {0} is replaced with your URL) or new Anchor(Download,

How to use MultiSelectionModel with EditTextCell with a DataGrid

2013-02-01 Thread Claire
Hi, I have managed to implement a multi row selection using the 'setSelectionModel' method and the 'addSelectionChangeHandler'. This works nicely with TextCell type when initialising the columns in the data grid. However, this stops working when I switch from a TextCell to an EditTextCell

Re: How to use MultiSelectionModel with EditTextCell with a DataGrid

2013-02-01 Thread Claire
I am not using the MultiSelectionModel with a checkbox column. I want to select a row by using a mouse click. On Friday, February 1, 2013 4:31:45 PM UTC, Claire wrote: Hi, I have managed to implement a multi row selection using the 'setSelectionModel' method and the

Re: GWT 2.5 compiler is running out of memory

2013-02-01 Thread David Hoffer
Yes using -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory fixed the problem! Everything compiles fine now. With that set I was able to remove localWorkers...but just wondering what localWorkers means when using threads. Does that control the number of

Dictionary not working on IE7

2013-02-01 Thread Deepak Singh
Hi All, I am using Dictionary with GWT2.5. Its working fine everywhere except exception on IE7. Here is the exception java.util.MissingResourceException: 'upperSlideShow' is not a JavaScript object and cannot be used as a Dictionary Where 'upperSlideShow' is a var in html var upperSlideShow {

Re: GWT Designer - Can't create SWT Browser

2013-02-01 Thread Federico J. Rojkin
The instructions below maybe help you, I used it in a debian squeeze installation: 1-)Disable de options Used webkit for rendering GWT UI (if available) that is in: /Windows/Preferences/WindowsBuilder/GWT/ 2-)Close Eclipse ide 3-)Download and install

java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler

2013-02-01 Thread Seethalam Sundeep
Hi Guys, I'm trying to build an application using SMART GWT using below configurations. Eclipse Version : Juno 4.2 GWT Version : 2.0.0 App Engine : 1.3.7 The same is working in Eclipse GALILEO version Jars used: appengine-api-1.0-sdk-1.3.7.jar appengine-api-labs-1.3.7.jar

RPC - Silent failure using LinkedHashMap

2013-02-01 Thread peter
In a serialized class (Solutions) sent to the client via RPC, I have this method: @SuppressWarnings(unchecked) public LinkedHashMapString, SolutionBase copyMap() { return (LinkedHashMapString, SolutionBase) solutionsMap.clone(); } In the class containing a Solutions object, I

Does GWT optimize inefficient code?

2013-02-01 Thread Joel Cairney
Dear forum, I've searched as hard as I can, but I haven't found any information on what specific developer practices GWTs compiler optimizations might optimize out. For instance: for(int i = 0; i myList.size(); i++) {...} or in the presenter: getView().doAction(); for every action,

Re: GWT 2.5 compiler is running out of memory

2013-02-01 Thread Thomas Broyer
On Friday, February 1, 2013 6:02:11 PM UTC+1, dhoffer wrote: Yes using -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory fixed the problem! Everything compiles fine now. With that set I was able to remove localWorkers...but just wondering what

Re: Does GWT optimize inefficient code?

2013-02-01 Thread Dennis Haupt
the first one: unlikely - the size might change in the loop the second one is more likely Am 01.02.2013 19:27, schrieb Joel Cairney: Dear forum, I've searched as hard as I can, but I haven't found any information on what specific developer practices GWTs compiler optimizations might

Re: Dictionary not working on IE7

2013-02-01 Thread Thomas Broyer
What's you literal object looking like exactly? IIRC, IE7 strictly follows ECMAScript for literal objects in that it chokes on an ending comma; comma can only be used as a separator between properties; i.e. { foo: 1, bar: 2, } is incorrect, and in IE it's a parse errors (while other browsers

How to implement HasValue for ListBox?

2013-02-01 Thread BM
I have a custom class which is used to assign single handler to all of my UI text fields. Custom Class Watcher: = private ValueChangeHandlerString reusableChangeHandler; public void registerHandlers(HasValueString element) {

Re: Does GWT optimize inefficient code?

2013-02-01 Thread Colin Alworth
What about the first could be optimized out - just the size() accessor? Most List implementations have a size field (see http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/super/com/google/gwt/emul/java/util/ArrayList.java?r=6609#77 for the actual ArrayList used in compiled

Re: RPC - Silent failure using LinkedHashMap

2013-02-01 Thread Jens
Do you have an uncaught exception handler registered using GWT.setUncaughtExceptionHandler() to see if any unexpected exception has occurred? If that does not give any information you could compile your app in PRETTY mode so you can see all the java method names (DETAILED also gives your

Re: Does GWT optimize inefficient code?

2013-02-01 Thread Jens
Just compile your app in PRETTY or DETAILED mode and you will see how different the code can end up compared to what you have written in Java ;-) GWT does a pretty good job in optimizing your code. -- J. -- You received this message because you are subscribed to the Google Groups Google Web

Re: How to implement HasValue for ListBox?

2013-02-01 Thread Jens
ListBox has addChangeHandler() which is defined in HasChangeHandlers. So you would need registerHandlers(HasChangeHandlers element). Alternatively you could use ValueListBox instead of ListBox which also implements HasValue. -- J. -- You received this message because you are subscribed to

Re: How to implement HasValue for ListBox?

2013-02-01 Thread Thomas Broyer
The easiest is to use a ValueListBox but it works a bit differently from a ListBox (API wise; for the same generated DOM). The reason ListBox is not a HasValue is that some people would like getValue to return the selected index while others would prefer the selected option's value, and a few

Re: How to implement HasValue for ListBox?

2013-02-01 Thread BM
Thanks Jens and Thomas! Appreciate your quick response. Always learning new in GWT! I am not sure the exact difference between ListBox and ValueListbox. I can make a custom ListBox called WrappedListBox which extends ListBox and implements HasValueString. I think that is what you are

Implementing Custom SingleSelectionModel

2013-02-01 Thread BM
So I have a custom SingleSelectionModel which I am using to catch the setSelection well before it is selected. Basically to Cancel selection of second cell if the form data of the first cell is not saved. public class PromptingSelectionModelT extends SingleSelectionModelT { private

Re: How to implement HasValue for ListBox?

2013-02-01 Thread Thomas Broyer
On Friday, February 1, 2013 11:11:49 PM UTC+1, BM wrote: Thanks Jens and Thomas! Appreciate your quick response. Always learning new in GWT! I am not sure the exact difference between ListBox and ValueListbox. ValueListBox produces the same DOM as ListBox but is data oriented, a bit

Re: How to implement HasValue for ListBox?

2013-02-01 Thread BM
Thanks Thomas. I will take a look. It seems to be quite involved but I should be able to figure out what's happening here. On Friday, February 1, 2013 5:31:57 PM UTC-6, Thomas Broyer wrote: On Friday, February 1, 2013 11:11:49 PM UTC+1, BM wrote: Thanks Jens and Thomas! Appreciate your

Re: CellTree How to render different cell types at a given level ?

2013-02-01 Thread chaitanya deosthale
Subhro or metalhammer, Can you guys post some sample code? Where exactly did you use the trick to use a common super type or interface and cast as needed.? Should i be checking for casts inside the render method of the cell or just extend AbstractCellSuperClass and then cast the value being

[gwt-contrib] Change in gwt[master]: Add a webApiUsage property to control whether prefixed API's...

2013-02-01 Thread Brian Slesinsky
Brian Slesinsky has uploaded a new change for review. https://gwt-review.googlesource.com/1840 Change subject: Add a webApiUsage property to control whether prefixed API's will be used. .. Add a webApiUsage property to

[gwt-contrib] Change in gwt[master]: Add a webApiUsage property to control whether prefixed API's...

2013-02-01 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Add a webApiUsage property to control whether prefixed API's will be used. .. Patch Set 1: Code-Review+1 (1 comment)

[gwt-contrib] Change in gwt[master]: Add a webApiUsage property to control whether prefixed API's...

2013-02-01 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Add a webApiUsage property to control whether prefixed API's will be used. .. Patch Set 1: Starting over with the simple version. -- To view, visit

[gwt-contrib] Change in gwt[master]: Add a webApiUsage property to control whether prefixed API's...

2013-02-01 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Add a webApiUsage property to control whether prefixed API's will be used. .. Patch Set 1: (1 comment)

[gwt-contrib] Change in gwt[master]: Add a webApiUsage property to control whether prefixed API's...

2013-02-01 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Add a webApiUsage property to control whether prefixed API's will be used. .. Patch Set 1: (2 comments) I like it. The more I think about rAF and how

[gwt-contrib] Change in gwt[master]: Add a webApiUsage property to control whether prefixed API's...

2013-02-01 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Add a webApiUsage property to control whether prefixed API's will be used. .. Patch Set 1: (2 comments)

[gwt-contrib] Change in gwt[master]: Add a webApiUsage property to control whether prefixed API's...

2013-02-01 Thread Brian Slesinsky
Hello John A. Tamplin, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/1840 to look at the new patch set (#2). Change subject: Add a webApiUsage property to control whether prefixed API's will be used.

[gwt-contrib] Change in gwt[master]: Add a webApiUsage property to control whether prefixed API's...

2013-02-01 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Add a webApiUsage property to control whether prefixed API's will be used. .. Patch Set 1: (1 comment)

[gwt-contrib] Change in gwt[master]: Add a webApiUsage property to control whether prefixed API's...

2013-02-01 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Add a webApiUsage property to control whether prefixed API's will be used. .. Patch Set 1: (1 comment)

[gwt-contrib] Change in gwt[master]: Issue 7834 - fix BigDecimal compareTo

2013-02-01 Thread Matthew Dempsky
Hello Thomas Broyer, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/1660 to look at the new patch set (#3). Change subject: Issue 7834 - fix BigDecimal compareTo .. Issue 7834 - fix

[gwt-contrib] Change in gwt[master]: Issue 7834 - fix BigDecimal compareTo

2013-02-01 Thread Matthew Dempsky
Hello Thomas Broyer, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/1660 to look at the new patch set (#4). Change subject: Issue 7834 - fix BigDecimal compareTo .. Issue 7834 - fix

[gwt-contrib] Change in gwt[master]: Issue 7834 - fix BigDecimal compareTo

2013-02-01 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Issue 7834 - fix BigDecimal compareTo .. Patch Set 4: (2 comments) File

[gwt-contrib] Change in gwt[master]: Issue 7834 - fix BigDecimal compareTo

2013-02-01 Thread Matthew Dempsky
Hello Thomas Broyer, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/1660 to look at the new patch set (#5). Change subject: Issue 7834 - fix BigDecimal compareTo .. Issue 7834 - fix

[gwt-contrib] Change in gwt[master]: Issue 7834 - fix BigDecimal compareTo

2013-02-01 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Issue 7834 - fix BigDecimal compareTo .. Patch Set 4: (2 comments) File

[gwt-contrib] Change in gwt[master]: Issue 7834 - fix BigDecimal compareTo

2013-02-01 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Issue 7834 - fix BigDecimal compareTo .. Patch Set 5: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/1660 To unsubscribe, visit

[gwt-contrib] Change in gwt[master]: Issue 7834 - fix BigDecimal compareTo

2013-02-01 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Issue 7834 - fix BigDecimal compareTo .. Patch Set 5: So for the record here, this bug ended up being a number of issues that hilariously interacted: 1.