Issue with browser Refresh

2010-06-05 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 there

Re: Touchscreen laptops - access touch events?

2010-06-05 Thread Sripathi Krishnan
On iPhone/iPad, mobile safari raises touch events. You can write javascript code to listen to these events. Since these events are browser specific, GWT doesn't

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

2010-06-05 Thread spierce7
I've got a Grid with click handlers inside of an Absolute Panel. When I'm clicking the grid to trigger some of the events, particularly with drag events, I've noticed that different parts of my grid are selected/ highlighted. Is there a way to control this and turn this off for different widgets? I

Re: Touchscreen laptops - access touch events?

2010-06-05 Thread spierce7
I don't think there is a way to access touch events in and of themselves. Touch screens are just simply another way of controlling the mouse for the computer. In terms of phones, when they touch a link, its equivalent to them clicking the link. Basically what I'm saying is that a touch event should

Touchscreen laptops - access touch events?

2010-06-05 Thread Dominik Steiner
Hi there, is there a way to get touch events from touchscreen laptops or desktop computers? Am I right that only the iphone and android browser support touch events so far? So that it is not possible to access those touch events from the touchscreen computers? Thanks Dominik -- You received th

can I have a hidden column in a flextable

2010-06-05 Thread alexl
I want to have a hidden column for the row id, or is there a better way to do it? so I can tell the corresponding mysql db delete from table where rowid=rowid -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send emai

Re: building a gui with different panels - nothing works...

