Re: addDomHandler method is protected, how to add DomHandler without overriding widget ?

2010-01-01 Thread fvisticot
Thank you for your answer but it is not exactly what i woulk like... The events should be the new events i have created and registered with my DomImpl. (TouchStartEvent, TouchEndEvent)..and not HasMoveEvent, HasResizeEvents... What i would like to do: It seems that i really need to do the widget.a

Easiest method to add a class to the bottom of a TagPanel?

2010-01-01 Thread darkflame
I wish to dynamically change a class in the bottom part of a Tag panel. (the bit that normally has "gwt-TabPanelBottom"). Any ideas? I tried navigating the dom but got rather confused. Basically I want to change the background behind it, without altering the background of a header. And I want to d

Re: addDomHandler method is protected, how to add DomHandler without overriding widget ?

2010-01-01 Thread Thomas Broyer
On Jan 1, 10:08 pm, fvisticot wrote: > My objective is allow moving, rotating and resizing any GWT widget > with fingers... > > I have successfully created and instanciated a new DOMImplIphone to > manage touch and gesture events. > I have overrided a widget (button or panel)  to add dedicated >

Re: SuggestBox with server side update and UrlFetch Service

2010-01-01 Thread Ajax-Gadgets
Okay, I figured it out myself, again it had to do with sloppy coding. When getting the JSONArray I was assuming the the second element in name would be the "Result" I want to retrieve. This was the case running in development but not the case when I deployed it. So instead I will just retrieve by

Re: gwt 2.0 jdo / jpa enhanced classes in App engine / Data Nucleus used for GWT-RPC calls to client side

2010-01-01 Thread Jeff Schnitzer
Skip JDO/JPA and use something like http://code.google.com/p/objectify-appengine/ which uses *real* POJOs for your domain objects. They will transfer through GWT-RPC just fine. Jeff On Fri, Dec 25, 2009 at 11:10 AM, GWTCurious wrote: > I have seen some messages mentioning that with gwt 2.0 it i

Re: "gwt-servlet.jar" being deleted at each Eclipse startup after upgrading to gwt 2.0

2010-01-01 Thread Jeff Schnitzer
Amazingly, you're right. The solution is to ignore the message, *don't* revert your files back, and restart Eclipse again. The plugin deletes the files the first time, then recreates them the second... and since the new files are identical to the old, svn is happy. Jeff On Fri, Jan 1, 2010 at 1

How to use web.xml to authenticate a access to a single page

2010-01-01 Thread Dave
(Newbie) I have a web page that I want to authenticate users before they are allowed to access the page. I set the authentication parameters in the web.xml but it's not working. I use a hyperlink to get this page. The address of this page in the browser is http://somewebsite.appspot.com/#page. Frag

GWT and Eclipse not working

2010-01-01 Thread shooty
Hi All, I tried everything, but the eclipse plugin is not working together with the GWT SDK. I installed newest JDK, GWT and tried several eclipse versions. I also installed the newest appengine. The behavior is always the same. Eclipse is compiling the project and is quiting with an error popup

addDomHandler method is protected, how to add DomHandler without overriding widget ?

2010-01-01 Thread fvisticot
My objective is allow moving, rotating and resizing any GWT widget with fingers... I have successfully created and instanciated a new DOMImplIphone to manage touch and gesture events. I have overrided a widget (button or panel) to add dedicated add<>Handler method. Those methods are calling the a

Re: gwt 2.0 jdo / jpa enhanced classes in App engine / Data Nucleus used for GWT-RPC calls to client side

2010-01-01 Thread sridhar vennela
Do you have any sample code of login app? thanks On Thu, Dec 31, 2009 at 5:34 AM, marcelomos wrote: > hola he usado HIbernate + jPA con mysql y si tengo problemas de > serializacion con la version 2.0 gwt veo que persiste el problema asi > que sigo trabajando con la version 1.7 gwt, las libreria

Re: Customizing RichTextArea with insertHtml in GWT 2.0

2010-01-01 Thread Trevis
Hey thanks, I've seen that post which was what turned me on to RichTextToolbar when i started to research this a couple of days ago. It looks great and will definitely be the inspiration for how i create mine. The problem is i want to do custom functionality that the raw Formatter object doesn't

