Re: Invisible DataGrid

2011-10-14 Thread Sudhakar Abraham
Add your DataGrid in panels like HTMLPanel, HorizontalPanel etc..,. S. Abraham www.DataStoreGwt.com Persist objects directly in Google App Engine On Oct 14, 8:41 pm, walker1c wrote: > Can anyone point me to a working example that uses > com.google.gwt.user.cellview.client.DataGrid? > > The exam

Re: Compiler exception occured. Not able to compile GWT application

2011-10-14 Thread Sudhakar Abraham
Add your project.gwt.xml file in your project directory. Inherit your application entrypoint module with S. Abraham www.DataStoreGwt.com Persist objects directly in Google App Engine On Oct 14, 2:52 pm, Raghul wrote: > I getting the following error while compiling the GWT application. > > A

Re: Digest for google-web-toolkit@googlegroups.com - 25 Messages in 14 Topics

2011-10-14 Thread rajandeep vij
On 10/15/11, google-web-toolkit@googlegroups.com wrote: > = > Today's Topic Summary > = > > Group: google-web-toolkit@googlegroups.com > Url: http

Re: Compiler exception occured. Not able to compile GWT application

2011-10-14 Thread Kevin Jordan
You'll need to put a SomeName.gwt.xml in some directory relative to the com.gwt classpath that has and then in your app's entrypoint module .gwt.xml file you add a line that says where SomeName is the module you name where you're putting your .User stuff. If you put it in the .client sub-packa

Re: XMLParser EndOfFile question

2011-10-14 Thread Jeff Chimene
On 10/14/2011 09:32 AM, coffeMan wrote: > I got the solution resolved.i am parsing over 11,000 different > file types...it is going slow using the DOM Xml Parser...any ideas on > how to improve performance? > > I cannot think of any other way to parse it Well, first things first: let's clear-

Re: Global Event Bus ?

2011-10-14 Thread Stefan Ollinger
Oh, and if you want to do local communication between separate modules, i would use a JSNI approach and de-/serialize the common message classes. Using the AutoBean framework for example: http://code.google.com/p/google-web-toolkit/wiki/AutoBean Am 15.10.2011 02:22, schrieb Stefan Ollinger: H

Re: Global Event Bus ?

2011-10-14 Thread Stefan Ollinger
Hello, you could use a common library to define your message classes and import that library in both gwt modules. Then use something like comet to push your messages to the clients: http://code.google.com/p/gwt-comet/ Regards, Stefan -- You received this message because you are subscribed to

Re: Thoughts on Adding Widgets

2011-10-14 Thread gangurg gangurg
Good Idea , I will ponder my head on this one . On Thu, Oct 13, 2011 at 9:55 PM, -sowdri- wrote: > Did you thought about using HTMLPanel, with handlers for keyboard input? > such that you can have a complete control over the area and this will also > enable you to add any kind of widget dynami

Re: Global Event Bus ?

2011-10-14 Thread Tomasz Gawel
package samples; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.core.client.JsDate; import com.google.gwt.event.shared.HandlerRegistration; import com.google.gwt.json.client.JSONObject; import com.google.gwt.json.client.JSONP

Re: Global Event Bus ?

2011-10-14 Thread Tomasz Gawel
If you want to pass objects between to separately compiled gwt modules via javascript it can only be object that extend JavaScriptObject or primitives. but these can also be your custom overlay objects defined on both sides. for example when module A knows about com.google.gwt.core.client.JsDate a

UiBinder & setVisible - Confusing (Inconsistent?) Behaviour

2011-10-14 Thread Hilco Wijbenga
Hi all, If I use (in UiBinder) something like Hello World! then the widget is hidden as expected. This calls UIObject.setVisible(boolean), IIUC. When I try this for my own widgets this doesn't work, however. I have public interface MiniGameWidget { @UiTemplate("MiniGameWidget.ui.xml") inte

Re: GWT Designer fails under Eclipse 3.7 with latest update