2010-06-05 Thread Magnus
> What do you try to archive? I would like an outer edge (the north, south, east, west of my outer dockpanellayout). Then, at the top of the inner center, there should be a menu bar. At the bottom should be a status bar. In the center there should be the "current main panel" (which appeares when

Re: building a gui with different panels - nothing works...

2010-06-05 Thread Magnus
Hi, in one of my setups, I have the following nested layouts: DockLayoutPanel -> VerticalPanel -> HorizontalPanel -> SimplePanel (Assume for the following that the HorizontalPanel is shown with a red frame.) This works fine: The inner contents are well shown and the SimplePanel is centered with

Re: building a gui with different panels - nothing works...

2010-06-05 Thread fmod
Hi, What do you try to archive? At the end you are building a web page. There is nothing wrong in using CSS :) If by your top Panel was just for having 20px around the inner Panel, then you can archive the same goal using .panel { margin: 20px; }. And changing the style with p.setStyleName("panel

Re: Hibernate problems after deploying to google appspot

2010-06-05 Thread Emma Cole
Ok thanks, i'll find a different host :) On Jun 3, 7:51 am, Sripathi Krishnan wrote: > You CANNOT connect to databases when using google app engine. GAE has > several restrictions, you should go their documentation and post follow up > questions on the GAE user forum. > > --Sri > > On 1 June 2010

Re: building a gui with different panels - nothing works...

2010-06-05 Thread Magnus
Thank you very much! Your code works for me, but I have the following questions: - When I add a child panel to the inner DockLayoutPanel (p): How can I make them centered horizontally and vertically? (I tried an intermediary LayoutPanel as you did at the outer DockLayoutPanel) - How can I se

Re: 'gwtOnLoad' of object [object DOMWindow] is not a function

2010-06-05 Thread Thomas Broyer
On 4 juin, 08:56, cy dev wrote: > i've tried compiled my gwt project and run the project html in my pc, > all ie, firefox and safari can open my page except google chrome > displays a blank page.  errors are displayed in the chrome console. > anyone has solution to this? > > 3Unsafe JavaScript a

Re: building a gui with different panels - nothing works...

2010-06-05 Thread fmod
If you want to have nested Layout Panels, they need to be inside the "Layout" family. Otherwise they will not render well. So instead of using a SimplePanel, if u expect to attach another Layout use LayoutPanel. Note the LayoutPanel middle... public class TestLayout implements EntryPoint {

Re: Unable to start App Engine

2010-06-05 Thread Sripathi Krishnan
> > java.lang.NoSuchMethodError: org.mortbay.thread.Timeout This usual indicates problems with the classpath. Do you have multiple versions of Jetty in your classpath by any chance? To identify duplicate classes in eclipse, hit Ctrl+Shift+T to bring the 'Open Type' dialog. Search for the class or

Re: Unable to start App Engine

2010-06-05 Thread jamesmikedup...@googlemail.com
I got this error after trying to use my own compiled gwt trunk, if that helps. On May 29, 3:54 am, Anoop John wrote: > I am getting the following error when i starts the AppEngine in Dev > mode in eclipse. I am using AppEngine 1.3.4. Please let me know what > should i do for this. > > Starting Je

building a gui with different panels - nothing works...

2010-06-05 Thread Magnus
Hi, I am new to GWT and I expected to get methods to build nice web 2.0 guis. However, I am somewhat disappointed. I try to build a gui with the different layouts, nested and combined them, but nothing really works, i. e. nothing does what I am expecting it to do. The following is just an example

RichTextArea Content CSS

2010-06-05 Thread Axel Kittenberger
Dear Group, Did I oversee something? How can I specify the content CSS of a RichTextArea (which is a iframe on Mozillas). E.g. the GWT default Theme sets font-family to "Arial Unicode MS,Arial,sans-serif" while in my RichTextArea I got a browsers defaults Times New Roman serif font. -- You recei

Re: GWT2.1 M1- Issues with KeyPressEvent and registering the Enter key pressed

2010-06-05 Thread Víctor Mayoral
Thanks Flueras Bodgan! You're right check http://code.google.com/p/google-web-toolkit/issues/detail?id=5003! I'm glad we find the problem! On 5 jun, 12:12, Flueras Bogdan wrote: > Hi vidyanad, > > Just try with addKeyUpHandler() event instead. > > GWT 2.1 seems to tackle the key events problem

Re: Problems releated to javaMail in GWT application

2010-06-05 Thread Asmaa EL MOKHTARI
okay thank you so mutch. 2010/6/5 Stefan Bachert > Hi Asmaa, > > GWT-RPC is as simple as possible. > Any starter application created with the eclipse plugin will create an > GWT-RPC call. > You just need to create two interfaces and one implementation for the > service. > > Just have a look at

Re: Spring Roo and GWT

2010-06-05 Thread Subhrajyoti Moitra
I also could not get the initial example in Roo+GWT running. Does any one know of how to go about using Roo with GWT. Thanks, Subhro. On Sat, Jun 5, 2010 at 7:08 PM, Stefan Bachert wrote: > Hi Alek, > > did you make Spring Roo run with GWT? > I tried the "petclinic" sample. > Some stuff (enums,

Re: Chunking File Upload

2010-06-05 Thread Ken
So there is now way to take a file that has been selected for upload and process it before it goes to the server? I looked at Google Gears and it doesn't look like it is suitable for us to use either. I might go with a Java applet to handle the upload, but then it would have to be signed. I gue

HOWTO call Printer on client side

2010-06-05 Thread Garin Yan
Hi All, Is there any way to call printer on client side in GWT? Thanks, -- Garin Yan Software Engineer, International Service Founder International Co.,Ltd. Address: Suzhou International Science Park (Phase V) 328 Xinghu Rd., Suzhou, Jiangsu, P.

Re: SimplePager with UiBinder

2010-06-05 Thread Tristan
looks like SimplePager requires a constructor argument public SimplePager(PagingListView view) { FlowPanel p = new FlowPanel(); p.add(prevPageButton = makeButton("Previous Page", "PREV")); p.add(nextPageButton = makeButton("Next Page", "NEXT")); p.add(remove5Button = makeButton("Re

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

2010-06-05 Thread Tristan
> For the places need to carry a parameter, it'll need to be defined as > a class instead of enum. The other effect of having your places as enums is that they cannot be extended. So if you provide a framework, people are stuck with the places you define as enums. I had a similar enum extension pr

Re: Problems releated to javaMail in GWT application

2010-06-05 Thread Stefan Bachert
Hi Asmaa, GWT-RPC is as simple as possible. Any starter application created with the eclipse plugin will create an GWT-RPC call. You just need to create two interfaces and one implementation for the service. Just have a look at the GWT-docu http://code.google.com/intl/de-DE/webtoolkit/doc/latest

Spring Roo and GWT

2010-06-05 Thread Stefan Bachert
Hi Alek, did you make Spring Roo run with GWT? I tried the "petclinic" sample. Some stuff (enums, boolean) is not supported, and I could not create a working war. Just development mode is working. Did you get more out of Spring roo, yet? Stefan Bachert http://gwtworld.de On 4 Jun., 10:29, Ale

Re: Asynchronous callback

2010-06-05 Thread Stefan Bachert
Hi Ren, each call is related with an http-request. I would try to minimize the number of http-requests (e.g. GWT-RPC) When an event causes multiple subrequests, it is a good idea to collect them and deliver them with a single http-request, However, your service interface must be able to do so. O

Re: can not set breakpoint (2)

2010-06-05 Thread yves
Kozura, Thanks for your answer. I suddenly feel very stupid... :-))) I was so confused by the terminlogy "run in development mode" that I forget that debugging is performed obviously in the debug mode Have a nice day Yves On 4 juin, 21:01, kozura wrote: > Maybe try Debug As instead of Run A

SerializationException, Hibernate, no sets

2010-06-05 Thread fazie
Hi, I've got problem using GWT+Spring+Hibernate+Maven App. The SerializationException occurs when I use class including another class (DTO). public class AddressDTO implements IsSerializable { private static final long serialVersionUID = 1L; private int addressid; ( ... oth

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

2010-06-05 Thread fmod
Hi, I find your post quite interesting. I'm being stuck with similar questions for a while. Is amazing how an app can become a big mess in no time. There are a few questions / thoughts I've about your design. > In my opinion, a presenter should NOT attach the corresponding view to > DOM or a cont

Re: GWT2.1 M1- Issues with KeyPressEvent and registering the Enter key pressed

2010-06-05 Thread Flueras Bogdan
Hi vidyanad, Just try with addKeyUpHandler() event instead. GWT 2.1 seems to tackle the key events problems which were somekind of 'mess' until 2.1. You have tried to use the addKeyPress() handler, but be aware that in theory: "keypress - Fires when an actual character is being inserted in, for i

How to internationalize StackPanel with uibinder?

2010-06-05 Thread googelybear
Hi, I am using a StackPanel in ui binder and would like to internationalize the header texts of the stacks. After going again through the i8n doc on how to translate attributes I tried the following straight-forward approach: (...

Fwd: Business & Jobs Opportunity

2010-06-05 Thread Saima Waseem
*Make and extra income from home. International company seek motivated individuals to work from home. Positions available data entry, research and more* www.onlinejobs.com! www.makemoney.com! Note : Its very great opport

Re: GWT2.1 M1- Issues with KeyPressEvent and registering the Enter key pressed

2010-06-05 Thread Víctor Mayoral
Hey vidyanand! I was also trying something similar and I got the same results. If you try to print the Unicode character code of the ENTER, KEY_UP, ... you also obtain 0. Pretty weird. On 4 jun, 18:28, vidyanand wrote: > Hi > > I just updated to GWT 2.1 Milestone 1 build and after that I am hav

Re: Asynchronous callback

2010-06-05 Thread Sky
It depends how big your request and response objects that are being send back and forth are. If they are single, relatively normal length string messages going there and then back, then it's going to be very inexpensive and very fast. In the situation where your messages are fairly small like this,