migrating to 2.0...issues...

2010-03-26 Thread golfdude
I updated to the latest gwt plugin. Now when I run my app, in my browser, I get a "gwt module needs to be recompiled, use Compile/Browse button in Hosted mode". But now there is no hosted mode, right ? I have tried cleaning the cache files, rebuilding project ( no errors ), but I keep getting th

Manage a Webcam via GWT

2010-03-26 Thread Fran
Hi, ¿Is possible get manage of Webcam in GWT? I want put a webcam in my GWT aplication but I dont know how i can Thanks -- 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-tool...@googlegroups.

Earth Hour 2010: Will you join me?

2010-03-26 Thread Ivan Vovnenko
Google-Web-Toolkit@googlegroups.com, I just signed up to support the Earth Hour 2010 campaign and I'd like to invite you to join me. Just visit https://www.myearthhour.org/home?invite=znCkBHihSx. Earth Hour was conceived by the World Wildlife Fund, and represents the global call to action on cl

Re: Anyaware of Hadoop/HBase/BigTables

2010-03-26 Thread Karthik K
On Fri, Mar 26, 2010 at 1:35 AM, sridevi macherla wrote: > Hi Karthik, > > I would like to know how to implement or the usage of BigTable >From an academic perspective, the paper would give a good idea and of course, app engine being the closest in terms of access to the infrastructure. > /Hb

Re: GWT Google Gadget RPC call fails with StatusCodeException (status code: 0)

2010-03-26 Thread BR
I should also add that this is on an igoogle page. On Mar 26, 4:49 pm, BR wrote: > Hi, > > I have a Google Gadget that is trying to make an RPC call (standard > GWT RPC). The endpoint URL for the service is correct. > > When debugging in Firebug, I get the following: > > The client seems to send

GWT Google Gadget RPC call fails with StatusCodeException (status code: 0)

2010-03-26 Thread BR
Hi, I have a Google Gadget that is trying to make an RPC call (standard GWT RPC). The endpoint URL for the service is correct. When debugging in Firebug, I get the following: The client seems to send an OPTIONS with the endpoint URL to the server, which returns the correct response: headers with

Google Gadgets - How to debug a GWT Gadget using OOPH

2010-03-26 Thread BR
Does anyone know how? Since in a gadget container the gadget cannot get access to the frame's URL, it can't check for the codesvr param. The gadget seems to be in its own iframe, but i have not figured out how to add the codesvr parameter to that. I added the xs linker to the compile. Any though

devmode noserver breakpoints

2010-03-26 Thread Peter Warren
I'm using the Developer Plugin for Firefox 3.6.2 with the -noserver flag in my Eclipse Plugin launch config. The GWT code server launches fine and Firefox retrieves and executes my GWT app, but my breakpoints are never hit. This seems to be a common problem usually resolved by recompiling with GW

Why would you ever want to include every serializable subtype of Object?

2010-03-26 Thread Sean Stephenson
I've brought this up before on different forums, but it keeps coming back to bite me. I know exactly which types I want to be serialized, and with the new RPC blacklists/whitelists I have control over what gets put in my serialization policy (thank you!). In my case, I do something like this to e

Re: selenium unable to recognize gwt labels and ids

2010-03-26 Thread Sripathi Krishnan
Use the method ensureDebugId(), or in UI binder use the attribute debugId to set IDs for selenium. This is the recommended way to get selenium working with GWT. --Sri On 26 March 2010 07:37, jt wrote: > Hi, > I am trying to create java automation script with selenium for web > application bu

Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-26 Thread Karthik Abram
Use the gwt-maven-plugin version 1.2-SNAPSHOT to have your project work with GWT 2.x -- 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-tool...@googlegroups.com. To unsubscribe from this group,

Re: import java.io.File help

2010-03-26 Thread Chris
Thanks! On Mar 26, 9:23 am, Thad wrote: > Write an RPC that gets the directory information, formats it as JSON > or XML, and return that string to your client.  In your client, > display the information however it makes sense. > > Remember, in the ./client directory, you can't do anything that ha

Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-26 Thread Keith Platfoot
Hey Bert, Based on your observations (static text is visible, but no GWT widgets), it does look like hosted mode is not running on your project. This *probably* means the process never got a -war argument, which would make sense since you mentioned that you were not prompted for the WAR directory

Re: RPC call in onModuleLoad()? Is it good approach??

