Re: Debugging is terribly slow

2012-06-19 Thread Thomas Broyer


On Wednesday, June 20, 2012 6:41:36 AM UTC+2, Magnus wrote:
>
>
>
> Am Dienstag, 19. Juni 2012 17:19:26 UTC+2 schrieb Thomas Broyer:
>>
>>
>> Have you tried SuperDevMode? Experimental and requires a bleeding-edge 
>> GWT version, if it helps being productive then it's probably worth the try.
>>
>
> Not yet. Where can I get more information on this?
>

Have a look at these:
http://tbroyer.posterous.com/how-does-gwts-super-dev-mode-work
https://vaadin.com/blog/-/blogs/vaadin-and-superdevmode
https://plus.google.com/114381042541815729438/posts/LvJ5ZW5NsWZ
 

>
>> Have you modularized your app so you can run only a subset of it in 
>> DevMode?
>>
>
> My app is modularized in packages, but I think this doesn't reduce the 
> overhead when it is run. What level of modularization do you mean?
>

I mean creating GWT modules, and a few additional modules with an 
EntryPoint that you can use for development. For instance, a module that 
only contains a handful of "screens". Make sure you really modularize your 
app, so that these modules have a smaller "source path" (as defined by 
 in your modules) than your full app.
 

>  
>
>> Have you tried profiling DevMode and tweaking the JVM options?
>>
>
> No! Which JVM options could I try?
>

Memory options to being with.
You can use -XX:+UseCompressedOops if you're using a 64bit JVM.

-- 
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/-/J7Fq5IJ8hB4J.
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: Debugging is terribly slow

2012-06-19 Thread Magnus


Am Dienstag, 19. Juni 2012 17:19:26 UTC+2 schrieb Thomas Broyer:
>
>
> Have you tried SuperDevMode? Experimental and requires a bleeding-edge GWT 
> version, if it helps being productive then it's probably worth the try.
>

Not yet. Where can I get more information on this? 

>
> Have you modularized your app so you can run only a subset of it in 
> DevMode?
>

My app is modularized in packages, but I think this doesn't reduce the 
overhead when it is run. What level of modularization do you mean?
 

> Have you tried profiling DevMode and tweaking the JVM options?
>

No! Which JVM options could I try?


> It also depends what one means by "serious development". A serious 
> developer won't refresh the browser upon changing a comma.
>

Well, I would define it like this: When you arrive at the breakpoint, you 
should still remember, what you wanted to do there! :-) 

Magnus

-- 
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/-/gAkTio29eq8J.
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: Draw graphs using GWT

2012-06-19 Thread Phillip DuLion
We started out creating our own wrappers around GWT, which wasn't too 
difficult.  However, JGraph does have a GWT wrapper for their JavaScript 
library.  They provided us with the wrapper library relatively recently, 
but so far we haven't had time to do more than experiment with it.  You may 
need to contact them directly to get your hands on it.

Phillip

On Tuesday, June 19, 2012 5:09:06 AM UTC-7, router router wrote:
>
> Hello,
>
>   My objective is to draw graph that present the production servers of an 
> IT company. The UI should be something like:
>
>  
>___ __  _
>   l  ServerA   l l  ServerB  l
>   ll   -->  ll
>   ll ll
>   l___ _ l l_l
>
>   The company where I work has imposed GWT as a tool to implement the 
> client side. Could you please suggest something like JGraph that I could 
> apply in the client side using GWT.
>  
> Regards.
>
>
>
> Regards
>

-- 
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/-/MT3vvtaq0hUJ.
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: Help: GWT Celltable Record (Specific Record Mouseover) ToolTip !!!

2012-06-19 Thread Julian
Hi,

i've had the same problem, many thanks to Jens and Rajeshwar for the
solution!

I've extended Column and TextColumn:

public abstract class TooltipColumn extends Column{
private final Cell cell;

public TooltipColumn(Cell cell) {
super(cell);
this.cell = cell;
}

public abstract SafeHtml getTooltipValue(T object);

@Override
 public void render(Context context, T object, SafeHtmlBuilder sb) {
SafeHtmlBuilder mysb = new SafeHtmlBuilder();

cell.render(context, getValue(object), mysb);
mysb.appendHtmlConstant("");
mysb.append(getTooltipValue(object));
mysb.appendHtmlConstant("");
sb.append(mysb.toSafeHtml());
  }
}

public abstract class TooltipTextColumn extends TooltipColumn {

  /**
   * Construct a new TextColumn.
   */
  public TooltipTextColumn() {
super(new TextCell());
  }

}

CSS:
  .CssCellTableCell span {
display:none
}

  .CssCellTableCell:hover span {
border:1px solid #e6e3e5;
DISPLAY: block;
Z-INDEX: 1000;
PADDING: 0px 10px 0px 10px;
POSITION:absolute;
float:left;
background:#d1;
TEXT-DECORATION: none
}

Add a Column:

TooltipTextColumn aTextColumn = new
TooltipTextColumn() {

@Override
public String getValue(Todos object) {
return object.getText();
}

@Override
public SafeHtml getTooltipValue(Todos object) {
return new
SafeHtmlBuilder().appendEscaped(object.getText()).toSafeHtml();
}
};

cellTable.addColumn(aTextColumn, "Text");

-- 
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: Draw graphs using GWT

2012-06-19 Thread PAUL PANIAGUA PANCORBO
I think you need this http://code.google.com/p/gwt-links/

Good Luck

