Google Groups like toolbar in GWT

2012-03-06 Thread Magallo
Hi,
I'm just wondering how it's possible to realize a toolbar for my program 
that recreates the functionalities of the toolbar present here in google 
groups when we write a comment. I'm not referring specifically to the 
toolbar for the rich text area, but the toolbar as a generic toolbar that 
contains buttons with an image and a tooltip associated, or a combobox to 
select something (e.g. in this case the font or the size), or the drop-down 
button to select the text background color. In general all the features 
present in this toolbar (the toolbar that appears here in google groups 
when we write a comment) usable in my GWT project. Is there a way to 
recreate it? What is the right technique to recreate it? Should I use the 
MenuBar class or something else?

Ciao.

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



Using Google web fonts

2012-03-06 Thread bryanb
There have been a few posts here and on StackOverflow, but I've still
got an issue with using Google Web fonts in my GWT app.

In my module .gwt.xml file I have

inherits name='com.google.gwt.user.theme.clean.Clean' /
stylesheet src=http://fonts.googleapis.com/css?
family=Roboto:regular,medium,thin,italic,mediumitalic /

I have in my CSS file

body, table td, select, button {
font-family: Roboto, sans-serif;
}

I have Resources.java with

@Source(css/my.css)
public CssResource css();

and in my app I do:

Resources.INSTANCE.css().ensureInjected();

This all works well except for certain GWT widgets, which have a hard-
coded font. e.g. in clean.css such as:

.gwt-TextBox {
  padding: 5px 4px;
  border: 1px solid #ccc;
  border-top: 1px solid #999;
  font-size: small;
  font-family: Arial Unicode MS, Arial, sans-serif;
}

which is the last style applied, so my TextBox always has an Arial
font and not the Roboto which I want.

I'm wondering if there is a way to easily override these to use my
desired font

-- 
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: Window.open method changing the compatibility settings in IE9 with Windows 7 OS

2012-03-06 Thread ramesh
Hi,

Help required on this issue.

Thanks in advance.


On Mar 6, 7:09 am, ramesh ramesh.jegurup...@gmail.com wrote:
 Hi,

 I am using GWT 2.3.

 My pre settings in IE9 browser for Main screen: Tools menu ---compatibility 
 view (un check) and Tools menu --compatibility

 settings (un check all check box)

 In my application i am  opening a popup window using Window.open
 method from my main screen. when i open and close this popup
 compatibility view got enabled in main screen Due to this reason my
 main screen got refreshed and its moving to IE7 standard mode.

 Winow.open method code :

  private static String  winUrl = GWT.getHostPageBaseURL();

  Window.open(winUrl+contextSenstiveHelpUrl, Name,
            menubar=no, +
            location=false, +
            resizable=yes, +
            scrollbars=yes, +
            status=no,left=0,top=0,height=+getScreenHeight()
 +,width=+getScreenWidth()+,+
            dependent=true);

   public static native int getScreenHeight() /*-{
         return $wnd.screen.height-65;
   }-*/;

   private static int getScreenWidth(){
           return Window.getClientWidth()-5;
   }

 Can you please give me the solution to resolve this problem ?

 Thanks in advance

-- 
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: Fix or workaround for GWT's incompatibility with XHTML?

2012-03-06 Thread Thomas Broyer

On Monday, March 5, 2012 7:15:34 PM UTC+1, Philip Fearon wrote:

 This issue is with the GWT-generated bootstrap JavaScript file which uses 
 document.write() to inject the GWT-compiled JavaScript into the host HTML 
 page. This method renders XHTML invalid and therefore prevents further 
 processing of the page.
  
 It seems that there is a reliable manual method for rewriting this file to 
 use either insertBefore() or insertAfter() - but I'm not yet sure how easy 
 this would be to automate in our build process. Are there any known fixes 
 or workarounds for this issue yet?


AFAIK, GWT uses document.write() because it ensures the written scripts 
execute in order. insertBefore/insertAfter, just like an appendChild or 
innerHTML give no such guarantee. I believe the xsiframe linker solves this 
issue (by failing when there are script in your *.gwt.xml) and does not 
use document.write() (it uses one to write within the iframe where the GWT 
code is installed, but that's all); not sure it could be used in XHTML 
though.

That being said, XHTML is great from a production-pipeline perspective, but 
on the web you should strictly stick to serving text/html (and more 
particularly *not* conditionally serving the same file as text/html or 
application/xhtml+XML; see http://hixie.ch/advocacy/xhtml ); and that'd 
solve your problem at the same time.

-- 
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/-/tvX5OICibN4J.
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: To any Editors Gurus: I could use some ListEditor use help for the GWT demo I've made...

2012-03-06 Thread Thomas Broyer


On Tuesday, March 6, 2012 5:35:51 AM UTC+1, Craig Day wrote:


 Yeah, things break down pretty badly due to this behaviour. Child proxies 
 added and then removed via ListEditor are still sent to the server on 
 fire(), and subsequent validation of these empty proxies fails the entire 
 request. Really only referenced proxies should be sent, or perhaps a 
 detach/uncreate/delete method on RequestContext that undoes the create() 
 call.

 Has there been an issue created for this?


See http://code.google.com/p/google-web-toolkit/issues/detail?id=6685
 

 Has anyone come up with a workaround for the problem?


See issue ;-) 

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



Google is coming to Saudi Arabia

2012-03-06 Thread Marwa
Hi All,
I'd like to tell you that Google is coming to Saudi Arabia (Jeddah).
This is the second g|saudi day. The first one was on 2011 and was a
very successful day.
For more information :
https://sites.google.com/site/gsaudiarabia20/

Thanks,
Marwa

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



That very desirable arrow in the SplitPanel of the new google groups webpage

2012-03-06 Thread Thomas Lefort
Hi,

As far as I can tell the new Google Groups web page was built with GWT.

There is nice little arrow that appears on the left pane of the web page so 
that you can collapse its content in addition to resize it like the 
standard GWT SplitLayoutPanel does. Any idea how to get it enabled? is it 
available out of the box, or is there some code somewhere that I can 
directly grab?

Thanks,

Thomas

-- 
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/-/_7jBiGXRe50J.
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: Sporadic errors during compilation, Checking type argument 0 of type 'java.util.Arrays.ArrayList, no default constructor.

2012-03-06 Thread Dan
Sorry for the delay in thanking you for your reply. I understand that 
Objects cannot be serialized, which is why I can't understand the error 
message.

Some more information:

DeviceConfiguration is has a generic type, T, which extends DeviceProperty 
which is an interface. The definition of the field 'properties' is as 
follows:

private MapT, Serializable properties = new HashMapT, 
Serializable();

So how does the compiler *sometimes* get from HashMapT, Serializable to 
TreeMapK,V - Serializable - Object?

Thanks again, 
Dan.

On Monday, 27 February 2012 13:59:02 UTC, Thomas Broyer wrote:



 On Sunday, February 26, 2012 2:22:47 AM UTC+1, Dan wrote:


 [WARN] Checking all subtypes of Object which qualify for serialization 


 This is your problem.

 See 
 http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes
  


-- 
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/-/T11r-bii6psJ.
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.



How to refresh a CellTable correctly to avoid flicker

2012-03-06 Thread marsqing
I have a CellTable with a AsyncDataProvicer. I want to refresh the
table every n seconds. So I call
table.setVisibleRangeAndClearData(table.getVisibleRange(), true) every
n seconds. It works. But the CellTable will flicker during refreshing.
How can I avoid the flicker?

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



Java Api Related Problem

2012-03-06 Thread Ranna Vakharia
Hello,

I have written code for Sending mail, I have mail.jar. I am not using
Appengine. And i have removed all the appengine related jars. When I
am running the application , it is throwing following exception.

ApiProxy$CallNotFoundException: The API package 'mail' or call
'Send()' was not found.

Please let me know how it can be fixed.

Thanks in advance.

With Regards,
Ranna

-- 
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: How to generate and download Excel Files with GWT

2012-03-06 Thread zmo
Try to use GWT.getHostPageBaseURL() + myfiledownload; 


-- 
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/-/LdR5wEDcL-oJ.
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.



Can someone clear up the use of ClientBundle?

2012-03-06 Thread Shaun Tarves
My understanding was that ClientBundle could be used to create a 
global-type style/image package that would be delivered when needed. I am 
not sure that is a correct interpretation. Let me explain my use-case:

1) I have an app with 3 implementations (Desktop/Mobile/Table). My hope was 
to have 3 client bundles that would each serve as the definition for all 
the images/styles needed in those implementations.

