Re: Single application .. multiple RPC services

2008-11-10 Thread Muhannad
Okay, a big thanks for all of you Litty, Gregor, and Walden. It was really a very interesting and helpful discussion. On Nov 9, 7:42 pm, gregor <[EMAIL PROTECTED]> wrote: > Hi Muhannad, > > > > > " > > Note that, just like a Javaapplicationserver, the path to the > > servlet is relative to the we

Re: How to fix the size of ListBox

2008-11-10 Thread Dobes
Two thoughts: 1. If you set the height in "em" it might adapt the font your users are using, this could be better than "px" but it will depend on the situation 2. Otherwise, for each language you want to support you'll have to use a different height. Create a subclass of Constants and put the he

Re: Payment systems

2008-11-10 Thread Dobes
If you look at some example PayPal doante buttons you can probably figure out how to change the amount in them. The rest is just about generating a new URL for them to click on and sticking that inside a GWT object. You might find it easiest just to use a provided paypal widget - they actually h

Re: Request/RequestBuilder as parameter of RPC

2008-11-10 Thread walden
You are describing HTTP authentication, Basic or Digest, both of which are well supported in browsers and web containers these days. On Nov 8, 4:21 pm, Kurposkano <[EMAIL PROTECTED]> wrote: > I currently have everything working in my RPC communication. However, > to make things more secure, I am

Re: new user with a few questions.

2008-11-10 Thread walden
You might be on the right track with cookies, but you might also be on the track of reinventing web security, and your mention of hashing the username to store private data makes me think this may be the case. How about giving a bird's eye view of what you are trying to build. A bunch of cookies

Re: Reading XML file from localhost

2008-11-10 Thread mives29
yes. you got my problem right. now probably tommorow or the day after that, I'll have the chance to re-do my code. For now, back to reading some company documents. Will get back here as soon as I've redone the code. Thanks Jason, mives29 On Nov 10, 5:58 pm, Jason Morris <[EMAIL PROTECTED]> wrote

JSNI question

2008-11-10 Thread bw
Hi, I need to create my own date class to handle UTC. When I try to construct a MyDate object, I get a "java.lang.NoSuchFieldError: mydate" exception in this code: private native void init(double date) /*-{ this.mydate = new Date(date); }-*/; Anybody know why? thanks for any help -Ben

Request Builder doesn't invoke the server (external)

