Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread eggsy84
Also if you have to resort to using JSONP GWT 2.0 has a new JsonpRequestBuilder that wraps up any JSONP request nicely: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html This superceeds the article on GWT Site. On Apr 5, 11:50 pm, Tho

Re: Crosstalk of uifields when extending widgets built with UIBinder

2010-04-06 Thread Blessed Geek
There was an error in transcribing the code to the forum window. Lazypanel should not be there. So here's the problem again with the ui xml corrected. [code file="WhateverPanel-Confirm.ui.xml"] Proceed [/code] I circumvented the problem by extracting conf

Architectural ideas for a multi-app/module project

2010-04-06 Thread Jon Vaughan
Hi all. I'm beginning to build a set of GWT applications for a client. The clients customers will purchase a set of these applications (not necessarily all of them) and when deployed these applications will work together (imagine, for example, a 'Contacts' app, a 'Billing' app, 'Timerecording' et

Re: Architectural ideas for a multi-app/module project

2010-04-06 Thread Jan Ehrhardt
What is about Gadgets with Apache Shindig ? You can also use GWT 2.0's code splitting feature. Compile one big app, but split the resulting JavaScript code into different modules. You can then load only the required ones into the browser. The only problem is, that you h

Error while invoking REST web svc from GWT client (GWT 2.0, restlet-gwt-2.0rc2)

2010-04-06 Thread dgiscool
Hello, I am using GWT 2.0 and restlet-gwt-2.0rc2 to develop a client that will invoke REST web services. The web service accepts a POST request with a User object. I followed the example at http://wiki.restlet.​org/docs_2.0/13-rest​let/21-restlet/318-r​estlet/303-restlet.h​tml . The only differenc

FOSS SQL builder Widget?

2010-04-06 Thread salk31
Does anybody know of a FOSS SQL builder GWT widget to allow non- technical users to create ad-hoc SQL queries? Seems like a reasonably generic thing that we don't want to all have to re-write. Some care needed to avoid allowing arbitrary SQL to be executed but need somebody cleverer than me to mak

Re: Change output folder.

2010-04-06 Thread Ian Bambury
Private email sent - if anyone else should want the project, just let me know. Ian http://examples.roughian.com On 6 April 2010 07:27, Dymytry wrote: > Ian, probably sending the project is a very good idea. You can see my > email, right? Or tell me a link, if you can put it on your site. > So

Best practices for GWT-Eclipse and war deployment

2010-04-06 Thread bradrover
Hello, I have a new GWT project, created with the Eclipse plug-in. I'm trying to figure out the best way to manage deployment and svn together with this project structure. Its difficult because the war folder has files in it that need to be under source control, yet I need to create a tomcat deploy

can not read or write to a file on the server side

2010-04-06 Thread HDayi
hi there, on the server side, i am trying to read some string from a file and write it back to file again. I am using eclipse. on the eclipse, i put my text file to war directory and everything works fine. but when i upload my application it doesn't work but my async callback does not fail. i coul

Re: can not read or write to a file on the server side

2010-04-06 Thread kozura
Likely you need to configure Java permissions for things like accessing files on your tomcat/jetty deployment server; look at the log files under these and you should be able to figure out the problem. You can also put debugging printouts in your servlet and find them in these logs. On Apr 6, 6:5

ScrollPanel Problem

2010-04-06 Thread gadaleta.marco
Hi, I'm developing an application using gwt and gears and i test it on android. But if i use a ScrollPanel element, it doesn't run on android. How i can resolve this problem? Thx, Marco -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To

Re: can not read or write to a file on the server side

2010-04-06 Thread Sripathi Krishnan
Are you using Google App Engine? GAE does not allow you to create new files. You can only read from the files that are present in your war file. If you don't use GAE, you may have accidentally enabled the 'Use GAE' setting in eclipse. That setting is likely to cause the errors you describe. --Sri

Re: can not read or write to a file on the server side

2010-04-06 Thread HDayi
hi again, i am using tomcat5 and it says: blabla.txt (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:137) at java.io.FileInputStream.(FileInputStream.java:96) and so on i will check th

Re: Best practices for GWT-Eclipse and war deployment

