Issue with browser Refresh

2010-06-06 Thread GWTNewbie
Hello: I am a newbie to GWT. I am developing an app (without MVP). The app has a login page and a welcome page. I am using the Entry Point class itself as my Event listener and History ValueChangeHandler. The scenario is as follows, when the user launches the URL the system first validates if

Re: Prevent Selection of Image

2010-06-06 Thread mP
Some browsers support a css property that literally prevents the applied elements from being selected. If i recall one must add javascript for a particular selection event and cancel for IE and opera but Safari and FF are easy with a css property being enough. -- You received this message

Re: GWT internal documentation

2010-06-06 Thread mP
Why not browse the source. To make it more interactive set some breakpoints and debug a compile session and poke around. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

layout problems with positioning or aligning content

2010-06-06 Thread Magnus
Hi, here is the raw layout for my app, a chess application: could not post link to image My goal: A menubar at the top and a defined client region that contains the actual main panel, a form or a chess bord... The outer panel is a DockLayoutPanel. The green border marks its center region. The

Re: layout problems with positioning or aligning content

2010-06-06 Thread Magnus
The link: http://h1403230.stratoserver.net/apache2-default/tmp/gwt-layout.png -- 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

Re: How to not allow users to select something, say a grid?

2010-06-06 Thread Stephen Haberman
I use this css hack: .notclickable { cursor: default; user-select: none; -moz-user-select: none; -webkit-user-select: none; } Not sure where user-select is/is not supported, but it works in the browsers I personally use. :-) - Stephen -- You received this message because you are subscribed to

Re: How to not allow users to select something, say a grid?

2010-06-06 Thread Stefan Bachert
Hi, the general way to get rid of unwanted events is to eat them. Make an handler and if needed say this events has been handled. In your situation to change Event.sinkEvents may help. http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/Event.html But aware, a

Re: RichTextArea Content CSS

2010-06-06 Thread Stefan Bachert
Hi Axel, what are you going to do? It is not likely to set a font-size to size X while css set it to Y. You probably have to change the RichTextFormatter. Stefan Bachert http://gwtworld.de On 5 Jun., 17:31, Axel Kittenberger axk...@gmail.com wrote: Dear Group, Did I oversee something? How

Re: Spring Roo and GWT

2010-06-06 Thread Stefan Bachert
Hi Subhrajyoti, The best I found was http://www.emforge.net/web/akakunin/blogs/-/blogs/petclinic-gwt-application-in-less-then-30-minutes However, the following thing I did not make run * to deploy a working war * to start the mobile variant At the moment Spring Roo 1.1M1 is not even usable for

Re: HOWTO call Printer on client side

2010-06-06 Thread Stefan Bachert
Hi, Yes, you are able to print the current browser window. http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/Window.html Stefan Bachert http://gwtworld.de On 5 Jun., 16:10, Garin Yan yangu...@gmail.com wrote: Hi All, Is there any way to call printer on

how to open a save as dialog box on the client side

2010-06-06 Thread Alex
i have a html 5 canvas and a button, once the button is pressed, i want to open a save as dialog box for the user to save the drawing on the canvas. there is no server side. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Question About Constants(.properties) file of GWT

2010-06-06 Thread veeravelli kiran kumar
Hi Stefan, Thanks for the reply. Yes I was taking about i18n . What approach should I follow to use labels (labels for various components in the UI ) from external file (like the bundles used in JSF) where i can change key value pairs to reflect the changes in the UI. Thanks V Kiran Kumar --

Re: How to change the CSS Caption part of gwt-DialobBox

2010-06-06 Thread koolootoomba
BIG THANKS! It is really cruicial to know this, since every non- trivial GWT widget is using these hard-to-reach CSS classes. By the way, specifically for the DialogBox it is goot to keep the HTMLPanel tags in the UIBinder. So instead of this: g:DialogBox ui:field='myDialogBox'

Re: can I have a hidden column in a flextable

2010-06-06 Thread Dan
Rather than put the ID in the flextable or grid, I hang on to the returned data and use that. a. After the RPC call, on success, I assign the result to a class field: data = result; b. Then when I have a row number to process, I do something like this:

Re: Spring Roo and GWT

2010-06-06 Thread Alek
I used last Spring Roo milestone, installed it according to the official manuals. I just typed: script -f samples/expenses.roo And then I built application with Maven. Everything should work. PS Really, this approach buit with patterns... so smart... but it's only first milestone. So now I

Calculation of widget size during onModuleLoad() = move to DeferredCommand?