2008-11-10 Thread Manish Kumar
Hi Everybody, As I have used request builder to make an request to server, this does not even connect to server. Here is my code : public class CommentProviderServlet extends RemoteServiceServlet implements AddCommentService { private class PMRequestBuilder extends RequestBuilder {

Re: Urgent

2008-11-10 Thread ajay jetti
404 is server errror if u are using servlets , please see that you have properly configured the mapping -xml file properly yours --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to

Re: Announcing Kiyaa! a new GWT library

2008-11-10 Thread Johan Rydberg
From the first look it looks good. Lacking as usual (as you point out) is documentation, tutorials and examples. Great to see someone who implements a template system. I'll see if I get around to try it out. Or I'll wait until there are some documentation in place. ~jr --~--~-~--~--

Re: Browser tries to load css file from maps.google.com

2008-11-10 Thread ivovnenko
I had the same problem, solved it by defining maps js not in HTML but in gwt.xml file. On Nov 2, 2:23 pm, Eric Ayers <[EMAIL PROTECTED]> wrote: > Are you sure that onModuleLoad() was not called?  You can check to see if > the Maps API loaded with the Maps.isLoaded() in your onModuleLoad() method.

Re: I got UnsatisfiedLinkError

2008-11-10 Thread racedog
I know this topic is a little old, but I just had a similar issue with Fedora 8 and this is how I resolved it, so hopefully it will help someone else down the line. The issue in general appears to be an issue with the standard C++ libraries that the embedded Mozilla browser uses when you use the

Re: calling doGet() on the server from a hidden IFrame

2008-11-10 Thread [EMAIL PROTECTED]
Im not doing any parsing of the csv in JS. In my actual app im writting the text out to PrinterWriter. And doing it this way allows me to use the standard browser download popups and file navigation. It works perfectly in hosted and web mode but when deployed to tomcat doGet() on the server is not

Re: Creating a main site *and* an admin site

2008-11-10 Thread Thomas Broyer
On 10 nov, 00:37, jbdhl <[EMAIL PROTECTED]> wrote: > Hmm, one project and 2 of everything else would work. I think... :-) > What about the .launch files? I guess I'll need two of those - but > eclipse has to recognize them. What would you do here? What's the problem with multiple .launch files f

Re: GWT + Jetty + Maven

2008-11-10 Thread jdwyah
Hey Miroslav, Check out the Maven GWT plugin that I use on my project. It accepts a flag for whether or not to compile GWT so I can run my jetty server and get changes to HTML without a slow GWT compile. And use hosted mode against it for GWT changes. I think that's what you're after, no? pom se

Re: Request Builder doesn't invoke the server (external)

2008-11-10 Thread Thomas Broyer
On 10 nov, 16:20, "Manish Kumar" <[EMAIL PROTECTED]> wrote: > >             PMRequestBuilder builder = new PMRequestBuilder > ("PUT","http://10.19.74.129:8000/pm/pubmodel.jsp?path=comments";); [...] > Can anybody  please help me to find out the mistake. http://en.wikipedia.org/wiki/Same_origin_

Re: how to use MapElement, AreaElement, and ImageElement

2008-11-10 Thread Thomas Broyer
On 9 nov, 00:56, JHM <[EMAIL PROTECTED]> wrote: > One thing that is confusing is that ImageElement has a > setUseMap(boolean) method, where I am expecting a method > that would correspond to the HTML property assignment > usemap="#MYMAP". Someone filed a bug a few days ago: http://code.google.c

Re: ImageBundle combines my images

2008-11-10 Thread Jason Essington
That's correct, The whole point of ImageBundle is that it combines all of the images into a single file, and then uses clipping at runtime to only show the portion related to a particular image. The idea here is to reduce the request count, and byte count overall for a page. -jason On Nov

Re: windows to mac

2008-11-10 Thread Jason Essington
The .cmd script for windows is initially created when you run the applicationCreator. To get those files on your mac, you can rerun the applicationCreator there (always backup your project first :-) Another option (as Olivier said) is to create a launcher in your IDE to do the job that the

Re: Blank page in Hosted Mode

2008-11-10 Thread Blaise
Hi again, Thanks Chandel for the reply. I will try to clarify some things: I didn't upgrade all my projects to gwt-1.5.3. I only created a new project (just for testing) using gwt-1.5.3. The old projects all are still using gwt-1.4. Only one of my projects shows a blank page in hosted mode. The

JSNI question

2008-11-10 Thread bw
Hi, I need to create my own date class to handle UTC. When I try to construct a MyDate object, I get a "java.lang.NoSuchFieldError: mydate" exception in this code: private native void init(double date) /*-{ this.mydate = new Date(date); }-*/; Anybody know why? thanks for any help -Ben

question about JSNI

2008-11-10 Thread benw
The forum was putting random new postings as replies to my question.. so I'm trying again: Hi, I need to create my own date class to handle UTC. When I try to construct a MyDate object, I get a "java.lang.NoSuchFieldError: mydate" exception in this code: private native void init(double date) /

Re: GWT and spring - looking for references.

2008-11-10 Thread George Georgovassilis
Hello Allen Following up on Kersten's post, a few words about the SL [1]. The main aim was to create a seamless, non-invasive integration of the RPC protocol and services. From our POV, a service is a business object that should not import or otherwise depend on RPC or other APIs, since a service

Re: GWT gadget - Developing Gadget Desktop

2008-11-10 Thread Bryan
You might check the gadgets group. There seem to be some examples over there that will help out. http://code.google.com/apis/gadgets/ On Nov 9, 9:54 am, ajaxDeveloper <[EMAIL PROTECTED]> wrote: > Hi All, > > How can I use google-gadget library for developing application like > igoogle.com. I me

Re: windows to mac

2008-11-10 Thread olivier nouguier
Hi, IMHO this concern should be handle by your IDE, did you try some plugin like Cypal Studio ? Regards. Olivier. On Mon, Nov 10, 2008 at 1:54 AM, dd08 <[EMAIL PROTECTED]> wrote: > > I have downloaded a .cmd shell and compile. I assume these are for a > PC. The problem is i need this files to b

windows to mac

2008-11-10 Thread dd08
I have downloaded a .cmd shell and compile. I assume these are for a PC. The problem is i need this files to be working on my mac. Is there an easy way to make these compatibly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

New GWT Presentation at SlideShare

2008-11-10 Thread Rebornspirit
Hi guys, Last June I gave a presentation at the Java conference Jazoon '08 in Zurich. The intention was to put the slides online available ... put it seems I kinda forgot about that one :-) But nevertheless I found some time this morning to create an account at SlideShare and I uploaded the pres

Re: dynamically load css?

2008-11-10 Thread Jason Essington
There isn't a cross platform way to do this. But, In IE you can use JSNI and do something like: var ss = $doc.createStyleSheet(); s.cssText = myCSS; and everywhere else, just use the DOM classes to create a style element, set type to "text/css" and set the inner text to your CSS then append

Re: question about JSNI

2008-11-10 Thread benw
Also, just doing private native void init() /*-{ this.mydate = new Date(); }-*/; causes the same excetpion. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group,

Out of Memory with GWT Compiler

2008-11-10 Thread Magius
We've been developping an App with GWT for some months and the each time the compilation needs more and more memory. We've been increasing the Xmx parameter but now we are blocked because we cannot increase beyong 1600M in Windows, probably because of the 2Gb-limit for the process in Windows. It'

Re: Unable to find 'xml.gwt.xml' on your classpath

2008-11-10 Thread DavidJE
I experienced the same problem. I had Eclipse 3.4.1 and GWT 1.5.2 working perfectly. I don't know what caused the issue, but now when I Import the StockWatcher application (per the GWT's tutorial), there is a second StockWatcher folder underneath the StockWatcher package in the Eclipse Package E

