Re: Error in RPC how to work around

2009-12-31 Thread Anoop John
Hi Make Sure your servlet mapping in web.xml is like this greetServlet /GetDbData/GetDBdata If you are using Eclipse you are not required to create the servlets.It will automatically create all things. Here i see u have changed the Relative Path to "GetDBdata". Defaultly it may be "greet

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

2009-12-31 Thread Jeff Schnitzer
I have this exact same problem... it's quite annoying. It also sometimes happens with GAE jars. Every time I restart Eclipse I have to go through my projects and revert any deleted jars. Jeff On Wed, Dec 30, 2009 at 5:53 PM, itwip.81 wrote: > Dear Sir/Madam, > > I have encountered a problem af

Re: New layouts not playing nicely with Maps

2009-12-31 Thread Jeff Schnitzer
Sorry about forgetting this thread... but I solved the problem for Maps v3 in a slightly different way. BTW, I created a (very crude at the moment) project for a Maps v3 GWT wrapper here: http://code.google.com/p/gwt-maps3/ My solution was to forceLayout() recursively on all the parent panels li

Re: New layouts not playing nicely with Maps

2009-12-31 Thread Dave
I solved the problem by using info gained from this site http://googlegeodevelopers.blogspot.com/2009/01/google-maps-api-library-for-gwt.html. This is a great help. On this page, to the left of the Google Maplet: Click on "Source Code". Then click on the "Full Source" hyperlink. Then Click on "CLA

Re: MVP Article... Source Code?

2009-12-31 Thread Daniel Simons
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, for instance, as a project gets larger, the metho

Re: Error in RPC how to work around

2009-12-31 Thread Sripathi Krishnan
1. Override the following method in GetDbDataImpl.java, and log the exception. protected void doUnexpectedFailure(Throwable e) This should tell you what failed on the server. 2. Double check that you haven't enabled Google App Engine, its a setting in eclipse. GAE doesn't allow yo

Re: Error in JDBC call

2009-12-31 Thread Sripathi Krishnan
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 jar files in your classpath, but I assume you have taken care of that. --Sri 2009/12/31 Abhay Singh > Hi > > I am trying

Re: JSON-P request for REST Services

2009-12-31 Thread Ric66
I have a GWT client communicating with a Sesame rdf store on a remote server (using a REST protocol), so I need to bypass the same-origin policy. It works sending GET requests (size limited) with JSONP to a server script that formats and redirects the requests to the Sesame server, get the respons

Error in JDBC call

2009-12-31 Thread Abhay Singh
Hi I am trying to connect Mysql database but getting this error(DB part is in server side code, which get invoked through RPC) The server is running at http://localhost:8080/ Call Failed Dec 31, 2009 7:07:16 AM com.google.apphosting.utils.jetty.JettyLogger warn WARNING: Nested in javax.servlet.Se

how to write a module

2009-12-31 Thread sudhi
Hi all, I am new to gwt. can anyone tell me how to write a module.as far i know, i packaged the jar with following contents com >test Module.gwt.xml >client Class1.java Class2.java EntryClass.java in my other project i have imported thi

Learning GWT

2009-12-31 Thread André Mayer
Hello people, I started learning GWT today, I'm a few time following the GWT's getting started, but I'm having some doubts about how it works... http://code.google.com/intl/pt-BR/webtoolkit/doc/1.6/tutorial/create.html The example that comes with the project, works fine, but when I try to create

Error in RPC how to work around

2009-12-31 Thread Abhay Singh
Hi All, I am new to GWT, i have been trying to make db connection so that my i can refresh client with latest data. I have gone through basics of this, but unable to make it working.. Here is code i am useing # Server Side GetDbDataImpl.java public class GetDbDataImpl exte

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

2009-12-31 Thread itwip.81
Dear Sir/Madam, I have encountered a problem after upgrading from GWT 1.7 to 2.0. I did uninstall all of the previous GWT SDKs, AppEngine and plugin before I install the new 2.0 plugin. I am using Subversion/subclipse for version control in our eclipse project. However, the "gwt- servlet.jar" has

Re: Validating ClientBundles ?

2009-12-31 Thread Rogério Valente
I changed the Google configuration on Eclipse (Windows / Preferences / Google) unchecking the "Notify me about updates" checkbox. The problem doesn't back until now. []s, Rogério. On 28 dez, 13:23, Miguel Méndez wrote: > This is a bug.  Could you add a bug to the GWT issue > tracker

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