2) In each ui bindler file in a given implementation (for example, 
shell.ui.xml, viewX.ui.xml, etc.), I use the ui:with field=resources type
=...Resources / and their corresponding .java files each have members 
like:

@UiField(provided = true) final Resources resources = GWT.create(Resources.
class);

3) I call Resources.INSTANCE.style().ensureInjected() in the constructor of 
each widget class.

4) However, the styles that are ONLY used in viewX.ui.xml (that don't 
appear in shell.ui.xml) are never injected (presumably because the 
ensureInjected() is called for the shell and then each subsequent call is a 
no-op, per the docs).

Am I missing the point of the ClientBundle? Would the proper thing to do be 
to define any styles specific to viewX in the viewX.ui.xml file using 
ui:style? Am I just using this incorrectly?

-- 
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/-/ju20VIgzvuUJ.
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: Adding new emulated methods/classes

2012-03-06 Thread Honza Rames
Hello again,
I was trying to make this work but my understanding of the GWT compiler is 
really limited. The patch in the issue you suggested really does something 
else than just modify the emulation for Class (I just overlooked it in the 
patch file since there are so many changes in the comments), but the way 
getName worked was overhauled in r5479 (so even changes made in r5226, and 
reverted in r5229, won't help me a lot) since code that implemented getName 
was removed from GenerateJavaAST (and I couldn't find the way it was 
replaced in r5479)  GenerateJavaAST.java was later removed in r10490. So 
back to my question above, how are the emulation classes implemented? Or is 
there some guidelines for modifying/adding emulation classes?

Thanks

Honza

Dne středa, 22. února 2012 17:05:19 UTC+1 Honza Rames napsal(a):

 Oops, I was to fast to post the question before I saw there are no 
 real changes in GenerateJavaAST.java. So my previous question doesn't 
 make much sense... 

 On 22 ún, 17:02, Honza Rames rame...@gmail.com wrote: 
  Thanks I'll look into it. Just curious, what are the files in /user/ 
  super/com/google/gwt/emul/java/lang/ used for, it seems that emulation 
  can be done by modifying some of them but Class looks like to be an 
  exception? 
  
  On 21 ún, 15:29, Thomas Broyer t.bro...@gmail.com wrote: 
  
  
  
  
  
  
  
   Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=3404


Dne středa, 22. února 2012 17:05:19 UTC+1 Honza Rames napsal(a):

 Oops, I was to fast to post the question before I saw there are no 
 real changes in GenerateJavaAST.java. So my previous question doesn't 
 make much sense... 

 On 22 ún, 17:02, Honza Rames rame...@gmail.com wrote: 
  Thanks I'll look into it. Just curious, what are the files in /user/ 
  super/com/google/gwt/emul/java/lang/ used for, it seems that emulation 
  can be done by modifying some of them but Class looks like to be an 
  exception? 
  
  On 21 ún, 15:29, Thomas Broyer t.bro...@gmail.com wrote: 
  
  
  
  
  
  
  
   Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=3404

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



How to add custom styles to custom cells

2012-03-06 Thread Shaun Tarves
Hi -

I have a custom cell definition that I want to add a custom style 
definition (.quiet) for. In this case, it's a cell that goes into a cell 
table. What I have done (and is NOT working) is the following:

interface CellTableResources extends CellTable.Resources {

 @Source({CellTable.Style.DEFAULT_CSS, DesktopServiceTable.css})

 CellTableStyle cellTableStyle();

}

interface CellTableStyle extends CellTable.Style {

 String quiet();

}

I added a .quiet{} rule to my DesktopServiceTable.css

Then, the render() method of my cell class uses the quiet class: @
SafeHtmlTemplates.Template(strong{0}/strongbr/em 
class=\quiet\Updated: {1}/em)

The class name is on the em element in the DOM (within the td of the 
table), but there is no style associated with it - it's almost like it 
wasn't injected or something.


Any ideas?

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



Compilation Error with jar dependency

2012-03-06 Thread Vicky
Hi

I am using GWT 2.4. I have a use case where i need to use classes from
a certain jar file. As part of the GWT project in eclipse i added that
jar file as a classpath dependency. With this my java compilation went
through successfully. However when i tried to do a GWT compile it
failed with the following error,

[java][ERROR] An internal compiler exception occurred
[java] com.google.gwt.dev.jjs.InternalCompilerException: Failed to get
JNode
[java] at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:
140)
[java] at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71)
[java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:
730)
[java] at com.google.gwt.dev.jjs.impl.BuildTypeMap.access
$000(BuildTypeMap.java:99)
[java] at com.google.gwt.dev.jjs.impl.BuildTypeMap
$BuildDeclMapVisitor.visit(BuildTypeMap.java:195)
[java] at
org.eclipse.jdt.internal.compiler.ast.LocalDeclaration.traverse(LocalDeclaration.java:
237)
[java] at
org.eclipse.jdt.internal.compiler.ast.ForeachStatement.traverse(ForeachStatement.java:
527)
[java] at
org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:
239)
[java] at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:
1239)
[java] at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:
687)
[java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:
637)
[java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514)
[java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523)
[java] at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
599)
[java] at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
33)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:
284)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:
233)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:
145)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[java] at
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[java] at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
82)
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[java]   [ERROR] no source info: public interface
com.temp.operator.IBuilderOperator
[java] extends java.lang.Object
[java] /*   methods   */
[java] public abstract java.lang.String getValue()
[java]