2012/6/19 Harpreet Singh :
> Check out dygraphs as well. http://dygraphs.com/
> It is interactive, zoomable and can be used to represent charts of time
> series.
>
> Harpreet
>
>
>
> On Tue, Jun 19, 2012 at 9:02 AM, Alfredo Quiroga-Villamil
>  wrote:
>>
>> This might help you. Soon to be released in alpha. See: emitrom-test.com
>>
>> Regards,
>>
>> Alfredo
>>
>> On Jun 19, 2012 8:36 AM, "router router"  wrote:
>>>
>>> Hello,
>>>
>>>   My objective is to draw graph that present the production servers of an
>>> IT company. The UI should be something like:
>>>
>>>
>>>        ___ __                      _
>>>       l  ServerA   l                     l  ServerB  l
>>>       l                l   -->  l                l
>>>       l                l                     l                l
>>>       l___ _ l                     l_l
>>>
>>>   The company where I work has imposed GWT as a tool to implement the
>>> client side. Could you please suggest something like JGraph that I could
>>> apply in the client side using GWT.
>>>
>>> Regards.
>>>
>>>
>>>
>>> Regards
>>>
>>> --
>>> 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/-/B0zVEbUt1e4J.
>>> 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.

-- 
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 : invocation of com.google.gwt.user.tools.webappcreatorfailed

2012-06-19 Thread Tut
Hello,
 
   I am new on GAE , and i try to crete a new web program using Strut 
framework ,  and the system gave me the  invocation of 
com.google.gwt.user.tools.webappcreatorfailed message.
 
I do not know why I got this error since I was successful in create my 
HelloWorld application ealier.
 
If you would, please give me some advice.
 
BTW, I am running on a 64 bits machine.
 
Thanks,
 
 

-- 
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/-/SLBMLSCaE3AJ.
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 export a ArrayList in gwt to external file?

2012-06-19 Thread Joseph Lust
You can delete a post using the button on the post, but you cannot edit it.

If you send your request as an RPC, then you expect to get an RPC response. 
If the response instead is sending different mime headers (to popup a 
download prompt on the browser), I'm pretty sure GWT will throw an error. 
That is why I was saying you would want to trigger this with a form POST to 
your servlet, not an RPC request, since the POST can open a download prompt.


Jospeh

On Tuesday, June 19, 2012 4:49:03 AM UTC-4, tong123123 wrote:
>
> Finally I use a textbox to store the search criteria history and set its 
> visibility to false, then submit the form (FormPanel) to server and in 
> servlet, get the textbox value using request.getParameter("XXX");
> there is just some minor unknown about the RPC
>
>> An RPC expects an RPC serialized response
>>
> What does this exactly means? the response generated with 
> ServletOutputStream.flush is not allowed, right? 
> Thanks for the help!!
>
>
> On Tuesday, June 19, 2012 11:52:17 AM UTC+8, tong123123 wrote:
>>
>> Thanks for your reply.
>> yes, I am using rpc for the previous code.
>> to post a form, I remember FormPanel. but the example above is just a 
>> simplified case. in real, I need to pass a search history Map (time as the 
>> key, criteria string as the value) to servlet and use the servlet to export 
>> the Map content to a text file, Using FormPanel, how to pass the Map to 
>> servlet?
>> Also, seem this forum cannot edit post, so how to redact the titles of my 
>> previous attachment? delete it?
>>
>>

-- 
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/-/xO1RLb5t7UYJ.
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: Draw graphs using GWT

