TabLayoutPanel,how to catch the mouse click event on tab

2011-10-31 Thread wahaha
there is a TabLayoutPanel instance,i want to alert something while i clicked on the tab button. how to implement this? -- 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: Firefox 7.0.1 plugin does not work

2011-10-31 Thread dmen
Alright thank you :) Fortunately the chrome plugin works so we can cope, for the time being. On Oct 30, 9:08 pm, Ed post2edb...@gmail.com wrote: This is a well known issue and has been discussed several times in this forum. Have a search. Bottom line: FF is updating it's browsers too fast at

GWT Celltable: How to apply mouse enter event in celltable's cell

2011-10-31 Thread vaibhav bhalke
Hi, How to apply mouse enter event in celltables cell. If Mouse enter in cell for record edition then I want to set string to Record State column that record is edited Record modify On Mouse enter I will check cellvalaue is not equal old value then I will set Record modify value to related record

Re: SerializationException with List

2011-10-31 Thread Paul Robinson
Your problem should be either that the list itself is a problem, or one or more of the elements inside it is a problem. The list itself can be non-serializable if your RPC interfaces do not indicate that this list implementation will be required. You can check by looking first in your

Re: Firefox 7.0.1 plugin does not work

2011-10-31 Thread Michael Vogt
Hello. Well, I am working with Firefox 7 since begining of this month without any problem. Please see this thread to download it: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f7f283aed77d31d0/e5e7c26fee6514dd?lnk=gstq=firefox+7+plugin#e5e7c26fee6514dd Hope this helps,

GWT Celltable How to make Non-Editable cell in Editable column