Firstly why is GWT not able to resolve this dependency. Secondly how
do i solve this issue.

Thanks,
Vicky

-- 
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: How to add custom styles to custom cells

2012-03-06 Thread Jens
As soon as you use ClientBundle with CssResource all css classes defined by 
a CssResource are obfuscated (unless you disable it in your gwt.xml file). 
That means something like .SXYDSS is injected in your website but you 
have hardcoded quite in your cell. Obviously this wont work.

So you have to call CellTableStyle.quiet() and put the output (the method 
returns the obfuscated class name) into the class attribute of em. As 
SafeHtmlTemplates are defined through annotations and you cant access 
CssResource methods in a static way you have to make your class attribute 
value a method parameter [and you probably have to use SafeStyles (see 
SafeStyleUtils and SafeStyleBuilder)], e.g.

@SafeHtmlTemplate(em class=\{2}\ )
SafeHtml template(SafeHtml first, SafeHtml second, String cssClass);

or if GWT complains because of a variable as class attribute value:

@SafeHtmlTemplate(em class=\{2}\ )
SafeHtml template(SafeHtml first, SafeHtml second, SafeStyles cssClass);


-- J.



Am Dienstag, 6. März 2012 17:10:41 UTC+1 schrieb Shaun Tarves:

 Hi -

 I have a custom cell definition that I want to add a custom style 
 definition (.quiet) for. In this case, it's a cell that goes into a cell 
 table. What I have done (and is NOT working) is the following:

 interface CellTableResources extends CellTable.Resources {

  @Source({CellTable.Style.DEFAULT_CSS, DesktopServiceTable.css})

  CellTableStyle cellTableStyle();

 }

 interface CellTableStyle extends CellTable.Style {

  String quiet();

 }

 I added a .quiet{} rule to my DesktopServiceTable.css

 Then, the render() method of my cell class uses the quiet class: @
 SafeHtmlTemplates.Template(strong{0}/strongbr/em 
 class=\quiet\Updated: {1}/em)

 The class name is on the em element in the DOM (within the td of the 
 table), but there is no style associated with it - it's almost like it 
 wasn't injected or something.


 Any ideas?


Am Dienstag, 6. März 2012 17:10:41 UTC+1 schrieb Shaun Tarves:

 Hi -

 I have a custom cell definition that I want to add a custom style 
 definition (.quiet) for. In this case, it's a cell that goes into a cell 
 table. What I have done (and is NOT working) is the following:

 interface CellTableResources extends CellTable.Resources {

  @Source({CellTable.Style.DEFAULT_CSS, DesktopServiceTable.css})

  CellTableStyle cellTableStyle();

 }

 interface CellTableStyle extends CellTable.Style {

  String quiet();

 }

 I added a .quiet{} rule to my DesktopServiceTable.css

 Then, the render() method of my cell class uses the quiet class: @
 SafeHtmlTemplates.Template(strong{0}/strongbr/em 
 class=\quiet\Updated: {1}/em)

 The class name is on the em element in the DOM (within the td of the 
 table), but there is no style associated with it - it's almost like it 
 wasn't injected or something.


 Any ideas?


-- 
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/-/FnQpCwkjLH0J.
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: That very desirable arrow in the SplitPanel of the new google groups webpage

2012-03-06 Thread Thomas Broyer
Google Groups does not seem to use SplitLayoutPanel, but custom widgets.

On Tuesday, March 6, 2012 2:22:25 PM UTC+1, Thomas Lefort wrote:

 Hi,

 As far as I can tell the new Google Groups web page was built with GWT.

 There is nice little arrow that appears on the left pane of the web page 
 so that you can collapse its content in addition to resize it like the 
 standard GWT SplitLayoutPanel does. Any idea how to get it enabled? is it 
 available out of the box, or is there some code somewhere that I can 
 directly grab?

 Thanks,

 Thomas



-- 
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/-/WJI-KI5tTi0J.
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 add custom styles to custom cells

2012-03-06 Thread Shaun Tarves
Hi Jens -

Completely overlooked that. Your solution worked correctly with the
String/class name approach. Thanks!

- Shaun