2009-12-31 Thread marcelomos
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 librerias GILEAD soportan solo la version 1.7 gwt. estoy esperando la proxima version para la solucion de comunicaci

problemas con Hibernate y gilead no compatible con gwt 2.0

2009-12-31 Thread marcelomos
GRAVE: WebModule[/gwt20lab2hibernate]Exception while dispatching incoming RPC call java.lang.NoSuchMethodError: com.google.gwt.user.server.rpc.RPCRequest.(Ljava/lang/reflect/ Method;[Ljava/lang/Object;Lcom/google/gwt/user/server/rpc/ SerializationPolicy;)V at com.google.gwt.user.server.rpc.

Re: Global resources in CSS

2009-12-31 Thread Jeff Gomez
Hi Pavel, One bit of optimization you might consider is changing GlobalRes from a concrete class to a CssResource and move the method definitions to a style-sheet as in: --- GlobalRes.java @ImportedWithPrefix("global") public interface GlobalRes extends CssResource { String ga

SuggestBox with server side update and UrlFetch Service

2009-12-31 Thread Ajax-Gadgets
Hello, I was wonder if anyone has implemented the SuggestBox with server side update using the following code http://groups.google.kg/group/google-web-toolkit/browse_thread/thread/56942afe0c404d86. I updated the ItemSuggestionImpl.java below to retrieve my suggestion box values using Url Fetch Ser

No CSS Style with using StackLayoutPanel and TabLayoutPanel

2009-12-31 Thread GWTFan
Hi, I'm quite new here in developing GWT applications. I'm trying to use the new StackLayoutPanel and TabLayoutPanel from GWT 2.0. But when viewing my Application there's no Style attribute attached to it. So here are my questions: Did I forget something or is this not implemented yet? How can I

SuggestBox hides RootLayoutPanel and all its contents

2009-12-31 Thread Jorge
I'm running 2.0 with Eclipse, plus IE 7. I created an application that uses UIBinder. The main object is a DockLayoutPanel that is added to the RootLayoutPanel, exactly like the Mail sample for 2.0. The Center container has a Widget that has a SuggestBox and some TextBoxes, my problem is that w

Re: How to use UIBinder

2009-12-31 Thread Wrenbjor
I wish someone @ Google or a well versed GWT dev could but together a screen cast on UIBinder, I am so lost On Dec 15, 10:33 am, Tristan wrote: > Aside from official docs I haven't seen much (and I've been looking > because of Gin and UiBinder issues I've been having) > > If anyone is putting

Re: Hyperlink ClickHandler help

2009-12-31 Thread Vimm
I was also using Hyperlink.addClickHandler. I'd simply like to wrap an image in an tag so that I have a clickable image (with the correct cursor). I can switch my Hyperlinks to Anchors but I see ImageBundle is now deprecated too. Unfortunately I see no equivalent to AbstractImagePrototype.getHT

Get the real path of application

2009-12-31 Thread Esdras Dzul Mijangos
Hi, i have a problem, i need get the path of application, for ejample, in jsf i can do it: FacesContext context = FacesContext.getCurrentInstance(); ServletContext servletcont = (ServletContext) context.getExternalContext().getContext(); public Class Classx{ public void someMethod(){

Re: How to compile multiple modules independent of each other

2009-12-31 Thread Sripathi Krishnan
GWT was never meant to be used that way. If you want to share widgets, it has to be done at compile time, not at runtime. The gwt-exporter project can help you to some extent, you can have a look at it. --Sri 2009/12/31 Ganesh > Hi All > > I am using G

Re: To load js of some particular classes at run time on client side using "Code Splitting"

2009-12-31 Thread Sripathi Krishnan
If I understand you correctly, you have the following setup ... class BaseClass{ } class DerivedClass extends BaseClass { } public BaseClass someRPCMethod(String param1, String param2); .. and only want to download the JS code for *DerivedClass* only when the RPC call is made. If that's what y

Re: AppController or PlaceManager

2009-12-31 Thread Sripathi Krishnan
http://code.google.com/webtoolkit/doc/latest/tutorial/projects/Contacts.zipcontains the source code for the MVP tutorial. --Sri 2010/1/1 Sripathi Krishnan > Sourcecode is now available. > > --Sri > > > 2009/12/30 Abdullah Shaikh > > Hey Thanks Prashant for the explanation .. >> >> But can you

Re: AppController or PlaceManager

2009-12-31 Thread Sripathi Krishnan
Sourcecode is now available. --Sri 2009/12/30 Abdullah Shaikh > Hey Thanks Prashant for the explanation .. > > But can you explain a bit more how does this onValueChange method gets > called .. as I am new to GWT I understood the article but I am confused > regarding AppController, if only the

Re: Is there a free-standart GWT Designer or which tools do you use to design User Interface ?

2009-12-31 Thread Murat Doner
John, We have the same idea. Thanks for your bright comment. On Thu, Dec 31, 2009 at 7:44 PM, John Armstrong wrote: > We use their tools for both Swing and GWT/GXT dev and find them very > stable and very productive. At $79 per developer seat it is much > cheaper then hand rolling UI's or dea

Re: MVP Article... Source Code?

2009-12-31 Thread Sripathi Krishnan
Chris, It would be great if you could put up something that deals with UiBinder *in context of* MVP. Specifically, whats the recommended way to use the @UiHandler tag? --Sri 2009/12/31 Chris Ramsdale > While I see that someone has already found it, I just wanted to let > everyone know that it's

Re: GWT Session management regardless of Servlet Container

2009-12-31 Thread Sripathi Krishnan
There are two use cases generally need to be solved - 1. Verify that the user is logged in. 2. Ensure that this isn't a cross-site scripting (XSRF) attack. The code snippet you provide does take care of (1). However, it does not guarantee against (2). There are a couple of ways to take car

Re: Is there a free-standart GWT Designer or which tools do you use to design User Interface ?

2009-12-31 Thread John Armstrong
We use their tools for both Swing and GWT/GXT dev and find them very stable and very productive. At $79 per developer seat it is much cheaper then hand rolling UI's or dealing with some of the free tools that don't have the support we need. John- On Dec 31, 12:44 am, Murat Doner wrote: >   We ha

GWT Session management regardless of Servlet Container

2009-12-31 Thread Philip Ives
I've done some searching around and I understand the warrants of stateless applications. However login security always requires some state. Of course your application could use your containers session management and if your container can replication sessions across instances all the better. In s

Re: GWT Plugin and External JARs

2009-12-31 Thread Jason Essington
Do not use the built in server, use your own (properly configured) instance of tomcat, and uncheck the "run built in server" checkbox in the run configuration. -jason On Dec 31, 2009, at 8:39 AM, Matt wrote: > When it will be deployed to out Tomcat server, some of the JARs > conatining code tha

Re: DOMImpl for iPhone: How to do ?

2009-12-31 Thread gaill...@audemat.com
Maybe you could have a look at Sasha Maps : http://www.maryanovsky.com/sasha/maps/ There is some code for 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

Re: Upgrading 1.5 application: troubles with click event on Hyperlink and Anchor

2009-12-31 Thread hbatista
The problem was that I had replaced RootPanel.get("linksPanel").add(linksPanelWidget); with Document.get().getElementById("linksPanel").appendChild (linksPanelWidget.getElement()); because I was getting the error "A widget that has an existing parent widget may not be added to the detach list"

Re: Having Trouble Extending MouseEvent...

2009-12-31 Thread DaveC
OK I've got a little further now: I've create a new DOMImpl... class and overridden the eventGetTypeInt(String) method. everything compiles/ runs in hosted mode without errors - but no drag/drop events get captured - it's like they haven't been added... Here's my DropEvent class... public class D

Re: FileUpload widget path name

2009-12-31 Thread El Mentecato Mayor
1) As far as I remember, you won't be able to get the full path to the filename in all browsers on the client side. You can do it on the server-side (in your servlet). 2) I don't think you will be able to do that (assuming your G: drive is either mapped to a unix directory using samba maybe, or to

Re: FileUpload widget path name

2009-12-31 Thread El Mentecato Mayor
1) As far as I remember, you won't be able to get the full path to the filename in all browsers on the client side. You can do it on the server-side (in your servlet). 2) I don't think you will be able to do that (assuming your G: drive is either mapped to a unix directory using samba maybe, or to

Re: Convenience callback method

2009-12-31 Thread Matt Moriarity
You need your action class to implement IsSerializable. Also make sure you give it a no-args constructor. On Dec 30, 8:15 pm, bhomass wrote: > I am trying out the rpc structure given in the seminar. I get an error > > 20:42:08.171 [ERROR] [rts] > com.jcalc.webclient.client.spreadsheet.rpc.action.

GWT Plugin and External JARs

2009-12-31 Thread Matt
When it will be deployed to out Tomcat server, some of the JARs conatining code that will be used in the GWT app will be located outside the webapp, and loaded into Tomcat using its shared loader. How do I get this to work in the GWT Eclipse plug-in? Simply adding them to the project's Build Path

Re: Where does log4j output go?

2009-12-31 Thread Paul Grenyer
Hi On Thu, Dec 31, 2009 at 2:58 PM, mirceade wrote: > Hi, > Read the log4j docs. Use a console apender. That's what I'm using. That's what I've always used. It's stopped working with gwt 2.0. -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com b: paulgrenyer.blogspot.com -- You received t

Re: How to make FileUpload widget readonly?

2009-12-31 Thread El Mentecato Mayor
Not as far as I know. What we do is hide the textbox (it's more of a hack though) by setting its size to zero if possible and/or placing a blank panel on top of it (varies by browser). Only the "Browse..." button is visible. On Dec 29, 12:51 am, Lakindu wrote: > Hi, > > Is there a way to make Fi

Customizing RichTextArea with insertHtml in GWT 2.0

2009-12-31 Thread Trevis
I'd like to create a custom rich text aera. I think I I've got a fair handle on how it works from playing with the showcase RichTextToolbar source code. The Formatter.insertHtml method seems like it will get almost exactly what i need. But, there is one critical peice of the puzzle I have yet to so

Re: Adding a form to the RootPanel

2009-12-31 Thread Ashar Lohmar
hi just a few tips, to prevent the form opening in new window ... set the "target" as you do on links (), try form.setTarget("_self"); or something like that. if the code that makes the form and submits it could/should be execute several time ... you could try makeing the form an private propert

Re: Where does log4j output go?

2009-12-31 Thread mirceade
Hi, Read the log4j docs. Use a console apender. On 31 dec., 11:39, Paul Grenyer wrote: > HI > > On Wed, Dec 30, 2009 at 10:08 PM, leslie wrote: > > Hi.  I'm using Log4J with GWT 2.0 also.  I'm building with Eclipse. > > > Inside the properties file, "log4J.properties", I've included a line > > s

Authenticate a web page

2009-12-31 Thread Dave
I have a web page that I want to authenticate a user 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 is http://somewebsite.appspot.com/#page and my web.xml is below. Wha

Re: DOMImpl for iPhone: How to do ?

2009-12-31 Thread DaveC
..also I override the eventGetTypeInt(String) method in order to add the html5 drag and drop events, is this what you did? Cheers, Dave On Dec 31, 2:16 pm, DaveC wrote: > Ignored those warnings/errors and renamed anyway it it compiled/runs > in hosted mode fine... > > The only problem is that th

Re: DOMImpl for iPhone: How to do ?

2009-12-31 Thread DaveC
Ignored those warnings/errors and renamed anyway it it compiled/runs in hosted mode fine... The only problem is that the events aren't being captured (or the handlers aren't being added correctly)... would you be able to post one of your Event classes? Cheers, DaveC On Dec 31, 1:45 pm, DaveC wr

Re: DOMImpl for iPhone: How to do ?

2009-12-31 Thread DaveC
Tried to rename the package, but I get an error and a warning: Error: Method 'eventGetTypeInt(String)' in type 'com.applegreen.gwt.html5.dom.DOMImplMozillaHtml5' is native. Running the modified program will cause UnsatisfiedLinkError. Warn: Package 'com.google.gwt.user.client.impl' already exists

How to get "war" path

2009-12-31 Thread Chave
Sorry for my english. I am creating a new "Generator" for rebinding a class, and I need get the public "war" path where images and public files are placed. I dont know a method or a easy way to obtain it. I only can obtain the path of the current generator class and try to locate "/src" substring

Re: Is there a free-standart GWT Designer or which tools do you use to design User Interface ?

2009-12-31 Thread Murat Doner
I search for NetBeans; but as far as I understand, it is a plug-in just for programming, it is not a Visual Drag-Drop Designer. I do not know whether IntelliJ is in the same way or not. Thanks for your answer anyway. On Thu, Dec 31, 2009 at 3:06 PM, Abdullah Shaikh < abdullah.shaik...@gmail.co

Joseph Favara/HQ/Corp/OAI is out of the office.

2009-12-31 Thread Joseph . Favara
I will be out of the office starting 12/31/2009 and will not return until 01/04/2010. I will respond to your message when I return. If this is urgnet please contact Narayanan Pillai at 105986 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gro

Re: Is there a free-standart GWT Designer or which tools do you use to design User Interface ?

2009-12-31 Thread Abdullah Shaikh
There plugin available for NetBeans & IntelliJ, I haven't used them though - Abdullah On Thu, Dec 31, 2009 at 6:10 PM, Murat Doner wrote: > > VistaFei is another alternative but not so usable. > > On Thu, Dec 31, 2009 at 10:44 AM, Murat Doner wrote: > >> We have tried *GWT Designer* from >>

How to compile multiple modules independent of each other

2009-12-31 Thread Ganesh
Hi All I am using GWT2.0. I want to create some client side widgets by extending GWT's widgets. These widgets will be deployed on my server & I will provide public links of js (.nocache.js) file of these widgets so that a user can include these in his application's html page & use them. I will dep

Re: Is there a free-standart GWT Designer or which tools do you use to design User Interface ?

2009-12-31 Thread Murat Doner
VistaFei is another alternative but not so usable. On Thu, Dec 31, 2009 at 10:44 AM, Murat Doner wrote: > We have tried *GWT Designer* from > Instantiations > >But the tool is not stable enough also it is not free and "open > source"... >What

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

2009-12-31 Thread GWTCurious
I guess I posted this question on the wrong day. :-) Has anybody the answer? -- 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 ema

Upgrading 1.5 application: troubles with click event on Hyperlink and Anchor

2009-12-31 Thread hbatista
I'm trying to upgrade a GWT 1.5 application into 2.0, and having problems getting hyperlink/anchor clicks to work as before. My 1.5 code is very simple, I'm creating a hyperlink and adding a click listener to it: Hyperlink loginLnk = new Hyperlink(msg.login(), ""); loginLnk.addClickListener(new C

Re: Where does log4j output go?

2009-12-31 Thread Paul Grenyer
HI On Wed, Dec 30, 2009 at 10:08 PM, leslie wrote: > Hi.  I'm using Log4J with GWT 2.0 also.  I'm building with Eclipse. > > Inside the properties file, "log4J.properties", I've included a line > similar to the following which directs the output to a specific > location, a specific file: > > log4

Re: DOMImpl for iPhone: How to do ?

2009-12-31 Thread DaveC
Ah, cool thanks - I've done all that just didn't put the MyDomImpl in com.google.gwt.user.client.impl... Cheers, Dave On Dec 31, 1:15 am, fvisticot wrote: > Hello, > I have worked on the pb and i have made some progress !!! > > 1. I have overloaded the DOMImpl class. The new overloaded class mus

Re: Dock Panel

2009-12-31 Thread Abdullah Shaikh
No what I meant was .. DockPanel docPanel = new DockPanel(); VerticalPanel centerPanel = new VerticalPanel(); centerPanel.setStyleName("CENTER_STYLE") dockPanel.add(centerPanel, DockPanel.CENTER); VerticalPanel westPanel = new VerticalPanel(); westPanel.setStyleName("WEST_STYLE") dockPanel.add(

Is there a free-standart GWT Designer or which tools do you use to design User Interface ?

2009-12-31 Thread Murat Doner
We have tried *GWT Designer* from Instantiations But the tool is not stable enough also it is not free and "open source"... What are the alternatives you can suggest us to use? -- You received this message because you are subscribed to the Goog

Re: Dock Panel

2009-12-31 Thread muhannad nasser
. thanks for ur reply.. i have tried to do so... but i can only add the alignment to the area when adding the widget.. but i have another idea, ensureDebugId will give each area its own unique Id so i can use that to apply the CSS class i want but until now ensureDebugId is not working ..

Simple UiBinder question about

2009-12-31 Thread Daniel
Here's a valid ui.xml file: http://dl.google.com/gwt/DTD/ xhtml.ent"> .anchorWrapper a { display: block; } @sprite .left { gwt-image: 'left'; } @sprite .logo { gwt-image: 'logo'; background-position: 0 -197px; height: 197px;

Re: Dock Panel

2009-12-31 Thread Abdullah Shaikh
I am not sure, but I guess you need to set the style on the Panel which you will be adding to the DockPanel. - Abdullah On Thu, Dec 31, 2009 at 12:49 PM, muhannad nasser wrote: > Dear All; > > i want to add a style on a DockPanel cell, such ass the north area, or the > west area only.. > > c