2011-10-14 Thread Jean-Lou Dupont
In the "Eclipse SDK Installation details" under "Plugins" I see GWT Designer WebKit Support 2.0 2.4.2.r37x201109270337 com.google.gdt.eclipse.designer.hosted.2_0.webkit GWT Designer WebKit Support 2.2 2.4.2.r37x201109270337 com.google.gdt.eclipse.designer.hosted.2_2.webkit Everything was workin

Re: GWT Designer fails under Eclipse 3.7 with latest update

2011-10-14 Thread Eric Clayberg (Google)
Nothing at the library level has changed in GWT Designer any time recently. The requirements under Linux are (and have been for quite some time) libwebkit.so or xulrunner-1.9.x. GWT Designer tries to use WebKit first. If it isn't available for some reason (older Linux distro or wrong/different

Re: Developers, please don't ignore reported GWT issues.

2011-10-14 Thread Jens
As you now have your small clean up project phase it might be a good time to update the duties column in http://code.google.com/p/google-web-toolkit/people/list or create a similar list as wiki page to help the community to decide which persons should be assigned for reviewing patches in Rietve

Re: Developers, please don't ignore reported GWT issues.

2011-10-14 Thread Eric Clayberg (Google)
It was somewhat of a coincidence as we were starting a small project to clean up and triage the issue tracker (which had been unfortunately neglected for awhile). We definitely took notice of your post and looked at each of the issues you referenced. "PatchesWelcome" does indeed mean that we t

Re: GWT Designer fails under Eclipse 3.7 with latest update

2011-10-14 Thread Jean-Lou Dupont
But there is " libwebkit-1.0.so.2 " on my system in /usr/lib Up until the latest release of the Google plugin (which included an update to GWT Designer), everything was working fine. There isn't any " libwebkitgtk " installed on my system (nor did I remove it or ever installed it intentionally).

Re: Developers, please don't ignore reported GWT issues.

2011-10-14 Thread Eric Clayberg (Google)
If you follow the *correct procedure * for submitting patches, it should get looked at. Attaching a patch to an issue won't get it looked at. You also need to sign a CLA and submit the patch to Rietveld

Re: GWT Designer fails under Eclipse 3.7 with latest update

2011-10-14 Thread Eric Clayberg (Google)
This is caused by incompatibility between Linux versions and inconsistent library naming across versions and distros. As a work around you can... 1) Open terminal and change dir to /usr/lib. 2) Execute sudo ln -s libwebkitgtk-1.0.so.0.6.0 libwebkit-1.0.so.2 command, where "libwebkitgtk-1.0.s

AutoBean: decoding JSON with an array at the root?

2011-10-14 Thread alexp
Assume I the following JSON: [ { "foo": 1, "bar": 2 }, { "foo": 3, "bar": 4 } ] How would I set up my AutoBean and factory to parse this? If the array were a child of another object, like this: { "items": [ { "foo": 1, "bar": 2 }, { "foo": 3, "bar": 4 } ] } Then

Re: How do I use a boolean parameter in the Message.Select annotation?

2011-10-14 Thread Zak Linder
Hmm, may be related to http://code.google.com/p/google-web-toolkit/issues/detail?id=6426 -- 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/-/DE-E-K

How do I use a boolean parameter in the Message.Select annotation?

2011-10-14 Thread Zak Linder
According to the Messages.Select javadocI can use a boolean-type parameter, but I can't seem to get it to work. For example: @DefaultMessage("{1} just did something.") @AlternateMessage(

Re: How to create war file in GWT 2.4 / Eclipse Indigo

2011-10-14 Thread TBirch
Hi Sachin, I believe I had the same issue when I first started working with Indigo and here is what I remember doing. I started over with a fresh download of Eclipse 3.7. Then I installed just the GWT sdk 2.4 through the Eclipse update function (not the designer or any other of the choices). At tha

Re: How to add click events to multiple images in a cell/celltable

2011-10-14 Thread Adam
I use CompositeCell for this type of thing. Create a composite of 2 cells, each with an image in them, and each cell handling "click" events. Each cell can detect clicks in their respective FieldUpdaters and still be rendered in the same cell. Hope this helps, Adam On Oct 14, 9:41 am, Thomas Tr

