Re: JAXB in model classes also used by GWT RPC

2009-12-22 Thread Pauli
Hi, I had the same problem a while ago and asked exactly the same question. Why don't jaxb annotations work? I remember reading somewhere that if things won't break if gwt cannot find annotation source files, but I'm not sure if I really read this or not. Well, I didn't get an answer to that ques

GWT Bindings for Google Map Utilities

2009-12-22 Thread Bobby
If you use the gwt-maps library to add map capabilities to your GWT apps then you might also be interested in the gwt-maps-utility library, it extends the gwt-maps library with some useful map utilities: http://code.google.com/p/gwt-maps-utility/ Samples are available as well: http://gwt-maps-util

NumberFormat not understanding its own output?

2009-12-22 Thread Jaroslav Záruba
I can't get the NumberFormat working, it seems like it can't parse its own output. I have copied following from the watch-panel in Eclipse: /* * NumberFormat decimalFormat = com.google.gwt.i18n.client.NumberFormat.getDecimalFormat(); */ "decimalFormat.format(1234.5)"= "1 234,5" "decimalFormat.pa

yuiiipmlM0" pdpl'm="?m

2009-12-22 Thread Milind Paltanwale
llp Sent from my iPhone -- 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+unsubscr...@googlegroups.c

Re: Question on Code Generation inconjunction with JS-Libraries to optimize size

2009-12-22 Thread Isaac Truett
Tom, > I thought about using the GWT Code Generation to get informed whenever > wrapper classes are used but as far as I understood this code > generation only jumps in when I use GWT.create() but this means my > Library users need to use GWT.create(AWrapper.class) instead of "new > AWrapper()" wh

javax/naming/NamingException

2009-12-22 Thread asianCoolz
Hi, regarding your post at http://code.google.com/p/googleappengine/issues/detail?id=1240 , is there any requirement to modify PersistenceAnnotationBeanPostProcessor for spring3.0 rc3 ? or only need to modify if using spring 2.5? -- You received this message because you are subscribed to th

change style to Menubar

2009-12-22 Thread ale
Hi, I would like to change style to a menu, I change the style for MenuBar & MenuItem, but when I can't change style to the popup... I would like to remove the shadow and the border... In my css i wrote: .gwt-MenuBar .gwt-MenuItem { background-color: green;} .gwt-MenuBar .menuPopupTopLeft { back

Re: CssResource problem with specific webkit CSS instructions

2009-12-22 Thread Brendan Kenny
Yep, for now you need to escape the first hyphen. See comment #2 and #7 on this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3595 This should maybe be more prominent in current documentation as it's been coming up a lot. On Dec 22, 5:42 pm, fvisticot wrote: > I'im using C

Code Licensing

2009-12-22 Thread Brendan Kenny
This might not be the best forum for this question, but it specifically involves GWT code and should be simple, so I'll give it a shot. I'm in the process of taking classes from some Google-written GWT modules (both java and jsni code), mangling them, and writing code on top of the result. Obvious

CssResource problem with specific webkit CSS instructions

2009-12-22 Thread fvisticot
I'im using CssResource. When i try to add a specific webkit instruction (-webkit- transform:translateX(0)), the compiler returns the following error: 00:37:18.859 [WARN] [mobilegwtnative] Line 2 column 59: encountered "-". Was expecting one of: "}" ";" Is there a workarround ? Any idea to solve

Re: Unable to run DevMode

2009-12-22 Thread Raziel
The jar is untouched. I also have configured the startupUrl in my eclipse plug-in Program Arguments. I can debug, however it only works after the second time I put the address in the browser's address bar. The first time I get that exception. On Dec 22, 11:40 am, Rajeev Dayal wrote: > On Mon, Dec

Re: GWT 2.0 - com.google.gwt.user.client.rpc.IsSerializable is mandatory again?

2009-12-22 Thread rlag...@googlemail.com
Hi all! I tested this behavior the last days, and remarked that this generated rpc file contains entries (as row) with all types that could be use during rpc call, all with "false" after it. It's not possible to set it back to true, since the gwt.rpc file is generated at any running. Is there a p

