Re: Deleting the contents of a GWT DataGrid Widget

2012-01-06 Thread Thomas Broyer
dataProvider.getList().clear() ? -- 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/-/HOfjz7paNO8J. To post to this group, send email to

Best way to push data to a page widget

2012-01-06 Thread randal cobb
Hello all, I'm still new to GWT and I don't know all of it's capabilities. I've googled for what I think I want to do, but I'm not sure if I've used the correct terms, so I've come up almost fruitless on any searches; perhaps someone can point me in the correct direction. I have a relatively

Re: Best way to push data to a page widget

2012-01-06 Thread dhoffer
Sounds like a server-push/Comet situation, there are many comet frameworks including CometD Atmosphere, the later having a GWT client...not sure what GWT has for Comet internally. -Dave On Jan 6, 7:07 am, randal cobb rco...@gmail.com wrote: Hello all, I'm still new to GWT and I don't know

Re: Best way to push data to a page widget

2012-01-06 Thread randal cobb
Thank you, from the looks of them, that is exactly what I need. I'll start seeing what I can do with Atmosphere. Cheers, mate... I owe you a beer! On Fri, Jan 6, 2012 at 8:25 AM, dhoffer dhoff...@gmail.com wrote: Sounds like a server-push/Comet situation, there are many comet frameworks

Re: Gwt Scheduler / TimeLine / Gantt charts

2012-01-06 Thread Steve Moyer
The documentation makes it look like it's based on GXT ... I gave up on anything that required GXT or SmartGWT some time ago. smoyer -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Abridged summary of google-web-toolkit@googlegroups.com - 39 Messages in 22 Topics

2012-01-06 Thread xavier . ivanez
NOUVEAU - BORE@L INFORMATIQUE INTEGRE JPA CONSULTANTS Afin de mieux vous servir, nos deux sociétés ont décidé de réunir leurs compétences et leur professionnalisme sous le nom de JPA CONSULTANTS SA . Par ce partenariat, nous nous améliorerons sur les points suivants : • Logiciel :

Re: GWT Developer Plugin for Firefox 9

2012-01-06 Thread David Sanders
Mr Leung you're my hero -- 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/-/1ct-Udcq5GMJ. To post to this group, send email to

AsyncProxy and ActivityMapper

2012-01-06 Thread kretel
Hi All, I am trying to get the code splitting working on the ActivityMapper. I have taken the MVP tutorial sample ( http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html) and converted that to use GIN. After reading a number of posts on the group decided to

Re: GWT 2.1 cell table paging bug?

2012-01-06 Thread Emilian Bold
I agree. The current GWT pagination seems to be more of a workaround. They try to avoid having less items on the last page because it might change the layout and the pager position. What should actually happen is that the table should maintain the full height as if it has all the rows, but

Re: GWT Developer Plugin for Firefox 9

2012-01-06 Thread David Vree
Thanks a ton! You are a life saver... -- 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/-/NGiV7mWv1ZIJ. To post to this group, send email to

Re: GWT Developer Plugin for Firefox 9

2012-01-06 Thread eric73
Hi, I have problem on FireFox 8 (Google Plugin) and 9 (your plugin) with GWT + SmartGWT 3.0 with ListGrid where I use method setAttribute(String, Object) on ListGridRecord. No Problem with OmniWeb (Safari under 5.1 cause safari still not work.) on the same code. The traceback : 00:11:51,481

Re: Preload web pages

2012-01-06 Thread Gal Dolber
You could use this project http://code.google.com/p/wkhtmltopdf/ It uses webkit to render a site as pdf or as an image. I have never used the image part but the pdf rending is great On Fri, Jan 6, 2012 at 12:23 PM, Adolfo Panizo Touzon adolfo.pan...@gmail.com wrote: Hi, I want to create and

Re: Preload web pages

2012-01-06 Thread Adolfo Panizo Touzon
Yes, it looks fine, but... Is it possible use it inside the GWT app?? I've seen fast, but I think the basic use of this framework is to generate the pdf/img in the cmd and then include this img/pdf inside your app... In my case this task is so heavy because I have a big DB... Any ideas? Thank

Re: GWT tutorial stockwatcher

2012-01-06 Thread angITA
Sorry but the code works but I do not understand why it works... this is all code of the method // this method is call when click add button from web interface. private void addStock(String s) { // TODO int row;

Re: Preload web pages

2012-01-06 Thread Gal Dolber
Yes, that one is for server usage, to render a website on the client you could try http://html2canvas.hertzen.com/ On Fri, Jan 6, 2012 at 1:35 PM, Adolfo Panizo Touzon adolfo.pan...@gmail.com wrote: Yes, it looks fine, but... Is it possible use it inside the GWT app?? I've seen fast, but I

Centering an Image

2012-01-06 Thread Mike Dee
How can I center an image in a panel? I have a layout that looks like this: Vertical Panel Cell Table Simple Panel Image Cell Table Basically, this shows an image with a table of data above and a table of data below. I can't get the image to center, however. In this case I tried a

Re: Centering an Image

2012-01-06 Thread Mike Dee
I found one way to do this. I used a HorizontalPanel as a container for the image, instead of a SimplePanel. On Jan 6, 9:11 am, Mike Dee mdichiapp...@gmail.com wrote: How can I center an image in a panel?  I have a layout that looks like this: Vertical Panel   Cell Table   Simple Panel    