GWT App Indexing

2011-10-14 Thread Kb .
I want to make an app which allows users to Post Content with GWT/GAE Can the text in the Content be indexed by Search Engines? or i have to use something else to build this ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to th

Re: Is it possible to have a div overlay something, but not catch the clicks (ie, "transparent" to clicks?)

2011-10-14 Thread darkflame
Ok, dont mean to spam, but I think I'm getting near a solution and it could be usefull to other people. Based on; http://groups.google.com/group/gwt-cal/browse_thread/thread/7e756151acbd9b14 I came up with this; /** a class designed to catch events and forward them to a panel under it * uses t

Re: XMLParser EndOfFile question

2011-10-14 Thread coffeMan
I got the solution resolved.i am parsing over 11,000 different file types...it is going slow using the DOM Xml Parser...any ideas on how to improve performance? I cannot think of any other way to parse it On Oct 14, 10:40 am, Jeffrey Chimene wrote: > On 10/14/2011 7:00 AM, coffeMan wrote: >

Re: Invisible DataGrid

2011-10-14 Thread Jeff Larsen
DataGrid needs to live inside a LayoutPanel -- 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/-/_xePEB-6AJ8J. To post to this group, send email to g

Re: GWT Designer fails under Eclipse 3.7 with latest update

2011-10-14 Thread Claudio Pomo
I've the same problem with eclipse 3.6 this is the stack trace !SESSION 2011-10-14 11:26:52.651 --- eclipse.buildId=M20110210-1200 java.version=1.6.0_26 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=it_IT Framew

Invisible DataGrid

2011-10-14 Thread walker1c
Can anyone point me to a working example that uses com.google.gwt.user.cellview.client.DataGrid? The example code in the Javadoc relates to a different widget (CellTable). The code in the GWT showcase is incomplete and seems to be full of dependencies related to the showcase infrastructure. I've

Re: Suggestion for Eclipse Plugin: On SDK Upgrade > delete old SDK Jars (not working)

2011-10-14 Thread Brandon Donnelson
Oops, My bad. It works. I had a custom SDK selected. I should have selected the default SDK. Brandon -- 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-to

Re: it is not a circular structure

2011-10-14 Thread .Mark
I have just updated my Ubuntu workstation to 11.10 which has provided me Eclipse Indigo. With that I have updated my Google plug-in to the version for Eclipse Indigo. I have GWT 2.4.0 and AppEngine 1.5.5. It appears things are working better. I am not currently getting the circular reference exc

Suggestion for Eclipse Plugin: On SDK Upgrade > delete old SDK Jars (not working)

2011-10-14 Thread Brandon Donnelson
On Eclipse GWT SDK upgrade, the old SDK jars for App Engine and (maybe GWT) are sticking around, staying behind. I try to reset it by disabling both App Engine and Web Toolkit and closing properties option dialog, and repeating to enable. This replaces the jars some of the time. Why won't it f

Re: JSNI - interactive chart

2011-10-14 Thread George Agiasoglou
Hi Tomasz, Many thanks for your sample code. The only thing missing is inherit Json in your application module Although it compiles and runs the iframe comes out empty. I stepped through the code in debug mode and the element created is shown below: http://ajax.googleapis.com/ajax/static/m

Re: XMLParser EndOfFile question

2011-10-14 Thread Jeffrey Chimene
On 10/14/2011 7:00 AM, coffeMan wrote: > I am retrieving XML from a servlet and parsing through it. the xml > code is one large XML file but on through the servlet. I can parse > through it easy and get my results but i am not sure when to stop it. > I keep getting NullPointerException that kicks

Re: XMLParser EndOfFile question

2011-10-14 Thread coffeMan
great thanks On Oct 14, 10:35 am, Colin Alworth wrote: > NodeList, the return value of getElementsByTagName, has a method called > getLength(). The standard way of iterating through the contents would > involve using a for loop, and testing that n never reaches getLength() -- You received this

