Re: HasHorizontalAlignment.ALIGN_RIGHT has strange result in datagrid column

2012-11-21 Thread Thomas Broyer
This is a known issue: https://code.google.com/p/google-web-toolkit/issues/detail?id=7586 On Tuesday, November 20, 2012 6:11:56 AM UTC+1, tong123123 wrote: My DataGrid has 6 columns and I want the last column to align right, I write NumberCell numberCell = new NumberCell();

Re: modify server response format

2012-11-21 Thread Thad
Try if (results.contains(...)) where ... is whatever your key phrase is. On Wednesday, November 21, 2012 3:44:46 AM UTC-5, sreenivas wrote: Hi, I am sending the response back from my servlet to the client. in onSubmitComplete() method when i get event.getResults(), I am getting my string

Embedding a scipt tag into GWT html widget

2012-11-21 Thread sachin sreenivasan
Hi, I am trying to embed a script tag into a html widget. But I am not able to see it reflected. Can someone please tell me how to embed a script tag into the GWT html widget? regards, Sachin -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

How to accurately remove elements from AsyncDataProvider ?

2012-11-21 Thread Marius Grama
Hi, i am working with a CellTable backed by an AsyncDataProvider. Can anybody tell how to solve the following two scenarios: 1. remove all elements from the cellTable I currently make asyncDataProvider.setRowCount(0,true); but this triggers onRangeChanged(HasDataXXX display) on the

Re: modify server response format

2012-11-21 Thread Thad
Thomas, I've found that some browser plugins will screw up the response regardless of what I do (I'm thinking in particular about an IE audio-film control plugin who's name escapes me). To work around it I had to bracket my answer with something like -FOO-/-FOO-. It was a real pain in the ass

Re: Move gwt-traction to GitHub?

2012-11-21 Thread Thomas Broyer
On Wednesday, November 21, 2012 4:21:48 PM UTC+1, Andy wrote: I'm thinking about moving our little library to GitHub and was wondering if anyone had an opinion. http://code.google.com/p/gwt-traction/ 1. Do you think I should? I'm not using your lib, so I can't comment here. As a

Re: GWT and Comet

2012-11-21 Thread Magnus
Hi, thanks for this info! Then I can stop trying around with it. But what can I use with these restrictions: - one jar - quickly accessible updates, without additional frameworks/tools (e. g. maven) - no tight dependency to the GWT version, if possible What sounds nice to me is that tomcat

Connect LoggingPanel to Logger?

2012-11-21 Thread Magnus
Hi, I log like this: Logger logger = Logger.getLogger (Bavaria Logger); logger.log (Level.SEVERE,I log you, you log me!); Then, I create a LoggingPopup: LoggingPopup p = new LoggingPopup (); p.show(); How can I have the logs displayed in the logging panel? Google did not find an example...

Re: CellTables and css

2012-11-21 Thread IamSavy
I have used your approach, and its working. Thanks for a very simple solution. Now I want to add custom styles to my columns, but it is not allowing me to add. My goal is to adjust the width of the each column differently. As I am using GWT 2.1 so 'setColumnWidth()' is out of scope. Can you

Getting Started with GWT tutorial questions

2012-11-21 Thread Ruben
Hello, I've just finished the getting started with GWT tutorial: https://developers.google.com/web-toolkit/doc/latest/tutorial/style Which I think is really good. I have a couple of questions though. https://developers.google.com/web-toolkit/doc/latest/tutorial/style For the dynamic styling a

Re: Move gwt-traction to GitHub?

2012-11-21 Thread Andy
I appreciate the feedback and it's interesting to hear that you're splitting up gwt-user. I'll probably keep most of it together, but RawHistory probably belongs in its own repo. As you mentioned AutoSizingTextArea could be on its own. It will be a great day when I can add a deferred binding

How to write / capture generic Value change event for all the textbox in my application

2012-11-21 Thread Dharanipathi D
Hi all, In my application we are using 1. Screen are designed using UIBinder with a view class to bind 2. Presenter as controller and model. 3. We do have Base Presenter (abstract with few generic implementations) 4. We are having many such screens with all screen will have textbox

ToggleButton breaks flow of FlowPanel

2012-11-21 Thread Thad
I've got a button panel layout for which I'm trying to use a FlowPanel: g:FlowPanel g:PushButton g:PushButton g:ToggleButton g:PushButton The problem is that even if I double down by giving the FlowPanel a style that includes block: inline-block, the ToggleButton breaks the flow and

