Last Hope for GWT

2010-01-02 Thread Jignesh Prajapati
Hi i m Totally new bee wid GWT. i created module using Cmd line *Webappcretor -out dirname module1.submodule1* it create submodule.html,submodule.java and submodule.nochase.js its OK This is my first page. now i want to Create new Page in same Project like submodule2.html now i created

Image editor

2010-01-02 Thread Stefan Bachert
Which image editor could you recommend for working with GWT? Are there image editors as eclipse plugins available? Thank you Stefan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Import client interface outside of gwt, to allow the use of proxy outside of the application

2010-01-02 Thread sagi butbul
i created a default gwt application myapp the client package contains by default two interfaces GreetingService and the async version i would like to create a proxy to GreetingService from another java application by importing the interfaces to the new application. Is it possible ? if not what

Re: addDomHandler method is protected, how to add DomHandler without overriding widget ?

2010-01-02 Thread Thomas Broyer
On Jan 2, 1:17 am, fvisticot fvisti...@gmail.com wrote: Thank you for your answer but it is not exactly what i woulk like... The events should be the new events i have created and registered with my DomImpl. (TouchStartEvent, TouchEndEvent)..and not HasMoveEvent, HasResizeEvents... I used

Defining multiple ImageResource in a same interface GWT2 ie8 problem

2010-01-02 Thread makoki
Someone else has found a bug with imageresource and ie8. I was trying ImageResource in a little widget to be used in a larger project and found that when defining more than one imageresource in the same interface ie8 shows all of them. I've don't got any deferred-binding parameters enabled nor

Re: Last Hope for GWT

2010-01-02 Thread mariyan nenchev
I suggest to read gwt getting started again, because you don't understand the idea. There is ONLY ONE page, called host page(this is not mandatory but best practice). So one html, one nocache.js, one module, many views. On Sat, Jan 2, 2010 at 10:08 AM, Jignesh Prajapati jig4phys...@gmail.comwrote:

Borders on Decorator panel

2010-01-02 Thread Marcelo Sena
I don't know how to change the color in a decorator panel. I tried looking for help in the documentation so I wrote this to my main css: .gwt-DecoratorPanel.topLeft{ border-style: solid; border-width:1; border-color: RED; } But the border is still blue, what do I do? -- You

Re: Last Hope for GWT

2010-01-02 Thread mariyan nenchev
You will only loose if you leave gwt. On Sat, Jan 2, 2010 at 2:19 PM, mariyan nenchev nenchev.mari...@gmail.comwrote: I suggest to read gwt getting started again, because you don't understand the idea. There is ONLY ONE page, called host page(this is not mandatory but best practice). So one

Re: Last Hope for GWT

2010-01-02 Thread Qian Qiao
On Sat, Jan 2, 2010 at 16:08, Jignesh Prajapati jig4phys...@gmail.com wrote: Hi i m Totally new bee wid GWT. i created module using Cmd line Webappcretor -out dirname module1.submodule1 it create submodule.html,submodule.java and submodule.nochase.js its OK This is my first page. now i

Re: Last Hope for GWT

2010-01-02 Thread Marcelo Sena
Actually there are many answers to web development, like jquery... On Jan 2, 9:20 am, mariyan nenchev nenchev.mari...@gmail.com wrote: You will only loose if you leave gwt. On Sat, Jan 2, 2010 at 2:19 PM, mariyan nenchev nenchev.mari...@gmail.comwrote: I suggest to read gwt getting

Re: Last Hope for GWT

2010-01-02 Thread Nicanor Cristian
Actually GWT uses a different approach. What you actually call a page, would be a view in a healthy gwt implementation. To understand more, read something about Web Applications vs Web Sites, MVC, MVP, AJAX and so on... Good luck. On 01/02/2010 09:08 AM, Jignesh Prajapati wrote: Hi i m

Re: Developer Plugin not working on Firefox 3.5.5 on Linux