Re: XMLParser EndOfFile question

2011-10-14 Thread coffeMan
Great Thanksill give it a try On Oct 14, 10:35 am, Colin Alworth wrote: > NodeList, the return value of getElementsByTagName, has a method called > getLength(). The standard way of iterating through the contents would > involve using a for loop, and testing that n never reaches getLength() -

Re: XMLParser EndOfFile question

2011-10-14 Thread Colin Alworth
NodeList, the return value of getElementsByTagName, has a method called getLength(). The standard way of iterating through the contents would involve using a for loop, and testing that n never reaches getLength() -- You received this message because you are subscribed to the Google Groups "Goo

Re: Developers, please don't ignore reported GWT issues.

2011-10-14 Thread Thomas Broyer
Patches should be submitted to http://gwt-code-reviews.appspot.com where, if you set reviewers, they will show in their "reviewable by me" (and they'll receive a mail). As for your patch, a single JSNI method is faster in DevMode, because it only requires one roundtrip to the browser to execute

XMLParser EndOfFile question

2011-10-14 Thread coffeMan
I am retrieving XML from a servlet and parsing through it. the xml code is one large XML file but on through the servlet. I can parse through it easy and get my results but i am not sure when to stop it. I keep getting NullPointerException that kicks off when it reaches the end. I never know whe

Re: SimplePager in CellTable on a DialogBox using UiBinder

2011-10-14 Thread jgm
Dont't know why it was posted 4 times :-( On 14 Okt., 15:48, jgm wrote: > Hi, > > We are having problems getting the SimplePager to work. > The pager is shown, but it doesn't work - as if it is not initialized > correctly with the data, somehow. > > The java code looks like this: > > public cla

How to deploy using modules

2011-10-14 Thread Néstor Boscán
Hi I have a client that wishes to create a big GWT project that is modularized where in one page you can see the panels of different modules. They want to deploy by module not deploying the entire war everytime there is a change. In GWT I could create 1 jar per module and create a war that integra

SimplePager in CellTable on a DialogBox using UiBinder

2011-10-14 Thread jgm
Hi, We are having problems getting the SimplePager to work. The pager is shown, but it doesn't work - as if it is not initialized correctly with the data, somehow. The java code looks like this: public class RunProgressPopupPanel extends DialogBox { private final String dateFormat = "yy

SimplePager in CellTable on a DialogBox using UiBinder

2011-10-14 Thread jgm
Hi, We are having problems getting the SimplePager to work. The pager is shown, but it doesn't work - as if it is not initialized correctly with the data, somehow. The java code looks like this: public class RunProgressPopupPanel extends DialogBox { private final String dateFormat = "yy

SimplePager in CellTable on a DialogBox using UiBinder

2011-10-14 Thread jgm
Hi, We are having problems getting the SimplePager to work. The pager is shown, but it doesn't work - as if it is not initialized correctly with the data, somehow. The java code looks like this: public class RunProgressPopupPanel extends DialogBox { private final String dateFormat = "yy

SimplePager in CellTable on a DialogBox using UiBinder

2011-10-14 Thread jgm
Hi, We are having problems getting the SimplePager to work. The pager is shown, but it doesn't work - as if it is not initialized correctly with the data, somehow. The java code looks like this: public class RunProgressPopupPanel extends DialogBox { private final String dateFormat = "yy

How to add click events to multiple images in a cell/celltable

2011-10-14 Thread Thomas Trebbien Pedersen
Hi, I have a celltable where I would like to sort the rows by clicking either a up or a down arrow. The two sort-direction arrows are placed in a single cell on each row. Now how do I add a click event to each image? I know a cell has a onBrowserEvent(...) put thats for the entire cell right? Wha

Re: Is it possible to have a div overlay something, but not catch the clicks (ie, "transparent" to clicks?)

2011-10-14 Thread darkflame
I found this; http://www.vinylfox.com/forwarding-mouse-events-through-layers/ It seems the agreed way to do this at the moment. I only hope its adaptable to GWT :-/ On Oct 14, 3:12 pm, darkflame wrote: > Still struggleing with a solution for this. > My knowledge of event handeling clearly isnt g