2012-06-19 Thread Alfredo Quiroga-Villamil
My apologies, I sent the wrong link before :(

http://www.emitrom-test.appspot.com/

Regards,

Alfredo

On Tue, Jun 19, 2012 at 12:02 PM, Alfredo Quiroga-Villamil
 wrote:
> This might help you. Soon to be released in alpha. See: emitrom-test.com
>
> Regards,
>
> Alfredo
>
> On Jun 19, 2012 8:36 AM, "router router"  wrote:
>>
>> Hello,
>>
>>   My objective is to draw graph that present the production servers of an
>> IT company. The UI should be something like:
>>
>>
>>        ___ __                      _
>>       l  ServerA   l                     l  ServerB  l
>>       l                l   -->  l                l
>>       l                l                     l                l
>>       l___ _ l                     l_l
>>
>>   The company where I work has imposed GWT as a tool to implement the
>> client side. Could you please suggest something like JGraph that I could
>> apply in the client side using GWT.
>>
>> Regards.
>>
>>
>>
>> Regards
>>
>> --
>> 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/-/B0zVEbUt1e4J.
>> 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.



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

-- 
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: Debugging is terribly slow

2012-06-19 Thread Joseph Lust
Magnus,

It is likely not the response you're looking for, but our app has grown so 
large we faced the same issues as you. We're taking the radical step of 
breaking it into many standalone modules that can link between each other 
(compile to different wars). That way, when you're opening/debugging a 
module it still works in a few seconds, not minutes. It sounds like a big 
step, but makes many other things like partial upgrades and partial 
deployments possible as well. It also enforces decoupling of modules 
meaning our 45 devs don't step on each other as much. You might want to 
consider it.

Sincerely,
Joseph

-- 
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/-/OmTE7kO1xzEJ.
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.



rpc.SerializationException in parametrized class

2012-06-19 Thread Nikola Markovic
[code]
MyGenericClass implements IsSerializable{

public MyGenericClass(){ } 

}
[/code]
throws rpc.SerializationException when trying to send an instance using 
RPC. Though,
[code]
MyGenericSubclass extends MyGenericClass{
// ...
}
[/code]
works perfectly.

I've found a 
linkthat 
pretty much describes my problem as well as the 
fix , but 
it doesn't seem to work.

Any thoughts? 

Thanks in advance,

Nikola

-- 
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/-/g8TzKnF3TW4J.
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: IE hacks in CssResource

2012-06-19 Thread Thomas Broyer

On Tuesday, June 19, 2012 9:13:25 PM UTC+2, Shaun Tarves wrote:
>
> I would like to include some IE-specific hacks in my CssResource. 
> Something along the lines of:
>
> *header {width:290px;height:200px;background:#000;}
>
> However, the GWT CSS compiler throws warnings when it encounters one.
>
> In some cases, the user.agent is not specific enough (for example, it 
> doesn't have an ie7 value), and certain hacks *, /9, _, etc are necessary 
> in those cases.
>
> Is there a proper way to pass these hacks through the CSS compiler that 
> doesn't include user.agent checking?
>

You can do the check in a static method and then use that in the @if 
condition. 

-- 
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/-/9fSp0m6K-FcJ.
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: Designing for testability with MVP and Activities and Places

2012-06-19 Thread Ed

>
> @Mike: also have a look at this topic, it might give you some idea's:

LINKIE
 

-- 
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/-/hrenD7AIAOgJ.
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: RequestFactory's historyToken encoding / characters

2012-06-19 Thread Thomas Broyer

On Tuesday, June 19, 2012 10:57:30 PM UTC+2, Arash wrote:
>
> Hi,
>
> I use "$" as the separator in my Tokenizer and then parse the token 
> respectively considering the "$" location. This used to work in gwt 2.3 
> mainly because getHistoryToken(...) never returned "$" as part of 
> HistoryToken string. 
> In gwt 2.4 "$" character can be easily found in historyToken which 
> contradicts my assumption. The solution is simply switch to another 
> separator but I like to know what the contract is for historyToken encoding 
> characters so I can safely choose let's say "!" and be sure that 
> requestFactory.getHistoryToken(...) will never contain "!"
>

IIRC, RF uses a Base64 encoded ID, except it uses chars $ and _ in place of 
the traditional + and /, and it uses an @ separator between ID parts.
So ! should be "safe". 

-- 
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/-/q1ajwDHyrCcJ.
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.



RequestFactory's historyToken encoding / characters

2012-06-19 Thread Arash
Hi,

I use "$" as the separator in my Tokenizer and then parse the token 
respectively considering the "$" location. This used to work in gwt 2.3 
mainly because getHistoryToken(...) never returned "$" as part of 
HistoryToken string. 
In gwt 2.4 "$" character can be easily found in historyToken which 
contradicts my assumption. The solution is simply switch to another 
separator but I like to know what the contract is for historyToken encoding 
characters so I can safely choose let's say "!" and be sure that 
requestFactory.getHistoryToken(...) will never contain "!"

Thanks,
Arash

-- 
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/-/gl4OEO7aANAJ.
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.



GWTgoogleMaps API and MarkerClusterer by JSNI ,problem

2012-06-19 Thread MarioMartin
some help to implement markerClusterer on a map of the GWT Google Maps API.
 
I want to do is to move the map WIDGET in my JSNI method that implements 
markerClusterer (see code)
 and  display it. thanks for the help!
 
**The map shows, but no method  iniMarkerCluster. when i use the Google 
Maps Javascript API works great MarkerClustarer,
 but I need to use the GWT API Google Maps I hope can guideme. 
 
thank you very much!
 
 
 
package cl.syscom.JS.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.maps.client.MapOptions;
import com.google.gwt.maps.client.MapTypeId;
import com.google.gwt.maps.client.MapWidget;
import com.google.gwt.maps.client.base.LatLng;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Widget;
/**
 * Entry point classes define onModuleLoad().
 */
public class PruebaJS implements EntryPoint  {
 
 final private static intZOOM = 3;
 final private static LatLng CENTER   = new LatLng(-33.437912, -70.650535);
 final private static String MAP_TYPE = new MapTypeId().getRoadmap();
 private MapWidget   mapa;
 
 // this works well
 
 private void inicializaMapa() {
  final MapOptions options = new MapOptions();
  options.setZoom(ZOOM);
  options.setCenter(CENTER);
  options.setMapTypeId(MAP_TYPE);
  options.setDraggable(true);
  options.setNavigationControl(true);
  options.setMapTypeControl(true);
  mapa = new MapWidget(options);
  mapa.setSize("500px", "400px");
 }
 
 /* code JSNI*/

 public native void iniMarkerCluster(Widget map) /*-{
  
  var markers = [];
  for ( var i = 0; i < 100; i++) {
   var dataPhoto = $wnd.data.photos[i];
   var latLng = new $wnd.google.maps.LatLng(dataPhoto.latitude,
 dataPhoto.longitude);
   var marker = new $wnd.google.maps.Marker({
position : latLng
   });
   markers.push(marker);
  }
  var markerCluster = new $wnd.MarkerClusterer(map, markers);
 }-*/;
 
 public void onModuleLoad() {
  
  inicializaMapa();
  iniMarkerCluster(mapa);
  
  RootPanel.get("mapaGWT").add(mapa);
  
 }
 
}
 

-- 
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/-/DU5iO9gT4aAJ.
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: "gwt java project" vs "web application project" / MVP

2012-06-19 Thread Juan Pablo Gardella
See https://github.com/tbroyer/gwt-maven-archetypes/ to start a new GWT
project.



2012/6/18 Victor Woo 

> I've the same question and waiting for the answer too.
> What's the best practice?
>
> 在 2011年8月8日星期一UTC+8上午2时25分44秒,cri写道:
>>
>> There are two ways (at least) to start a new gwt application project:
>> 1) New/Google/Web Application Project (and)
>> 2) New/WindowBuilder/GWT Designer/Model/GWT Java Project
>>
>> I like (2) because it supports initializing the project to be an MVP
>> project. However, I'm tempted to favor (1) because I suspect that it
>> might be the preferred/best supported approach by the GWT dev team.
>> For example, (1) has the option of initializing the project as a
>> Google App Engine project while (2) does not.
>>
>> Question: Since (2) really has nothing to do with GWT Designer GUI
>> designer, why not merge the functionality of (2) into (1)?
>>
>> Comments?
>>
>  --
> 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/-/v8JQMna98-cJ.
> 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.



IE hacks in CssResource

2012-06-19 Thread Shaun Tarves
I would like to include some IE-specific hacks in my CssResource. Something 
along the lines of:

*header {width:290px;height:200px;background:#000;}

However, the GWT CSS compiler throws warnings when it encounters one.

In some cases, the user.agent is not specific enough (for example, it 
doesn't have an ie7 value), and certain hacks *, /9, _, etc are necessary 
in those cases.

Is there a proper way to pass these hacks through the CSS compiler that 
doesn't include user.agent checking?

-- 
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/-/46zZg85aQ9IJ.
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: Draw graphs using GWT

2012-06-19 Thread Harpreet Singh
Check out dygraphs as well. http://dygraphs.com/
It is interactive, zoomable and can be used to represent charts of time
series.

Harpreet


On Tue, Jun 19, 2012 at 9:02 AM, Alfredo Quiroga-Villamil  wrote:

> This might help you. Soon to be released in alpha. See: emitrom-test.com
>
> Regards,
>
> Alfredo
> On Jun 19, 2012 8:36 AM, "router router"  wrote:
>
>> Hello,
>>
>>   My objective is to draw graph that present the production servers of an
>> IT company. The UI should be something like:
>>
>>
>>___ __  _
>>   l  ServerA   l l  ServerB  l
>>   ll   -->  ll
>>   ll ll
>>   l___ _ l l_l
>>
>>   The company where I work has imposed GWT as a tool to implement the
>> client side. Could you please suggest something like JGraph that I could
>> apply in the client side using GWT.
>>
>> Regards.
>>
>>
>>
>> Regards
>>
>> --
>> 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/-/B0zVEbUt1e4J.
>> 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: Google IO 2012 : no GWT session ?

2012-06-19 Thread Thomas Lefort
https://groups.google.com/forum/?fromgroups#!topic/Google-Web-Toolkit-Employment/NJmWmKsXQlI

sounds pretty healthy to me :)

I bet competition will be fierce!


On Thursday, 17 May 2012 08:00:00 UTC+2, Celinio Fernandes wrote:
>
> Hello,
> I just noticed that the schedule for Google IO 2012 is now available : 
> https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?
>
>
>
>

-- 
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/-/m0up22vaGNoJ.
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: Debugging is terribly slow

2012-06-19 Thread Boris Brudnoy
Yes, the larger the application the more resources Development Mode 
consumes. I often rely on self-reviewing code and wind up compiling the 
application to test features. Unit testing is your friend as well, reducing 
reliance on the debugging functionality of Dev Mode. In one of my 
non-trivial GWT projects (10K LOC) I defer to debugging only when 
completely stuck. Finally I noticed that GWT apps run much faster in Dev 
Mode on Firefox then in Chrome. 

I'm placing high hopes on the upcoming Super Dev 
Mode 
alleviating 
the problem.

Boris 

On Tuesday, June 19, 2012 8:21:46 AM UTC-4, Magnus wrote:
>
> Hello,
>
> I still have no solution for this problem. Running and debugging web 
> applications from within eclipse ist very slow, so that one cannot really 
> work on the project anymore.
>
> Do others have this problem, too?
>
> Magnus
>

On Tuesday, June 19, 2012 8:21:46 AM UTC-4, Magnus wrote:
>
> Hello,
>
> I still have no solution for this problem. Running and debugging web 
> applications from within eclipse ist very slow, so that one cannot really 
> work on the project anymore.
>
> Do others have this problem, too?
>
> Magnus
>

On Tuesday, June 19, 2012 8:21:46 AM UTC-4, Magnus wrote:
>
> Hello,
>
> I still have no solution for this problem. Running and debugging web 
> applications from within eclipse ist very slow, so that one cannot really 
> work on the project anymore.
>
> Do others have this problem, too?
>
> Magnus
>

-- 
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/-/s6X-25FWWcsJ.
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.



debugging with JSPs

2012-06-19 Thread Matthew Pocock
Hi,

I'm developing a GWT app in intellij with chromium as my browser. The
application is behind an openid login JSP. This app runs stand-alone in
jetty. However, when I try to run it from intellij, it doesn't seem to work
as expected. The openid login page doesn't render correctly and I can't go
beyond this page into the app.

This is a problem because I have exceptions being thrown, but they
are obfuscated. To make sense of them I need the unscrambled stack view you
get during development mode. There's a limit to how much debug logging I
can usefully put in the client.

I think the problem is that I have a mixed GWT+JSP app. Is there a way to
usefully debug this kind of application?

Thanks,

Matthew

-- 
Dr Matthew Pocock
Integrative Bioinformatics Group, School of Computing Science, Newcastle
University
mailto: turingatemyhams...@gmail.com
gchat: turingatemyhams...@gmail.com
msn: matthew_poc...@yahoo.co.uk
irc.freenode.net: drdozer
skype: matthew.pocock
tel: (0191) 2566550
mob: +447535664143

-- 
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: Draw graphs using GWT

2012-06-19 Thread Alfredo Quiroga-Villamil
This might help you. Soon to be released in alpha. See: emitrom-test.com

Regards,

Alfredo
On Jun 19, 2012 8:36 AM, "router router"  wrote:

> Hello,
>
>   My objective is to draw graph that present the production servers of an
> IT company. The UI should be something like:
>
>
>___ __  _
>   l  ServerA   l l  ServerB  l
>   ll   -->  ll
>   ll ll
>   l___ _ l l_l
>
>   The company where I work has imposed GWT as a tool to implement the
> client side. Could you please suggest something like JGraph that I could
> apply in the client side using GWT.
>
> Regards.
>
>
>
> Regards
>
> --
> 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/-/B0zVEbUt1e4J.
> 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: JAVA Generics with ValueProxy

2012-06-19 Thread Alexandre Ardhuin
The value attribute in @ProxyForName should be "com.vo.GenericTreeNode"
instead of "com.vo.GenericTreeNode"

Alexandre


2012/6/19 tzhotmail 

> Please help on GWT JAVA Generics with ValueProxy
>
> I have the following Domain class
> public class GenericTreeNode implements java.io.Serializable{
>
>/**
> *
> */
>private static final long serialVersionUID = 1L;
>private T
> data;
>private List>children;
>private GenericTreeNode  parent;
>
>public GenericTreeNode() {
>super();
>children = new ArrayList>();
>}
>
>public GenericTreeNode( T data ) {
>this();
>setData( data );
>}
>
>public GenericTreeNode getParent() {
>return this.parent;
>}
>
>public List> getChildren() {
>return this.children;
>}
>
>
>
>public void removeChildAt( int index ) throws
> IndexOutOfBoundsException {
>children.remove( index );
>}
>
>public GenericTreeNode getChildAt( int index ) throws
> IndexOutOfBoundsException {
>return children.get( index );
>}
>
>public T getData() {
>return this.data;
>}
>
>public void setData( T data ) {
>this.data = data;
>}
>
>public String toString() {
>return getData().toString();
>}
>
>@Override
>public boolean equals( Object obj ) {
>if ( this == obj ) {
>return true;
>}
>if ( obj == null ) {
>return false;
>}
>if ( getClass() != obj.getClass() ) {
>return false;
>}
>GenericTreeNode other = (GenericTreeNode) obj;
>if ( data == null ) {
>if ( other.data != null ) {
>return false;
>}
>} else if ( !data.equals( other.data ) ) {
>return false;
>}
>return true;
>}
>
>/
> }
>
> then I created the following Client Proxies and Request Factory.
>
> import com.google.web.bindery.requestfactory.shared.ProxyForName;
> import com.google.web.bindery.requestfactory.shared.ValueProxy;
> @ProxyForName( value = "com.vo.Account" )
> public interface AccountProxy extends ValueProxy {
>public Integer getPfId();
>
>public void setPfId( Integer pfId );
>
>public Integer getPfParentId();
>
>public void setPfParentId( Integer pfParentId );
>
>public Integer getPfRootId();
>
>public void setPfRootId( Integer pfRootId );
>
>public String getName();
>
>public void setName( String name );
> }
>
> @ProxyForName( value = "com.vo.GenericTreeNode" )
> public interface AccountNodeProxy extends ValueProxy{
>
> List> getChildren();
>
> AccountProxy getData();
>
> }
>
>
> @ServiceName( value = "com.server.DesktopService", locator =
> "com.server.locator.SpringServiceLocator" )
> public interface DesktopRequest extends RequestContext {
>
>abstract Request> getAccounts( Integer realm,
> List relations );
>
>abstract Request>>
> getAccountsNodes( Integer realm, List relations );
>
>abstract Request> getAccounts( String userId,
> List realms );
>
>abstract Request> getApplications();
>
>abstract Request> getAttributeDefs( String
> attributeName );
>
> }
>
>
> But I still get the message below on Compiling , where am I doing
> wrong.
>
> warning: Cannot fully validate proxy since type
> com.vo.GenericTreeNode is not available
>
> Add @SuppressWarnings("requestfactory") to dismiss.
> error: The type AccountProxy cannot be used here
> warning: Cannot validate this method because the domain mapping for
> the return
> type
> (com.client.proxy.AccountNodeProxy)
> could not be resolved to a domain type
>
> Add @SuppressWarnings("requestfactory") to dismiss.
> error: Could not load domain mapping for context DesktopRequest.
> Check that both the shared interfaces and server domain types are on
> the classpa
> th.
> 2 errors
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Command execution failed.
>
> --
> 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 be

Re: Are there benefits using generics in GWT

2012-06-19 Thread Thomas Broyer
In this specific case, I doubt it changes anything.

How about testing it though?
Compile your app with and then without the extra generics and diff the 
output.

On Tuesday, June 19, 2012 5:15:59 PM UTC+2, GwitUzer wrote:
>
> Elaborating on my last question.. The complication comes with using GWT, 
> MVP with generics.. To implement, generics correctly the interfaces look as 
> follows: 
>
> public interface ViewInterface ViewInterface>> {
> }
> public interface PresenterInterface PresenterInterface>> {
> }
>
> Would code above improve the javascript compiler result or does it have no 
> effect if I had just had the code as follows:
>
> public interface ViewInterface> {
> }
> public interface PresenterInterface> {
> }   
>
> If there is no difference to the performance of the generated javascript 
> the I would rather go with the second implementation. (Less Boilerplate)...
>
> Hope this makes sense...
>

-- 
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/-/DpH-RrCGvqgJ.
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: Debugging is terribly slow

2012-06-19 Thread Thomas Broyer


On Tuesday, June 19, 2012 4:16:25 PM UTC+2, Magnus wrote:
>
> Hi,
>
> I'm sorry, but the answers on my post do not solve the problem.
>
> FF is a little bit faster, but serious development is definitively not 
> possible.


Have you tried SuperDevMode? Experimental and requires a bleeding-edge GWT 
version, if it helps being productive then it's probably worth the try.

Have you modularized your app so you can run only a subset of it in DevMode?

Have you tried profiling DevMode and tweaking the JVM options?

It also depends what one means by "serious development". A serious 
developer won't refresh the browser upon changing a comma.

-- 
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/-/gSi_unohJxkJ.
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.



JAVA Generics with ValueProxy

2012-06-19 Thread tzhotmail
Please help on GWT JAVA Generics with ValueProxy

I have the following Domain class
public class GenericTreeNode implements java.io.Serializable{

/**
 *
 */
private static final long serialVersionUID = 1L;
private T   data;
private List>children;
private GenericTreeNode  parent;

public GenericTreeNode() {
super();
children = new ArrayList>();
}

public GenericTreeNode( T data ) {
this();
setData( data );
}

public GenericTreeNode getParent() {
return this.parent;
}

public List> getChildren() {
return this.children;
}



public void removeChildAt( int index ) throws
IndexOutOfBoundsException {
children.remove( index );
}

public GenericTreeNode getChildAt( int index ) throws
IndexOutOfBoundsException {
return children.get( index );
}

public T getData() {
return this.data;
}

public void setData( T data ) {
this.data = data;
}

public String toString() {
return getData().toString();
}

@Override
public boolean equals( Object obj ) {
if ( this == obj ) {
return true;
}
if ( obj == null ) {
return false;
}
if ( getClass() != obj.getClass() ) {
return false;
}
GenericTreeNode other = (GenericTreeNode) obj;
if ( data == null ) {
if ( other.data != null ) {
return false;
}
} else if ( !data.equals( other.data ) ) {
return false;
}
return true;
}

/
}

then I created the following Client Proxies and Request Factory.

import com.google.web.bindery.requestfactory.shared.ProxyForName;
import com.google.web.bindery.requestfactory.shared.ValueProxy;
@ProxyForName( value = "com.vo.Account" )
public interface AccountProxy extends ValueProxy {
public Integer getPfId();

public void setPfId( Integer pfId );

public Integer getPfParentId();

public void setPfParentId( Integer pfParentId );

public Integer getPfRootId();

public void setPfRootId( Integer pfRootId );

public String getName();

public void setName( String name );
}

@ProxyForName( value = "com.vo.GenericTreeNode" )
public interface AccountNodeProxy extends ValueProxy{

 List> getChildren();

 AccountProxy getData();

}


@ServiceName( value = "com.server.DesktopService", locator =
"com.server.locator.SpringServiceLocator" )
public interface DesktopRequest extends RequestContext {

abstract Request> getAccounts( Integer realm,
List relations );

abstract Request>>
getAccountsNodes( Integer realm, List relations );

abstract Request> getAccounts( String userId,
List realms );

abstract Request> getApplications();

abstract Request> getAttributeDefs( String
attributeName );

}


But I still get the message below on Compiling , where am I doing
wrong.

warning: Cannot fully validate proxy since type
com.vo.GenericTreeNode is not available

Add @SuppressWarnings("requestfactory") to dismiss.
error: The type AccountProxy cannot be used here
warning: Cannot validate this method because the domain mapping for
the return
type
(com.client.proxy.AccountNodeProxy)
could not be resolved to a domain type

Add @SuppressWarnings("requestfactory") to dismiss.
error: Could not load domain mapping for context DesktopRequest.
Check that both the shared interfaces and server domain types are on
the classpa
th.
2 errors
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Command execution failed.

-- 
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: Are there benefits using generics in GWT

2012-06-19 Thread GwitUzer
Elaborating on my last question.. The complication comes with using GWT, 
MVP with generics.. To implement, generics correctly the interfaces look as 
follows: 

public interface ViewInterface>> {
}
public interface PresenterInterface>> {
}

Would code above improve the javascript compiler result or does it have no 
effect if I had just had the code as follows:

public interface ViewInterface> {
}
public interface PresenterInterface> {
}   

If there is no difference to the performance of the generated javascript 
the I would rather go with the second implementation. (Less Boilerplate)...

Hope this makes sense...

-- 
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/-/TqlHXxaOr4QJ.
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.



Help

2012-06-19 Thread aby paul
Hi Friends

   I want to start my web based project in GWT ,please give your
valuable instructions.

1.Please provide a Login Authentication Example with My SQL Database.
2.Which way we host this site in the Internet.

Regards
Aby Paul

-- 
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: Draw graphs using GWT

2012-06-19 Thread Jmscavaleiro
Maybe this can help you:

http://code.google.com/p/gwt-google-apis/wiki/VisualizationGettingStarted 
https://developers.google.com/chart/?hl=pt-PT 
http://code.google.com/p/gwt-g3d/ 

Terça-feira, 19 de Junho de 2012 13:09:06 UTC+1, router router escreveu:
>
> Hello,
>
>   My objective is to draw graph that present the production servers of an 
> IT company. The UI should be something like:
>
>  
>___ __  _
>   l  ServerA   l l  ServerB  l
>   ll   -->  ll
>   ll ll
>   l___ _ l l_l
>
>   The company where I work has imposed GWT as a tool to implement the 
> client side. Could you please suggest something like JGraph that I could 
> apply in the client side using GWT.
>  
> Regards.
>
>
>
> Regards
>

-- 
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/-/KZrce28gOTcJ.
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.



Generalizing DoubleClickHandler

2012-06-19 Thread SigmaBlu
I'm building an application with several types of tables/models, and based 
on these tables, I want to generalize the DoubleClickHandler in such a way 
that it will execute a particular section of code depending on the type of 
model, table, or row is clicked on.  What i'm saying is that 
the executed code will be totally dependant on what type of DBModel is 
clicked on and/or what table is being clicked and/or what row that's being 
clicked on.  

For starters will I extend, implement, or interface DoubleClickHandler? I 
almost want to say that i would extend DoubleClickHandler and then pass it 
the DBModel or Table type when creating my new instance of my created 
class. Any guidance would be greatly appreciated.

Regards,
Sigma

-- 
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/-/9-NE59X9aMQJ.
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: Debugging is terribly slow

2012-06-19 Thread Magnus
Hi,

I'm sorry, but the answers on my post do not solve the problem.

FF is a little bit faster, but serious development is definitively not 
possible.

Magnus

Am Dienstag, 19. Juni 2012 16:10:00 UTC+2 schrieb Tony Rah:
>
> Your problem was answered several times. Chrome is slow due to sandboxing. 
> FF is your best bet for now. I would just not update FF since the plugin 
> breaks evertime. If you are on a mac then OmniWeb is a good browser.

-- 
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/-/aTm-FTjXo1UJ.
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: Debugging is terribly slow

2012-06-19 Thread Tony Rah
Your problem was answered several times. Chrome is slow due to sandboxing. FF 
is your best bet for now. I would just not update FF since the plugin breaks 
evertime. If you are on a mac then OmniWeb is a good browser.

-- 
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/-/YxOTRxT-20sJ.
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: "gwt java project" vs "web application project" / MVP

2012-06-19 Thread Victor Woo
I've the same question and waiting for the answer too.
What's the best practice?

在 2011年8月8日星期一UTC+8上午2时25分44秒,cri写道:
>
> There are two ways (at least) to start a new gwt application project: 
> 1) New/Google/Web Application Project (and) 
> 2) New/WindowBuilder/GWT Designer/Model/GWT Java Project 
>
> I like (2) because it supports initializing the project to be an MVP 
> project. However, I'm tempted to favor (1) because I suspect that it 
> might be the preferred/best supported approach by the GWT dev team. 
> For example, (1) has the option of initializing the project as a 
> Google App Engine project while (2) does not. 
>
> Question: Since (2) really has nothing to do with GWT Designer GUI 
> designer, why not merge the functionality of (2) into (1)? 
>
> Comments? 
>