UIBinder and image resources

2009-12-22 Thread ericv
Starting point: http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Using_an_external_resource My goal here is simply to bind an image, and update it later on if necessary. I implemented the following code as a first step, but I keep getting "Found widget in an HTML context". I'm u

Re: how to resize a DockLayoutPanel pane using gwt 2.0 and uibinder

2009-12-22 Thread aris
I'm having the same problem... On Dec 11, 2:07 pm, "morte...@gmail.com" wrote: > I just tried this (in 2.0GA), and I get errors in the generated code: > > ui.xml looks something like this: > > >         > >         > ... > > it complains about a type mismatch, when looking at the generated co

MVP Architecture source code?

2009-12-22 Thread Dalla
Don´t know if it´s been there for some time now, but I noticed that a section named "MVP Architecture" has been added to the GWT Tutorial section. It looks a lot like the best practice example that Ray Ryan used in hos GWT Best practice session on Google I/O 2009. It there any chance of the communi

JAXB in model classes also used by GWT RPC

2009-12-22 Thread Eric
I have about 20 "model" classes that I use with GWT RPC and also persist into a database using JPA. This is all working fine. On the server side I need to do some XML processing and would like to use some JAXB annotations on these model classes. However it complains with: 15:26:47.005 [ERROR] [

Re: Multiple domains from a single servlet container

2009-12-22 Thread Sripathi Krishnan
You could create multiple domain names (one for each client) that all map to the same IP Address. In your servlet, based on the domain name figure out the right database to read from. HttpServletRequest.*getRequestURL() gives you the url that the user entered in the browser. * --Sri 2009/12/21 D

Re: Page back color

2009-12-22 Thread Ian Bambury
Thing is, if you set the style name to "MyStyleName" then there is no corresponding .MyStyleName in the GWT styles to override it. There is a body{} in there though and if you are including your style sheet from the html file (say with a ) then it will get overridden by the GWT style sheet which i

Re: Any easy way to tell which file is for which permutation?

2009-12-22 Thread Sripathi Krishnan
Its not that difficult, actually. When you use -style PRETTY, your nocache.js has a code fragment similar to try { unflattenKeylistIntoAnswers(['opera'], '34478C007220DB07F52AB22169457501'); unflattenKeylistIntoAnswers(['ie6'], '872904FEB2B0C8ABFEEF5D761EE7FEF4'); unflattenK

Re: GWT2.0: POST request for some reasnos converted to OPTIONS in new hosted mode

2009-12-22 Thread Sripathi Krishnan
Oh wow! Thanks for the great explanation, Thomas. I recently switched to firefox 3.5 and started seeing the Options request. Even though I knew about cross site request support, I couldn't put 2 and 2 together. --Sri 2009/12/21 Thomas Broyer > > > On Dec 21, 4:00 pm, Mike Chaliy wrote: > > M

Re: Page back color

2009-12-22 Thread ALEXEI BARBONI
Hi Ian My CSS file works fine. I mean, every widget that i put setStyleName takes all properties that are in my CSS file. I need to know where do I set the properties for the hole page. Uselly I put inside body { } in my CSS file. But in my GWT project it does not work... 2009/12/22 Ian Bam

Re: Javascript problem in cache.html

2009-12-22 Thread Sripathi Krishnan
Pass the style = DETAILED flag (see http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#Why_is_my_GWT-generated_JavaScript_gibberish?) to the GWTC compiler and then run the application. It won't solve your problem, but will atleast point you to the method/variable that has the

Question on Code Generation inconjunction with JS-Libraries to optimize size

2009-12-22 Thread Tom
Hi, I've been banging my head against something people here might probably be able to help me. I've written a wrapper for a extensive JavaScript Library which itself has a toolchain to optimize JS-Script code by analyzing the used JS-API. As a small example say the js-library has: * a.js * b.js *

Re: Problems reading the content of a text file.

2009-12-22 Thread Sripathi Krishnan
The URL you are trying to access is wrong... Assuming you module is named hangman, this line final RequestBuilder requestBuilder = new RequestBuilder( RequestBuilder.POST, "movies.txt" ); makes a request to http://myserver.com/mywar/hangman/movies.txt, whereas you want it to be ht

Re: Page back color

2009-12-22 Thread Ian Bambury
Do you have some kind of GWT style overriding it? Have a look in your project gwt.xml file. If you are adding css in the html host page, the it will be overridden by that. Ian http://examples.roughian.com 2009/12/22 ALEXEI BARBONI > And now I see that nothing that is inside my body css (like

JDO Error?

2009-12-22 Thread Joseph Arceneaux
I have programmatically created two data objects, which I have validated through the admin tool, and then attempt to delete them using this code: try { pm.currentTransaction ().begin (); List list = (List) pm.newQuery (query).execute (); if (!list.isEmpty ()) { int real_count = 0; int count = lis

Javascript problem in cache.html

2009-12-22 Thread Wouter
Hi all, I have a strange problem in a .cache.html that is generated by GWT. When I click on an specific radio button in my application the application seems to hang (the "please wait" indication remains displayed). This problem occurs in Chrome, FF and IE. In IE an JS error appears which says: li

Re: GWT 2.0: Plugin failed to connect to hosted mode server

2009-12-22 Thread Yuval
Hi Chris Yes - using localhost:9997 did solve the problem! Thank you. I could create the project before but not debug it - it didn't even call the Java code, as I explained it showed only the static HTML. Can you explain the difference? Thanks Yuval On Dec 22, 5:50 pm, Chris Ramsdale wrote: > Y

Re: MVP Beginner Question

2009-12-22 Thread Sripathi Krishnan
Pretty neat article. Eagerly waiting for the "UI Binder and MVP" follow up post, cause thats a pain right now. (I know there are a few threads floating around on that topic, and the solutions provided are good .. but I would still like a better integration with UiBinder). --Sri 2009/12/22 Chri

Problems with generator

2009-12-22 Thread kruk.mat...@gmail.com
am implementing a generator to generate code using Apache Velocity. The question is that you use the JClassType.getMetaData () to get the annotations in the code. Some extraction of my code: GearsDataStoreGenerator extends Generator{ public String generate (TreeLogger logger,

StatusCodeException

2009-12-22 Thread leslie
Mac OS X 10.5.7 Firefox 3.5 Eclipse 3.5 Galileo Cocoa Java 1.5.0 GWT 2.0 Hello, I'm catching a StatusCodeException when I try to make an RPC call. The method getStatusCode() is indeed returning 0 which I understand means that the server can not be reached. But I've been able to connect to the se

Re: Using Gilead with GWT 2.0 ms1

2009-12-22 Thread lucamen
Thanks Josh!! That really help me a lot and now everything is working properly! BTW Bruno (the Gilead main developer) wrote here http://sourceforge.net/projects/gilead/forums/forum/868076/topic/3484314 that a new release is coming "very" soon... so just wait and hope in a stable version that works

Validating ClientBundles ?

2009-12-22 Thread Carlos Aguayo
Hi, After upgrading the Eclipse plugin to GWT 2.0, whenever I import my Eclipse projects, Eclipse crashes. After importing the projects, I see multiple multiple (~12) jobs spawned called "Validating ClientBundles", then it either shows a warning saying that it ran out of memory or just closes. Wh

Problems reading the content of a text file.

2009-12-22 Thread Juan M.M.M.
Hi! I'm doing an example that I found ina book about GWT. It's the typical example of the hangman. I'm using Eclipse and GWT 2.0. This is my code: public class AhorGwt implements EntryPoint { private FlowPanel letters = new FlowPanel(); private Label wordLabel = new Label();

Re: UI Binder bugs - maybe config issue on my side(?)

2009-12-22 Thread Jason Parekh
Peter, Also, would you mind downloading a fresh copy of Eclipse (with a new workspace) for testing purposes? I imported your project, and the @UiFields are not marked as errors for me. If a fresh Eclipse works, it'll help in debugging whether it's a system configuration issue or an Eclipse confi

Re: Unable to run DevMode

2009-12-22 Thread Rajeev Dayal
On Mon, Dec 21, 2009 at 11:57 PM, Sam E. wrote: > I am having the same issue right now. > > > 00:00:00.684 [WARN] Error processing classpath URL 'file:/Users/ > ssaammee/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/ > jmxtools-1.2.1.jar' > java.util.zip.ZipException: error in opening zip file at

Re: main project

2009-12-22 Thread Alexander
Usually technologies are chosen from project requirements but not vice-versa! 2009/12/21 soma sekhar > i am btech final year student right know i should do a main project > for my final sem can u suggest me how could gwt will be helpful in my > project..can u even guide me which project

Re: Page back color

2009-12-22 Thread ALEXEI BARBONI
And now I see that nothing that is inside my body css (like margin, font, etc) works... Where do I set properties for my hole page thanks 2009/12/22 Alexei Telles > Hi guys, I am trying to change the back color of my page, but I can't > do that.. > > I tried by CSS > > body { > backgrou

Re: MVP Beginner Question

2009-12-22 Thread Chris Ramsdale
We've just added a tech article related to building GWT-based apps using the MVP architecture. Although it doesn't discuss all of the topics discussed in Ray's presentation (stay tuned, we'll be adding more), it does cover the basics of MVP, using the Event Bus, getting History right, and testing.

Re: Passing and parsing parameters through history events

2009-12-22 Thread Thomas Broyer
On Dec 22, 1:16 pm, hbral wrote: > hi everyone. > > are there any build-in mechanics to pass and parse parameters through > history events? No. History tokens are treated as "opaque" strings by GWT. -- You received this message because you are subscribed to the Google Groups "Google Web Tool

Re: UI Binder bugs - maybe config issue on my side(?)

2009-12-22 Thread Thomas Broyer
On Dec 22, 10:42 am, Peter wrote: > Sure, thanks for helping hand. Zipped project is here: > > ns.blucina.net/lovisek/tmp/XploreU-inbox.zip > > I also deployed the project > here:http://ns.blucina.net/lovisek/tmp/xu/XploreU_inbox.html > > As you can see, onClick handler is never fired despite i

Re: gwt-voices

2009-12-22 Thread ALEXEI BARBONI
Of course...I tried by relative path too... I am going to make some more tests... Thank You 2009/12/21 olivier nouguier > hi AFAIK you can't access local file :) > deploy your audio file and use http:// with repect to SOP (Same Origin > Policy) > HIH > > > On Mon, Dec 21, 2009 at 8:31 PM, Alex

Page back color

2009-12-22 Thread Alexei Telles
Hi guys, I am trying to change the back color of my page, but I can't do that.. I tried by CSS body { background-color: #f1f2f3; } and setting the bgcolor property of the body tag in my HTML file: It's not working. Any help? Thanks again -- You received this message because you are s

Re: GWT 2.0: Plugin failed to connect to hosted mode server

2009-12-22 Thread Chris Ramsdale
Yuval, Can you successfully create, and debug, a new project from Eclipse? Also, does it help if you set gwt.codesvr=localhost:9997? On Tue, Dec 22, 2009 at 5:58 AM, Yuval wrote: > Hello everybody, > > I am new to GWT and need some help. I have recently downloaded GWT 2.0 > as an Ecplise plugi

Re: GWTShell dev mode problem

2009-12-22 Thread Rajeev Dayal
Hi Shawn, I'm not sure how those Android natures/builders were added to your project. Maybe you inadvertently triggered a wizard that creates a GAE + Android project, or some other wizard that converts your project to an Android project? At any rate, to remove the "Androidness" from your project,

Re: Developing a plugin based application

2009-12-22 Thread Eric Ayers
What I described was pretty much the Factory pattern: http://en.wikipedia.org/wiki/Factory_method_pattern On Mon, Dec 21, 2009 at 12:18 PM, Honza Rames wrote: > Hi, > I recently had very similar problem. I have an app in which there are > Views (similar to your layers) and I wanted views to be

Re: New layouts not playing nicely with Maps

2009-12-22 Thread Stuart
I am using UI binding to setup my app, so I needed a little extra tweak to Eric's code. If I placed the timer either before or after the createAndBindUi call in my widget containing the map, I was still experiencing the map UI rash Jeff and Andrew had. However, since my app also uses event handli

Pressing the enter key in the SuggestBox popup fire onKeyUp event! How to disable this?

2009-12-22 Thread ss.require
Hi there! If I select an option in the SuggestBox popup by pressing the enter key then onKeyUp event fire. But I don't want that it happens because I already handle pressing the enter on the textbox by executing another code. My code below: suggestBox.addSelectionHandler(new SelectionHandler() {

GWT 2.0: Plugin failed to connect to hosted mode server

2009-12-22 Thread Yuval
Hello everybody, I am new to GWT and need some help. I have recently downloaded GWT 2.0 as an Ecplise plugin + SDK. Following the "Getting started" tutorial I have created a new GWT application project in Eclipse, StockWatcher. I have made no changes to the generated application. The application

Passing and parsing parameters through history events

2009-12-22 Thread hbral
hi everyone. are there any build-in mechanics to pass and parse parameters through history events? best 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

Re: Unable to run DevMode

2009-12-22 Thread Sam E.
I am having the same issue right now. 00:00:00.684 [WARN] Error processing classpath URL 'file:/Users/ ssaammee/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/ jmxtools-1.2.1.jar' java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.z

Making a GWT HTTP listener service for accepting external request

2009-12-22 Thread Joshua Partogi
Hi all, I've tried looking at the documentation on how to create a GWT HTTP service that will listen to a request from another webapp but I'm having a hard time on how to implement it. What I've found in the docs is either: - GWT calling external HTTP service - or GWT calling internal RPC service

how to suppress .../*-aux/.rpc.log

2009-12-22 Thread Kyle W. Cartmell
I am building a rather complex project which uses GWT. The build process generates a large number of .rpc.log files, each about one gigabyte in size. I would like to suppress generation of these files but after reviewing the most recent documentation and searching the mailing list archives I do not

main project

2009-12-22 Thread soma sekhar
i am btech final year student right know i should do a main project for my final sem can u suggest me how could gwt will be helpful in my project..can u even guide me which project shall i take using gwt so that i could give different innovative project of my own by your guidance

Re: Developing a plugin based application

2009-12-22 Thread Honza Rames
Hi, I recently had very similar problem. I have an app in which there are Views (similar to your layers) and I wanted views to be completely independent of the App (before I made the changes the App's class was responsible for creating Views which I found very sloppy). I did pretty much the same th

SyncInterface

2009-12-22 Thread Luis Santos
Hi, We would like to automatically generate the AsyncInterface for a service inside an ant task (for example, could be anything else!). The point is that our async interfaces can, effectivally be generated automatically and doing it class by class inside eclipse with the google plugin in very bor

Re: UnsatisfiedLinkError on Production Machine

2009-12-22 Thread Isaac Truett
You're trying to call a JSNI method on the server. That won't work. You get an UnsatisfiedLinkError because JSNI uses Java's native method syntax. On the server there is no native implementation of that method. You'll need to use a different MD5 implementation on the server. On Tue, Dec 22, 2009 a

Re: UnsatisfiedLinkError on Production Machine

2009-12-22 Thread canistel
Nobody has any ideas? :( -- 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+unsubscr...@googlegroups.

Re: Saving form inputs for browser autocomplete

2009-12-22 Thread skrat
Hmm, that script inserted forms problem, might be fatal. I guess security should be handled by browsers, and all non-XHR forms are leveraging this feature. please On Dec 22, 3:07 pm, Thomas Broyer wrote: > On Dec 22, 2:53 pm, skrat wrote: > > > Hi all, > > > I am curious about, how can one enab

Re: Problem upgrading Eclipse for 2.0

2009-12-22 Thread Thomas Broyer
On Dec 22, 2:54 pm, bnedwek wrote: > I'm trying to upgrade to GWT 2.0.  I downloaded the latest version of > the Eclipse plug-in (1.2) and tried to install it, by extracting it > into the dropins directory, but that didn't seem to work (couldn't add > the new SDK because the old plug-in was sayin

Re: Saving form inputs for browser autocomplete

2009-12-22 Thread Thomas Broyer
On Dec 22, 2:53 pm, skrat wrote: > Hi all, > > I am curious about, how can one enable, or force a browser to remember > value inside text inputs (TextBox) values. In browsers it basically > works when you submit a form, then all values are remembered, and next > time you open that form, you will

Problem upgrading Eclipse for 2.0

2009-12-22 Thread bnedwek
I'm trying to upgrade to GWT 2.0. I downloaded the latest version of the Eclipse plug-in (1.2) and tried to install it, by extracting it into the dropins directory, but that didn't seem to work (couldn't add the new SDK because the old plug-in was saying it didn't contain a jar file with a platfor

Saving form inputs for browser autocomplete

2009-12-22 Thread skrat
Hi all, I am curious about, how can one enable, or force a browser to remember value inside text inputs (TextBox) values. In browsers it basically works when you submit a form, then all values are remembered, and next time you open that form, you will be provided with autocomplete box. All major b

Re: Development mode crashes Safari 4.0.4 in OS X 10.4

2009-12-22 Thread Alex Reid
The issue appears to be with 10.4 and the browser plug-ins, not GWT 2.0 on 10.4 itself. A slightly rubbish workaround is to install a Linux or Windows virtual machine (VirtualBox works fine) and install the GWT plug-in into the browser on Linux/Windows. Luckily my main machine is running 10.6 :)

Re: Gilead + Guice + Gwt-Dispatch

2009-12-22 Thread mariyan nenchev
If you are tired to write Actions and Results you may consider using the RPC the old way, nothing is gonna constrain you. On Mon, Nov 23, 2009 at 4:36 PM, djd wrote: > Yes, I worked on a sample code that achieved that a couple of month > ago... I will try to post some sample code as soon as poss

Re: UI Binder bugs - maybe config issue on my side(?)

2009-12-22 Thread Peter
Sure, thanks for helping hand. Zipped project is here: ns.blucina.net/lovisek/tmp/XploreU-inbox.zip I also deployed the project here: http://ns.blucina.net/lovisek/tmp/xu/XploreU_inbox.html As you can see, onClick handler is never fired despite it should be triggered after clicking on button and

Re: Why doesn't ListBox ChangeHandler handle inserts?

2009-12-22 Thread Paul Grenyer
Hi > So what would you suggest? > > 1. Overriding insertItem, etc and firing a ChnageEvent (I had a quick > look and I can't see how)? Did a bit more digging: ChangeEvent.fireNativeEvent(Document.get().createChangeEvent(), this); -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com b: paulgr

Re: Why doesn't ListBox ChangeHandler handle inserts?

2009-12-22 Thread Paul Grenyer
Hi On Tue, Dec 22, 2009 at 7:41 AM, Jim Douglas wrote: > The ListBox ChangeEvent tells you that the user changed the selected > index.  It's not fired when you change the selected index > programmatically, and it's not fired when you change the contents of > the list.  It's assumed that the progr

Re: Session

2009-12-22 Thread Nicanor Cristian
This is the normal behavior. If you need to persist data after you close the browser, you should use cookies. On 12/22/2009 12:06 AM, hemodroid wrote: > com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.getThreadLocalRequest > ().getSession() > > On 21 déc, 23:17, Nicanor Cristian wrot