2010-04-06 Thread kozura
You mean just the .svn accounting folders? Not really a problem if they're in your deployment, but you can always use the --exclude option in zip to keep them out. Otherwise yes, the intent is to zip and deploy the war directory, which includes a mix of svn source files and generated files. On A

Re: can not read or write to a file on the server side

2010-04-06 Thread kozura
Doesn't sound like permissions (yet), more about how you are accessing the file. A servlet doesn't access files by their full path, but as Resources, google servlet getResource. On Apr 6, 7:22 am, HDayi wrote: > hi again, > i am using tomcat5 and it says: > blabla.txt (No such file or directory)

Re: Supporting mysite.com/[username] urls with a gwt app?

2010-04-06 Thread markww
Ok so yeah I agree this is kind of silly, still I have to give the customer what they want. To support the forward slash method, how would I point different paths to my single GWT app? In my web.xml file, we have this by default: greetServlet com.me.test.server.GreetingServiceImpl

Re: JSNI and method signature

2010-04-06 Thread Pavel Byles
Thanks Kozura, that worked. However, Eclipse auto-completes with the generics stuck in there. Also what happens if I have two java signatures: public static void myJavaMethod(JsArray jso) { ... } public static void myJavaMethod(JsArray jso) { ... } How will the javascript know which method to cal

Re: Supporting mysite.com/[username] urls with a gwt app?

2010-04-06 Thread kozura
Yes you should be able to do a servlet mapping something like that to deal with the server side. But seriously consider that client side code will be restarting every time they change the content being viewed. All program state will be lost. -- You received this message because you are subscrib

Re: can not read or write to a file on the server side