sleep() or wait() on Event.ONMOUSEOUT

2008-11-10 Thread Sirisha
Hi, Can we have a kind of sleep( ) or wait( ) delays inside my ONMOUSEOUT event without any threads? I want to call my collapsing method to perform something like collapsing onmouseout event after few seconds. I tried to use timer in the following way, but it didnt help: case Event.ONMOUSEOUT:

GWT clarification questions

2008-11-10 Thread cores
Hello GWT community, I m using GWT the last weeks and i want to clarify some things. 1. Gwt offer u a hosted mode which execute only jsp ? neither php or another format. 2. How u can set an external server as your default? so u can mix gwt with more formats 3. The files that i need to run my appl

Job in Paris, France : Developer GWT for a fastgrowing (and cool) Startup in Audio content.

2008-11-10 Thread Recruiter
Hi, I am looking a GWT professionnal to be a part in the development team (4 people). Here is the job description. Your CV at [EMAIL PROTECTED] Thank you. Notre client, jeune société française très innovante spécialisée dans les nouvelles technologies et plus particulièrement dans la diffusion m

Issues using Frame within a Dialog Box in GWT 1.4

2008-11-10 Thread Vikas
Hi, I'm using GWT 1.4. I wanted to call a JSP within a Dialog Box. For this, I was setting the URL to a Frame and usign the setWidget method to call this frame within a Dialog Box. My dialog box contains a frame and a button. The button gets displayed properly, however the frame doesn't. The code

Re: GWT and spring - looking for references.

2008-11-10 Thread olivier nouguier
Hi, My Humble experience on the subject. It's quite easy to dispatch GWT RPC to Spring Managed Bean (SMB). There are 2 main strategies: 1) consider the SMB as a technical wrapper to a business service and then let SMB depend (implementing) on RemoteService. ++ No configuration ++ No naming

Announcing Kiyaa! a new GWT library

2008-11-10 Thread Dobes
Kiyaa! is a GWT toolkit for better accessibility, styling, and more! It was created in the process of making small business accounting software that I needed to be easy to use, attractive, and to maintain. Here are some highlights: * XHTML Template System based on facelets (also an example for

Urgent

2008-11-10 Thread Mark
I'm just a freshman in GWT. I want to run the simple GWT on the Tomcat server, using IE. But the browser always response 404 error to me. I have rightly installed the Tomcat 5.5 and my IDE ,eclipse3.4 has also been added for the TomcatPlugin. Who can help me? --~--~-~--~~

Bug with InfoWindow and Second Map

2008-11-10 Thread [EMAIL PROTECTED]
Hi There I wanted to code a page, showing two Maps in one Browser Window and I ran into a problem with showing an Infowindow, when the second Map is loaded. Im getting graphical errors while showing the infowwindow. Perhaps I'm making a mistake, or theres something I'm not thinking of, plz tell m

Re: Reading XML file from localhost

2008-11-10 Thread Jason Morris
Heya, Your basic problem here is that you can't have your XmlParserUtil return a Document object. The doc field will only be filled in when the async RequestBuilder request returns and the parser is finished with the XML string. By that time, your method has already returned. The only way to

Class.forName(String) Instance

2008-11-10 Thread jmpeace
I was wondering if someone could help me out with this problem. I need to get and object from an especific class (that extends a class named DDOField). I'm doing this to get a new instance according to the type requested: HashMap availableFields = new HashMap(); availableFields.put("simpletext

Re: GWT clarification questions

2008-11-10 Thread Alfredo Cavalcanti Segundo
Hello Cores. The GWT tutorial have the answers for your first 3 questions. see here question 2 - http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-

Re: sleep() or wait() on Event.ONMOUSEOUT

2008-11-10 Thread Isaac Truett
> timer.schedule(1); > timer.run(); > > Please let me know if anybody has idea on this. Don't call run(). On Mon, Nov 10, 2008 at 6:51 AM, Sirisha <[EMAIL PROTECTED]> wrote: > > Hi, > > Can we have a kind of sleep( ) or wait( ) delays inside my ONMOUSEOUT > event without any threads? I

Re: sleep() or wait() on Event.ONMOUSEOUT

2008-11-10 Thread Adam T
Can't immediately see why that wouldn't work. Just three things from a diagnostic point of view a) does your formCollapsedState() method work outside of event handling? b) did you wait the 10 seconds you set up as delay? c) have you sunk the event and wired up that sink to your handler - i.e. i