Re: Getting Started with GWT tutorial questions

2012-11-21 Thread Ashton Thomas
For your second question: https://developers.google.com/web-toolkit/doc/latest/DevGuideUiCss?hl=no-NO gwt-[Classname] will use the default css/theme provided by GWT. You can remove/override this if you need Second question about the generated javascript: If, after you compile StockWatcher,

Re: gwt-pushstate: Easy to use HTML5 pushState support for GWT

2012-11-21 Thread Johannes Barop
Thanks for pointing that out. Am 21.11.2012 um 18:38 schrieb Thomas Broyer: Just a small note: why are you inheriting c.g.g.logging.Logging? You don't need to inherit anything if you just use java.util.logging, and if you need to use classes from c.g.g.logging.client then you should rather

Re: gwt-pushstate: Easy to use HTML5 pushState support for GWT

2012-11-21 Thread Thomas Broyer
On Wednesday, November 21, 2012 7:27:44 PM UTC+1, Johannes Barop wrote: Note to myself. Never drink Jågermeister and push to git. :) Indeed! ;-) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: GWT JPA problem

2012-11-21 Thread arun kumar
I cleared the gwt-unitCache directory and now it compiles OK. I think it just kept all the files from the previous machine which prevented from using the new JPA libraries. On Tuesday, November 20, 2012 7:14:06 PM UTC+1, arun kumar wrote: And thanks for the quick reply. I really appreciate

Re: Anyone used GWT with Require.js?

2012-11-21 Thread Joseph Lust
Oh the irony. I had to componentize a widget created by another team which uses RequireJs today and the first Google hit is my own answer. Given that I wanted to just make a GWT module that could be inherited to use an external widget, said module would not have an entry point and onModuleLoad

replace-with and when-property-is . . using it based on browser / user.agent value?

2012-11-21 Thread King_V
All, I've seen a few examples where there is talk of substituting a class based on which browser is involved. So, I want to have one version of a class for Firefox, and one for everything else. I've tried the following, taken from examples I've found online: ?xml version=1.0 encoding=UTF-8?

Re: replace-with and when-property-is . . using it based on browser / user.agent value?

2012-11-21 Thread Alberto Mancini
Hi, probably RichText.gwt.xml in com.google.gwt.user may help you, I think the following is the relevant part: !-- Mozilla-specific implementation -- replace-with class=com.google.gwt.user.client.ui.impl.RichTextAreaImplMozilla when-type-is

Re: Getting Started with GWT tutorial questions

2012-11-21 Thread Oliver Krylow
The GWT compiler optimises and obfuscates the javascript heavily by default. To see a more human-friendly version set the compiler flag -style to PRETTY or DETAILED. read more about this here

Re: Getting Started with GWT tutorial questions

2012-11-21 Thread Oliver Krylow
Sorry, somehow I linked to old version of docs. But you will find latest version on your own :-) -- 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

Re: The purpose of GWt

2012-11-21 Thread Andy King
You can try this: http://lmgtfy.com/?q=gwt+animation+examples But seriously, there are so many examples available! Even the GWT showcase has an example (http://gwt.google.com/samples/Showcase/Showcase.html#!CwAnimation). On Wednesday, November 21, 2012 1:13:21 PM UTC-7, Goran Bojanic wrote:

Re: gwt suggestbox.

2012-11-21 Thread Jan Vladimir Mostert
Hi, sorry for re-opening a topic from 2009. In the above code, you said nameCallback = callBack, where is this nameCallback being used? I don't quite understand how to use the callback. I was just wondering if there's a full implementation / example available on how to extend the SuggestOracle

Another Request Factory Example (using MySQL)

2012-11-21 Thread Andy King
I have started to create another example/tutorial, this time using MySQL for the data (the first example just held the data in memory). The example has some way to go before it is complete, but it may help others even in its current state. The first part of the tutorial includes instructions

[gwt-contrib] Re: Fix a bug where GWT-RPC would not generate some covariant array types, possibly causing inconsis... (issue1869804)

2012-11-21 Thread stephen . haberman
http://gwt-code-reviews.appspot.com/1869804/diff/1/user/test/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilderTest.java File user/test/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilderTest.java (right):

[gwt-contrib] Re: Fix a bug where GWT-RPC would not generate some covariant array types, possibly causing inconsis... (issue1869804)

2012-11-21 Thread skybrian
http://gwt-code-reviews.appspot.com/1869804/diff/1/user/test/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilderTest.java File user/test/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilderTest.java (right):