2010-01-02 Thread Jerome Abela
Thanks for directing me to this issue 4141. Now, I see my case is already taken into account (in comment #3). I'm following the issue to be notified when the problem is fixed. Tell me if you need more information, but it looks like this bug is already under control. Jerome. -- You received

ImageResource: How to resize ?

2010-01-02 Thread fvisticot
I have an ImageResource used in an Image widget with an image size 800x600. I would like to resize this image dynamicaly. The pb seems to be that the image is part of the CSS background property...so when i resize or set the size of the image, only the viewport is modified, the image is not

Re: Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2010-01-02 Thread leslie
I'm seeing the problem as well. But interestingly I didn't see the generated warnings until I stored the List object into a variable on the client. So the RPC call itself is not where the issue is for me. I was returning lists from the server and only using the contents by calling the toArray()

Re: ImageResource: How to resize ?

2010-01-02 Thread Thomas Broyer
On Jan 2, 4:31 pm, fvisticot fvisti...@gmail.com wrote: I have an ImageResource used in an Image widget with an image size 800x600. I would like to resize this image dynamicaly. The pb seems to be that the image is part of the CSS background property...so when i resize or set the size of

Re: Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2010-01-02 Thread leslie
Bah. Writing in haste I worded it so badly. until I stored the List object into a variable on the client. I should have said: until in my client code I assigned the object of type List to a variable declared as type List. and stored the resultant ListFoo object into a variable on the client

Popup is not closed when it dragged

2010-01-02 Thread Anoop John
In my i tried to drag a popup window. Here the popup is not closed after it dragged. I have used a button to hide the popup. Initially when clicks on button it will close, but once the popup dragged it will not closed. Please help me to resolve this issue Code: import

Re: Borders on Decorator panel

2010-01-02 Thread Marcelo Sena
It seems that the border is an image, making it quite troublesome to work with it with CSS. So I decided to work with the middleCenter element of the panel, that gives a nice orange border around my widgets: .gwt-DecoratorPanel .middleCenter{ border-style: solid;

Re: How to use web.xml to authenticate a access to a single page

2010-01-02 Thread philippe
Try with /* url-pattern On 1 jan, 22:40, Dave ladjo...@gmail.com wrote: (Newbie) I have a web page that I want to authenticate users before they are allowed to access the page. I set the authentication parameters in the web.xml but it's not working. I use a hyperlink to get this page. The

Re: Last Hope for GWT

2010-01-02 Thread mariyan nenchev
Bold caps! On Sat, Jan 2, 2010 at 3:53 PM, Nicanor Cristian nicanor.bab...@gmail.comwrote: Actually GWT uses a different approach. What you actually call a page, would be a view in a healthy gwt implementation. To understand more, read something about Web Applications vs Web Sites, MVC, MVP,

Re: Last Hope for GWT

2010-01-02 Thread philippe
There are books to newbee. On 2 jan, 19:37, mariyan nenchev nenchev.mari...@gmail.com wrote: Bold caps! On Sat, Jan 2, 2010 at 3:53 PM, Nicanor Cristian nicanor.bab...@gmail.comwrote:  Actually GWT uses a different approach. What you actually call a page, would be a view in a healthy

Referencing deprecated class warning stack

2010-01-02 Thread leslie
Eclipse 3.5 Galileo Java EE Cocoa Java 1.5.0_13 Mac OS X 10.5.7 GWT 2.0 Hello, I'm seeing a series of warning messages in my console when I attempt to compile my project. Posted below: Scanning for additional dependencies: file:/Users/leslie/Documents/

Re: MVP Article... Source Code?

2010-01-02 Thread mariyan nenchev
could you please post some code as example? On Fri, Jan 1, 2010 at 5:59 PM, Thomas Broyer t.bro...@gmail.com wrote: On Jan 1, 1:16 am, Daniel Simons daniel.simo...@gmail.com wrote: I would be interested to know, for those that have studied the Hupa Project, and now the Contacts Project,

Re: ImageResource: How to resize ?

2010-01-02 Thread fvisticot
Thank you thomas, your help is very usefull !!! Complete solution is available on my blog: http://fvisticot.blogspot.com/2010/01/scalable-image-with-gwt20-and.html On 2 jan, 17:55, Thomas Broyer t.bro...@gmail.com wrote: On Jan 2, 4:31 pm, fvisticot fvisti...@gmail.com wrote: I have an

Re: TabLayoutPanel doesn't show its content

2010-01-02 Thread Satya
I am also facing this problem. Is there any working example that uses TabLayoutPanel? On Dec 17 2009, 5:50 pm, paloalto team bpodevt...@gmail.com wrote: Set the height of the TabLayoutPanel to something. (100%, or value- unit) (via class .gwt-TabLayoutPanel) This is because the header and

Re: How to use web.xml to authenticate a access to a single page

2010-01-02 Thread Dave
I've made some minor progress. I have had some success with deployment. Where the web address is http://somewebsite.appspot.com/#page. That is, I am able to restrict user access on .../#page. I have used the following web.xml. web-app ... security-constraint

Re: Read-only RichTextArea?

2010-01-02 Thread Elchin
One way would be catching all events, and redoing them, but that is a big time hassle, I wonder if there is any way to do it from DOM? On Dec 16 2009, 6:28 pm, Elchin elchin.asga...@gmail.com wrote: Is there a way to makeRichTextArearead-only like TextArea.setReadOnly (true)? What I need in my

RPC vs HTTP requests

2010-01-02 Thread Pion
Communicate with a Server - http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideRemoteProcedureCalls - article mentions about RPC and HTTP techniques. I am wondering what the pros and cons using RPC vs HTTP (doGet(), doPost()) requests? Most of the GWT samples

Re: RPC vs HTTP requests

2010-01-02 Thread Lucas Vargas Freitas Ventura
HTTP requests are synchronized methods, and RPC are a asynchronized method. I think that RPC is the google's implementation of HttpXmlRequest. For Rich Internet Application you will use a lot of ajax, so you will use all most of time RPC. (Sorry, my english isn't good). On Sat, Jan 2, 2010 at

Re: TabLayoutPanel doesn't show its content

2010-01-02 Thread Alejandro D. Garin
Hi, Try to change RootPanel.get(test).add(tab); by RootLayoutPanel.get().add(tab); On Thu, Dec 17, 2009 at 11:54 AM, mariyan nenchev nenchev.mari...@gmail.com wrote: Hi, I tried to use TabLayoutPanel, but it doesn't show its widget. From fire bug i can see that the content of the

Re: RPC vs HTTP requests

2010-01-02 Thread Pion
http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideHttpRequests states, First, because of the single-threaded execution model of most web browsers, long synchronous operations such as server calls can cause a JavaScript application's interface (and sometimes the

Re: RPC vs HTTP requests

2010-01-02 Thread Yozons Support on Gmail
RPC serializes basic java objects and your javabeans based on them, giving you a nice model for programming since in GWT it's all Java when programming. If you use HTTP, you can post name-value string pairs, and then you'll have to process the response string. It's just much less powerful, but

Re: How to use web.xml to authenticate a access to a single page

2010-01-02 Thread Dave
Thanks. It worked. On Jan 2, 1:33 pm, philippe vonck...@yahoo.fr wrote: Try with /* url-pattern On 1 jan, 22:40, Dave ladjo...@gmail.com wrote: (Newbie) I have a web page that I want to authenticate users before they are allowed to access the page. I set the authentication parameters in

Re: Read-only RichTextArea?

2010-01-02 Thread vacorda
You can try something like this this: DOM.setElementPropertyBoolean(getElement(), disabled, true or false); On Jan 2, 5:56 pm, Elchin elchin.asga...@gmail.com wrote: One way would be catching all events, and redoing them, but that is a big time hassle, I wonder if there is any way to do it

Read a file on the server at server startup

2010-01-02 Thread ky
I am trying to have the server read from a file, called config.txt, in the same directory as the main .html file within the war. In hosted mode, I can easily access the file using a Scanner object: Scanner s = new Scanner(config.txt); But this does not work when deployed because the file paths

Re: Authenticate a web page

2010-01-02 Thread Henry
See: http://www.owasp.org/index.php/JAAS_Tomcat_Login_Module Cheers, Henry On Dec 31 2009, 6:27 am, Dave ladjo...@gmail.com wrote: I have a web page that I want to authenticate a user before they are allowed to access the page. I set the authentication parameters in the web.xml but it's not

About to start a course on GWT...

2010-01-02 Thread Henry
Hi, I'm about to teach a course on GWT here in my home city in Canada. Any hints/tips/advice before I start? thx, Henry hc...@apache.org -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to