2010-04-06 Thread HDayi
i am trying to open the file with the fallowing code: BufferedReader input = new BufferedReader(new FileReader("blabla.txt")); it works while developping with eclipse. and i am trying to write whit the fallowing: BufferedWriter out = new BufferedWriter(new FileWriter("blabla.txt")); out.write(l

Re: JSNI and method signature

2010-04-06 Thread kozura
Java doesn't include generics in the signature, it's simply a compile time check. Try it, you can't actually make those two methods in the same scope. On Apr 6, 7:41 am, Pavel Byles wrote: > Thanks Kozura, > that worked. However, Eclipse auto-completes with the generics stuck in > there. > > Als

Re: Supporting mysite.com/[username] urls with a gwt app?

2010-04-06 Thread markww
Yeah all program state will be lost but that's ok for my application. Any idea on how to do that catch-all mapping though? I don't know what the term for this is so searching is not going well, I am guessing I have to do something with the url-pattern in the section: greetServlet /*

Re: Architectural ideas for a multi-app/module project

2010-04-06 Thread kozura
I would strongly consider whether there is a way to creatively accommodate their independently deployable requirement. Use code splitting and independent modules in the design architecture, but maybe when their customer requests a particular configuration, do a real-time compile of the application

Re: can not read or write to a file on the server side

2010-04-06 Thread andrew19881123
i have a similar problem with an xml file that i try to read.. the code for read is: try { File fileXml = new File("./vini.xml"); System.out.println("hi"); System.out.println("owner's write permission : "+fileXml.setWritable(true)); //exception cached System.out.println("owner's read p

Re: JSNI and method signature

2010-04-06 Thread Pavel Byles
But my call to both java methods will be: @com..x.client.GfcJs::myJavaMethod(Lcom//x/client/JsArra*y* ;); which java method will it call? On Tue, Apr 6, 2010 at 9:45 AM, kozura wrote: > Java doesn't include generics in the signature, it's simply a compile > time check. Try it,

Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread Abdullah Shaikh
Does that mean that I can even call https using JSONP ? - Abdullah On Tue, Apr 6, 2010 at 1:47 AM, lineman78 wrote: > You should switch your project over to use JSONP. I was able to do so > with minimal headaches assuming you can add the capability server > side. I developed a solution based

Re: Where is GWT's "Default" CSSResource?

2010-04-06 Thread kozura
You can find the css and images file put into your war/appname/gwt/ standard directory, however the tree images aren't from css but instead are part of a ResourceBundle. Look in at the top of the Tree class, you'll see the default ImageAdapter which refers to the png files in com.google.gwt.user.c

Re: JSNI and method signature

2010-04-06 Thread kozura
Java simply won't allow you to create both of those methods in the same class, because it considers them to have the same signature. On Apr 6, 8:10 am, Pavel Byles wrote: > But my call to both java methods will be: > @com..x.client.GfcJs::myJavaMethod(Lcom//x/client/JsArra*y* > ;)

Re: can not read or write to a file on the server side

2010-04-06 Thread Lothar Kimmeringer
HDayi schrieb: > hi again, > i am using tomcat5 and it says: > blabla.txt (No such file or directory) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java:137) > at java.io.FileInputStream.(FileInputStream.java:96) > and

iFrame

2010-04-06 Thread gadaleta.marco
I want to create an Iframe structure from gwt code It's possible? Thx, Marco. -- 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 em

Re: JSNI and method signature

2010-04-06 Thread Pavel Byles
Ah I see. ok. Thanks for all the help! On Tue, Apr 6, 2010 at 10:20 AM, kozura wrote: > Java simply won't allow you to create both of those methods in the > same class, because it considers them to have the same signature. > > On Apr 6, 8:10 am, Pavel Byles wrote: > > But my call to both java m

Re: Change output folder.

2010-04-06 Thread Dymytry
Ian, thank you. Your example really works! One thing unclear for me: as far as I see your gwt.xml file doesn't contain the line "". Without that line I do not have a Standart subfolder with images in the compiled files folder. But you have that files in your project (corner.png, for example). S

Re: can not read or write to a file on the server side

2010-04-06 Thread HDayi
hi again, i could solve the reading problem with the fallowing code. ServletContext sc = this.getServletConfig().getServletContext(); InputStream is = sc.getResourceAsStream("/blabla.txt"); BufferedReader input = new BufferedReader(new InputStreamReader(is)); when i use the lothar's way i saw th

Re: iFrame

2010-04-06 Thread mariyan nenchev
Hi, Frame frame = new Frame(); frame.setUrl(url); -- 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 email to google-web-toolkit

Re: Can't debug client code from Eclipse

2010-04-06 Thread Rajeev Dayal
Hi, Are you sure the callback is not firing in development mode, or is the breakpoint not being hit? If the breakpoint is not being hit, you may be running into this issue (if you're using hotswap): http://code.google.com/p/google-web-toolkit/issues/detail?id=4704 If you're not actually getting

Re: Change output folder.

2010-04-06 Thread Ian Bambury
No, it's in the HTML as a link Ian http://examples.roughian.com On 6 April 2010 15:32, Dymytry wrote: > Ian, thank you. > > Your example really works! > > One thing unclear for me: as far as I see your gwt.xml file doesn't > contain the line " name='com.google.gwt.user.theme.standard.Standa

Re: Eclipse Run As GWT JUnit test generates "garbage" folders tomcat and www-test

2010-04-06 Thread Rajeev Dayal
+[jat] Hi Marc, On Thu, Apr 1, 2010 at 8:34 AM, Marc Guillemot wrote: > Hi, > > running a unit test that extends GWTTestCase using Eclipse's Run As GWT > JUnit test generates two folders in my project root: > - tomcat > - www-test > > This is just garbage and it pollutes my folder. I'm force to

Re: iFrame

2010-04-06 Thread gadaleta.marco
Thx. But if i want to add a widget element, a flextabale for example??? On 6 Apr, 16:46, mariyan nenchev wrote: > Hi, > > Frame frame = new Frame(); > > frame.setUrl(url); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this g

Re: Eclipse Run As GWT JUnit test generates "garbage" folders tomcat and www-test

2010-04-06 Thread John Tamplin
On Tue, Apr 6, 2010 at 10:58 AM, Rajeev Dayal wrote: > > The "tomcat" folder is surprising, I thought that GWT was using Jetty now. >> "www-test" can be configured in the run configuration for the test but it >> is very annoying to have to do it again and again for all the tests. >> > > Tomcat is

Re: can not read or write to a file on the server side

2010-04-06 Thread HDayi
hi again and again ServletContext sc = this.getServletConfig().getServletContext(); BufferedWriter out = new BufferedWriter(new FileWriter(sc.getRealPath("/blabla.txt"))); with this code writing problem is also solved. but there is one point to notice: tomcat user must have the write permission

Re: Best practices for GWT-Eclipse and war deployment

2010-04-06 Thread Jon Vaughan
It would be better practice not to rely on the IDE; use the plugin to help you with running in dev mode and getting the project structure set-up, but then use a build tool like Maven or Ant to build the war. That way you remove any chance of human error in releasing your code and you're not tied to

Re: Change output folder.

2010-04-06 Thread Dymytry
I see, but I mean the image files themself. From where have you got them? If I not specify "inherits" in the gwt.xml I dont have that files in the compiled folder. Compiler creates that files only if I use the "inherit" instruction in xml. -- You received this message because you are subscribed t

Re: iFrame

2010-04-06 Thread Jon Vaughan
You'd have to add a flextable to the page that you are showing in your iframe On Apr 6, 4:06 pm, "gadaleta.marco" wrote: > Thx. But if i want to add a widget element, a flextabale for > example??? > > On 6 Apr, 16:46, mariyan nenchev wrote: > > > > > Hi, > > > Frame frame = new Frame(); > > > f

Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread eggsy84
I'm not too sure I haven't tested it with https but looking at it you simply specify a URL so surely it will work ;) Eggsy On Apr 6, 3:11 pm, Abdullah Shaikh wrote: > Does that mean that I can even call https using JSONP ? > > - Abdullah > > > > On Tue, Apr 6, 2010 at 1:47 AM, lineman78 wrote:

Re: iFrame

2010-04-06 Thread Marco Gadaleta
I want to add a widget not a url.. 2010/4/6 Jon Vaughan > You'd have to add a flextable to the page that you are showing in your > iframe > > > On Apr 6, 4:06 pm, "gadaleta.marco" wrote: > > Thx. But if i want to add a widget element, a flextabale for > > example??? > > > > On 6 Apr, 16:46, ma

Re: iFrame

2010-04-06 Thread mariyan nenchev
Where do you want to add this widget? In the frame - it is not possible! Under the frame for example? Just add the frame to some container and after that add the widget to the same container. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

Re: Architectural ideas for a multi-app/module project

2010-04-06 Thread Sripathi Krishnan
If it helps, tell the client that google recommends a single module, and that that's the way they implemented Orkut and Google Wave (that's what my 2min investigation tells me). Google Adwords uses multiple modules, but I think that's what led to the idea of code-splitting in GWT. If they still do

Re: iFrame

2010-04-06 Thread mariyan nenchev
Why do you need to add widget in frame? Makes no sense! Frame loads other page if you want to have a widget in the frame you have to add it in some way in the other page. :) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this g

Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread lineman78
Yes, it will also inherit any authentication/sessions from the browser. All you need to do is make your servlets support it and inject scripts with the servlet's urls into the page. On Apr 6, 8:11 am, Abdullah Shaikh wrote: > Does that mean that I can even call https using JSONP ? > > - Abdullah

Re: iFrame

2010-04-06 Thread Jan Ehrhardt
The problem is, that each Widget has a DOM Element it wraps. This DOM Element is created by the document.createElement('tagname') JavaScript method and the call to this method is not accessible to you, since it is wrapped by GWT's Document class. An iframe contains it's own document, so you would

Re: iFrame

2010-04-06 Thread Marco Gadaleta
On android for example, the scrolls of scrollpane are not visible. If i can embedded a Flextable inside a iframe i can use the android browser scrollbar system... That's the right 2010/4/6 mariyan nenchev > Why do you need to add widget in frame? Makes no sense! Frame loads other > page if you w

Re: clean compile gives "the parameter is incorrect"

2010-04-06 Thread Isaac Truett
I was thinking of libraries on the classpath rather than source files. But I don't even know for a fact that the DataNucleus Enhancer uses the project's buildpath. That's something the GPE folks would know. On Mon, Apr 5, 2010 at 4:28 PM, John V Denley wrote: > Yes, Isaac, this is something I h

Re: clean compile gives "the parameter is incorrect"

2010-04-06 Thread Katharina Probst
In eclipse, if you go to the Debug view and right-click on the task (under debug, it might say "". If you go to Properties, it'll show the classpath that was actually run. I'm not sure this helps, but it's happened to me before that I changed something that messed with the classpath in eclipse, a

Re: Change output folder.

2010-04-06 Thread Ian Bambury
You can do it that way (which I did because it was easiest) or you can get them out of the gwt-user.jar (which is where they are from originally. They turn up in the /war/ directory anyway as soon as you fire up dev mode. Ian http://examples.roughian.com On 6 April 2010 16:17, Dymytry wrote:

Re: GWT RPC java.util.Date manipulation, prod and dev are manipulated differently

2010-04-06 Thread javaunixsolaris
I noticed DATETIME doesn't preserve the timezone...losing data integrity. I know this isn't a SQL forum but when I select on the TIMESTAMP will it be human readable like "2011-01-01 10:30:00"? If that's the case I should prefer TIMESTAMP over DATETIME for it's Data Integrity. (Hibernate is creat

Re: GWT RPC java.util.Date manipulation, prod and dev are manipulated differently

2010-04-06 Thread javaunixsolaris
I finally figured it out. -The Operating System's timezone DOES NOT matter -The Database's timezone DOES NOT matter. -The JVM has it's own timezone and this is the only one that matters! Since the running JVM does a "new Date(long)" before inserting into the database that is where the Date manipula

Re: iFrame

2010-04-06 Thread Marco Gadaleta
Can you tell me how i can load a flextable into a page that isn't the main project page ? . 2010/4/6 Marco Gadaleta > On android for example, the scrolls of scrollpane are not visible. > If i can embedded a Flextable inside a iframe i can use the android browser > scrollbar system... > That's the

Re: Can't debug client code from Eclipse

2010-04-06 Thread Dan Dumont
It was a scoping problem.I needed to use a closure in the native js method to wrap the callback, because even though passing the function ref works in js, to run in java it needs the context. It would be cool if the documentation explicitly called that out because i didn't realize gwt would ba

Re: GWT RPC java.util.Date manipulation, prod and dev are manipulated differently

2010-04-06 Thread kozura
Thanks for writing this out, didn't realize the JVM has its own timezone and so that's where the conversion was happening. I guess it doesn't matter what particular timezone you use for the server as long as it's always the same - I personally would probably use GMT vs arbitrarily picking MST, as

Re: clean compile gives "the parameter is incorrect"

2010-04-06 Thread Isaac Truett
@Kathrin - That is a really useful feature. But I don't think the Enhancer is going to show up in that list since it's run in the background by the plugin, rather than being launched by the user. @Miguel&Keith - Do either of you have greater insight into the DataNucleus Enhancer and what paramete

Re: UiBinder - How to refer to /war/MyApplication.css ?

2010-04-06 Thread TalkinJive
Hi Kathrin, Thanx 4 this clue. But I don't find the relative path smart (you may have a lot of ../../..). And what if you refactor the packages ? I think there is a clever solution. Don't you ? In the opposite case, UiBinder miss an easy solution. Gérald. On 5 avr, 15:53, Katharina Probst wro

Re: UiBinder - How to refer to /war/MyApplication.css ?

2010-04-06 Thread Ian Bambury
Why do you need to refer to it at all? Ian http://examples.roughian.com On 6 April 2010 18:15, TalkinJive wrote: > Hi Kathrin, > > Thanx 4 this clue. > > But I don't find the relative path smart (you may have a lot > of ../../..). And what if you refactor the packages ? > > I think there is a

Re: Managing file in GWT

2010-04-06 Thread bitliner
Thannks for the answer. I understand that GWT is Javascript platoform, and sorry if i have explained my problem badly. I wanted to mean creation of my file on the server. I'm using RPC, but when my java class on the server use FileOutputStream to create the file there are problems with this class,

Re: Managing file in GWT

2010-04-06 Thread kozura
Anything in Java can be used on the server side, GWT imposes no restrictions. However writing a servlet app may require some things to be done a little different. Check this thread from this morning: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/05fc009353f8aad2. jk On

Re: Can't debug client code from Eclipse

2010-04-06 Thread Rajeev Dayal
Glad its working. Do you mind filing an issue for this? On Tue, Apr 6, 2010 at 12:42 PM, Dan Dumont wrote: > It was a scoping problem.I needed to use a closure in the native js > method to wrap the callback, because even though passing the function ref > works in js, to run in java it needs

Re: iFrame

2010-04-06 Thread Jan Ehrhardt
I would create two modules in my GWT app. The first module is the application itself, it will be started and runs as expected. The second module contains only these parts, that are required to run inside the iframe. You can create the iframe and load your app's JavaScript into the iframe's documen

Triggering a common event before any event

2010-04-06 Thread DK
I have a left-nav which I am hiding/showing based on the user's logged in status. All my events are history managed. If a user bookmarked a url and is coming to a url directly, I need to intercept the request and send him to the login page. Once he is authenticated, I need to send him to the reques

Re: Supporting mysite.com/[username] urls with a gwt app?

2010-04-06 Thread markww
After reading some on servlets in general, I guess what I'm looking for is a way to define a 'default' servlet. In other servers, you can do this: greetServlet / and any url which is not handled by another pattern would get served by the one above. This is exactly what I need, I jus

Re: help integrating GWT project to an existing Web Project (on Tomcat) within Eclipse

2010-04-06 Thread aish sundar
Hi Keith, Thanks for the reply again. I checked /WEB-INF/lib and it did have FooShared.jar within it. I also unzipped the jar and was able to find GreetingService.class within it. Now I am not quiet sure whats that I am missing at this point. May be I could try running your project locally, but

Re: NullPointerException at GWTShellServlet.doGetPublicFile (GWT 2.0.3) - GWT Eclipse plugin 1.3.2

2010-04-06 Thread Rajeev Dayal
Can you post the contents of your web.xml file? On Mon, Mar 29, 2010 at 10:53 AM, Marek wrote: > Hi, > I have problem with running development mode from GWT Eclipse plugin > version 1.3.2. I'm connecting to dev mode with Chrome. In logs I find > this: > > [WARN] /com.test.Test/C43A8DC1E50D698B54

Re: clean compile gives "the parameter is incorrect"

2010-04-06 Thread Miguel Méndez
You are right. It won't show up there since we don't create a launch configuration for enhancement. Basically, we launch the enhancer as described in http://code.google.com/appengine/docs/java/datastore/usingjdo.html"Enhancing Data Classes" section. The problem could be the length of the classpa

Re: Best practices for GWT-Eclipse and war deployment

2010-04-06 Thread bradrover
Jon, yes I would like to eventually use maven for this. I'm not really sure how to migrate the default project structure to a maven project structure. I will look into it though. Brad On Apr 6, 11:16 am, Jon Vaughan wrote: > It would be better practice not to rely on the IDE; use the plugin to >

Re: clean compile gives "the parameter is incorrect"

2010-04-06 Thread Isaac Truett
Thanks, Miguel! John, I'd suggest trying to run com.google.appengine.tools.enhancer.Enhance from the command line and see if you get the same error. See Enhancing Data Classes at the docs URL Miguel provided. And you should be able to get the classpath that Eclipse constructs from your project's b

Re: Supporting mysite.com/[username] urls with a gwt app?

2010-04-06 Thread Sripathi Krishnan
This is the right URL pattern to match all requests */** --Sri On 6 April 2010 23:41, markww wrote: > After reading some on servlets in general, I guess what I'm looking > for is a way to define a 'default' servlet. In other servers, you can > do this: > > >greetServlet >/ > > >

Re: Supporting mysite.com/[username] urls with a gwt app?

2010-04-06 Thread markww
Hi Sri, Ok I'm using that: greetServlet com.me.test.server.GreetingServiceImpl greetServlet /* but when I try this url: http://localhost:/foo it doesn't work, my browser reports: HTTP ERROR: 405 HTTP method GET is not supported by this URL RequestURI=/

SV: Supporting mysite.com/[username] urls with a gwt app?

2010-04-06 Thread Hermod Opstvedt
Hi GET is not supported - The GWT servlets only support POST. Hermod -Opprinnelig melding- Fra: google-web-toolkit@googlegroups.com [mailto:google-web-tool...@googlegroups.com] På vegne av markww Sendt: 6. april 2010 20:46 Til: Google Web Toolkit Emne: Re: Supporting mysite.com/[usernam

Re: Supporting mysite.com/[username] urls with a gwt app?

2010-04-06 Thread Sripathi Krishnan
Right - GETs are not supported. Create a new Servlet that does not inherit from GWTs servlet. --Sri On 7 April 2010 00:27, Hermod Opstvedt wrote: > Hi > > GET is not supported - The GWT servlets only support POST. > > Hermod > > -Opprinnelig melding- > Fra: google-web-toolkit@googlegro

Re: Supporting mysite.com/[username] urls with a gwt app?

2010-04-06 Thread markww
Ok but if I make a new servlet that does not inherit from GWT's servlet, how can I get it to serve my "project.html" and associated compiled javascript files? Thanks On Apr 6, 11:59 am, Sripathi Krishnan wrote: > Right - GETs are not supported. Create a new Servlet that does not inherit > from G

Re: Architectural ideas for a multi-app/module project

2010-04-06 Thread lineman78
You can use the GWT Exporter project to create interfaces between them all and include the modules separately. I have been playing with a similar path, but unfortunately am unable to share the code. Essentially each sub-module populates an Element and the underlying software asks for that element

Re: clean compile gives "the parameter is incorrect"

2010-04-06 Thread John V Denley
Thanks for all your hints and tips guys, I will have a go at trying to figure out what to do from everything you have written although at the moment it all sounds like double dutch to me (im not a "real" programmer- just someone who has managed to learn everything ive needed to do to get a web app

Use ClientBundle for static checking without image bundling?

2010-04-06 Thread Graham J
Hello, I appreciate the need for ClientBundle/ImageBundle/CssResource when an application is deployed, but it seems like a huge hassle during development. When using these techniques, every time an image is changed or a line of CSS tweaked, the project has to be recompiled, or at the least, resta

Re: UiBinder - How to refer to /war/MyApplication.css ?

2010-04-06 Thread Graham J
I recall that it's specifically not possible to refer to an asset that is at a higher level than the ui.xml file. As Ian says, why refer to the sheet at all? If the .css file is in your public folder, and is being attached to the page, then you can simply refer to the styles within it by name. -G

Re: Supporting mysite.com/[username] urls with a gwt app?

2010-04-06 Thread Sripathi Krishnan
Easiest thing to do - 1. Rename project.html to project.jsp 2. Put the following fragment in your web.xml indexpage project.jsp indexpage /* That way you don't have to write any java code. --Sri On 7 April 2010 00:33, markww wrote: > Ok but

Re: gwt-dispatch, gwt-presenter, mvp4g

2010-04-06 Thread PhilBeaudoin
I'll take this opportunity to shamelessly plug my own take on the MVP architecture: http://code.google.com/p/gwt-platform/ I started using gwt-presenter, but I ran into a number of problems with code-splitting, lazy-loading and weakly-coupled nested presenters. So I created GWTP, a fork of gwt-pre

Re: clean compile gives "the parameter is incorrect"

2010-04-06 Thread John V Denley
Just as an FYI, using Kathrins suggestion (How to For Dummies: Select Debug view by going to "Window|Open Perspective|Debug" and then select the debug window by going to "Window|Show View|Debug" then right click the last item in the list shown and select "properties") The result I was getting fr

Re: clean compile gives "the parameter is incorrect"

2010-04-06 Thread John V Denley
Just as an FYI, using Kathrins suggestion (How to For Dummies: Select Debug view by going to "Window|Open Perspective|Debug" and then select the debug window by going to "Window|Show View|Debug" then right click the last item in the list shown and select "properties") The result I was getting fr

Re: clean compile gives "the parameter is incorrect"

2010-04-06 Thread John V Denley
Just as an FYI, using Kathrins suggestion (How to For Dummies: Select Debug view by going to "Window|Open Perspective|Debug" and then select the debug window by going to "Window|Show View|Debug" then right click the last item in the list shown and select "properties") The result I was getting fr

Using with EnumSet on client side

2010-04-06 Thread zenMonkey
It seems that client side code can't work with EnumSet class. Is this a known issue or am I doing something wrong? I get this runtime error message: java.util.EnumSet.EnumSetImpl is not default instantiable (it must have a zero-argument constructor or no constructors at all) and has no custom s

ava.lang.NoClassDefFoundError: Could not initialize class com.google.gwt.rpc.server.CommandSerializationUtil

2010-04-06 Thread tobias
Hi I am trying to get the demo Dynatable running but I keep getting the following error message on the server side: Connection received from localhost:52226 Apr 4, 2010 2:19:10 PM com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [127039075030] javax.servlet.ServletContext

Having both static and dynamic (switching) views in MVP model

2010-04-06 Thread Neighbour
In the example Contacts.zip there are two views - ContactsView and EditContactView. They are attached to root panel. And there is a switching between them. I'd like to have two views - one static HeaderView and one dynamic - either ContactsView or EditContactView. Currently I solved this by doing t

GWT hosted mode - socket connection

2010-04-06 Thread whitewash
Hello, I'm developing an app which requires socket connection by some of its RPC (and also non-RPC) servlets. This connection is needed for example by a JDBC driver. In GWT 2.0, the Dev mode (jetty server) now disallows socket connections, so I've been searching way to overcome this restriction (I

JavaScriptObject deep copy.

2010-04-06 Thread Dean Huffman
Since it took me 3 hours to figure out why this doesn't work and I could not find any other post on the subject, here is one way to do a deep copy of a JavaScriptObject using JSNI. public static final native JavaScriptObject deepCopy(JavaScriptObject obj) /*-{ if (Object.prototype.toString.call(

OPTIONS method RequestBuilder

2010-04-06 Thread javaci
Hi, I am working on a basic GWT project. Application sends a GET methos HTTP request and gets the response back. It works fine on IE on Windows XP SP3. (1) But on firefox 3.6.2 response can not be received successfully, response status code=0 and getText() returns empty. I monitor HTTP traffice

Re: DecoratedPopupPanel / Visual Themes

2010-04-06 Thread Blessed Geek
Coincidentally, I am here at this group to ask a similar question. DialogBox is a rather simplified widget and the GWT team has taken extraneous efforts that disallow the caption from being modified. DialogBox caption bar does not have close button and it is not re- sizable through visual means. S

Re: GWT Developer Plugin is not found in Firefox

2010-04-06 Thread O.c
Hi, I had this same problem. You need to goto this link http://gwt.google.com/missing-plugin/MissingPlugin.html Click the download button and then click allow. Regards On Fri, Apr 2, 2010 at 1:43 PM, Christopher Conroy wrote: > On Fri, Apr 2, 2010 at 7:38 AM, na...@hu.inter.net > wrote: > > I se

Live scores client / JMS Consumer

2010-04-06 Thread JP
Hi guys, I have created an application for broadcasting live scores from a few sports games. Right now this application consists of a Flash client and a BlazeDS server. The BlazeDS server is more or less a Java Message Server. This sort of works... but I am not that satisfied with it. The Flash c

css file in gwt.xml

2010-04-06 Thread Meera
Hi, I am new to GWT. I am looking at the stockwatcher example in google gwt tutorial. I have StockWatcher.css in war folder and I am trying to use this .css in gwt.xml module file. For some reason it is not reading the css file from gwt.xml file. If I refer the file from host page (.html) it wor

GWT and Zend framework JSON communication

2010-04-06 Thread İNGİLTERE EMRE BEY
hi, I am new to GWT framework and i want to make connection between GWT UI and Zend JSon-rpc can you please help me with this thanks -- 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...

Click on ComboBoxItem causing application reload in IE7 IE8

2010-04-06 Thread Sinisa Avramovic
During development of an GWT application, we have discovered starnge behaviour of our application using IE7 or IE8. The same application ist running wothout any problems under Firefox 3. One View is causing application reload, every time we click on the ComboBoxItem. Here ist the example Code we

How invoke a external ws form my server-side

2010-04-06 Thread Vertik
Hi, I want to generate form wsdl file a client side (would be my server side) to invoke external ws. How Can i do it?? If i use wsdl2java tool to generate client side it would be works to use in gwt app?? (all without appEngine) or is necessary create using different tool? web appserver<-using ja

Documentation for GWT-RPC Format

2010-04-06 Thread senk.christian
Hey GWT-Guys, is there a documentation for the native gwt-rpc format? or is this all "in-code" documented how the serialization works? :) Greetings from Germany -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send e

  1   2   >