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

Can we load an html file and add it as a Widget?

2009-02-01 Thread Joshua Partogi
Dear all, I know that there is an HTML class in GWT for buffering out a plain html. But I have a case where it would be too much having to write all the html in my Java class. So I was wondering whether we can just load an HTML file and add that loaded HTML file as a widget. Is there any such

Compiled js output target

2009-01-26 Thread Joshua Partogi
Dear all, I have set in my *-compile script to put the compiled js files in another directory, but when I hit the Compile/Browse button from the GWT emulator browser it doesn't put the compiled js to where I have defined it in *-compile script. So how and where do I set this up so that everytime

Re: Compiled js output target

2009-01-26 Thread Joshua Partogi
Don't worry about it. It turns out that I have to set it up in the *- shell script too. :-) Cheers On Jan 27, 11:02 am, Joshua Partogi joshua.j...@gmail.com wrote: Dear all, I have set in my *-compile script to put the compiled js files in another directory, but when I hit the Compile

Re: Setting the DialogBox to popup at the center

2009-01-25 Thread Joshua Partogi
Kewl. I didn't know it was that easy. Thanks! On Jan 25, 7:15 pm, Litty Preeth preeth.h...@gmail.com wrote: Just call DialogBox.center() It will center the Dialogbox and show it. On Sun, Jan 25, 2009 at 10:34 AM, Joshua Partogi joshua.j...@gmail.comwrote: Dear all, Does anyone know

Displaying a text from the template

2009-01-25 Thread Joshua Partogi
Dear all, I have a static contents which will be written inside the html file because I can't be bothered writing it down inside the Java file. Now how would I be able to display those texts upon Hyperlink clicking? Ideas are greatly appreciated. Thank you very much. -- If you can't believe

Setting the DialogBox to popup at the center

2009-01-24 Thread Joshua Partogi
Dear all, Does anyone know how to make the DialogBox to popup at the center of the screen? I could not find a method for figuring out the width and height of the screen that I can pass to the setPopupPosition. Help really appreciated. Thank you in advance. -- If you can't believe in God the

Re: Recommended GWT Maven plugin

2009-01-13 Thread Joshua Partogi
/00ad11d0f4a88d58), so if you start, I recommend you to use the codehaus one. On Jan 13, 8:29 am, olivier FRESSE olivier.fre...@gmail.com wrote: we're curently usinghttp://code.google.com/p/gwt-maven/, so far, so good :-) 2009/1/13 Joshua Partogi joshua.j...@gmail.com Hi all, What

RESTful URL with GWT

2009-01-13 Thread Joshua Partogi
Dear all, Is it possible to have RESTful URL with GWT? I tried to find docs about setting RESTful URL with GWT but can not find it. Can anyone lead me to this? Thanks in advance -- Not by might nor by power, but by His Spirit. Read my blog: http://joshuajava.wordpress.com/ Follow me on

Recommended GWT Maven plugin

2009-01-12 Thread Joshua Partogi
Hi all, What is the recommended GWT plugin for Maven? * http://code.google.com/p/gwt-maven/ or * http://mojo.codehaus.org/gwt-maven-plugin/ For those who has done their research, feedback are highly appreciated. Thank you very much in advance

GWT with non-Java backend

2008-11-30 Thread Joshua Partogi
Dear all, Has anyone worked GWT with non-Java backend (like PHP or Rails) and send it with AJAX Http request? Does it work good? I am wondering whether this is a good approach. I would appreciate any experience shared here. Thank you in advance -- Not by might nor by power, but by His Spirit.

Re: GWT with non-Java backend

2008-11-30 Thread Joshua Partogi
Thank you so much Martin for the hint. :-) I am more confident now to use GWT with non-Java backend. Because I thought people only use GWT with Java on the backend. Cheers. On Dec 1, 12:15 pm, Martin Gorostegui [EMAIL PROTECTED] wrote: Yes, I´m working with GWT with a PHP backend and I know

Re: Aspect-Oriented Programming for GWT, GWTENT-0.5 now available for download

2008-11-23 Thread Joshua Partogi
Why doesn't this project get merged with GWT instead? On Nov 24, 10:16 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Oops, The format is not good for read, And looks like I can't modify it. Sorry. --~--~-~--~~~---~--~~ You received this message because you are

Serialization Error

2008-11-06 Thread Joshua Partogi
Dear all, I encounter this problem: Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'lab.gwt. client.LatitudeLongitude' was not included in the set of types which can be seri alized by this SerializationPolicy or its Class object could not be loaded. For security

Re: GWT Dev library error

2008-11-03 Thread Joshua Partogi
Yes I guess it is. Thanks :-D On Nov 4, 12:48 am, sutarsa giri [EMAIL PROTECTED] wrote: Hi Pak Joshua , i guess that problem because this servlet definition is in your web.xml *servlet         servlet-nameshell/servlet-name