Re: GWT Upload not working in server

2010-01-01 Thread Anoop John
Hello tomasm, thanx for the information. request.getRealPath ("uploads") will not work in the linux machine. I moved into another method, thats works fine. On Dec 29 2009, 12:46 pm, tomasm wrote: > If the folder "uploads" exists inside a war file I won't be supprised > if request.getRealPath("upl

Re: Customizing RichTextArea with insertHtml in GWT 2.0

2010-01-01 Thread Anoop John
Tevis Please see the post below. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/ae9a0ebff58a8f15 On Jan 1, 11:07 pm, Trevis wrote: > I feel like i must be missing something obvious but i'm not seeing any > convenience method to get the selected text. Seems too obvious t

Re: Customizing RichTextArea with insertHtml in GWT 2.0

2010-01-01 Thread Anoop John
Hi Tevis, If u want customize your text area you should use RichTextArea and a toolbar for changing the font,color , creating a link etc. This tool bar is freely available in http://gwt.google.com/samples/Showcase/Showcase.html#CwRichText. Note that the code is available in gwt samples. On Jan 1,

Re: Customizing RichTextArea with insertHtml in GWT 2.0

2010-01-01 Thread Trevis
I feel like i must be missing something obvious but i'm not seeing any convenience method to get the selected text. Seems too obvious to be an oversight. Any help would be much appreciated. Trevis On Dec 31 2009, 9:26 am, Trevis wrote: > I'd like to create a custom rich text aera. I think I I've

Re: FileUpload widget path name

2010-01-01 Thread Anoop John
Hello Shivi. I already faced many issues with the file upload. I moved to gwtupload. This file name issue will be resolved by using this For more info go http://code.google.com/p/gwtupload/ On Dec 31 2009, 8:43 pm, El Mentecato Mayor wrote: > 1) As far as I remember, you won't be able to get the

Re: Get the real path of application

2010-01-01 Thread Anoop John
You will get the real path from "HttpServletRequest". Use request.getRealPath("/"). This will work. On Dec 31 2009, 9:10 pm, Esdras Dzul Mijangos wrote: > Hi, i have a problem, i need get the path of application, for ejample, > in jsf i can do it: > > FacesContext context = FacesContext.getCurren

Re: Error in JDBC call

2010-01-01 Thread Anoop John
Download mysql-connector-java-5.1.5-bin.jar and put into the lib folder On Jan 1, 4:14 am, Sripathi Krishnan wrote: > You have probably enabled Google App Engine for your project. Disable it > (its a setting in eclipse), and things should run fine. > > You could also be missing the mysql driver j

Re: problemas con Hibernate y gilead no compatible con gwt 2.0

2010-01-01 Thread Richard Berger
Had the same problem - the following post was very helpful: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/ca5722230f14f54e/408301beba6a2bf4?lnk=raot RB On Dec 30 2009, 12:08 pm, marcelomos wrote: > GRAVE: WebModule[/gwt20lab2hibernate]Exception while dispatching > incomi

Re: MVP Article... Source Code?

2010-01-01 Thread Jeff Chimene
On 01/01/2010 08:59 AM, Thomas Broyer wrote: > > On Jan 1, 1:16 am, Daniel Simons wrote: >> I would be interested to know, for those that have studied the Hupa Project, >> and now the Contacts Project, what do you think is the more appropriate way >> of handling the Back/Forward browser button ac

Re: MVP Article... Source Code?

2010-01-01 Thread Thomas Broyer
On Jan 1, 1:16 am, Daniel Simons wrote: > I would be interested to know, for those that have studied the Hupa Project, > and now the Contacts Project, what do you think is the more appropriate way > of handling the Back/Forward browser button actions.  Both methods seem to > have there own flaws,

Re: "gwt-servlet.jar" being deleted at each Eclipse startup after upgrading to gwt 2.0

2010-01-01 Thread John OConner
I found the culprit. The eclipse plugin preferences file explicity names gwt-servlet.jar as a file that it must copy to the web-inf/lib directory. So I assume that SVN (and for me it is Perforce) see that action as an attempted delete as well. I resolved this myself by removing that file from web-i