ValueChangeHandler on EditTextCell does only work for 1st edit?

2013-02-25 Thread membersound
Hi, I have a big problem with ValueChangeEvent on an EditTextCell: for testing purpose, I just always set the value to a fixed string, no matter what the change event was. Result: the first time I change the text in EditTextCell it works as expected and overrides the input text. BUT any other

Re: ValueChangeHandler on EditTextCell does only work for 1st edit?

2013-02-25 Thread Thomas Broyer
Editable cells keep their current state in their view data; if you want to set the value programmatically you have to clearViewData() first. Try adding something like: ((AbstractEditableCellString) nameCell.getCell()).clearViewData(nameCell.getValue()); before you setValue(). Still trying to

Reusable GWT components in java library packages

2013-02-25 Thread Lehel
I just write a short presentation of how to create a gwt reusable package, containing new gwt widgets: See this blog: http://lehelsipos.blogspot.ro/2013/02/reusable-gwt-components-in-java-library.html http://lehelsipos.blogspot.com/2013/02/reusable-gwt-components-in-java-library.html with

Requestbuilder problem?

2013-02-25 Thread Thomas Lefort
I initially posted this question http://stackoverflow.com/questions/15033742/requestbuilder-with-file-dataon SO, thinking that it was more something on HTTP headers, but I played with http headers without success and I am now thinking it could be a requestbuilder issue. Essentially, I am

Re: Requestbuilder problem?

2013-02-25 Thread Thomas Broyer
The only suggestion I could make is to not use RequestBuilder for binary data. Go down to the XMLHttpRequest level instead, with JSNI to send the Blob/File/ArrayBuffer/whatever (either JSNI, or use the elemental.xml.XMLHttpRequest instead of the com.google.gwt.xhr.client.XMLHttpRequest) On

New widgets: Best way to implement them?

2013-02-25 Thread Jens
I am planing to write some new widgets that meet my personal requirements and I would like to have some opinions how to implement them best. First my requirements: 1.) Performance 2.) ClientBundle for styles/resources 3.) DOM/behavior should be extendable/changeable (see next point) 4.) Mobile

Re: ValueChangeHandler on EditTextCell does only work for 1st edit?

2013-02-25 Thread Kody
Thanks that's a good hint. But using as you suggested only fixes the behaviour for every 2nd data change. Thats really strange: I edit the field 1st time, then value is overriden. I edit it 2nd time: value stays as has been input. I edit 3rd time: value is overridden again. And so forth. Why

Re: ValueChangeHandler on EditTextCell does only work for 1st edit?

2013-02-25 Thread Kody
Maybe it has something to do with this issue? http://code.google.com/p/google-web-toolkit/issues/detail?id=4785 -- 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

Re: ValueChangeHandler on EditTextCell does only work for 1st edit?

2013-02-25 Thread Kody
Hm ok I tried this, but it does not change the issue I described above. Though clearing the viewdata, only the first edit is overridden. 2013/2/25 Thomas Broyer t.bro...@gmail.com Editable cells keep their current state in their view data; if you want to set the value programmatically you

Re: ValueChangeHandler on EditTextCell does only work for 1st edit?

2013-02-25 Thread Kody
By the way I found out, that using nameCell.setValue(value change name, true); together with clearing the viewData will not change the visible label in front of the EditTextCell, but when I change the cell to edit mode by clicking on it, then the text is NOT equal to the label, but just shows the

Re: [POLL] Maven project layout, what to standardize?

2013-02-25 Thread dparish
I think a major goal should be to cooperate with other container plugins, specifically Jetty. I've been struggling with getting the Jetty plugin to fully cooperate w/ the gwt plugin and am astounded at how hard it is to: 1. Get my server code to be updated without a server restart (if the

Re: GWT still viable for new projects?

2013-02-25 Thread James Nelson
GWT is still alive and well. 2.5.1 is getting released soon, and work is happening on 2.6 already. The main reason why there is less attention being paid to GWT is that it is a mature library; there's still lots of work and maintenance to do, but as for the core features, it's all there

Re: [POLL] Maven project layout, what to standardize?

2013-02-25 Thread Thomas Broyer
On Mon, Feb 25, 2013 at 4:47 PM, dparish dpar...@gmail.com wrote: I think a major goal should be to cooperate with other container plugins, specifically Jetty. I've been struggling with getting the Jetty plugin to fully cooperate w/ the gwt plugin and am astounded at how hard it is to: 1.

Re: GWT Dashboard Development

2013-02-25 Thread David
1) Find yourself or build a nice html mockup that displays a dashboard or portal layout. ( This should just be html and css ) 2) convert the mockup to a skeletal implemention using UIB templates ( the content should be static at this point) 3) instrument your templates with dynamic data

Re: table.getInnerHTML() not giving appropriate results

2013-02-25 Thread Axel REGNOULT
Hi Thomas, Could you confirm me that the choice between the InnerHTML or the CellTable can also depend of the amount of data that the table needs to display (CellTable talks about large amout of data) ? Indeed, I am thinking that using a CellTable to manage a list of 10 items is oversized

Class files being generated to source trees when running GWT from within IDE

2013-02-25 Thread Jim Weaver
Hi, We've seen this with both Eclipse and Intellij, but currently with IntelliJ. When we launch our web application using the IntelliJ GWT plugin via a run configuration, the application launches fine, but class files are written to the source trees. I can see the source trees in the

Re: Class files being generated to source trees when running GWT from within IDE

2013-02-25 Thread Jens
Probably a misconfiguration in your IDE. I am using Eclipse and IntelliJ 12 and never had this problem. Check your class output folders and your launch configuration. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe

Re: Class files being generated to source trees when running GWT from within IDE

2013-02-25 Thread Ignacio Baca Moreno-Torres
If you are using maven it is probably that you have the inplace configuration set to true. see: http://maven.apache.org/plugins/maven-war-plugin/inplace-mojo.html see: http://mojo.codehaus.org/gwt-maven-plugin/user-guide/compiler.html On Monday, February 25, 2013 11:03:24 PM UTC+1, Jim Weaver

Re: GWT 2.5 dev mode unable to refresh

2013-02-25 Thread Craig Mitchell
I've noticed this error when our app opens a new browser window that loads the GWT app up again (not seen the error when refreshing). Happens in IE9 and Chrome. However, if I just restart my server and then refresh the page, it will then work okay. And even more strangely, sometimes the

DTO as a place constructor parameter in MVP with Activities and Places

2013-02-25 Thread Craig Hawkins
I have looked at the MVP with Activities and Places examples in the Google GWT development docs and tutorials and started creating a simple app. I am now looking at editing an object from a datastore and have a DTO representation of the object. It seems natural to pass this DTO to a place

[gwt-contrib] Change in gwt[master]: Removes deprecated checkpoint functionality from GWTTestCase.

2013-02-25 Thread Goktug Gokdogan
Goktug Gokdogan has uploaded a new change for review. https://gwt-review.googlesource.com/2001 Change subject: Removes deprecated checkpoint functionality from GWTTestCase. .. Removes deprecated checkpoint functionality

[gwt-contrib] Change in gwt[master]: Removes deprecated checkpoint functionality from GWTTestCase.

2013-02-25 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Removes deprecated checkpoint functionality from GWTTestCase. .. Patch Set 1: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/2001 To