Re: Why gwt-user.jar contains servlet api's?

2008-11-03 Thread Joshua Partogi
I think I understand where this questions leads us. He's asking why doesn't GWT distribution just put the servlet API in a separate jar instead of bundling it inside gwt-user.jar :-) On Nov 4, 8:37 am, Jason Essington [EMAIL PROTECTED] wrote: you shouldn't be deploying gwt-user.jar, but rather

GWT Dev library error

2008-11-02 Thread Joshua Partogi
Dear all, When I want to deploy my apps I encounter this exception: javax.servlet.ServletException: Wrapper cannot find servlet class com.google.gwt.dev.shell.GWTShellServlet or a class it depends on org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 117)

Using GWT with existing Java web framework Controller

2008-10-29 Thread Joshua Partogi
Dear all, Currently we have an already running Struts2 apps and we want to integrate GWT with it because we found it is easier to use GMap with GWT. Could anyone give me an insight how this would be done because I still have no idea on how to integrate it. Will it be like Struts2 controller

Re: passing parameters to gwt application

2008-10-29 Thread Joshua Partogi
Thanks Jason! This is exactly what I want. cheers On Oct 14, 10:15 pm, Jason Morris [EMAIL PROTECTED] wrote: If you're on GWT 1.5, you can just use Window.Location.getParameter(key); --~--~-~--~~~---~--~~ You received this message because you are subscribed

Using ArrayList to instantiate GMap Polyline does not work

2008-10-27 Thread Joshua Partogi
Dear all, I want to draw a Polyline from GMap, but I used ArrayList for adding the points to be drawn and then convert this ArrayList to array as such: LatLng point; ListLatLng points = new ArrayListLatLng(5); point = LatLng.newInstance(-34.402130,150.899139);

Re: How to use Hyperlink

2008-10-21 Thread Joshua Partogi
Hi all, How do I change a content when user clicks a Hyperlink? I still don't get the idea of how Hyperlink works in GWT :-( I tried looking at the Showcase sample but still don't get it. Insight really appreciated. Regards --~--~-~--~~~---~--~~ You received this

How to use Hyperlink

2008-10-20 Thread Joshua Partogi
Dear all, How do I navigate from one Component to the other with Hyperlink? Can anyone give me an insight on how it works and how to use it please. I still don't understand on how to use it and how this component work. Help really appreciated. Thank you in advance

Re: Your opinion sought: Jetty or Tomcat?

2008-10-20 Thread Joshua Partogi
Bruce, If your objective is to embed it in GWT, then I would definitely recommend Jetty. Cheers On Oct 14, 9:48 am, Bruce Johnson [EMAIL PROTECTED] wrote: Hi everyone, Hope you're enjoying 1.5. The GWT team has started putting together a 1.6 roadmap, which we'll publish as soon as we have

Re: what GUI creator are you using ?

2008-10-19 Thread Joshua Partogi
I use IntelliJ IDEA. On Oct 19, 8:50 pm, Yonatan Maman [EMAIL PROTECTED] wrote: or do you prefer 'hand writing' GUI ? -- Yonatan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Where do I put the compiled JS

2008-10-16 Thread Joshua Partogi
Dear all, Currently I want to deploy my GWT apps. But after reading the docs, I still don't understand where should I place all of the static files under the www/ folder in my Tomcat. Could anyone give me a hint please. Thank you in advance --~--~-~--~~~---~--~~

Re: Where do I put the compiled JS

2008-10-16 Thread Joshua Partogi
It doesn't work. The browser is blank. :-( On Oct 17, 11:38 am, Ian Bambury [EMAIL PROTECTED] wrote: Take everything from inside the directory named after the package name (www/com.mydomain.myapp/ - you will find your html file in there amongst other things), and copy  the whole lot to

Good book on GWT 1.5

2008-10-15 Thread Joshua Partogi
Dear all, Could anyone recommend good book on GWT 1.5 please. :-) I'm having a rough time reading the docs. Thank you very much --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Unable to find/load mapped servlet class

2008-10-13 Thread Joshua Partogi
Dear all, I encounter this problem when trying to run a trivial sample. I already have the class, but why does GWT throw this error? com.google.gwt.user.client.rpc.StatusCodeException: Unable to find/ load mapped servlet class 'lab.gwt.server.TestServiceImpl' Could anyone give me a hint on

Re: Unable to find/load mapped servlet class

2008-10-13 Thread Joshua Partogi
Yes it helps :-) It's working now. I also got the basic idea of how GWT works now. Thanks! On Oct 13, 7:17 pm, Kamal Chandana Mettananda [EMAIL PROTECTED] wrote: Where have you placed the TestServiceImpl class inside your web application? You may read Compile Deploy section of the following