On Tue, Mar 6, 2012 at 11:49 AM, Jens jens.nehlme...@gmail.com wrote:

 As soon as you use ClientBundle with CssResource all css classes defined
 by a CssResource are obfuscated (unless you disable it in your gwt.xml
 file). That means something like .SXYDSS is injected in your website but
 you have hardcoded quite in your cell. Obviously this wont work.

 So you have to call CellTableStyle.quiet() and put the output (the method
 returns the obfuscated class name) into the class attribute of em. As
 SafeHtmlTemplates are defined through annotations and you cant access
 CssResource methods in a static way you have to make your class attribute
 value a method parameter [and you probably have to use SafeStyles (see
 SafeStyleUtils and SafeStyleBuilder)], e.g.

 @SafeHtmlTemplate(em class=\{2}\ )
 SafeHtml template(SafeHtml first, SafeHtml second, String cssClass);

 or if GWT complains because of a variable as class attribute value:

 @SafeHtmlTemplate(em class=\{2}\ )
 SafeHtml template(SafeHtml first, SafeHtml second, SafeStyles cssClass);


 -- J.



 Am Dienstag, 6. März 2012 17:10:41 UTC+1 schrieb Shaun Tarves:

 Hi -

 I have a custom cell definition that I want to add a custom style
 definition (.quiet) for. In this case, it's a cell that goes into a cell
 table. What I have done (and is NOT working) is the following:

 interface CellTableResources extends CellTable.Resources {

  @Source({CellTable.Style.DEFAU**LT_CSS, DesktopServiceTable.css})

  CellTableStyle cellTableStyle();

 }

 interface CellTableStyle extends CellTable.Style {

  String quiet();

 }

 I added a .quiet{} rule to my DesktopServiceTable.css

 Then, the render() method of my cell class uses the quiet class: @
 SafeHtmlTemplates.Temp**late(strong{0}/strongbr/**em
 class=\quiet\Updated: {1}/em)

 The class name is on the em element in the DOM (within the td of the
 table), but there is no style associated with it - it's almost like it
 wasn't injected or something.


 Any ideas?


 Am Dienstag, 6. März 2012 17:10:41 UTC+1 schrieb Shaun Tarves:

 Hi -

 I have a custom cell definition that I want to add a custom style
 definition (.quiet) for. In this case, it's a cell that goes into a cell
 table. What I have done (and is NOT working) is the following:

 interface CellTableResources extends CellTable.Resources {

  @Source({CellTable.Style.DEFAU**LT_CSS, DesktopServiceTable.css})

  CellTableStyle cellTableStyle();

 }

 interface CellTableStyle extends CellTable.Style {

  String quiet();

 }

 I added a .quiet{} rule to my DesktopServiceTable.css

 Then, the render() method of my cell class uses the quiet class: @
 SafeHtmlTemplates.Temp**late(strong{0}/strongbr/**em
 class=\quiet\Updated: {1}/em)

 The class name is on the em element in the DOM (within the td of the
 table), but there is no style associated with it - it's almost like it
 wasn't injected or something.


 Any ideas?

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

 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 Groups like toolbar in GWT

2012-03-06 Thread Sachin Shekhar R
You cannot use menubar as it is quite restrictive and only works with 
menuitem. You can just use Composite widget with FlowPanel wrapper taking 
widgets and align  style them in a manner you prefer.

On Tuesday, 6 March 2012 14:29:22 UTC+5:30, Magallo wrote:

 Hi,
 I'm just wondering how it's possible to realize a toolbar for my program 
 that recreates the functionalities of the toolbar present here in google 
 groups when we write a comment. I'm not referring specifically to the 
 toolbar for the rich text area, but the toolbar as a generic toolbar that 
 contains buttons with an image and a tooltip associated, or a combobox to 
 select something (e.g. in this case the font or the size), or the drop-down 
 button to select the text background color. In general all the features 
 present in this toolbar (the toolbar that appears here in google groups 
 when we write a comment) usable in my GWT project. Is there a way to 
 recreate it? What is the right technique to recreate it? Should I use the 
 MenuBar class or something else?

 Ciao.


-- 
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/-/fy-xYCalsnEJ.
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.



Large size data transfer within GWT [ERROR] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call

2012-03-06 Thread OxyGen
I am working on a GWT based web app for medical image display and
processing. The problem is this kind of medical image do not have the
standarded fomat and it is a huge bytearray (size: over 18M). I have
to directly read the image byte array and send it to the client for
display and further processing. When I transfer a little part of the
image, the client display the pixels normally. But when I transfer the
whole image, the console promotes error:

[ERROR] javax.servlet.ServletContext log: Exception while dispatching
incoming RPC call
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.util.Arrays.copyOf(Unknown Source)
at java.util.ArrayList.ensureCapacity(Unknown Source)
at java.util.ArrayList.add(Unknown Source)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.append(ServerSerializationStreamWriter.java:
583)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeInt(AbstractSerializationStreamWriter.java:
100)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter
$VectorWriter$6.write(ServerSerializationStreamWriter.java:233)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeArray(ServerSerializationStreamWriter.java:
639)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:
743)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:
621)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
126)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter
$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:
539)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:
709)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:
748)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:
621)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
126)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter
$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:
539)
at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616)
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:
474)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
571)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
208)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
511)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1166)
at
com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:
35)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
58)

This might be the size limitation of data transfer within GWT, as I've
found other‘s solution like:

encode the byte array by using
com.google.gwt.user.server.Base64Utils.toBase64(byte[]) . But this
method does not work for IE 7. and IE8 has 32kb limit.. IE9 does not
have this limit.

The structure if my project is very simple and clear:

Client side:

-ImageService.java

-ImageServiceAsync.java

-WebImage.java (interface)

-ImageArray.java (store the image data from server)

Server side:

-ImageServiceImpl.java

I used a button to active this image data delivery. In the background,
ImageServiceImpl read a medical image from disk file and send the data
array to client. Now as the limitation that I metioned above, this
process will not be succesful if I sent the whole image data. How can
I do to complete this process succesfully? I wonder if there is a way
to continuously deliver 

Re: DataGrid right click

2012-03-06 Thread Sachin Shekhar R
In the application html file ensure you have set up body tag like - body 
*oncontextmenu=return 
false;*
This suppresses the *default *browser context menu.

On Tuesday, 6 March 2012 09:26:13 UTC+5:30, Daniel Mauricio Patino León 
wrote:

 Iam trying to figure out how to implement a right click to my 
 DataGrid, here is my code: 

 @UiField(provided=true) DataGridEmployeeProxy dataGrid = new 
 DataGridEmployeeProxy(){ 
 protected void onBrowserEvent2(Event event) { 
 switch (DOM.eventGetType(event)) { 
 case Event.ONMOUSEDOWN: 
 if (DOM.eventGetButton(event) == 
 Event.BUTTON_RIGHT) { 


 event.preventDefault(); 
 event.stopPropagation(); 


PopupPanel pop = new PopupPanel(true); 

MenuBar menuBar = new MenuBar(true); 
menuBar.setVisible(true); 
menuBar.addItem(new MenuItem(Click 
 me, new Command() { 

 @Override 
 public void execute() { 
 Window.alert(Clicked 
 me!); 
 } 
})); 
menuBar.addItem(new MenuItem(Poke 
 me,new Command(){ 
@Override 
 public void 
 execute() { 
 
 Window.alert(Poked 
 me!); 
 } 
})); 

pop.setWidget(menuBar); 

  
 pop.setPopupPosition(DOM.eventGetClientX(event) 
 ,DOM.eventGetClientY(event)); 
pop.show(); 

 } else { 
 super.onBrowserEvent2(event); 
 } 
 break; 
 default: 
 super.onBrowserEvent2(event); 
 break; 
 } 
 }; 
 }; 


 This works ok but dont know how to prevent the default browser right 
 click behavior. 


 Any help would be nice. Thank you.

-- 
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/-/fKgliG4HeB4J.
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: Large size data transfer within GWT [ERROR] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call

2012-03-06 Thread Jens
Its a server side OOM exception so you should increase your Java heap space 
for your application server using -Xmx (max heap size) JVM parameter. Your 
server JVM just don't have enough memory to build the RPC response.

If you want to display the image you always have the data URI limitations 
in IE6-8. Because of that most people use a HttpServlet to directly return 
the image with the correct mime type. That way the browser can directly 
display the image. Take a look 
at: https://groups.google.com/d/topic/google-web-toolkit/CWwkYQjQ0q4/discussion

-- J.


Am Dienstag, 6. März 2012 17:51:58 UTC+1 schrieb OxyGen:

 I am working on a GWT based web app for medical image display and 
 processing. The problem is this kind of medical image do not have the 
 standarded fomat and it is a huge bytearray (size: over 18M). I have 
 to directly read the image byte array and send it to the client for 
 display and further processing. When I transfer a little part of the 
 image, the client display the pixels normally. But when I transfer the 
 whole image, the console promotes error: 

 [ERROR] javax.servlet.ServletContext log: Exception while dispatching 
 incoming RPC call 
 java.lang.OutOfMemoryError: Java heap space 
 at java.util.Arrays.copyOf(Unknown Source) 
 at java.util.Arrays.copyOf(Unknown Source) 
 at java.util.ArrayList.ensureCapacity(Unknown Source) 
 at java.util.ArrayList.add(Unknown Source) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.append(ServerSerializationStreamWriter.java:
  

 583) 
 at 
 com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeInt(AbstractSerializationStreamWriter.java:
  

 100) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter 
 $VectorWriter$6.write(ServerSerializationStreamWriter.java:233) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeArray(ServerSerializationStreamWriter.java:
  

 639) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:
  

 743) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:
  

 621) 
 at 
 com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
  

 126) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter 
 $ValueWriter$8.write(ServerSerializationStreamWriter.java:153) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:
  

 539) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:
  

 709) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:
  

 748) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:
  

 621) 
 at 
 com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
  

 126) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter 
 $ValueWriter$8.write(ServerSerializationStreamWriter.java:153) 
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:
  

 539) 
 at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616) 
 at 
 com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java: 
 474) 
 at 
 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 
 571) 
 at 
 com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
  

 208) 
 at 
 com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
  

 248) 
 at 
 com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
  

 62) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
 at 
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 
 511) 
 at org.mortbay.jetty.servlet.ServletHandler 
 $CachedChain.doFilter(ServletHandler.java:1166) 
 at 
 com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:
  

 35) 
 at org.mortbay.jetty.servlet.ServletHandler 
 $CachedChain.doFilter(ServletHandler.java:1157) 
 at 
 com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
  

 58) 

 This might be the size limitation of data transfer within GWT, 

Re: want to set browser to full screen mode

2012-03-06 Thread Marco
Have you found a solution in the meantime?

Am Dienstag, 28. September 2010 16:18:42 UTC+2 schrieb ganesh b:

 hai to all, 
 i am new to gwt, i want to run my gwt page in full screen mode, can 
 any tell me to to do this. 

 regards 
 ganesh

-- 
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/-/aJSaTEpll0MJ.
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 can I run a GWT application in full screen mode

2012-03-06 Thread Marco

Have you found a solution in the meantime?
@Stevko: Good to know but do you have a solution with example anyway?

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



call google apps script from GWT

2012-03-06 Thread hugues2
Hi,

I'd like to call a google apps script from GWT to create a document
(example of code below) :

public static native void sendDocument() /*-{
 // Create and open a document
   doc = DocumentApp.create(Document Title);
}-*/;

However when called from GWT, this function returns an Exception as
the object DocumentApp is not initialised.

Is there any way to perform such functionality or the access to Google
Apps Scripts is not possible from GWT ?

Thanks,

Hugues

-- 
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: How can I run a GWT application in full screen mode

2012-03-06 Thread JoseM
Please don't post the same question on different threads.. 

But the real answer is that it can't be done anymore with modern browsers 
-- which is a good thing. I know that Chrome and/or Firefox both allow you 
to override javascript which tries to hide the address bar and other 
elements.  I personally hate when websites used to do that and I would be 
more inclined to navigate away from the page and/or block the site if it 
did. In addition, doing a window.open like that could be interpreted as a 
popup by some browsers which will trigger a popup blocker and the window 
would not open at all (unless the user instructed it to do so).

If you want full screen you can ASK the user to go into full screen mode 
(such as by pressing F11), or you can deploy the application to computers 
which you totally control and turn into kiosks that run the browser in full 
screen moe.

On Tuesday, March 6, 2012 1:55:13 PM UTC-5, Marco wrote:


 Have you found a solution in the meantime?
 @Stevko: Good to know but do you have a solution with example anyway?


On Tuesday, March 6, 2012 1:55:13 PM UTC-5, Marco wrote:


 Have you found a solution in the meantime?
 @Stevko: Good to know but do you have a solution with example anyway?


-- 
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/-/bAbkPfc6NUsJ.
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 can I run a GWT application in full screen mode

2012-03-06 Thread Alfredo Quiroga-Villamil
I am not sure if this applies to the question asked here, but there are
some cases where it is convenient to hide the address bar for example. This
is particularly useful for mobile web apps where you want the app to look
and feel like it's native and you want to do it serving it as a webpage,
not using the phonegap or other's packaging mechanisms out there. I didn't
read the whole thing but Marco you might want to take a look at:

https://groups.google.com/group/iscroll/browse_thread/thread/dc84f2f87a459d0?tvc=2pli=1

Best regards,

Alfredo

On Tue, Mar 6, 2012 at 3:11 PM, JoseM jose.a.marti...@gmail.com wrote:

 Please don't post the same question on different threads..

 But the real answer is that it can't be done anymore with modern browsers
 -- which is a good thing. I know that Chrome and/or Firefox both allow you
 to override javascript which tries to hide the address bar and other
 elements.  I personally hate when websites used to do that and I would be
 more inclined to navigate away from the page and/or block the site if it
 did. In addition, doing a window.open like that could be interpreted as a
 popup by some browsers which will trigger a popup blocker and the window
 would not open at all (unless the user instructed it to do so).

 If you want full screen you can ASK the user to go into full screen mode
 (such as by pressing F11), or you can deploy the application to computers
 which you totally control and turn into kiosks that run the browser in full
 screen moe.

 On Tuesday, March 6, 2012 1:55:13 PM UTC-5, Marco wrote:


 Have you found a solution in the meantime?
 @Stevko: Good to know but do you have a solution with example anyway?


 On Tuesday, March 6, 2012 1:55:13 PM UTC-5, Marco wrote:


 Have you found a solution in the meantime?
 @Stevko: Good to know but do you have a solution with example anyway?

  --
 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/-/bAbkPfc6NUsJ.
 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: DataGrid right click

2012-03-06 Thread Daniel Mauricio Patino León
Hey  Sachin  thank you.


Do you know if this property has cross browser support?

2012/3/6 Sachin Shekhar R sachin@gmail.com

 In the application html file ensure you have set up body tag like - body
 *oncontextmenu=return false;*
 This suppresses the *default *browser context menu.


 On Tuesday, 6 March 2012 09:26:13 UTC+5:30, Daniel Mauricio Patino León
 wrote:

 Iam trying to figure out how to implement a right click to my
 DataGrid, here is my code:

 @UiField(provided=true) DataGridEmployeeProxy dataGrid = new
 DataGridEmployeeProxy(){
 protected void onBrowserEvent2(Event event) {
 switch (DOM.eventGetType(event)) {
 case Event.ONMOUSEDOWN:
 if (DOM.eventGetButton(event) ==
 Event.BUTTON_RIGHT) {


 event.preventDefault(**);
 event.**stopPropagation();


PopupPanel pop = new PopupPanel(true);

MenuBar menuBar = new MenuBar(true);
menuBar.setVisible(true);
menuBar.addItem(new MenuItem(Click
 me, new Command() {

   **  @Override
   **  public void execute()
 {
   **  
 **Window.alert(Clicked
 me!);
   **  }
   ** }));
menuBar.addItem(new MenuItem(Poke
 me,new Command(){
@Override
   **  **public void
 execute() {
   **  **
 Window.alert(Poked
 me!);
   **  }
}));

pop.setWidget(menuBar);


 pop.setPopupPosition(DOM.**eventGetClientX(event)
 ,DOM.eventGetClientY(event));
pop.show();

 } else {
 super.onBrowserEvent2(event);
 }
 break;
 default:
 super.onBrowserEvent2(event);
 break;
 }
 };
 };


 This works ok but dont know how to prevent the default browser right
 click behavior.


 Any help would be nice. Thank you.

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

 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.




-- 
ISC. Daniel Mauricio Patiño León.
Director ejecutivo
Liondev S.A. de C.V.

-- 
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: Is GWT still being developed?

2012-03-06 Thread Alan Leung
I think that's just the mirror script being broken and changes are not
mirrored to the SVN.

On Mon, Mar 5, 2012 at 6:40 PM, Curtis Stanford 
cur...@stanfordcomputing.com wrote:

 Great, appreciate the update.


 On Monday, March 5, 2012 7:37:31 PM UTC-7, Eric Clayberg (Google) wrote:

 The GWT team is currently focused on an arc of work that has not been
 released to the external repo yet.

 On Monday, March 5, 2012 3:24:10 PM UTC-5, Curtis Stanford wrote:

 I noticed there haven't been any commits to the SVN repository for over
 a month. Is the writing on the wall for GWT or has the repository moved?

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

 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: DataGrid right click

2012-03-06 Thread Daniel Mauricio Patino León
   event.preventDefault();
   event.stopPropagation();

Why these lines doesnt work?

In DataGrid you can overdrive the onBrowserEvent2(){} but it is fired after
the onBrowserEvent(){}
and i think is why my code doesnt work.


Is there another w3c validation pass way to do this?


Thank you.

2012/3/6 Daniel Mauricio Patino León ceo.lion@gmail.com

 Hey  Sachin  thank you.


 Do you know if this property has cross browser support?


 2012/3/6 Sachin Shekhar R sachin@gmail.com

 In the application html file ensure you have set up body tag like - body
 *oncontextmenu=return false;*
 This suppresses the *default *browser context menu.


 On Tuesday, 6 March 2012 09:26:13 UTC+5:30, Daniel Mauricio Patino León
 wrote:

 Iam trying to figure out how to implement a right click to my
 DataGrid, here is my code:

 @UiField(provided=true) DataGridEmployeeProxy dataGrid = new
 DataGridEmployeeProxy(){
 protected void onBrowserEvent2(Event event) {
 switch (DOM.eventGetType(event)) {
 case Event.ONMOUSEDOWN:
 if (DOM.eventGetButton(event) ==
 Event.BUTTON_RIGHT) {


 event.preventDefault(**);
 event.**stopPropagation();


PopupPanel pop = new
 PopupPanel(true);

MenuBar menuBar = new MenuBar(true);
menuBar.setVisible(true);
menuBar.addItem(new MenuItem(Click
 me, new Command() {

   **  @Override
   **  public void execute()
 {
   **  
 **Window.alert(Clicked
 me!);
   **  }
   ** }));
menuBar.addItem(new MenuItem(Poke
 me,new Command(){
@Override
   **  **public void
 execute() {
   **  **
 Window.alert(Poked
 me!);
   **  }
}));

pop.setWidget(menuBar);


 pop.setPopupPosition(DOM.**eventGetClientX(event)
 ,DOM.eventGetClientY(event));
pop.show();

 } else {
 super.onBrowserEvent2(event);
 }
 break;
 default:
 super.onBrowserEvent2(event);
 break;
 }
 };
 };


 This works ok but dont know how to prevent the default browser right
 click behavior.


 Any help would be nice. Thank you.

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

 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.




 --
 ISC. Daniel Mauricio Patiño León.
 Director ejecutivo
 Liondev S.A. de C.V.






-- 
ISC. Daniel Mauricio Patiño León.
Director ejecutivo
Liondev S.A. de C.V.

-- 
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: call google apps script from GWT

2012-03-06 Thread Fabricio Pizzichillo
Hi
Have you seen the Google Docs API?
http://code.google.com/intl/en/apis/documents/

Maybe you work

Regards

2012/3/6 hugues2 hugues.flam...@gmail.com

 Hi,

 I'd like to call a google apps script from GWT to create a document
 (example of code below) :

 public static native void sendDocument() /*-{
  // Create and open a document
   doc = DocumentApp.create(Document Title);
}-*/;

 However when called from GWT, this function returns an Exception as
 the object DocumentApp is not initialised.

 Is there any way to perform such functionality or the access to Google
 Apps Scripts is not possible from GWT ?

 Thanks,

 Hugues

 --
 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: Embedding custom components with custom components

2012-03-06 Thread bryn ryans

Tried that but what I felt that if I am to do that it should do the same as 
complex panel. Unfortunately it can't as ComplexPanel calls method orphan 
which calls package protected methods on Widget. As my classes do not 
reside in the same package Widget I cannot call that method (I would rather 
not hack the package name or do some magic with JSNI to achieve this). 

I have my own mechanism which allows me to sink events in my embedded 
components and its working well. What I am trying to find out is if GWT 
2.5. (or future release) will support embedding of uibinder components 
within other uibinder components? Be great if there is a plan as I can get 
rid of my own mechanism.

-- 
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/-/TanMAiktlBUJ.
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: Is GWT still being developed?

2012-03-06 Thread Eric Clayberg (Google)
We should fix that ;-)

