Issue With Single Origin Policy

2009-03-06 Thread jagadesh
Hi guys, iam working on developing a sample application where i would make a call to an external Yahoo.com Money site from where i would get the current price of a stock in the form of xml. i want to construct a RequestBuilder and call from it.but my doubt according to SOP [Single Origin Policy

Re: Jsni Help

2009-03-06 Thread jagadesh
Hi Guys, Iam Still Struck . can anyone provide some sample Code.or any articles to explan in detail Thank u, jagadesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this grou

Re: Environment Variables in the .launch file

2009-03-06 Thread Miloš Ranđelović
Hi, Thanks for your suggestion. I'm using Eclipse classpath variables to point to GWT files, and that's working nice, although I might consider what you suggested. However, that's not the solution to my problem. Let me put it like this - I want to use my WAMP server to run the application in hos

Re: problem about add the 3rd party gadgets to GWT page.

2009-03-06 Thread XiongJia Le
Thanks for you help. I have understood this problem. I attached the issue talking address, maybe this can help other people. http://code.google.com/p/gwt-google-apis/issues/detail?id=248 On Fri, Mar 6, 2009 at 11:49 PM, Eric Ayers wrote: > You are right, there is something about that technique

Re: Error GWT

2009-03-06 Thread Vagner Araujo
blz, não esqueça de postar o resultado aqui. ;-) -- Abraço. Vagner Araujo --~--~-~--~~~---~--~~ 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-Toolkit@googlegrou

Re: Error GWT

2009-03-06 Thread Manuele Ferreira
Sim, vários!! Bem, vou ve oq faço aqui. Obrigada pela ajuda =D Manuele dos Reis Ferreira Bacharelanda em Ciência da Computação UFBA http://manueleferreira.wordpress.com/ 2009/3/6 Vagner Araujo > > bem, então nesse caso você vai ter que testar jar por jar, ou > simplesmente trocar todos os jars

Re: Error GWT

2009-03-06 Thread Vagner Araujo
bem, então nesse caso você vai ter que testar jar por jar, ou simplesmente trocar todos os jars, esse é um erro interessante, se agente descobrir qual o jar ou jars estar ou estão provocando isso, agente poderá ajudar outras pessoas. Tente isso, substitua jar por jar, ou todos de uma vez, e depoi

Re: Error GWT

2009-03-06 Thread Manuele Ferreira
Eu comentei todo código q coloquei e nd. Eu coloquei um break point na primeira linha do programa e nd. o problema n é códito, o erro direciona aos jars... só não sei qual. Anyone can help me? Manuele dos Reis Ferreira Bacharelanda em Ciência da Computação UFBA http://manueleferreira.wordpress.co

Testing drag and drop with Selenium on GWT UI

2009-03-06 Thread rex
Hi I have tried a tons of things, a lot of what people suggested on many forums.. but alas!!! I am exhausted now. Can anybody help me how to test drag and drop with Selenium? Does it even has the ability to do that? Thanks, Rex --~--~-~--~~~---~--~~ You received

Re: GWT RPC Security Concern

2009-03-06 Thread lineman78
Generally there should not be any problems with you using SSL in your application. That being said, there are a few ways you could have got yourself into trouble when trying to switch over. 1) You did not use GWT.getModuleBaseUrl when creating your RPC classes or making local references. 2) If y

Re: URL model class in GWT

2009-03-06 Thread planetsoni
On the same topic. Is there any class that does similar things for html(instead of URL)? What I mean is a class that represent arbitrary HTML element text. (Pretty much like DOM Element object that has public constructor.) Thanks. On Mar 6, 12:38 pm, Lothar Kimmeringer wrote: > planetsoni schr

Detecting Drag and Drop on a RichTextArea

2009-03-06 Thread jasons
I'd like to perform some work whenever a user drags a link into a RichTextArea control. I don't need a full drag-and-drop framework here - all the browsers I've tried already implement link dragging, and the control deals with dropped links fairly well. I'd like to be able to detect the event when

Re: Using GWT To Create Pure Java Client

2009-03-06 Thread Shawn Brown
> format. However, I am  trying to leverage GWT, to parse the JSON files > and have run into difficultly. So, I have two questions. > Can you use client side api on the server? Client side code will be compiled into javascript if you deploy it that way. Can you just use the api as straight java

Re: JSONValue class not found