2011-10-31 Thread vaibhav bhalke
Hi, I added EditTextCell(stringTestEditTextCell) to Column(testColumn). EditTextCell editTextCell = new EditTextCell(); ColumnRecord, String stringColumn = new ColumnRecord, String( editTextCell) { @Override public String getValue(Record object) {

Re: GWT Celltable How to make Non-Editable cell in Editable column

2011-10-31 Thread Ashwin Desikan
you mean 1st column of row to be non-editable or readonly. Use a TextColumn or use TextCell instead of EditTextCell Thanks Ashwin On Monday 31 October 2011 04:08:25 PM IST, vaibhav bhalke wrote: Hi, I added EditTextCell(stringTestEditTextCell) to Column(testColumn). EditTextCell

Re: GWT Celltable: How to apply mouse enter event in celltable's cell

2011-10-31 Thread Ashwin Desikan
Capture the click event/ change events. You will have to override the EditableCell and write your own OnBrowseEvent Handler. For reference, check the code for EditableTextCell. it actually would give you hints on how to check for old values as it already does, you can extend it to perform

Re: TabLayoutPanel,how to catch the mouse click event on tab

2011-10-31 Thread Ashwin Desikan
You can use either of the BeforeSelectionHandler or SelectionHandler for the TabLayoutPanel. If you want to perform your operation after the tab is clicked use the latter example: @UiHanlder(myTabPanel) public void onMyTabClick(SelectionEventInteger event) { int item =

Re: I can't get RichTextAre OnPaste Event hooking|sinking to work?

2011-10-31 Thread darkflame
I was trying to work this out a few months back but gave up. If anyone has a answer Id be interested too hear as well. I suspect somehow you have to tie it to the inner iframes DOM, but I dont know how to do that. (in fact, not even sure if you can get the inner DOM of a iframe :-/) On Oct 30,

Re: Drag drop

2011-10-31 Thread darkflame
Strongly second gwt-dnd. Its excelent, very very flexible and works well. I have worked on two rather massive projects which used it for a (game) inventory system and it really saved a lot of work. We even have used it to have dragging and dropping accross multiple inventorys. Not sure exactly

Swapping an image at runtime....possible without setUrl?

2011-10-31 Thread darkflame
I have some animated sprites (which extend image) where the images are loaded at runtime (so no ImageBundles), and I wondered whats the best way to animate the images. Precacheing the images and using setUrl does work. But I cant help feeling it would be better to store the images in an array

Re: GWT Celltable: How to apply mouse enter event in celltable's cell

2011-10-31 Thread Sudhakar Abraham
Subclass the EditTextCell(), call the onBrowserEvent() method. This method handle a browser event that took place within the cell. Capture the event using event.getType(). S. Abraham www.DataStoreGwt.com Persist objects directly in Google App Engine On Oct 31, 1:28 pm, vaibhav bhalke

Re: LayoutPanel - how to set background image?

2011-10-31 Thread Sudhakar Abraham
In Uibinder specify your image on src attribute of ui:image tag, Inside the ui:style attribute specify your @sprite.backgroundPicture tag. Try the below example. S. Abraham www.DataStoreGwt.com Persist objects directly in Google App Engine ?xml version=1.0 encoding=UTF-8? ui:UiBinder

Re: java.lang.NoClassDefFoundError:org/json/JSONException

2011-10-31 Thread Eric Medvet
I have the same problem: java.lang.NoClassDefFoundError: org/json/JSONException at runtime when I try to call request.fire(). I tried including in my WEB-INF/lib several combinations of these jars (gwt-servlet.jar, gwt-servlet-deps.jar, requestfactory-servlet.jar, validation-api-1.0.0.GA.jar),

Re: GWT Developer Plugin for Firefox 7

2011-10-31 Thread Joel
Cool ! May be Alan could be interested by your systems specs ?... By the way it is always better to give a little bit of these info for every question/remark you have. It's sad but computing is still very sensitive to the context :-/ On Oct 27, 6:38 am, morteza adi morteza...@gmail.com wrote:

Re: How to align header/footer text in cell table

2011-10-31 Thread Carl
I will definitely try this out. Thanks for sharing... Though, I still believe this should be inherent behavior for the Column Header itself. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Findbugs problem by GWT Project.

2011-10-31 Thread Kotuboy
I have a maven GWT project and i am using findbugs to analyze the code. plugin groupIdorg.codehaus.mojo/groupId artifactIdfindbugs-maven-plugin/artifactId version2.3.2/version configuration

Re: I can't get RichTextAre OnPaste Event hooking|sinking to work?

2011-10-31 Thread Brandon Donnelson
I setup the source to look deeper and I'm looking at the source to see how the build it. I'm looking at two approaches to get to the iframe, one try accessing it through JSNI, find the iframe in the DOM..., 2, find how the source is passing events through the iframe and replicate that with

Re: I want to learn GWT,..

2011-10-31 Thread Brandon Donnelson
Here are some videos I've done to help folks get going. http://www.youtube.com/playlist?list=PL29B4CCEF46EFF4F2feature=viewall Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Re: what container should i use?

2011-10-31 Thread Brandon Donnelson
If you want a Panel that you can control positioning in, use VerticalPanel and HorizontalPanel, then set the CellPositioning in the properties. If you use FlowPanel, you'll need to use CSS to Stylesheets to control positioning. You can always change it later to something else. Hope that

Re: java.lang.NoClassDefFoundError:org/json/JSONException

2011-10-31 Thread Brandon Donnelson
I think you need to add the gwt-servlet-deps to the class path. right click on gwt-servlet-deps.jar and add to buildpath. I'm pretty sure that's where the json classes where. http://code.google.com/p/gwt-examples/wiki/DemoRequestFactory - my setup notes. Brandon Donnelson

Re: GWT + GAE common issues.

2011-10-31 Thread Brandon Donnelson
I have found no issues with using GWT with GAE and have tried a multitude of ways. I just setup a demo using RequestFactory, JDO and I've showed how to used owned collections of another entity. http://code.google.com/p/gwt-examples/wiki/DemoActivitiesAndPlaces You'll find key serialization

Re: future of gwt who use gwt

2011-10-31 Thread Brandon Donnelson
I initial had this thought when it came out but then found the future is bright for GWT. I'm seeing extensive development planned and in progress for GWT after reading posts from the engineers. Even if and when it development does trend to dart, its really similar migration and I believe GWT

Re: Error installing Eclipse Google App Engine Plugin

2011-10-31 Thread Brandon Donnelson
Hmmm. I'd suggest getting a newer version of eclipse if you can. Maybe this might help: http://www.youtube.com/watch?v=uvbz6Mw2I00list=PL29B4CCEF46EFF4F2index=1feature=plpp_video Brandon Donnelson http://gwt-example.googlecode.com -- You received this message because you are subscribed to

Re: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-31 Thread Brandon Donnelson
I put more info and demo here: http://code.google.com/p/gwt-examples/wiki/DemoActivitiesAndPlaces -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

JSON Data in GWT

2011-10-31 Thread IDeshpande
Hi All, I have my application which sends me a form in JSON format. Is there any direct way or API GWT provides to render this JSON data into any GWT UI element like Panel or a Dialog box? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: GaeAuthFilter and RequestFactory

2011-10-31 Thread Bernd
Thank you for your help. It works now. -- 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/-/Sx6zBX6j2dEJ. To post to this group, send email to

Re: future of gwt who use gwt

2011-10-31 Thread darkflame
For the original posters question of GWT applications out there, I can offer two of my own modest pieces of work http://www.rateoholic.co.uk (A website for reviewing stuff, the whole interface is GWT with a MySQL/PHP backend) http://www.cuyperscode.com/cuyperscode/CuypersCode2/CCIIstart.html (A

Re: I can't get RichTextAre OnPaste Event hooking|sinking to work?

2011-10-31 Thread darkflame
As I suspected, your trying to solve the exact same problem I had. People pasteing from Word into my app produced a crazy amount of junk formating I wanted to get rid of ;) I managed to deal (more or less) with it in normal TextBox's, but not RTF. Btw, if you run into an Opera compatibility

Re: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-31 Thread Patrick Julien
I didn't see this thread earlier but you might find this information useful. Looking at some of your code, some observations: 1. For WalletData and WalletItemData, you don't have to manually set up the owning key yourself. See the following:

Data Grid and GWT-RPC

2011-10-31 Thread András Csányi
Dear All, I would like to ask that whether possible to use DataGrid with gwt-rpc and it is available an example? As I see on the showcase page the datagrid example uses RequestFactory. Thanks in advance! András -- - - --  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --

Re: Data Grid and GWT-RPC

2011-10-31 Thread Jeff Larsen
DataGrid just takes a List of results and is in no way coupled to RequestFactory. Return a list of results from an rpc call and send them to the grid. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Clarifying Understanding of Presenter Interface

2011-10-31 Thread Ari
After reading Large scale application development and MVP, I'm a bit unclear on the Presenter interface and I'd appreciate help in clarifying my understanding. Specifically I'm unclear as to whether each Presenter is supposed to have it's own Presenter Interface or is there supposed to be a

generate a web page from java file

2011-10-31 Thread scania113
hello , I'm new to GWT, I installed the gwt plugin and the windowbuilder plugin on eclipse, I created a new project with a class that implements the EntryPoint interface, I was able to graph components thanks to this class windowbuilder and I've even run, my problem is when I create a second

how to instantiate a uib class in junit?

2011-10-31 Thread David Levy
I've done this successfully using gwt-uibinder-mockhttp://code.google.com/p/gwt-uibinder-mock/ but it no longer works in gwt 2.4. Does anyone know of a simple way to structure a uib class to avoid the following error when running in junit? java.lang.ExceptionInInitializerError at

Re: JSON Data in GWT

2011-10-31 Thread Raphael André Bauer
On Mon, Oct 31, 2011 at 4:37 PM, IDeshpande indraneeld2...@gmail.com wrote: Hi All, I have my application which sends me a form in JSON format. Is there any direct way or API GWT provides to render this JSON data into any GWT UI element like Panel or a Dialog box? GWT itself does not support

Re: Findbugs problem by GWT Project.

2011-10-31 Thread Hilco Wijbenga
On 31 October 2011 07:37, Kotuboy aliyu...@googlemail.com wrote: I have a maven GWT project and i am using findbugs to analyze the code. plugin                 groupIdorg.codehaus.mojo/groupId                 artifactIdfindbugs-maven-plugin/artifactId                 version2.3.2/version    

Re: Clarifying Understanding of Presenter Interface

2011-10-31 Thread Hilco Wijbenga
On 31 October 2011 10:52, Ari ari.brandeis.k...@gmail.com wrote: After reading Large scale application development and MVP, I'm a bit unclear on the Presenter interface and I'd appreciate help in clarifying my understanding. Specifically I'm unclear as to whether each Presenter is supposed to

Re: generate a web page from java file

2011-10-31 Thread Thad
Your GWT application is one page. You reveal different portions by hiding/showing different objects on that page. Look at the Showcase sample to see what I mean. On Oct 31, 2:26 pm, scania113 spider6...@gmail.com wrote: hello , I'm new to GWT, I installed the gwt plugin and the windowbuilder

Re: Clarifying Understanding of Presenter Interface

2011-10-31 Thread Jens
You should definitely read part 2 of the article you have mentioned. It describes the use of MVP in combination with UiBinder. Following part 2 the presenter interface is defined inside the view interface (which means one presenter interface per view if the view provides some user interaction).

Re: JSON Data in GWT

2011-10-31 Thread Fabricio Pizzichillo
HI i recommend piriti, it's very simple to use. its a tool that can map json to bean in client code http://code.google.com/p/piriti/ regards Fabricio 2011/10/31 IDeshpande indraneeld2...@gmail.com Hi All, I have my application which sends me a form in JSON format. Is there any direct way

Re: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-31 Thread Brandon Donnelson
Thanks for looking at my code. I wanted to follow up. to 1. I was having problems with the implying the parent in the ownership, so I had to do it manually. I have other projects where I use RPC and I don't have to set the parent. For some reason I wasn't able to get it to work in this

Unit teting using GWTTestCase

2011-10-31 Thread Vish
I am getting following error when I tried to test using GWTTestCases. com.google.gwt.junit.JUnitFatalLaunchException: The test class 'com.abc.myapp.client.MyAppTestCase' was not found in module 'com.abc.myapp.Myapp'; no compilation unit for that type was seen at

Re: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-31 Thread Patrick Julien
1. Well, the previous post has the link to the AppEngine JDO documentation on how to do that but it doesn't work in JPA the same way, more on that later in #4 2. You're right. I've been using gin for so long that I've forgotten about the setFactory method. The reason it works is not because of

GWT CELLTABLE: How to set column's cell value depending on changes in other column ?

2011-10-31 Thread vaibhav bhalke
Hi, I have 3 column + 10 rows in celltable. value1Column, value2Column, RecordState 1 | 2 | * 2 | 4 | - : : 3 | 5 | - 6 | 5 | * Whenever user changes values either value1 or value2 then immediately cell related to that record set to * in RecordState column. How to set * in RecordState column

Re: Re: [gwt-contrib] Aw: Regression: instanceof compiler issue

2011-10-31 Thread dflorey
I've retested with gwt 2.4 and the issue seems to be fixed. Thanks! -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Announce: GwtQuery 1.1.0

2011-10-31 Thread Manuel Carrasco Moñino
As jquery, gquery only works with single numeric values. Additionally Gquery core supports color and html-attributes (useful for svg) animations. I think, there is a jquery plugin to animate the background-position, although is not ported to gquery. You could use background-position-y and

[gwt-contrib] Re: Fixing a bug in HasDataPresenter where changes to the temporary state aren't propagated to the n... (issue1585803)

2011-10-31 Thread jlabanca
http://gwt-code-reviews.appspot.com/1585803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fixing a bug in HasDataPresenter where changes to the temporary state aren't propagated to the n... (issue1585803)

2011-10-31 Thread jlabanca
I updated the patch to actually fix the problem and added a test case that fails without the fix but passes with it. I was getting frustrated on Friday and wanted to get something out, but it didn't fix the underlying problem correctly. After thinking about the CellBrowser bug for the weekend, I

[gwt-contrib] Re: Fixing a bug in HasDataPresenter where changes to the temporary state aren't propagated to the n... (issue1585803)

2011-10-31 Thread jlabanca
http://gwt-code-reviews.appspot.com/1585803/diff/4/user/src/com/google/gwt/user/cellview/client/CellBrowser.java File user/src/com/google/gwt/user/cellview/client/CellBrowser.java (right):