On Tuesday, March 6, 2012 4:41:04 PM UTC-5, Alan Leung wrote:

 I think that's just the mirror script being broken and changes are not 
 mirrored to the SVN. 

-- 
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/-/2q0pAIuIi54J.
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: To any Editors Gurus: I could use some ListEditor use help for the GWT demo I've made...

2012-03-06 Thread Craig Day
Thanks Thomas. Your workaround is slightly more palatable :)

Cheers
Craig


On Tuesday, March 6, 2012 7:51:18 PM UTC+8, Thomas Broyer wrote:



 On Tuesday, March 6, 2012 5:35:51 AM UTC+1, Craig Day wrote:


 Yeah, things break down pretty badly due to this behaviour. Child proxies 
 added and then removed via ListEditor are still sent to the server on 
 fire(), and subsequent validation of these empty proxies fails the entire 
 request. Really only referenced proxies should be sent, or perhaps a 
 detach/uncreate/delete method on RequestContext that undoes the create() 
 call.

 Has there been an issue created for this?


 See http://code.google.com/p/google-web-toolkit/issues/detail?id=6685
  

 Has anyone come up with a workaround for the problem?


 See issue ;-) 


-- 
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/-/_J17h530iuMJ.
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: Is GWT still being developed?

2012-03-06 Thread Alan Leung
I've been kicking the mirroring scripts and every looks like it is back to
normal (hopefully).