2009-03-06 Thread Shawn Brown
Can you use the client api in server code? On Fri, Mar 6, 2009 at 11:54 PM, Ber wrote: > > Hi all > I'm using Netbeans 6.5 to develop a GWT (1.5.3) & GWTExt (2.0.5) app. > Every time I start my app in Glassfish v2, though, I get this error: > java.lang.ClassNotFoundException: com.google.gwt.json

Re: URL model class in GWT

2009-03-06 Thread planetsoni
Yes that was my plan B. I just wanted to see if there was something already there for this purpose before I go do that. I guess not. Thanks for your answers. On Mar 6, 12:38 pm, Lothar Kimmeringer wrote: > planetsoni schrieb: > > > So here is the whole thing: > > In the client code in GWT, I a

Re: URL model class in GWT

2009-03-06 Thread planetsoni
You are right. So here is the whole thing: In the client code in GWT, I am referencing some URLs for different server. I don't want to use string literals to reference these links. I rather have a class that enclose each URL link. It is just good programming practice. In addition, it would be

Re: URL model class in GWT

2009-03-06 Thread Lothar Kimmeringer
planetsoni schrieb: > So here is the whole thing: > In the client code in GWT, I am referencing some URLs for different > server. I don't want to use string literals to reference these > links. I rather have a class that enclose each URL link. It is just > good programming practice. Sure but

Re: extra Labels displaying in Panel

2009-03-06 Thread Josephine
I get the extra Labels in both FF v2 and IE v7. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from

Re: Merging multiple modules to one main module

2009-03-06 Thread Techer
by seeing answers to similar questions I tried this 1) I created one Master.gwt.xml in "com.sow.school" and inherited the modules as and 2) Created a Master.java entry point class (with empty onModuleLoad ()). Then compiled it as com.google.gwt.dev.GWTCompiler -out www com.sow.school.Master

Re: GWT RPC Security Concern

2009-03-06 Thread erincarikan
I am planning to make it a ssl application, so that nobody can eavesdrop, malform login data, As far as I know, I don't need to modify anything(code) in gwt project to accomplish that, right? I believe that web server should be handling all those details. Is there any drawbacks about using ssl? Al

Re: URL model class in GWT

2009-03-06 Thread Lothar Kimmeringer
planetsoni schrieb: > All I really wanna do is string parsing/creating of URL. Nothing > related to connection or streaming. Shouldn't a regular expression do the trick in that case? Things like checking the validity of the hostname, etc. have to happen on the server anyway. Regards, Lothar

Re: URL model class in GWT

2009-03-06 Thread planetsoni
Thanks for your quick response. All I really wanna do is string parsing/creating of URL. Nothing related to connection or streaming. On Mar 6, 11:47 am, Lothar Kimmeringer wrote: > planetsoni schrieb: > > > Basically looking for GWT class which is more like java.net.URL. > > After searching ar

Merging multiple modules to one main module

2009-03-06 Thread Techer
How to merge multiple modules to one single module, which then we can use for deployment. So instead of multiple war files you can create one war file. The complete scenario is In my project I've two modules. 1)Student 2)Teacher These modules are placed in "com.sow.school". So I've Student.gwt.

Re: URL model class in GWT

2009-03-06 Thread Lothar Kimmeringer
planetsoni schrieb: > Basically looking for GWT class which is more like java.net.URL. > After searching around for quite bit, I couldn't find one. > Since this is very basic need, I believe there must be something out > there so I am avoiding writing my own. > > GWT has URL class but that is ju

Re: GWT RPC Security Concern

2009-03-06 Thread lineman78
Yes, this approach can work, but there is one small drawback. If you aren't planning on making it a ssl application you will have to use ssl for the rpc/json authentication request. This is so that the packets cannot be intercepted on unsecure wireless. I believe container managed security has

URL model class in GWT

2009-03-06 Thread planetsoni
I am looking for a class that represents URL model. Basically looking for GWT class which is more like java.net.URL. After searching around for quite bit, I couldn't find one. Since this is very basic need, I believe there must be something out there so I am avoiding writing my own. GWT has URL

Re: GWT RPC Security Concern

2009-03-06 Thread erincarikan
Thanks for the reply, Frankly I never used container managed security before, but now I am reading about it. Another approach I was thinking about was checking encrypted passwords in servlet from the db, I found something like this in the wiki which looks like a simple and good approach to me: h

Re: GWT RPC Security Concern