2010-03-26 Thread Yogesh
Hi Guys, I am glad that I know 2 approaches now. As said by Kozura, I guess the best thing for me to do is try both the approaches and decide based on performance. Thanks to all for the replies. Have a nice weekend! On Mar 26, 5:05 pm, kozura wrote: > Ah I see, the point is to avoid the extra

Re: help integrating GWT project to an existing Web Project (on Tomcat) within Eclipse

2010-03-26 Thread Keith Platfoot
Hey all, Ok, now that the Google Plugin for Eclipse 1.3.2 is out, here are some instructions for setting up a GWT application split across multiple projects (client, server, and shared code in separate projects). Note that this will *only *work in *Eclipse for Java EE* with *GPE 1.3.2*, so verify

closing port

2010-03-26 Thread imgnik
if my gwt project did not terminate properly, the localhost port will still be occupied. how do i close that manually? it is giving me error saying port is in use. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, sen

Re: Internet Explorer 7 reloads on fragment change?

2010-03-26 Thread PhilBeaudoin
Bingo! Thanks to your help I figured it out. The container of the Hyperlink composite was an HTMLPanel. I couldn't use HTMLPanel.add(Widget, String) because I had no "id"ed div in which to add the widget. So I did the insert at the element level : tabPanel.getElement().insertBefore( newTab.asWidg

Re: Internet Explorer 7 reloads on fragment change?

2010-03-26 Thread Thomas Broyer
On Mar 26, 5:42 pm, PhilBeaudoin wrote: > Thanks Thomas, > > This seems to be exactly the problem I'm having. Although I have > absolutely no clue why the Hyperlinks are not "attached". The > Hyperlink is inside a Composide that I build using UiBinder. I take > care to call initWidget() This Hyp

running gwt visualisation sample

2010-03-26 Thread imgnik
so how do i run the samples of gwt visualisation? I am using eclipse. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: GWT RPC Thread safe

2010-03-26 Thread Paul Robinson
Making something thread safe can be complicated, depending on what you're doing. Throwing a few "synchronized" keywords around the place without understanding what it really means and what the consequences are may cause you trouble. Threading is somewhat off topic for this forum - you'd be better o

Re: Internet Explorer 7 reloads on fragment change?

2010-03-26 Thread PhilBeaudoin
Thanks Thomas, This seems to be exactly the problem I'm having. Although I have absolutely no clue why the Hyperlinks are not "attached". The Hyperlink is inside a Composide that I build using UiBinder. I take care to call initWidget() This Hyperlink is then added to my tab panel composite. Maybe

Re: Multiple entry points or multiple widgets?

2010-03-26 Thread kozura
Well I'm not sure what you mean by the main module "inheriting" the submodules. From what you described, the main module sets up the general framework of the page, and then insert the various, fairly independent submodules based on data or user interactions. This is exactly what code splitting i

Re: Piriti: JSON and XML mapper

2010-03-26 Thread Harald Pehl
Hi Thad, > 1) Any thoughts on when handing of attributes may be added? Mapping of attributes is already implemented: Using an XPath expression like @XmlField("/contact/@kind") String kind; you can map to the kind attribute of the contact element ... Is this what you're looking for? > 2

Re: Piriti: JSON and XML mapper

2010-03-26 Thread Christian Goudreau
Nice ! I'm looking forward to see compatibility with List albums ! Good work Christian On Fri, Mar 26, 2010 at 12:01 PM, Thad wrote: > This looks good. However I mostly deal with others XML formats, so > two questions: > > 1) Any thoughts on when handing of attributes may be added? > > 2) Ho

Re: RPC call in onModuleLoad()? Is it good approach??

2010-03-26 Thread kozura
Ah I see, the point is to avoid the extra round trip time of the first RPC call. For most cases, it's probably not worth the extra effort and complication - note that most web pages make many many more round trip calls to load all the images etc. In that video, it sounds like most of their servic

Re: Piriti: JSON and XML mapper

2010-03-26 Thread Thad
This looks good. However I mostly deal with others XML formats, so two questions: 1) Any thoughts on when handing of attributes may be added? 2) How does Piriti handle optional, missing, and empty elements? As in your example, what if is missing , or if is either or ? On Mar 26, 8:29 am, Ha

Re: Blur before click

2010-03-26 Thread kozura
You probably want to be a bit more sophisticated, since other manipulations you may do with the table, like scrolling/moving through choices may also cause your textbox to lose focus. I'd put some mouse over/out listeners on the popup so you know if the mouse is inside of it, and set a flag so you

Re: import java.io.File help