It just picked up 15 or so CL and still going at it.

-Alan

On Tue, Mar 6, 2012 at 7:08 PM, Eric Clayberg (Google)
clayb...@google.comwrote:

 We should fix that ;-)


 On Tuesday, March 6, 2012 4:41:04 PM UTC-5, Alan Leung wrote:

 I think that's just the mirror script being broken and changes are not
 mirrored to the SVN.

  --
 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/-/2q0pAIuIi54J.

 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: call google apps script from GWT

2012-03-06 Thread hugues2
HI Fabricio,

Thanks for your feedback. I have seen the API's I can't get GWT to
call the Google Apps Scripts, I always do receive an exception.

Cheers,

Hugues


On 7 mar, 02:09, Fabricio Pizzichillo fpizzichi...@gmail.com wrote:
 Hi
 Have you seen the Google Docs 
 API?http://code.google.com/intl/en/apis/documents/

 Maybe you work

 Regards

 2012/3/6 hugues2 hugues.flam...@gmail.com







  Hi,

  I'd like to call a google apps script from GWT to create a document
  (example of code below) :

  public static native void sendDocument() /*-{
   // Create and open a document
    doc = DocumentApp.create(Document Title);
         }-*/;

  However when called from GWT, this function returns an Exception as
  the object DocumentApp is not initialised.

  Is there any way to perform such functionality or the access to Google
  Apps Scripts is not possible from GWT ?

  Thanks,

  Hugues

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