2009-03-06 Thread lineman78
I believe that if you use container managed security for your entire GWT app it will require authentication to access the servlets too. In fact I just tested it and that is correct(FROM ACCESS LOG: '"127.0.0.1" "matt" "06/Mar/2009:18:17:36 +" "POST /SEESuite/ rssParser HTTP/1.1" 200 3082' not

Re: Info on jar files used in GWT

2009-03-06 Thread Jason Essington
The dev-xxx.jar files are compile/debug time only. currently the debugger uses platform specific JNI libraries that are platform specific. After compilation, deployment requires only the gwt-servlet.jar -jason On Mar 6, 2009, at 7:20 AM, Satya wrote: > > Hi > I am new to this group and GW

Info on jar files used in GWT

2009-03-06 Thread Satya
Hi I am new to this group and GWT. Question is why do we need the differrent jar files for different OS. I assume to run I need the "gwt-servlet.jar" to run my GWt application. But not sure as to why do one need 1. gwt-dev-windows.jar 2. gwt-dev-linux.jar Any pointer on this will be help ful! -

extra Labels displaying in Panel

2009-03-06 Thread Josephine
Hi, everyone. This seems like it should be very easy to fix, but I am stumpedI have 2 Labels that I put in a Panel and when I look at the page there are 4 Labels displayed! Here is part of the code: public Panel getUI() { VerticalPanel vertPanel = new VerticalPanel();

JSONValue class not found

2009-03-06 Thread Ber
Hi all I'm using Netbeans 6.5 to develop a GWT (1.5.3) & GWTExt (2.0.5) app. Every time I start my app in Glassfish v2, though, I get this error: java.lang.ClassNotFoundException: com.google.gwt.json.client.JSONValue I can access this class in my code, and during compile time this is not a proble

GWT RPC Security Concern

2009-03-06 Thread erincarikan
Excuse my illiteracy about gwt, I just started working on GWT last week. Yesterday I implemented my first rpc application and one thing makes me worried a little bit. I will compile and all the content will work on client and it will rpc server code without any authentication if I am not mistaken

Pb to create applications with command 'projectCreator'

2009-03-06 Thread Ptikiwi
Hello, I am trying to install the google web toolkit. I use Eclipse and java jdk-6u12 when i try to create the skeleton (with the 'porjectCreator') commad of my application, it is returning the following message : C:\gwt>projectCreator -eclipse TestGWT1 -out TestGWT1 Exception in thread "main"

Best practise for custom widget styling

2009-03-06 Thread Matthew
Hi. I'm new to GWT and trying to get an idea of best practise relating to custom widgets and styles. I've seen some related posts but not ones that quite answer my question. So, suppose I make a new widget extending Composite containing two buttons in a panel (this is a bit of an artificial examp

Using GWT To Create Pure Java Client

2009-03-06 Thread Brett S
Hi, I am attempting (unsuccessfully) to create a pure Java (no AJAX / JavaScript) client that would do both Geo Location and Local Search queries. I have created simple Java test code (without any libraries) that retrieves the Geo Location and Local search results in JSON format. However, I am t

GWT Portlet Load problem

2009-03-06 Thread lineman78
I have been working on integrating GWT into a Liferay portlet and am having one major problem. When I drop the code on the page the screen goes blank, in debugging this I have been able to determine the problem through my access logs. Even though the context of the portlet is /GWTTest, it tries

Re: Announcing GWT 1.6 Milestone 2

2009-03-06 Thread Markus Knittig
On 03/05/2009 11:19 PM, Markus Knittig wrote: > Any chance of upgrading before the release? Because support for multiple > webapp directories would be quite handy, especially for Maven: > http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory FYI: I created an issue for this fea

Re: GWT 1.6 - setting up eclipse launcher for hosted-mode with external jars

2009-03-06 Thread Markus Knittig
On 03/05/2009 11:21 AM, Jerome wrote: > Is there any way I could force Jetty to behave like Tomcat before and > "see" my external jars where they are (or am I doiong something > wrong)?. This issue is fixes in r4944. See http://code.google.com/p/google-web-toolkit/issues/detail?id=3435 Best reg

Re: Dealing with session timeout and container managed security

2009-03-06 Thread Rakesh
we use server push for session time out and it works really great! On Feb 28, 1:26 am, marcelstoer wrote: > Is there some consensus or best practice in the GWT community as for > how to deal with session timeout and container managed security? There > are some pointers if you search for this sub

Re: GWT 1.6 - setting up eclipse launcher for hosted-mode with external jars

2009-03-06 Thread Vitali Lovich
I dunno - it works for me. The lib directory is only for deployment. Check the classpath of your run configuration to make sure that your lib is actually on the class path. On Thu, Mar 5, 2009 at 5:21 AM, Jerome wrote: > > I am migrating a projet from GWT 1.5 to 1.6. > > The server-side of my

Re: problem about add the 3rd party gadgets to GWT page.

2009-03-06 Thread Eric Ayers
You are right, there is something about that technique that doesn't work. I found this alternative implementation of the gadget worked, though: In SimpleFriendConnect.html, add: http://www.google.com/friendconnect/script/friendconnect.js";> Then, I took the HTML code and translated it

Re: new GWT 1.6 project layout...

2009-03-06 Thread P.G.Taboada
And how I am supposed to clean the war directory from old generated stuff? It really feels like "GWT does it wrong again" - or am I missing something? On Mar 6, 4:09 pm, "P.G.Taboada" wrote: > I am playing around with M2. I have a question about the new folder/ > project layout proposed by the

new GWT 1.6 project layout...

2009-03-06 Thread P.G.Taboada
I am playing around with M2. I have a question about the new folder/ project layout proposed by the command line application creator: are you serious about that? I really do have a problem with mixing generated sources with "static" project sources. The project layout proposed generates the gwt a

Re: Environment Variables in the .launch file

2009-03-06 Thread levi.bracken
I'm assuming you're using environment variables to point to the location of gwt jar (and other needed libraries). One solution is instead of having everyone put those libraries on their local machine with an env var pointing to it, try packaging the gwt jar (and other needed libraries) with the

Re: GWT : Fitting a Tree inside a Panel

2009-03-06 Thread Sean
What kind of panel are you using? If it's a simple Panel try editing the CSS of the panel and remove all top padding and margins. The same with the tree. If it's a VerticalPanel try using the protected void setCellVerticalAlignment(Element td, HasVerticalAlignment.VerticalAlignmentConstant align)

Re: How to use GWT where input is text and output is list?

2009-03-06 Thread Sean
http://gwt.google.com/samples/Showcase/Showcase.html That's a great place to start. You can visually see what's capable and get the source code of exactly what you are looking at. On Mar 5, 10:46 pm, Rahul wrote: > I am a beginner, I read article on GWT but couldn't get idea how to > proceed to

Re: Sequential workflow in an asynchronous GWT world

2009-03-06 Thread George Georgovassilis
Hello Robert I had the same problem in various GWT projects until I accidentally stumbled across a little used feature of GWT that completely changed the way I write GWT-apps now: history tokens. History tokens are used to implement control points in the application towards the user can jump at w

Re: Separating RemoteServiceServlet and the service implementation

2009-03-06 Thread George Georgovassilis
Hello Michael While integrating an RPC service with Spring is rather easy (there exist numerous implementations), sepperating the GWT API from the service itself is not trivial. It is exactly this consideration which gave birth nearly two years ago to the SL [1] as a collaborative effort to formu

GWT : Fitting a Tree inside a Panel

2009-03-06 Thread sitaro
Hello!! Please, I gotta question about GWT. I'm adding a Tree inside a Panel. My problem is the Tree takes a vertical align in the middle. I've tried many ways to fit it at the top but it's not working. Did anybody solve this problem? How can I put it at the top even if the Tree is very small and

Re: JAAS and GWT

2009-03-06 Thread Adligo
Hi All, I think spring security uses 'Jaas' although I haven't checked. In the past I have written 3 different Jaas modules for different companies, and I am working on a 4th Jaas product to sell that is specifically designed for GWT. Basically you call the Jaas login code in your login rpc o

Re: Configure "tmp" directory used by deferred binding

2009-03-06 Thread rmuller
Thank you Ian, that was where I was looking for. I now added this in my build.xml (GWT 1.6): ... Regards, Ronald --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: error

2009-03-06 Thread Matteo
poonam, are you sure that you added all the hibernate dependencies to the classpath? Regards Matteo On 6 Mar, 13:26, poonam wrote: > Hello, >      I have made the changes as suggested by you in my application > which is developed integrating "GWT+Spring+Hibernate" ; also all the > jars are being

Environment Variables in the .launch file

2009-03-06 Thread Miloš Ranđelović
Hi, I have several developers working on a GWT project and synchronizing via SVN. The problem is naturally with their local paths and those stored in the SVN. I have managed to use environment system variables to overcome this, everywhere but in the Eclipse .launch file (I have them in the launch

error

2009-03-06 Thread poonam
Hello, I have made the changes as suggested by you in my application which is developed integrating "GWT+Spring+Hibernate" ; also all the jars are being included, but the application is still giving me warning which says - [WARN] StandardContext[]Exception while dispatching incoming RPC call

Display image from post-request in GWT client

2009-03-06 Thread mufflon
Hi there! I want to display a generated Diagram as an image in my GWT client. I send the request as a POST to my Servlet and send it back like this JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out); JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam (diagramImage); param.setQual

Re: Error GWT

2009-03-06 Thread Vagner Araujo
Nesse caso não sei como te ajudar, até agora eu não passei por esse erro, mas nas Threads que já vi esse erro, o mesmo estava relacionado com atualização de uma versaõ do GWT antiga para uma mais nova. Se você puder me enviar o código, ou se você puder posta-lo aqui, seria bom para que agente pos

Re: GWT + JSON + PHP

2009-03-06 Thread Josse
Thanks :D On Mar 6, 9:46 am, Shawn Brown wrote: >  http://code.google.com/webtoolkit/tutorials/1.5/JSONphp.html > > > I would like to create a website with an interface made by gwt and a > > server in PHP and make communicate them by JSON(or XML). Do you have > > any ideas how to make it or some

Re: Error GWT

2009-03-06 Thread Manuele Ferreira
Eu estava criando um novo panel, fazendo acesso ao server... nada que eu já não tivesse feito antes. Eu já dei uma busca na net e já vi soluções relacionadas à remoção e adição de jars relacionados ao gwt. Eu já fiz isso, mas mesmo assim não funcionou. Manuele dos Reis Ferreira Bacharelanda em Ci

GWT with external javascripts

2009-03-06 Thread Joakim Sjöberg
Hello Can anyone help me out with this? I am going to do a small demo with GWT that is going to work something like this: I will have panels that is on o "template" page, this panels will be empty and only refer to a JavaScript that contains panels and information etc. Is this possib

Re: How to design a web app with gwt

2009-03-06 Thread doopa
On Mar 5, 6:52 pm, Paul van Hoven wrote: > I'm having a question about the design of gwt web app. > 1) Suffices it to have only one Index.html, or should there be other > pages like for example fotos.html or guestbook.html instead of > FotosWidget.java or GuestbookWidget.java? Its fine to have

Re: GWT with JPA not working in hosted mode

2009-03-06 Thread noon
Of course, I already tested the annotation emulation before releasing it. What puzzles me is that a even a project that do not use the JPA annotations but add the annotation emulation fails :-( I am trying to investigate this issue to determine if it is on my side or on GWT one... Regards Bruno

Re:

2009-03-06 Thread Matteo
Hi GWT GWT, It looks like the commons-dbcp.jar is missing from the classpath. Regards, Matteo On 6 Mar, 07:16, GWT GWT wrote: > Hi I have developed an application using using GWT,spring,Hibernate. > Now I am getting an warning of > > [WARN] StandardContext[]Exception while dispatching incoming R

Re: DOM.eventGetCurrentEvent() does not work on Chrome and Safari

2009-03-06 Thread maszuari
I know why my code did not work on Chrome and Safari. When I pressed left button on my mouse, the DOM.eventGetButton(event) would return -1 but IE and Firefox3 would return 1. But if I pressed right button on my mouse, all browsers would return 2. On Mar 3, 5:13 pm, maszuari wrote: > What I wan

OFCGWT HELP needed

2009-03-06 Thread ytbryan
hi all, i am using ofcgwt to chart my data. and i hope to display different type of chart. ie having a menu to select different type of chart like pie chart, bar chart, etc. does anybody has idea how i should go about doing it ? PS: i am using smartgwt btw... thanks!! --~--~-~--~~-

Re: GWT + JSON + PHP

2009-03-06 Thread Shawn Brown
http://code.google.com/webtoolkit/tutorials/1.5/JSONphp.html > I would like to create a website with an interface made by gwt and a > server in PHP and make communicate them by JSON(or XML). Do you have > any ideas how to make it or some tutorials and docs? > > Josse > > > --~--~-~--~--

GWT + JSON + PHP

2009-03-06 Thread Josse
Hi, I would like to create a website with an interface made by gwt and a server in PHP and make communicate them by JSON(or XML). Do you have any ideas how to make it or some tutorials and docs? Josse --~--~-~--~~~---~--~~ You received this message because you are

Re: Slow data loading to a FlexTable

2009-03-06 Thread federico
i think for very very large results the real solution it's a flow panel with custom div panels inside and asinchronous load of the results, i mean starting with rendering the initial result part and then in separate calls download and append the rest of the results. On 6 Mar, 08:48, Magius wrote