Improve Productivity Using GWT?

2015-02-05 Thread Mohammed
Hi,
We are developing web application using GWT/Bootstrap.We are creating 
customized component using GWT/Bootstap for our web application to 
support.But we notice that its taking huge time to build the component (to 
get responsiveness), Which result in less productivity.Since we are 
spending more time on building the custom component instead of focusing on 
building the Product.Is there any way how we can improve the productivity 
using GWT?Any suggestion?

-- 
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 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: How to add 'X' in StoreFilterField

2015-02-05 Thread Mohammed

@Naseer: 'X' symbol will appear on IE browser for all the input field(Check 
for any other web page in IE), its not gwt or gxt issue.I know you have 
added some workaround styling to hide 'X' symbol.
On Tuesday, February 3, 2015 at 7:26:47 PM UTC+5:30, Anjum Naseer wrote:
>
> @Mohammad: I am using IE11, and i have tried on Chrome it doest appear 
> there.
>
> I have resolved it , It is actually Microsoft`s own clear text which 
> actually bypasses all GXT events and i was unable to cacth any event in 
> order to filter my data table.
> I have resolved it by adding 
>
> ::-ms-clear {
>   display: none;
> }
>
>
> in my css file. It works perfectly well in IE 11 as well.
>
>
> @Thomas: I am using *StoreFilterField *which is from *gxt-2.2.5-gwt22.jar*
> .
>

-- 
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 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT rebranding

2015-02-05 Thread Mohammed
yup +1,I too notice that gwtproject.org is not so friendly.Need some 
improvement.

On Thursday, February 5, 2015 at 10:32:46 PM UTC+5:30, João Martins wrote:
>
> Hello,
>
> I have been using GWT since 2007 and I still believe it is the best web 
> development framework, for small and mainly for larger enterprise projects.
>
> I noticed that the development difficulties caused by the slow 
> compilation, the painful setup for non experts, the deprecation of 
> debugging directly in IDE, etc, are still in everyone's mind when talking 
> about GWT. When I explain that nowadays it is completely different, there 
> is already a stigma around GWT that is really hard to shift minds.
> Since a while ago they were overcome by other tools, mainly by frontend UI 
> only web developers by coding directly JS or with jQuery, CoffeeScript or 
> recently with AngularJS.
>
> Regarding the recent updates of GWT:
> Who really knows that GWT is no longer Google Web Toolkit? Renaming it was 
> not renaming it...
>
> Have you guys thought about *really renaming the GWT* (gweet || g.w.t. || 
> google web toolkit) to *something completely different*?
>
> Changing the site was good, but not optimal and didn't do any difference 
> in my perspective!
> - It is pretty but it is trying to sell a new logo, a brand, rather than 
> the framework. It is obfuscating the greatness of GWT to anyone that sees 
> the site for the first time, or just want to review the status of GWT 
> currently.
> - The new GWT logo is so inline with ArcBees branding and all their logos 
> that now it seems that GWT belongs to ArcBees only.
> If you look to the ScalaJS website it is perfect for its purpose.
>
>
> Make yourself an exercise: 
> - go to www.scala-js.org and see how long you take to understand what it 
> is, how many clicks away you have to give it a try;
> - and then do the same with gwtproject.org and compare
>
>
> My suggestion on this post was to tease you guys to make a *bolder move*.
> If you want GWT to gain its momentum again, to attract again young and old 
> developers, a major move needs to be done and can be a simple marketing one.
>
> My suggestion:
> - drop GWT name and change to: Java2JS or JavaJS or JJS
> - rethink the website, make it simple and developer friendly
>
> I will still use GWT regardless to allow me coding with my lovely Java, 
> but I would really appreciate to other developers to embrace again the 
> magic and potentiality that this framework enables.
>
> Thanks!
>
> Best,
> Joao
>
>
>

-- 
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 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: I need java.util.Collections synchronized classes.

2015-02-05 Thread iza
I believe super-source is what you need. Have you seen the documentation 
"Overriding one package implementation with another" 
at 
http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml

-- 
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 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


I need java.util.Collections synchronized classes.

2015-02-05 Thread ehodges
I'm trying to share some Java code between my server and client using GWT. 
 When I try to compile this Java code for GWT, I find that 
Collections.synchronizedSortedSet() is not defined for GWT.

I understand why Javascript doesn't need synchronized versions of these 
collections, but I can't modify the Java code I want to share with GWT.

Does anyone have a workaround for this kind of problem?  I don't really 
understand how to use the "super-source" tag in the module definition. 
 Could that be used to replace Collections.synchronizedSortedSet() with a 
SortedSet?

-- 
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 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT rebranding

2015-02-05 Thread Jens
It has already noticed that the landing page of gwtproject.org is not 
friendly for people who know nothing about GWT:

https://github.com/gwtproject/gwt-site/issues/38

So this needs to be updated. Maybe some SEO work can also be done to 
improve ranking when searching for "Java to JavaScript compiler". GWT is 
already on the first page but I guess it should be possible to climb up a 
few ranks.

I would not rebrand GWT to a different name and literally break everything 
because there are lots of blog entries out there talking about GWT. If you 
would rename GWT then people new to  would not find 
these resources even though their content might still be relevant and 
helpful. 

Moving source code to the org.gwtproject namespace would be nice, as it 
underlines that GWT is now managed by a Steering group, but I am not sure 
if that will ever happen and if its really that important.

-- J.

-- 
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 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT rebranding

2015-02-05 Thread Paul Robinson
+1

This would be a breaking change because all gwt package names should
change. But it is probably worthwhile to have a Google-free name and brand.

I think this appraisal of the website and especially in comparison to the
scala-js website is correct. It's probably painful after the recent changes
though.

Paul

-- 
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 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT rebranding

2015-02-05 Thread João Martins
Hello,

I have been using GWT since 2007 and I still believe it is the best web 
development framework, for small and mainly for larger enterprise projects.

I noticed that the development difficulties caused by the slow compilation, 
the painful setup for non experts, the deprecation of debugging directly in 
IDE, etc, are still in everyone's mind when talking about GWT. When I 
explain that nowadays it is completely different, there is already a stigma 
around GWT that is really hard to shift minds.
Since a while ago they were overcome by other tools, mainly by frontend UI 
only web developers by coding directly JS or with jQuery, CoffeeScript or 
recently with AngularJS.

Regarding the recent updates of GWT:
Who really knows that GWT is no longer Google Web Toolkit? Renaming it was 
not renaming it...

Have you guys thought about *really renaming the GWT* (gweet || g.w.t. || 
google web toolkit) to *something completely different*?

Changing the site was good, but not optimal and didn't do any difference in 
my perspective!
- It is pretty but it is trying to sell a new logo, a brand, rather than 
the framework. It is obfuscating the greatness of GWT to anyone that sees 
the site for the first time, or just want to review the status of GWT 
currently.
- The new GWT logo is so inline with ArcBees branding and all their logos 
that now it seems that GWT belongs to ArcBees only.
If you look to the ScalaJS website it is perfect for its purpose.


Make yourself an exercise: 
- go to www.scala-js.org and see how long you take to understand what it 
is, how many clicks away you have to give it a try;
- and then do the same with gwtproject.org and compare


My suggestion on this post was to tease you guys to make a *bolder move*.
If you want GWT to gain its momentum again, to attract again young and old 
developers, a major move needs to be done and can be a simple marketing one.

My suggestion:
- drop GWT name and change to: Java2JS or JavaJS or JJS
- rethink the website, make it simple and developer friendly

I will still use GWT regardless to allow me coding with my lovely Java, but 
I would really appreciate to other developers to embrace again the magic 
and potentiality that this framework enables.

Thanks!

Best,
Joao


-- 
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 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT “No source code is available for type” when incrementalCompileWarnings flag set to true

2015-02-05 Thread Anton Samoylov


Our project compiles fine when flag incrementalCompileWarnings isn't set to 
true (for maven-gwt-plugin). When it's set, there appear several errors 
like this:

Tracing compile failure path for type 
'my.module.client.entryPoint.MyModuleEntryPoint'[INFO]   [ERROR] Errors in 
'jar:file:/path/to/jar.jar!/my/module/client/entryPoint/MyModuleEntryPoint.java'[INFO]
  [ERROR] Line 76: No source code is available for type 
my.module.service.client.SomeClientClass; did you forget to inherit a required 
module?

However I have the required line in MyModule.gwt.xml:

  

What could cause the problem?

Thanks.

-- 
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 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: How to implement select all checkbox header for cell table

2015-02-05 Thread Jonathan Franchesco Torres Baca
Clase con el Grid:
/*
 * To change this license header, choose License Headers in Project
Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.webgocommerce.client.view.grid;

import com.google.gwt.cell.client.Cell;
import com.google.gwt.cell.client.CheckboxCell;
import com.google.gwt.cell.client.FieldUpdater;
import com.google.gwt.cell.client.NumberCell;
import com.google.gwt.cell.client.TextCell;
import com.google.gwt.cell.client.TextInputCell;
import com.google.gwt.core.shared.GWT;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
import com.google.gwt.user.cellview.client.Column;
import com.google.gwt.user.cellview.client.DataGrid;
import com.google.gwt.user.cellview.client.Header;
import com.google.gwt.user.cellview.client.SimplePager;
import com.google.gwt.user.client.Window;
import com.google.gwt.view.client.DefaultSelectionEventManager;
import com.google.gwt.view.client.MultiSelectionModel;
import com.google.gwt.view.client.SelectionModel;
import com.google.web.bindery.event.shared.EventBus;
import com.google.web.bindery.event.shared.SimpleEventBus;
import com.webgocommerce.client.beanproxy.PrecioItemProxy;
import
com.webgocommerce.client.requestfactory.ContextMantenimientoPrecioItem;
import com.webgocommerce.client.requestfactory.FactoryGestion;
import com.webgocommerce.client.resource.MyResource;
import com.webgocommerce.client.uiutil.CheckCellHead;
import com.webgocommerce.client.uiutil.FilteredListDataProvider;
import com.webgocommerce.client.uiutil.IFilter;
import com.webgocommerce.client.view.uisesion.UISesionImpl;
import com.webgocommerce.shared.FieldVerifier;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;

/**
 *
 * @author SISTEMAS
 */
public class GridPrecioItem extends DataGrid {
public final static String E="E";
public final static String L="L";
private String modo;
private final FactoryGestion FACTORY =
com.google.gwt.core.client.GWT.create(FactoryGestion.class);
private final EventBus EVENTBUS = new SimpleEventBus();
private List data = new ArrayList();
private HashSet indexUpdates = new HashSet();
private final MultiSelectionModel selectionModel = new
MultiSelectionModel();
private FilteredListDataProvider dataProvider = new
FilteredListDataProvider(new IFilter() {

@Override
public boolean isValid(PrecioItemProxy value, String filter) {
if (filter == null || value == null) {
return true;
} else {
String values = value.getId().toString().toLowerCase() + "
" + value.getCodigo().toLowerCase() + " " + value.getMarca().toLowerCase()
+ " " + value.getDescripcion().toLowerCase();
return values.contains(filter.toLowerCase());
}
}
});

private SimplePager pager;

public GridPrecioItem() {
initComponents();
//initStyle();
}

private void initComponents() {
this.setWidth("100%");
this.setHeight("90%");
initColumns();
initEditColumns();
this.setRowCount(data.size(), true);
this.setRowData(0, data);
dataProvider.setList(data);
dataProvider.addDataDisplay(this);
this.setVisible(true);
SimplePager.Resources pagerResources =
GWT.create(SimplePager.Resources.class);
pager = new SimplePager(SimplePager.TextLocation.CENTER,
pagerResources, false, 0, true);
pager.setDisplay(this);
pager.setVisible(true);
this.setSelectionModel(selectionModel,
DefaultSelectionEventManager.createCheckboxManager());
}

private void initColumns() {
this.addColumn(checkColumn, headCheckAll);
this.addColumn(estado, "EST");
this.addColumn(codigo, "CODIGO");
this.addColumn(descripcion, "DESCRIPCION");
this.addColumn(marca, "MARCA");
this.addColumn(precioSd, "PRECIOSD");
this.addColumn(descuento, "DESCUENTO");
this.addColumn(precioVenta, "P. VENTA");
this.addColumn(valorVenta, "VALOR VENTA");
this.addColumn(igv, "IGV");
this.setColumnWidth(checkColumn, 6, Unit.PCT);
this.setColumnWidth(estado, 6, Unit.PCT);
this.setColumnWidth(codigo, 10, Unit.PCT);
this.setColumnWidth(marca, 15, Unit.PCT);
this.setColumnWidth(descripcion, 25, Unit.PCT);
}

private void calcularPrecioSd(int index, PrecioItemProxy object, String
value) {
if (FieldVerifier.isNumber(value)) {
ContextMantenimientoPrecioItem context =
FACTORY.contextMantenimientoPrecioItem();
FACTORY.initialize(EVENTBUS);
PrecioItemProxy beanEdit = context.edit(object);
BigDecimal valprecioSd =
BigDecimal.valueOf