-- 
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/-/v8JQMna98-cJ.
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.



Proxy settings

2012-06-19 Thread malcolm holding
Hi My google talk has stated to play up, Whenever I try to signe up I get a 
message stating " your proxy server requires a username and password" can 
any one help sort this out. Thanks.

-- 
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/-/V1umNYD5KqMJ.
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 with Phonegap

2012-06-19 Thread ulas
Hi, I wonder is there any way to use gwt with phonegap? I tried coping
war file (.html and .js files) to phonegap www folder but .html file
does not work as in GWT run. My question is how can i extract output
files. I can reach results only from runnnig application in GWT. Where
is the .js, .html. and css files alone. I want to click only .html
file and i want to see result but i did not. In this way i can not see
javascript applications. Only i see .html appearance.

-- 
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.



Draw graphs using GWT

2012-06-19 Thread router router
Hello,

  My objective is to draw graph that present the production servers of an 
IT company. The UI should be something like:
   
 
   ___ __  _
  l  ServerA   l l  ServerB  l
  ll   -->  ll
  ll ll
  l___ _ l l_l

  The company where I work has imposed GWT as a tool to implement the 
client side. Could you please suggest something like JGraph that I could 
apply in the client side using GWT.
 
Regards.



Regards

-- 
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/-/B0zVEbUt1e4J.
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.