Re: Reading XML file from localhost

2008-11-10 Thread mives29
okay, let me be clear on this, again, my code. (now posting full reworked source code) // A composite w/c contains a tree. public class TreeX extends Composite { Document doc; Tree t = new Tree(); int imgUris; XmlParserUtil xmlParser; public TreePol() {

JSNI question

2008-11-10 Thread benw
Hi, I need to create my own date class to handle UTC. When I try to construct a MyDate object, I get a "java.lang.NoSuchFieldError: mydate" exception in this code: private native void init(double date) /*-{ this.mydate = new Date(date); }-*/; Anybody know why? thanks for any help -Ben

Re: Class.forName(String) Instance

2008-11-10 Thread yunhui song
Hi, Please check out Guice+Gin. That's the solution for Java Reflection by GWT. Sammi On Mon, Nov 10, 2008 at 11:01 AM, jmpeace <[EMAIL PROTECTED]> wrote: > > I was wondering if someone could help me out with this problem. > > I need to get and object from an especific class (that extends a cl

Re: Class.forName(String) Instance

2008-11-10 Thread gregor
Hi jmpeace, Would something along these lines help? public class FieldFactory { public enum Type { SIMPLETEXT, PASSWORD, VALIDATED ...etc } public static Widget makeField(Type type) { switch (type) { case (SIMPLETEXT) : return new SimpleTextField();

Re: Pagination Widget?

2008-11-10 Thread Suri
Hi Issac I'm trying to set up the GWT Incubator project. Do I need to have the GWT source code checked out as well? All I'd like really is the incubator jar file. Isn't there any other way of obtaining that other than checking out the GWT core source/ GWT Tools source/ GWT incubator source and bui

Re: Bug with InfoWindow and Second Map

2008-11-10 Thread Eric Ayers
Hi, I don't think you are making a mistake - I think you've run into the issue reported in issue 175. http://code.google.com/p/gwt-google-apis/issues/detail?id=175 Could you please visit the issue and highlight the 'star' ? Thanks, -Eric. On Mon, Nov 10, 2008 at 5:22 AM, [EMAIL PROTECTED] < [E

Re: Pagination Widget?

2008-11-10 Thread Isaac Truett
Suri, You do not need to download the GWT project and build it from trunk in order to build the Incubator. If you prefer an older Incubator build, you can download one here: http://code.google.com/p/google-web-toolkit-incubator/downloads/list Please keep in mind that the most recent build curr

Re: Pagination Widget?

2008-11-10 Thread Suri
Hi Issac, Thanks for the info. I did actually go ahead and download that jar a few days ago. However, that seems to be a different version from what is available in the trunk. It seems to be all 1.x version as opposed to the gen2 stuff. For example, I had gone through the sample for the PagingScro

Re: question about JSNI

2008-11-10 Thread bw
It seems the problem only occurs in hosted mode. When I run it in an actual browser, everything works (tested in firefox 3.0). As far as I can tell, the javascript code generated with the PRETTY flag is fine. Java code like: long now = System.currentTimeMillis(); MyDate temp = new MyDate(now); g

Re: Pagination Widget?

2008-11-10 Thread Isaac Truett
> I hope I'm not wrong in my observations? No, you're absolutely right. The gen2 widgets are new and did not exist in the last Incubator release. > what concerns me was the additional > projects that I really have no idea about that I'm having to download > to get the incubator compiled. Are yo

Re: Bug with InfoWindow and Second Map

2008-11-10 Thread [EMAIL PROTECTED]
Oh yes, I see, these Issues are definitely related Thx for the Info, is there an ETA on a solution? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Goo

Re: Pagination Widget?

2008-11-10 Thread Suri
Hi Ken, I was following that and then as shown in the link there for setting up for eclipse: " 1.Follow the instructions here to set up your eclipse environment. " I downloaded the readme file from the link. And while following that, Around Line 104 in the file you'll see that it mentions instru

Re: Pagination Widget?

2008-11-10 Thread Suri
Sorry not Ken, Issac :) I was reading some article about a guy called Ken. My bad !!! On Nov 10, 5:02 pm, Suri <[EMAIL PROTECTED]> wrote: > Hi Ken, > I was following that and then as shown in the link there for setting > up for eclipse: > "  1.Follow the instructions here to set up your eclipse e

Re: Pagination Widget?

2008-11-10 Thread Isaac Truett
Okay, I see the references to "projects" in the instructions that are causing you alarm. In that context a "project" is an Eclipse project. The GWT project has several distinct Eclipse project configurations within a single SVN repository. The Eclipse setup instructions referenced in step 1 of Setu

Re: Class.forName(String) Instance

2008-11-10 Thread jmpeace
Thank you very much gregor, that solved my problem instantly. On 10 nov, 15:53, gregor <[EMAIL PROTECTED]> wrote: > Hi jmpeace, > > Would something along these lines help? > > public class FieldFactory { > >  public enum Type { >      SIMPLETEXT, PASSWORD, VALIDATED ...etc >  } > >   public s

Using GWT for developing SVG

2008-11-10 Thread [EMAIL PROTECTED]
Hello together, I have one question to the Google Web Toolkit: We have a project in my university where we want to use GWT and Eclipse for developing and generating SVG files. More in detail: We have the idea to create something like a Mind Map for Google Chrome. It should have the same functiona

Re: Integrating GWT application with existing java project

2008-11-10 Thread Bliss
I am having a similar issue integrating a GWT page into my existing J2EE app. I have isolated all of my GWT code into the 'normal' structure, but have one Class that 'bridges' my GWT code and my existing backend business. I was hoping this would make it easier to integrate dependency-wise. my co

Re: GWT clarification questions

2008-11-10 Thread cores
I have read them already , i ll read them again though to understand them better. However about my proxy question? the JSON url doesnt tell much. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

PowerMeeting: GWT-Based Synchronous Groupware

2008-11-10 Thread weigang
The Web has been widely used as a platform for asynchronous collaboration. However, Web based synchronous groupware are still rare, especially those using standard Web browser as front-end. The objective of the PowerMeeting project is to make the creation and adoption of such groupware easier, s

Re: Announcing Kiyaa! a new GWT library

2008-11-10 Thread Dobes
Yeah ... I'll add documentation based on how much time and motivation I get, which partly depends on the interest I get in the application. I did add some documentation for the template system recently and I'll try and find a way to post the javadocs somewhere too. On Nov 10, 5:36 am, Johan Rydbe

"static method wrap(Element) conflicts" compiler error. Why?

2008-11-10 Thread John Gunther
Using GWT 1.5.2, and starting with this class: public class NamedHTML extends HTML implements HasName { public String getName() {return null;} public void setName(String name) {} } If I compile the above class in Eclipse with Project, Properties, Java Compiler, "Compiler complia

GWT serilization policy issue !!

2008-11-10 Thread Sam
Hi all, I am trying to integrate GWT with the spring framework and we are able to implement it successfully. The only question that remains unsolved is of GWT serilization and deserilization issue. We have several already exsisting classes which are actually remote and implements Serilizable inter

Re: Reading XML file from localhost

2008-11-10 Thread mives29
Hi! I've just re-read your reply, but I cant understand how the interface would affect the program, and how would I use that new getDocument() method of the XmlUtilParser class. Could you provide another example (a working one, if possible)? This whole AsyncCallback/asynchronous stuff of GWT is d

gwt - framework

2008-11-10 Thread trist
Hi, I am student on University of Technology in Poznan. I was maintaining some standalone application based on Witold Andrzejewski idea (www.cs.put.poznan.pl/wandrzejewski/). Application has own framework to help creating gui and manage actions between component on swing window. After some time w

Re: Announcing Kiyaa! a new GWT library

2008-11-10 Thread Johan Rydberg
Dobes skrev: > Yeah ... I'll add documentation based on how much time and motivation > I get, which partly depends on the interest I get in the application. > I did add some documentation for the template system recently and I'll > try and find a way to post the javadocs somewhere too. What I'm m