ImageResources cannot show image as expected

2012-03-06 Thread tong123123
I have created an Images folder under src folder, and I have created a 
class as follow:

package com.ha.als.client;

public interface Resources extends ClientBundle {
   
   public static final Resources INSTANCE = GWT.create(Resources.class);
   
   @Source(Images/ehealthLogo.png)
   ImageResource ehealthLogo();
   
   @Source(Images/HA_logo_files.png)
   ImageResource ha_logo_files();

 }


then in code, I try to get the image as follow:
 

HorizontalPanel testPanel = new HorizontalPanel();
 Image test1 = new Image(Resources.INSTANCE.ehealthLogo());
 testPanel.add(test1);
 Image test2 = new Image(Resources.INSTANCE.ha_logo_files());
 testPanel.add(test2);

 flowPanel.add(testPanel);


in debug mode, I put the mouse over test1, the result is

  

 IMG style=WIDTH: 210px; HEIGHT: 182px class=gwt-Image border=0 
 src=http://127.0.0.1:7001/ALS/ALS/clear.cache.gif; 
 onload='this.__gwtLastUnhandledEvent=load;'


in debug mode, I put the mouse over test2, the result is

 IMG style=WIDTH: 142px; BACKGROUND: 
 

[gwt-contrib] Fixing a bug in CellWidget where the cell isn't rendered if the initial value is null. We were ... (issue1655803)

2012-03-06 Thread jlabanca

Reviewers: skybrian,

Description:
Fixing a bug in CellWidget where the cell isn't rendered if the initial
value is null.  We were checking that the value actually changed in
setValue(), but this.value defaults to null.  We no longer do an
equality check when setting the value in the constructor.


Please review this at http://gwt-code-reviews.appspot.com/1655803/

Affected files:
  M user/src/com/google/gwt/user/cellview/client/CellWidget.java
  M user/test/com/google/gwt/user/cellview/client/CellWidgetTest.java


Index: user/src/com/google/gwt/user/cellview/client/CellWidget.java
===
--- user/src/com/google/gwt/user/cellview/client/CellWidget.java	(revision  
10862)
+++ user/src/com/google/gwt/user/cellview/client/CellWidget.java	(working  
copy)