Are there benefits using generics in GWT

2012-06-19 Thread GwitUzer
 

Are there any benefits to the GWT compiler by using java generics in GWT. 
That is does it help in creating a smaller or more efficient javascript 
code or does it just have the same benefits as using them in Java.

Thanks in advance.. 

-- 
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/-/Zp_etlPOcXgJ.
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: Debugging is terribly slow

2012-06-19 Thread Magnus
Hi,

I still have no solution for this problem.

I found my self not completing my important toDos for weeks or even months, 
because it's always so exhausting. This is a big barrier for my project and 
I fear that it goes to sleep.

In my opinion it's very important that you can realize programming tasks 
and fix problems quickly. But this is just frustrating.

There must be a solution, because there are so much GWT apps out there.

Please help!

Magnus

-- 
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/-/8S0_kf03yeQJ.
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 CellTable selection and single click on CheckBoxCell

2012-06-19 Thread Vladislav Bauer
I've got a CellTable wich work with SingleSelectionModel to make
single selection and show some information into details panel. Also
I've got CheckBoxCell column into this CellTable which work with
another MultipleSelectionModel to make mass delete operation.

When I try to click on check box in CheckBoxCell column GWT selects
row and after second click on checkbox it change checkbox state. So we
should make two clicks, but I need to do it (change checkbox state) by
one click.

