Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-14 Thread Andrés Testi
+1 How we can trust in Google APIs and services (AppEngine for example) if they leaves a wide used framework like GWT? Sorry, but you lost credibility. I know, GWT is Open Source and free as a free beer, but this abandon is a mistake. Please, we need feedback. Regards. - Andrés El lunes, 2

Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-14 Thread supercobra
I hope Google IO will be a good opportunity for the GWT team to announce new things and update us. However it's never a good sign when a team of developers is not reaching out to their audience. Uncertainty, this feels like. Yeeess. -- You received this message because you are subscribed to

Re: CellTable - How to programmatically start editing a cell.

2012-04-14 Thread R.K.P. Pisters
I remember facing the same problem some time ago. In the end I just dispatched a click event on the cell, like so: Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() { @Override public void execute() { int i = getRowIndex(); int j = getColumnIndex(); NativeEvent clickEvent

Re: CellTable - How to programmatically start editing a cell.

2012-04-14 Thread Alfredo Quiroga-Villamil
Ralf: Appreciate the response. It sure looks better than what I was going to do, which was copy/paste the whole class, etc... just to get to the member I need. I wonder if I should open an enhancement or something along those lines for this. One should be able to easily and programmatically

Google Heatmap Visualization

2012-04-14 Thread Maksim Ustinov
Google's new [geochart][1] do display Heat Map looks very cool but currently it does not have GWT wrapper (at leaset I couldn't fine one). I tried to play with the Visualization API for GWT gut it generated different output. For example here is how I tried to convert that JS that they showed on

Re: bizarre yet predictable triple and interleaved call to servlet when using Chrome GWT devmode

2012-04-14 Thread Jens
Have you verified (using chrome dev tools) that the browser successfully fetches waga/waga.nocache.js and that waga.nocache.js actually contains javascript code? If your app does not start it seems like the javascript file could not be loaded because of a wrong URL or you use some server side

Re: how to programmatically access the value of this widget

2012-04-14 Thread Alfredo Quiroga-Villamil
In CompositePanel expose a getter for your texbox and then invoke getValue() on it? Best regards, Alfredo On Sat, Apr 14, 2012 at 10:17 AM, tong123123 tong123...@gmail.com wrote: as shown in the attached image, if I want to access the value of the textbox with value value2 (the textbox in

Re: how to programmatically access the value of this widget

2012-04-14 Thread Jens
Store your widgets in fields and add getter/setter methods so you can access their data. Also in your ClickHandler instead of: ((HATestPanel)((Button) event.getSource()).getParent()).add(compositePanel); you can simply do add(compositePanel) or HATextPanel.this.add(compositePanel) if you

For gin+code splitting,why will how to call injector's method affect splitting result?

2012-04-14 Thread Alex Luya
/Codes //Sub-Module1 injector @GinModules(M1Module.class) public interface M1Injector extends Ginjector { Widget1 getWidget1(); } //module public class M1Module extends AbstractGinModule { @Override protected void configure() { bind(Widget1.class).to(Widget1Impl.class); } }

Re: CellTable - How to programmatically start editing a cell.

2012-04-14 Thread Thomas Broyer
On Friday, April 13, 2012 7:16:10 PM UTC+2, Alfredo Quiroga-Villamil wrote: Scenario is as follows: - CellTable with a column containing an EditTextCell. - Add new record to the ListDataProvider. - I can edit and do all the good stuff by hand to the newly added record in the CellTable.

Re: how to programmatically access the value of this widget

2012-04-14 Thread tong123123
I think you mean add a getter and setter in CompositePanel, but the problem is how to access it in HATestPanel? as I don't know the variable name of each CompositePanel. just like I click the button three times, then what is the variaible name of these 3 compositePanel? although in each click

Re: how to programmatically access the value of this widget

2012-04-14 Thread Jens
Store them in a separate list or iterate through all child widgets of your HATestPanel using FlowPanel.getWidgetCount() and FlowPanel.getWidget(int index). For each widget check if its a CompositePanel, cast it and call its getter to get the value. Am Samstag, 14. April 2012 17:06:08 UTC+2

Re: how to programmatically access the value of this widget

2012-04-14 Thread Thomas Broyer
On Saturday, April 14, 2012 5:13:39 PM UTC+2, Jens wrote: Store them in a separate list or iterate through all child widgets of your HATestPanel using FlowPanel.getWidgetCount() and FlowPanel.getWidget(int index). For each widget check if its a CompositePanel, cast it and call its getter

Re: CellTable - How to programmatically start editing a cell.

2012-04-14 Thread Alfredo Quiroga-Villamil
Hi Thomas: Thanks for the response. 1. extend the cell to automatically switch to an isEditing() state on some trigger Unless I bypass access by using JSNI, ViewData and isEditing are both package access. I typically avoid doing what you suggested, although, I have to admit, I've had to do it

Re: how to programmatically access the value of this widget

2012-04-14 Thread tong123123
Sorry, I cannot catch your idea, in my clickhandler, the variable name is compositePanel for each click, and then add to the flowpanel, but if I press the add button three time and then outside the add button, how to refer the name of these three compositePanel? Thomas Broyer於

Re: how to programmatically access the value of this widget

2012-04-14 Thread tong123123
thanks, now my implementation is public class HATestPanel extends FlowPanel{ Button btnAdd = new Button(Add); Button btnListWidget = new Button(submit); public void onLoad(){ this.add(btnAdd); this.add(btnListWidget); btnAdd.addClickHandler(new ClickHandler(){

Re: how to programmatically access the value of this widget

2012-04-14 Thread Jens
But there is still some problem, if I want to add a delete button after each row, is it very difficult?Or the easier method is add a checkbox before the listbox in class CompositePanel and then add a delete button (one and only one for the HATestPanel, not per row) to the HATestPanel?

Re: RPC - can't get to remote server

2012-04-14 Thread Jens
You start your GWT app and your Netbeans server app independently of each other? If so, you have run into the Same-Origin-Policy implemented by web browsers (http://en.wikipedia.org/wiki/Same_origin_policy). This means that your GWT application that is running on http://127.0.0.1: can only

Re: RPC - can't get to remote server

2012-04-14 Thread Blake McBride
Wow. I was trying to use RPC to get past SOP. I can't deploy them together because I need the development environment to develop and that means separate environments. Having two backends communicate adds an undesired additional layer. I had JSONP working just fine but couldn't get two way

Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-14 Thread Frank
I believe you are being over-pessimistic. In my company we are using GWT since 2006 and we have build pretty large and complicated web-apps using GWT. Some webapps created in 2006 (using GWT 1.2) are still being used today without any problem on any modern browser. Normally old stuff keeps

Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-14 Thread Raphael André Bauer
On Sat, Apr 14, 2012 at 10:05 PM, Frank frank.wyna...@gmail.com wrote: I believe you are being over-pessimistic. In my company we are using GWT since 2006 and we have build pretty large and complicated web-apps using GWT. Some webapps created in 2006 (using GWT 1.2) are still being used today

Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-14 Thread bryanb
I agree 100% with your assessment of alternative technologies, and agree that GWT is really the only solution for developing complex web applications. The only alternative is a 100% Javascript solution (for example using Closure tools). With Dart, Google have acknowledged that Javascript isn't