Re: Preload web pages

2012-01-06 Thread Adolfo Panizo Touzon
Thanks! I'll try on Monday. Have a nice weekend. On Jan 6, 2012 5:09 PM, Gal Dolber gal.dol...@gmail.com wrote: Yes, that one is for server usage, to render a website on the client you could try http://html2canvas.hertzen.com/ On Fri, Jan 6, 2012 at 1:35 PM, Adolfo Panizo Touzon

GWT Style Not Working in AbstractCell

2012-01-06 Thread Vincent Fazio
I'm attempting to create a custom cell renderer for my GWT CellTable. I'm attempting to set a CSS style inside of the cell, but it's not rendering for some reason. Here's my custom cell renderer static class MyStringCell extends AbstractCellString implements CellString { interface

Re: AsyncProxy and ActivityMapper

2012-01-06 Thread Patrick Julien
See this patch for a model you can follow. Pay close attention to the reviews and you should be fine using RunAsyncActivity http://gwt-code-reviews.appspot.com/1386806/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: GWT Style Not Working in AbstractCell

2012-01-06 Thread Vincent Fazio
Nevermind - I was doing this wrong. The style works if I do something like SafeStyles styles = SafeStylesUtils.fromTrustedString(width: 100%;); instead of the nonsense I was doing. GWT must have some filter to remove nonsensical styles. On Fri, Jan 6, 2012 at 3:56 PM, Vincent Fazio

Tiled/Repeating images

2012-01-06 Thread Kamal
Hello, Can someone please advise on the correct procedure for creating repeating images in GWT. I've read the GWT documentation and some other posts with similar problems but am having no luck getting images to repeat. The image in question is for a custom button and is 1x24 pixels in size.

[gwt-contrib] Re: Adding support for Typed Arrays (issue1621803)

2012-01-06 Thread steffen . schafer
One general note: The Uint stuff is one thing of this API I hate very much in the context of GWT. There are two solutions: 1. use emulated longs, and somehow convert them to real primitive JS numbers (either using a string, as we did in some places or using doubles behind the scene) 2. use

[gwt-contrib] Re: Adding support for Typed Arrays (issue1621803)

2012-01-06 Thread steffen . schafer
On 2012/01/04 19:52:29, jat wrote: I have only glanced over the files, but I have a general comment. If possible, it would be nice if shared code could operate on typed arrays. That would mean defining most things in interfaces in shared, and then in the places that need it using

[gwt-contrib] Re: Adding support for Typed Arrays (issue1621803)

2012-01-06 Thread Thomas Broyer
On Fri, Jan 6, 2012 at 3:18 PM, steffen.scha...@googlemail.com wrote: I think extracting interfaces and place them in shared won't be the problem. I'll do that for the next patch set. I have some questions about that: - Where is the best place to implement the factory methods? In a nested

[gwt-contrib] Re: Adding support for Typed Arrays (issue1621803)

2012-01-06 Thread t . broyer
Re. long vs. double, my opinion is: do not deal with long at all in the API. I doubt there could ever be a better performing long[]-JsArrayNumber conversion than iterating through the array and doing a long-double conversion for each value; so I wouldn't even provide utility methods (as that

[gwt-contrib] Re: Adding support for Typed Arrays (issue1621803)

2012-01-06 Thread t . broyer
http://gwt-code-reviews.appspot.com/1621803/diff/1/user/src/com/google/gwt/typedarrays/client/DataView.java File user/src/com/google/gwt/typedarrays/client/DataView.java (right):

[gwt-contrib] Re: Adding support for Typed Arrays (issue1621803)

2012-01-06 Thread jat
I think it is appropriate to keep the correct type on things, as using it on the server people will be unhappy using double for purely integral values. So, I think using long for uint32 is correct, but there should be docs explaining that it is slow and should be avoided in the client, and also

Re: [gwt-contrib] Re: LayoutImplIE6 and onResize()

2012-01-06 Thread Patrick M. Tucker
Try the following modifications to DockLayoutPanel : Add this somewhere in the class: AnimationCallback animationCallback = new AnimationCallback () { @Override public void onAnimationComplete () { System.out.println(\r\nAnimation complete!\r\n); onResize(); }

[gwt-contrib] ColumnSortList can grow indefintely, but some users would like to have only a (issue1625803)

2012-01-06 Thread isoos
Reviewers: jlabanca, Description: ColumnSortList can grow indefintely, but some users would like to have only a limited number of entries within it (usually just one). In such cases it will reduce the need to call clear() before push(...), reducing the number of header refresh calls. Adding a

[gwt-contrib] Re: ColumnSortList can grow indefintely, but some users would like to have only a (issue1625803)

2012-01-06 Thread jlabanca
LGTM http://gwt-code-reviews.appspot.com/1625803/diff/1/user/src/com/google/gwt/user/cellview/client/ColumnSortList.java File user/src/com/google/gwt/user/cellview/client/ColumnSortList.java (right):

[gwt-contrib] Re: Defines API containing definition of ARIA attributes as defined by the W3C ARIA (issue1624803)

2012-01-06 Thread jlabanca
http://gwt-code-reviews.appspot.com/1624803/diff/1/user/src/com/google/gwt/user/client/ui/aria/AttributeValueType.java File user/src/com/google/gwt/user/client/ui/aria/AttributeValueType.java (right):