I tried different ways to fix it:

Change dependsOnSelection and handlesSelection parameters into
CheckboxCell
Change SelectionEventManager in CellTable
(DefaultSelectionEventManager.createCheckboxManager(),
DefaultSelectionEventManager.createCustomManager)
But it doesn't work.

I found similar problems into Internet but all of them work with one
MultipleSelectionModel. It's not the same what I want, because there's
details panel (So I could make only single selection).

Can anyone help me to figure out how to resolve it?

PS: I'm using GWT 2.2

-- 
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: MVP Framework

2012-06-19 Thread Fernando Balmaceda
Please see gwt platform (gwtp)
. Is great

El 08/06/2012 1:08, "titowinky"  escribió:

Is there any example here (other than the Contacts tutorial) about the
MVP framework with detailed explanation? The contacts tutorial seem to
jump ... not a thoroughly explained article in my opinion. There are
parts (class/package)of the structure in the contacts tutorial which
was not used by my instructor but still worked. Which is possible to
remove and which is not?

--
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: GWT offline

2012-06-19 Thread Abraham Lin
The following should work:

 site:developers.google.com/web-toolkit/


You can use the same construct in the general Google search engine.

-Abraham 

-- 
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/-/Qk_Z2sp8SZ8J.
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.



GET instead of a POST when submitting a form in Safari 5