2010-06-06 Thread Chris Lercher
Hi, I want to perform a size calculation on a composite generated by UiBinder, using UIObject.getOffsetWidth(). The composite's ui.xml (simplified) looks like this: ui:style .test { width: 80px; height: 50px;

Maven is obfuscating and GWT2.1 should not depend on it

2010-06-06 Thread Blessed Geek
Maven is great when used as a more capable Ant, but sucks when used for everything else that it has been so far been used for (like attempting to create the Universe in 7 days). Maven as a build dependency and testing setup tool is not bad but the way it has been misused for everything else so

Re: RichTextArea Content CSS

2010-06-06 Thread Axel Kittenberger
I wanted it to have the same fontFamiliy (Arial/Helvetica like) as the whole document. if richtext is the RichTextArea I found this to work in Firefox. richtext.addInitializeHandler(new InitializeHandler() { public void onInitialize(InitializeEvent ie) {

Re: Maven is obfuscating and GWT2.1 should not depend on it

2010-06-06 Thread Alan Chaney
+1 Blessed Geek wrote: Maven is great when used as a more capable Ant, but sucks when used for everything else that it has been so far been used for (like attempting to create the Universe in 7 days). Maven as a build dependency and testing setup tool is not bad but the way it has been

Re: RootPanel vs RootLayoutPanel

2010-06-06 Thread Stefan U.
Hi John, On 4 Jun., 20:13, John bradley.r...@gmail.com wrote: I'm new to GWT and trying to put together a simple login screen that displays an alert window when the user presses the Login button.  The layout is done using UIBinder in a g:DockLayoutPanel.  Which means that my LoginWindow class

Re: RootPanel vs RootLayoutPanel

2010-06-06 Thread googelybear
RootLayoutPanel is designed for the new full screen Layout panels (GWT 2.0 and newer). RootPanel for the regular panels. Use RootLayoutPanel when you have at least 1 layout panel in your app. @Stefan: Can you explain what's wrong with using uibinder and RootPanel as long as you do NOT have any

Re: Touchscreen laptops - access touch events?

2010-06-06 Thread Dominik Steiner
Thanks for your answers, it confirms then what I was thinking. -- 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

Re: An example Place Service(Activity Manager) implementation maintains complex dependency between presenters in MVP

2010-06-06 Thread Jiang Zhu
Thanks for your reply and suggestions. To answer your questions, I also found out that in most of time providing the place to a Presenter looks redundant. I designed the interface like that because I was thinking a Presenter might serve more than one type of Place, I'm still not clear about this

Re: How can I prevent from reloading the page when the reload button on browser is clicked?

2010-06-06 Thread Dan
Warn the user that his action will log him out, or whatever. Like this, using a WindowClosingHandler: Window.addWindowClosingHandler(new Window.ClosingHandler(){ @Override public void onWindowClosing(ClosingEvent event) { event.setMessage(If you leave or refresh this page, +

Re: Issue with browser Refresh

2010-06-06 Thread GWTNewbie
Problem solved !! Issue not related to GWT !! On Jun 5, 11:08 pm, GWTNewbie venk...@gmail.com wrote: Hello: I am a newbie to GWT. I am developing an app (without MVP). The app has a login page and a welcome page. I am using the Entry Point class itself as my Event listener and History

Re: RootPanel vs RootLayoutPanel

2010-06-06 Thread Stefan U.
@Dennis, thanks for correcting me. I had this confused because I started using the new GWT 2.0 layout system the same time I started using UiBinder. So, to repeat this once more: the issue of RootLayoutPanel vs. RootPanel has nothing to do with UiBinder. If you are not using any of the

Re: Maven is obfuscating and GWT2.1 should not depend on it

2010-06-06 Thread Giuseppe La Scaleia
Il 07/06/10 00.43, Alan Chaney ha scritto: +1 Blessed Geek wrote: Maven is great when used as a more capable Ant, but sucks when used for everything else that it has been so far been used for (like attempting to create the Universe in 7 days). Maven as a build dependency and testing setup

[gwt-contrib] [google-web-toolkit] r8228 committed - Intruducing AutoDirHandler, a handler for automatically adjusting the ...

2010-06-06 Thread codesite-noreply
Revision: 8228 Author: tomer...@google.com Date: Sun Jun 6 05:06:51 2010 Log: Intruducing AutoDirHandler, a handler for automatically adjusting the direction of an object (typically a TextBox variant) while text is being entered. This handler is then used to add BiDi support to TextBox and