Re: Developers, please don't ignore reported GWT issues.

2011-10-14 Thread Patrick Tucker
Providing your own patches doesn't guarantee it will get looked at... I submitted the following patch because it was a simple and quick first attempt at recommending a patch for GWT: http://code.google.com/p/google-web-toolkit/issues/detail?id=6589 The patch got no attention from the GWT team, ne

Re: UiBinder CSS URL

2011-10-14 Thread Sudhakar Abraham
You can't access the css file from outside package within uibinder. However, there are two ways to access the css file within uibinder. 1. Using inline style sheet within uibinder (...) 2. Using S. Abraham www.DataStoreGwt.com Persist objects directly in Google App Engine On Oct 13, 7:00 pm, Sig

Re: Apply style to header, row, cell in cellTable

2011-10-14 Thread Sudhakar Abraham
Add style to cellTable using this CellTable.Resources interface. Pass the CellTable.Resources object into CellTable constructor. Change the property in CellTableStyle.css file as you wish. S. Abraham www.DataStoreGwt.com Persist objects directly in Google App Engine //In Java class interface Ta

Re: DataGrid auto-set column width

2011-10-14 Thread misko237
I have tried with first solution, but I couldn't manage to read real cell element width. Did you succeed? Second solution is not an option for me. On Oct 13, 2:57 pm, jaga wrote: > I have the same problem. > > For me there are two solutions: > 1) calculate the maximum field width at runtime by in

Compiler exception occured. Not able to compile GWT application

2011-10-14 Thread Raghul
I getting the following error while compiling the GWT application. Any one please help resolve this issue. Validating newly compiled units Ignored 3 units with compilation errors in first pass. Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. [ERROR] An internal

Re: DataGrid auto-set column width

2011-10-14 Thread misko237
I have tried the first solution, and I couldn't manage to read real cell width at runtime. The second one is not suitable for me. On Oct 13, 2:57 pm, jaga wrote: > I have the same problem. > > For me there are two solutions: > 1) calculate the maximum field width at runtime by inspecting the row

Re: Is it possible to have a div overlay something, but not catch the clicks (ie, "transparent" to clicks?)

2011-10-14 Thread darkflame
Still struggleing with a solution for this. My knowledge of event handeling clearly isnt good enough; a) Is it possible to pass an event (or all events) to a parent/ container element and have it automaticaly passed on to all its children? b) would this event be triggered under the normal conditi

Re: native callback going into the eternal void

2011-10-14 Thread Daniel Kurka
to make UncaughtExceptionHandler working you should also wrap the call in $entry() function: var func = entry(function delegate() { @com.webfair.gwt.components.client.CalendarBox::test() se...@com.webfair.gwt.components.client.CalendarBox ::fireDateChangedEventFromJS()

Re: Celltable loading state

2011-10-14 Thread David Sanders
You'd probably need to add a zero-sized array list of data and set what you want to show with table.setEmptyTableWidget() -- 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/

Re: select language or country from a drop down list

2011-10-14 Thread gerry
What I did eventually for the languages is take a document like this: http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt, store it in the war folder, and parse it line by line to get all languages and their codes and put them in my drop down list. For countries, I used the class that Prakas

Re: native callback going into the eternal void

2011-10-14 Thread Dennis Haupt
that was it. makes sense. 2011/10/13 Tomasz Gawel > use double ()() > > @com.webfair.gwt.components.client.CalendarBox::test() is only the > signature of method > to call it use @com.webfair.gwt.components.client.CalendarBox::test() > (); > > -- > You received this message because you are subscr

Re: Animation when switching activities impossible?

2011-10-14 Thread Daniel Kurka
For mgwt (http://www.m-gwt.com) I just put in a custom ActivityManager to handle animations, while switching activities. Maybe that could work for you was well - Daniel Kurka 2011/10/13 Aidan O'Kelly > >> It's a bit like they ignore the standards they created with >> Activities. 'Cause in theor