2012-06-19 Thread Marco
I run into a serious issue using Safari 5.1.7.

I'm working on a GWT application using GWT SDK 2.3.0, hosted by Jetty 7.2.2 
and running on Windows XP 32 bits. In this application we have to let the 
user uploads some files. Most of the time it works well but at some point 
it sends a GET request instead of a POST request. I have to mention that 
this problem only occurs with Safari, never with Firefox, Chrome, IE and 
Opera.

It's easy to reproduce this issue. Simply get a simple GWT app with a file 
upload form. Then upload a file multiple times until the issue arises. The 
problem always occurs sooner or later.

It is expected that a POST request is sent to the server with the file to 
upload and other parameters if any. Actually at some point a GET request is 
sent instead. A new tab opens with the response of this request. The GET 
request is empty, no parameters, nothing.

I think this problem is more related to Safari than to GWT but I'm not 100% 
sure about this. Anyway I must fix this problem, so any workaround is 
welcome.

-- 
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/-/Bvremyqx4LIJ.
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.



Debugging is terribly slow

2012-06-19 Thread Magnus
Hello,

I still have no solution for this problem. Running and debugging web 
applications from within eclipse ist very slow, so that one cannot really 
work on the project anymore.

Do others have this problem, too?

Magnus

-- 
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/-/SNToJeZdpw0J.
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: Debugging is terribly slow

2012-06-19 Thread Magnus
Hello,

I just posted that I still have no solution for this problem, and my post 
was deleted. Why?

Magnus

-- 
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/-/Q8lO_F3ecmcJ.
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.



sorting celltable data with image

2012-06-19 Thread lucky
Hi,

I have a requirement that i need to sort celltable data with image, and 
also when i click on the image i need sort the data again.
Currently i am using the following code:
it will display image but i am not able to sort the data when i click on 
the image(Like down Arrow and UPArrow)

I am using gwt 2.4

Below is the code snippet:

  
   TextColumn nameColumn = new TextColumn() {
  @Override
  public String getValue(ResultProxy object) {
return object.getName();
  }
};
resultListGrid.addColumn(nameColumn, "Name");