2010-03-26 Thread Thad
Write an RPC that gets the directory information, formats it as JSON or XML, and return that string to your client. In your client, display the information however it makes sense. Remember, in the ./client directory, you can't do anything that has no equivalent in HTML. On Mar 25, 6:38 pm, Chris

Re: Error while installing Google Plugin for (Fedora) Eclipse 3.5.1

2010-03-26 Thread Rajeev Dayal
Thanks, it is in the Labels section (if you click in one of the boxes). I added the EclipsePlugin label for you. On Thu, Mar 25, 2010 at 6:02 PM, Randell wrote: > I filed it here: > http://code.google.com/p/google-web-toolkit/issues/detail?id=4791, although > I didn't see any fields to indicate E

Re: Internet Explorer 7 reloads on fragment change?

2010-03-26 Thread Thomas Broyer
On Mar 18, 8:27 pm, PhilBeaudoin wrote: > If you want to see this yourself, go > tohttp://filouguestbook.appspot.com/#!main > sign-in with a google account and click on the Settings link the the > top bar. Switch between the General and Accounts pages, the app will > reload. From the Accounts p

Re: Blur before click

2010-03-26 Thread Subhrajyoti Moitra
Hello, Thanks for the reply. A little more explanation would really help.:) Is this what I am supposed to do? myTextBox.addBlurHandler(new BlurHandler() { public void onBlur(BlurEvent blurEvent) { DeferredCommand.addCommand(new Command() {

Re: Piriti: JSON and XML mapper

2010-03-26 Thread mmoossen
looks great, i will give it a try. thanks for sharing Michael On Mar 26, 1:29 pm, Harald Pehl wrote: > Hi everyone, > > I'm pleased to announce Piriti 0.3.1. Piriti is a JSON and XML mapper > for GWT. It is based on annotations and deferred binding. Here are > some of the features: >     - Built

Re: RPC call in onModuleLoad()? Is it good approach??

2010-03-26 Thread mmoossen
we do generate json data in the host page (with JSP) to save that first RPC. HTH Michael On Mar 26, 8:11 am, jocke eriksson wrote: > Well I am no expert on the subject but I have also seen that video. I think > the best solution is to download the data with your hostpage. But for that > scenario

Re: Making valid and accessible web pages with GWT

2010-03-26 Thread enTropy Fragment
I got the API url's from the wrong site. I'm using GWT 2.0 although I didn't take a deep look at the changes from 1.7 Yes, I also mixed Accessibility stuff with Validation stuff in the mail, my apologizes. I'd like my site to pass the validation but that's not a priority. My priority list is acces

Re: Internet Explorer 7 reloads on fragment change?

2010-03-26 Thread sportrider
I had a similar problem with IE 8 reloading the app whenever a select element was clicked. My app mixes SmartGWT and GWT elements. Because I had GWT Anchor elements constructed with the link in the constructor on the same page, the smartgwt select control was going bonkers. So I replaced the GWT

selenium unable to recognize gwt labels and ids

2010-03-26 Thread jt
Hi, I am trying to create java automation script with selenium for web application built on GWT. Here i am facing difficulty where selenium records ids like this "//d...@id='x-auto-40_x-auto-96']/div/span[2]" where it is not giving exact element name. After recording this when i am trying to run th

Using gwt dispatch, are serialized objects JSON on the wire

2010-03-26 Thread TJT
Hi, Im using GWT dispatch with the command pattern to send/recieve data between my GWT client and server. After using a local http proxy app to snoop on the http communication, I notice that my serialized objects are displayed very JSON like. So, does GWT dispatch serialize objects into JSON stri

Re: Best practice for packaging a module into a jar?

2010-03-26 Thread sportrider
I'm not sure if it's a good practice To make this work in Eclipse, I had to create virtual src folders in each GWT application, the source of which was the source of the shared project. Then there is a build.xml that copies source from all required projects into the build directory before lau

Re: DualList, showing lists inside a fieldset

2010-03-26 Thread Nathan Wells
I'm not clear on what you're trying to accomplish... do you have some sample code/html that we could start with? On Mar 26, 12:30 am, noob_boy wrote: > Will I have to override onRender and do something? Or will I have to > create a totally new widget? > > On Mar 23, 4:58 pm, noob_boy wrote: > >

[Announcement] Piriti: JSON and XML mapper

2010-03-26 Thread Harald Pehl
Hi everyone, I'm pleased to announce Piriti 0.3.1. Piriti is a JSON and XML mapper for GWT. It is based on annotations and deferred binding. Here are some of the features: - Built-in support for many types (primitives, String, Date, Enums, ..) - Possibility to specify date and number forma

Re: GWT with i18n not displaying Apostrpohes

2010-03-26 Thread mariyan nenchev
Hi, thanks - two single apostrophes one after another worked. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-w

Re: Blur before click

2010-03-26 Thread A. Kong
You may take a look at DeferredCommand Cheers -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsu

Blur before click

2010-03-26 Thread Subhrajyoti Moitra
Hello, I am implementing a suggest box in GWT 2.0.3 using a text box and table. (I know there is a SuggestBox class, but current release of GWT does not let me specify my own display for suggestions) I have a blur handler on the textbox that does: myTextBox.addBlurHandler(new BlurHandler()

Re: GWT with i18n not displaying Apostrpohes

2010-03-26 Thread mariyan nenchev
Will it be shown as single? My client underlined for single! Regards. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: GWT with i18n not displaying Apostrpohes

2010-03-26 Thread Thomas Broyer
On Mar 26, 10:53 am, mariyan nenchev wrote: > Hi, > > I am using gwt internationalization. Some of my messages contain apostrophes > but they are not displayed. I tried to put the messages in Labels and HTML, > but in both apostrophes are not displayed. > > Any ideas how fix this? Apostrophes ha

Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-26 Thread Bert
Keith, You refer to using the src/main/webapp to being the base of your hosted mode, but how do you make the code compile GWT to that folder and how do you add the dependencies (libs) to the meta-inf lib folder? The reason for me being unable to use the GWT items/code is because it's not in the sr

GWT with i18n not displaying Apostrpohes

2010-03-26 Thread mariyan nenchev
Hi, I am using gwt internationalization. Some of my messages contain apostrophes but they are not displayed. I tried to put the messages in Labels and HTML, but in both apostrophes are not displayed. Any ideas how fix this? -- You received this message because you are subscribed to the Google G

Re: XML Parser error in hasAttributes()

2010-03-26 Thread Ignat Alexeyenko
Thanks for Your reply! Another solution: public boolean hasAttributes(Node node) { try { return node.hasAttributes(); } catch (Exception e) { return false; } } -- Kind regards, Ignat Alexeyenko. On Wed, Mar 24, 2010 at 9:59 AM, pschonefeld wrote: > this was happening for

Strange module import error

2010-03-26 Thread akpraha
I'm working on a framework for GWT, and have run into a rather strange error when trying to run in hosted mode in Eclipse. The framework has been added to the GWT application's project as a .jar file. It contains a correctly formatted .gwt.xml module. When I click on the "GWT Compile Project" bu

Re: How to customize Tree's TreeItem padding?

2010-03-26 Thread epaga
Sorry here is the full "solution" .gwt-Tree > div:first-child { width: 0px !important; height: 0px !important; margin: 0px !important; padding: 0px !important; } .gwt-Tree > div { padding: 0px 5px !important; } .gwt-Tree > div[hidefocus=true] { width: 0px !important;

Re: How to customize Tree's TreeItem padding?

2010-03-26 Thread epaga
Unfortunately this doesn't help. The padding-left of the inner div of gwt-Tree is set to 23px when the TreeItem is a leaf element and does not have a leaf icon. See GWT's Tree.showLeafImage(). The "indentValue" there is set to "23px" in Tree.setImages(ImageAdapter, boolean). FWIW, we have found a

Re: Anyaware of Hadoop/HBase/BigTables

2010-03-26 Thread sridevi macherla
Hi Karthik, I would like to know how to implement or the usage of BigTable/Hbase? which one would be best fit to hold the data around 5 TB in compressed manner. currently ia m evulating the frameworks and would like to know what are the other frameworks and which one will be best suited if anyon

Re: Multiple entry points or multiple widgets?

2010-03-26 Thread ome
Yes, sure I've seen this. You could easily load lots of code asynchronously using both approaches. But you will not remove dependencies in the compile time and main module will still inherit all other submodules, right? And if you change one module you have to recompile everything? On Mar 25, 7:10

Re: Anyaware of Hadoop/HBase/BigTables

2010-03-26 Thread naga vinod kumar
Are there any opensource projects with respect to AppEngine or hadoop..? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email t

Re: RPC call in onModuleLoad()? Is it good approach??

2010-03-26 Thread jocke eriksson
Well I am no expert on the subject but I have also seen that video. I think the best solution is to download the data with your hostpage. But for that scenario I think your objects needs to be overlays so you can do an eval. 2010/3/25 kozura > I see no reason why making RPC calls as part of the