Re: How do I render celltable data in chunks?

2011-07-10 Thread Potate
the next page. There are samples in the gwt showcase to give you an idea how it all works. On Jul 9, 9:28 pm, Potate sammyjiang...@gmail.com wrote: Hi I have 100+ rows to render in a celltable. The actual data is downloaded quite fast via RPC call. However, rendering these 100+ rows

How do I render celltable data in chunks?

2011-07-09 Thread Potate
Hi I have 100+ rows to render in a celltable. The actual data is downloaded quite fast via RPC call. However, rendering these 100+ rows in IE6 is awfully slow. It also causes temporary UI lockups. Is it possible to render the table in chunks? maybe like 10 rows at a time incrementally? I tried

Re: Need some help on Editors

2011-03-28 Thread Potate
of inheritance class ChildView extends View implements EditorChild doesn't work because java does not allow implementing the same interface twice thanks On Mar 24, 9:05 pm, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, March 24, 2011 9:21:00 PM UTC+1, Potate wrote: Hi everyone I'm having

Need some help on Editors

2011-03-24 Thread Potate
Hi everyone I'm having trouble understanding Editors introduced in GWT 2.1. It sounds like a nice feature to reduce boilerplate code. The Dev Guide is very very useful, but I couldn't get all the answers _ == my first question is about validation and error reporting. take the Dev Guide

Encoding / decoding arrays and lists using AutoBeanCodex and more...

2011-01-04 Thread Potate
The new AutoBean in 2.1.1 is great. Finally, there is a decent json tool that works in both js mode and pure JVM mode =) The basic scenarios described in the wiki (http://code.google.com/p/ google-web-toolkit/wiki/AutoBean#AutoBeanVisitor) work fine for me. I started poking further and I see some

how to run pure java backend setup code in GWTTestCase?

2010-11-05 Thread Potate
I have a GWTTestCase that validates some GETs and POSTs to a servlet. The servlet starts up a little differently than the traditional servlets. So I can't use the builtin unit test servlet bootstrap in module.gwt.xml. It's easiest if I can run any pure java methods. When I tried this, I got

How to use i18n plural forms with UiBinder?

2010-11-01 Thread Potate
The plural forms feature is pretty nice. But I'm struggling to find an example on how to use it with the UiBinder. Any pointers / examples would be nice. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

@ImageOptions doesn't resize lossy jpgs?

2010-10-29 Thread Potate
This seems a bug to me. Can someone help me verify this? when using a jpg like @Source(images/Status-Verified.jpg) @ImageOptions(width=10) public ImageResource OrderStatusVerified(); the width parameter seems to have no effect. when using a png like

Re: @ImageOptions doesn't resize lossy jpgs?

2010-10-29 Thread Potate
oops, forgot to say this is GWT 2.1 RC1 On Oct 29, 12:10 pm, Potate sammyjiang...@gmail.com wrote: This seems a bug to me. Can someone help me verify this? when using a jpg like         @Source(images/Status-Verified.jpg)         @ImageOptions(width=10)         public ImageResource

Re: @ImageOptions doesn't resize lossy jpgs?

2010-10-29 Thread Potate
, Oct 29, 2010 at 12:12 PM, Potate sammyjiang...@gmail.com wrote: oops, forgot to say this is GWT 2.1 RC1 On Oct 29, 12:10 pm, Potate sammyjiang...@gmail.com wrote: This seems a bug to me. Can someone help me verify this? when using a jpg like         @Source(images/Status-Verified.jpg

History.back() in GWTTestCase doesn't seem to work

2010-10-27 Thread Potate
Hi all I'm trying to test history management in my app. I'm emulating a browser back button click using History.back(). The call doesn't work =/. After calling History.back(), my registered onValueChange doesn't get invoked. History.newItem, on the other hand, triggers the onValueChange callback.

Re: History.back() in GWTTestCase doesn't seem to work

2010-10-27 Thread Potate
oops I meant GWT 2.1 RC1 On Oct 26, 2:07 pm, Potate sammyjiang...@gmail.com wrote: Hi all I'm trying to test history management in my app. I'm emulating a browser back button click using History.back(). The call doesn't work =/. After calling History.back(), my registered onValueChange

best practice for handling CSS themes

2010-10-27 Thread Potate
Hi folks My goal is to support theme selections at run time. Here is what I'm planning to do. I have some questions and I'm also looking for comments and suggestions: - start with a builtin GWT theme (standard, chrome, or dark) by declaring inherit in .gwt.xml module file. - create .css files