nameColumn.setSortable(true);
   
   
   ListHandler columnSortHandler = new ListHandler(
resultGrid);
columnSortHandler.setComparator(nameColumn,
new Comparator() {
  public int compare(ResultProxy o1, ResultProxy o2) {
if (o1 == o2) {
  return 0;
}

// Compare the name columns.
if (o1 != null) {
  return (o2 != null) ? 
o1.getName().compareTo(o2.getName()) : 1;
}
return -1;
  }
});
resultListGrid.addColumnSortHandler(columnSortHandler);
   resultListGrid.getColumnSortList().push(nameColumn);

Let me know do i need to any thing more?

-- 
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/-/TsF7iT4xZdwJ.
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: With RequestFactory where do utility methods etc live

2012-06-19 Thread salk31
We are trying another approach at the moment. We are generating source by 
doing some simple transformation of the model source we want to use in the 
browser. At the moment it is just regexp hack but we have had some success 
with javaparser ( http://code.google.com/p/javaparser/) although the 
project seems dead.

So it doesn't do much more than change the package name and change Foo into 
FooProxy (if we found a ProxyFor annotation)... 

So we don't need the extra layer of interfaces but the code to be shared 
needs to be self contained (not part of the entity class).

Anybody using a better solution?

If not any suggestions for code that can parse a level of Java the same (or 
better) than GWT AND then serialise that back into Java source (so IDE etc 
can look at the generated code)? The GWT parser would be great but no code 
to take the AST tree and produce Java source? The Eclipse code can do both 
but seems very hard to untangle from the workspace etc... 

Cheers

Sam

On Thursday, January 26, 2012 2:06:04 PM UTC, Thomas Broyer wrote:
>
>
>
> On Thursday, January 26, 2012 2:36:31 PM UTC+1, salk31 wrote:
>>
>> Where can I put code that works on the entity that I can use in the 
>> server and the client? 
>>
>> e.g. Person and PersonProxy with getSalutation, getFirstName, 
>> getLastName and I want getFullName to work on client and server... 
>> Where should this code live? 
>>
>> The only thing I can think of is to have a new interface PersonFoo 
>> with the getters in that Person and PersonProxy implement/extends. 
>> Then I can have something nasty like 
>> PersonFooImpl.getFullName(PersonFoo p).
>>
>
> That should work.
>  
>
>> I believe you can get the PersonProxy on the server too but I think my 
>> boss would balk at the server code being "contaminated" like this.
>>
>
> Plus, you'd have to create a PersonProxy instance wrapping your Person 
> object.
>
> No support for Person and PersonProxy getFullName with implementation 
>> on the client? e.g. @IPromiseYouCanCompileThisForClient getFullName() 
>> in the proxy interface?
>
>
> No. 
>

-- 
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/-/Y9InB-bW8HkJ.
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.



About fixed sized panel (in px)

2012-06-19 Thread tong123123
This question may be some silly, but I have no different size monitor to 
test.
Assume a LayoutPanel enclose a fixed sized panel with setSize("100px", 
"100px");
if the same layout show in a larger size monitor with larger resolution, 
then the layoutPanel can resize according to the new monitor resolution 
(assume the layout panel attach with the RootLayoutPanel), but the fixed 
sized panel still has the size ("100px", "100px") and will look very 
strange (become very small), is it right?

I ask because I found there is always some case that must set the panel 
with fixed size  (like widget inside popupPanel, scrollPanel, or other 
Panel implements requireResize)

-- 
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/-/jpfsvenZhXwJ.
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 export a ArrayList in gwt to external file?

2012-06-19 Thread tong123123
Finally I use a textbox to store the search criteria history and set its 
visibility to false, then submit the form (FormPanel) to server and in 
servlet, get the textbox value using request.getParameter("XXX");
there is just some minor unknown about the RPC

> An RPC expects an RPC serialized response
>
What does this exactly means? the response generated with 
ServletOutputStream.flush is not allowed, right? 
Thanks for the help!!


On Tuesday, June 19, 2012 11:52:17 AM UTC+8, tong123123 wrote:
>
> Thanks for your reply.
> yes, I am using rpc for the previous code.
> to post a form, I remember FormPanel. but the example above is just a 
> simplified case. in real, I need to pass a search history Map (time as the 
> key, criteria string as the value) to servlet and use the servlet to export 
> the Map content to a text file, Using FormPanel, how to pass the Map to 
> servlet?
> Also, seem this forum cannot edit post, so how to redact the titles of my 
> previous attachment? delete it?
>
>

-- 
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/-/u9BZcaJ5hIIJ.
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: gwt 2.5

2012-06-19 Thread Jens
I am pretty sure it will be released during/after the Google IO 2012.
>
>
What you have seen is SuperDevMode which can do a pretty fast draft compile 
of your app. Its already available in GWT trunk if you want to try it. You 
can read a bit about its current performance in 
https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit-contributors/RApHAZBy348
 

-- J.

-- 
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/-/4YjqG4niHTUJ.
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 2.5

2012-06-19 Thread Dennis Haupt
hi community,

i saw a video where someone compiled an app in a few seconds instead of a
minute and we're being tortured by the gwt compiler here. as awesome as it
is, it is taking a lot of time to compile. when will the 2.5. release be
available?

-- 
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: GWT offline

2012-06-19 Thread Thomas Broyer


On Tuesday, June 19, 2012 2:32:25 AM UTC+2, Joseph Lust wrote:
>
> Thomas,
>
> Is there any way to constrict the search on the GWT 
> DevGuide page 
> to just GWT Developer pages? I really like other docs pages where you 
> can just type and get the relevant pages, rather than digging. Like you, 
> I've read all of them, but can spend up to 10 minutes trying to find a 
> section I've read before.
>
> The only way I know right now is 
>
>>  site:developers.google.com
>
>
Just tried “site:developers.google.com in-url:web-toolkit in-url:DevGuide 
perfect caching”, seems to be working OK. 

-- 
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/-/Lze3duyPY9cJ.
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.