@@ -79,6 +79,7 @@
* The {@link ValueUpdater} used to trigger value update events.
*/
   private final ValueUpdaterC valueUpdater = new ValueUpdaterC() {
+@Override
 public void update(C value) {
   // no need to redraw, the Cell took care of it
   setValue(value, true, false);
@@ -143,13 +144,21 @@
 this.keyProvider = keyProvider;
 setElement(elem);
 CellBasedWidgetImpl.get().sinkEvents(this, cell.getConsumedEvents());
-setValue(initialValue);
-  }
-
+
+/*
+ * Skip the equality check. If initialValue is null, it will be equal  
to

+ * this.value, but that doesn't mean that we don't want to render the
+ * initialValue.
+ */
+setValueWithoutEqualityCheck(initialValue, false, true);
+  }
+
+  @Override
   public HandlerRegistration addValueChangeHandler(ValueChangeHandlerC  
handler) {

 return addHandler(handler, ValueChangeEvent.getType());
   }

+  @Override
   public LeafValueEditorC asEditor() {
 if (editor == null) {
   editor = TakesValueEditor.of(this);
@@ -166,10 +175,12 @@
 return cell;
   }

+  @Override
   public ProvidesKeyC getKeyProvider() {
 return keyProvider;
   }

+  @Override
   public C getValue() {
 return value;
   }
@@ -213,6 +224,7 @@
* existing value.
* /p
*/
+  @Override
   public void setValue(C value) {
 setValue(value, false, true);
   }
@@ -224,6 +236,7 @@
* existing value.
* /p
*/
+  @Override
   public void setValue(C value, boolean fireEvents) {
 setValue(value, fireEvents, true);
   }
@@ -242,13 +255,7 @@
   public void setValue(C value, boolean fireEvents, boolean redraw) {
 C oldValue = getValue();
 if (value != oldValue  (oldValue == null | 
| !oldValue.equals(value))) {

-  this.value = value;
-  if (redraw) {
-redraw();
-  }
-  if (fireEvents) {
-ValueChangeEvent.fire(this, value);
-  }
+  setValueWithoutEqualityCheck(value, fireEvents, redraw);
 }
   }

@@ -268,4 +275,21 @@
   private Object getKey(C value) {
 return (keyProvider == null || value == null) ? value :  
keyProvider.getKey(value);

   }
+
+  /**
+   * Sets this object's value without checking for equality.
+   *
+   * @param value the object's new value
+   * @param fireEvents fire events if true and value is new
+   * @param redraw redraw the widget if true and value is new
+   */
+  private void setValueWithoutEqualityCheck(C value, boolean fireEvents,  
boolean redraw) {

+this.value = value;
+if (redraw) {
+  redraw();
+}
+if (fireEvents) {
+  ValueChangeEvent.fire(this, value);
+}
+  }
 }
\ No newline at end of file
Index: user/test/com/google/gwt/user/cellview/client/CellWidgetTest.java
===
--- user/test/com/google/gwt/user/cellview/client/CellWidgetTest.java	 
(revision 10862)
+++ user/test/com/google/gwt/user/cellview/client/CellWidgetTest.java	 
(working copy)

@@ -42,6 +42,7 @@

 private String lastEventValue;
 private Object lastEventKey;
+private String lastRenderedValue = never_rendered;

 public CustomCell() {
   super(change);
@@ -55,6 +56,11 @@
 public void assertLastEventValue(String expected) {
   assertEquals(expected, lastEventValue);
   lastEventValue = null;
+}
+
+public void assertLastRenderedValue(String expected) {
+  assertEquals(expected, lastRenderedValue);
+  lastRenderedValue = null;
 }

 @Override
@@ -69,6 +75,7 @@

 @Override
 public void render(Context context, String value, SafeHtmlBuilder sb) {
+  lastRenderedValue = value;
   if (value != null) {
 sb.appendEscaped(value);
   }
@@ -96,6 +103,7 @@
   onValueChangeCalled = false;
 }

+@Override
 public void onValueChange(ValueChangeEventC event) {
   assertFalse(ValueChangeEvent fired twice, onValueChangeCalled);
   onValueChangeCalled = true;
@@ -106,6 +114,16 @@
   @Override
   public String getModuleName() {
 return com.google.gwt.user.cellview.CellView;
+  }
+
+  /**
+   * Tests that the cell widget will render correctly with an initial 

[gwt-contrib] Re: Fixing a bug in CellWidget where the cell isn't rendered if the initial value is null. We were ... (issue1655803)

2012-03-06 Thread skybrian

LGTM



http://gwt-code-reviews.appspot.com/1655803/diff/1/user/src/com/google/gwt/user/cellview/client/CellWidget.java
File user/src/com/google/gwt/user/cellview/client/CellWidget.java
(right):

http://gwt-code-reviews.appspot.com/1655803/diff/1/user/src/com/google/gwt/user/cellview/client/CellWidget.java#newcode153
user/src/com/google/gwt/user/cellview/client/CellWidget.java:153:
setValueWithoutEqualityCheck(initialValue, false, true);
Nit: I think it would be more straightforward to inline this, since it's
just two if statements.

http://gwt-code-reviews.appspot.com/1655803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Improving the JavaDoc of ListDataProvider to explain that the wrapped list should not be modifie... (issue1656803)

2012-03-06 Thread jlabanca

Reviewers: skybrian,

Description:
Improving the JavaDoc of ListDataProvider to explain that the wrapped
list should not be modified, and that mutations to the items within the
list cannot be detected without called List#set() or
ListDataProvider#refresh().

Issue: 7114

Review by: skybr...@google.com

Please review this at http://gwt-code-reviews.appspot.com/1656803/

Affected files:
  M user/src/com/google/gwt/view/client/ListDataProvider.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Improving the JavaDoc of ListDataProvider to explain that the wrapped list should not be modifie... (issue1656803)

2012-03-06 Thread skybrian

LGTM



http://gwt-code-reviews.appspot.com/1656803/diff/1/user/src/com/google/gwt/view/client/ListDataProvider.java
File user/src/com/google/gwt/view/client/ListDataProvider.java (right):

http://gwt-code-reviews.appspot.com/1656803/diff/1/user/src/com/google/gwt/view/client/ListDataProvider.java#newcode574
user/src/com/google/gwt/view/client/ListDataProvider.java:574: * more
optimal because the data provider knows which rows were modified and
nit: s/is more optimal/performs better/
(and elsewhere)

http://gwt-code-reviews.appspot.com/1656803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors