Re: Activities & Places: How to listen to PlaceChangeEvents without an Activity?

2011-10-11 Thread Ashton Thomas
Ah, that is helpful. Thanks, Thomas! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/7p2GtlKgCbEJ. To post to this group, send email to google-w

code for file uploading using rpc & user login using rpc in gwt 2.4

2011-10-11 Thread srikanth tatipalli
hi all, i have a requirement for file uploading in gwt using rpc mechanism and user login using rpc mechanism .could you please suggest the code and some helpful sites Thank you for in advance. -- You received this message because you are subscribed to the Google Groups "Go

GWT app crashes in run-time when RequestContext interface is used in client code

2011-10-11 Thread expert
I've been fighting with this issue for 3 days and I guess this forum is my last resort. I ran out of ideas why it doesn't work :( I'm using GWT 2.4.0 and JDK 1.6. I was going through this http://goo.gl/mmFuQ tutorial and got stuck with crashing GWT app. The app crashes if I mention com.google.web.

Re: Full page in GWT or just parts?

2011-10-11 Thread Nicolas Antoniazzi
You can build the full page with GWT but you have to keep in mind, that it will bring some problems too. The main problem will be Search Engine. You will have to rely on htmlunit to fix it (generates static version of webpages). The other problem, is that pages will be a bit slower to load (for tw

Re: Activities & Places: How to listen to PlaceChangeEvents without an Activity?

2011-10-11 Thread Thomas Broyer
DomEvent-s have their types lazily created, because they're registered in a global, er, registry, to easily match event types (from the browser, evt.type, i.e. a string such as "click", "mouseover", etc.) to DomEvent.Type instances. Most other events don't need this, but some of them could benef

Full page in GWT or just parts?

2011-10-11 Thread Ed
I am setting up a new page/app with only 2 dynamics parts that are controlled through GWT. In the past I would make the page fully static and only control the dynamic parts with GWT. I am considering creating the complete page with GWT (with UiBinder) as it results in some advantages like: - reso

Re: Activities & Places: How to listen to PlaceChangeEvents without an Activity?

2011-10-11 Thread Ashton Thomas
I don't think this is really "new" You can also define a CustomClass implements PlaceChangeEvent.Handler {} then addHandler(PCE.TYPE, new CustomClass()); As for the .TYPE vs getType(), I do not know the details but if you look at PlaceChangeEvent extends GwtEvent it has the static field TYPE bu

GWT, Spring, Hibernate and JAXB in one Application

2011-10-11 Thread Jan Grüßing
Hi everyone, I'm playing with the thought of starting a (small?) project to improve my programming skills regarding different frameworks. The idea is to create an application that let's you manage and evaluate your sports activities based on data from GPS sport watches (e.g. the this one

Re: Activities & Places: How to listen to PlaceChangeEvents without an Activity?

2011-10-11 Thread benneq
Thank you. Works pretty well :) Is that GWT's new EventHandler structure? I mean: XyzEvent.Handler? No more seperate Handler class? And XyzEvent.TYPE instead of getType()? I like both changes pretty much :) On 11 Okt., 22:39, Jens wrote: > Hi, > > PlaceChangeEvents are fired on the EventBus tha

Re: Unable to Install TomCat!!

2011-10-11 Thread Berkan
I have the exact same problem in two different machines, one running Windows XP SP 2 and the other Windows 7. I have been looking for the solution for a couple of days now but no good.. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group

Re: Multiple Entry Points & GWT Designer, how to choose..

2011-10-11 Thread John Gentilin
Are you saying there is no need for a ticket now ?? Are GPE issues added to the GWT project or do they have their own ? ie. http://code.google.com/p/google-web-toolkit/ Thanks John Gentilin On Oct 11, 6:13 am, Konstantin Scheglov wrote: > Support "gwtd.module.use" marker  to choose single modu

UiBinder and CSS located locally

2011-10-11 Thread SigmaBlu
Is there a way to link a css file to the ui.xml file? For example, I am able to link it by doing the following: The css is located within the same directory as my UiBinder Class and my ui.xml file; so it picks up that css in its root directory. Lets say that the source of my css file is locat

Re: Activities & Places: How to listen to PlaceChangeEvents without an Activity?

2011-10-11 Thread Jens
Hi, PlaceChangeEvents are fired on the EventBus that you passed into your PlaceController. So you can listen to them via: eventBus.addHandler(PlaceChangeEvent.TYPE, new PlaceChangeEvent.Handler() { //implement method }) -- J. -- You received this message because you are subscribed to the G

Adding external jar to client side

2011-10-11 Thread darkling
I have a group of model files defined in an external jar. These are the objects used in my applications. They are shared among many projects. I have no trouble using them on the server side but I can't seem to get the GWT compiler to work with them so I can bring them onto the client side. The file

UiBinder and CSS located locally

2011-10-11 Thread SigmaBlu
Is there a way to link a css file to the ui.xml file? For example, I am able to link it by doing the following: The css is located within the same directory as my UiBinder Class and my ui.xml file; so it picks up that css in its root directory. Lets say that the source of my css file is locat

Activities & Places: How to listen to PlaceChangeEvents without an Activity?

2011-10-11 Thread benneq
Hey guys, I switched my GWT Project to Activities & Places. I have 2 panels: - content - menu For the content I use Activities and it works pretty well. But for the menu I don't want to use them, 'cause the menu is semi-static. Somewhere I read about a similar situation and I think there was sa

Re: setHTML / innerHTML + widget.toString() = events don't fire

2011-10-11 Thread divStar
Thank you very much for your reply! That's what I've actually thought.. I removed that setText(widget.toString()) part. However: extending MenuItem is a pain, because some of the important methods are private and I am not sure how to write some sort of "setWidget()" method, because it'd need to kn

Modifying Mail App.. Help.

2011-10-11 Thread sampath sai
Hi , I need some help/suggestions with architecture. I started GWT slowly getting old of it. My idea is to enhance current Mail app to fit my application. I want to add following features 1) User registration (link will appear at the top panel). 2) Login application (link will appe

how to wait until all the modules are loaded to show the page?

2011-10-11 Thread Raymond Cidad
Hello my friends. I'm trying to find the way to show a progress bar (like gmail), so when a browser try to access the service, IT DOESN'T SHOW THE HMTL FIRST (I MEAN, THE IMAGES, FOOTER, ETC), AND THEN LOAD THE MODULE. I WANT THE WHOLE THING LOAD AT THE SAME TIME? Any ideas? thanks yall. r

Re: Uncaught exception escaped

2011-10-11 Thread Juan Pablo Gardella
It seems rows is null. 2011/10/11 SCK > Hi, > > This is the line 42 : for (MyUser myUser : rows) > > 42 for (MyUser myUser : rows){ > 43 this.setText(i, 0, myUser.getId()); > 44 this.setText(i, 1, myUser.getUsername()); > 45

Re: Uncaught exception escaped

2011-10-11 Thread SCK
Hi, This is the line 42 : for (MyUser myUser : rows) 42 for (MyUser myUser : rows){ 43 this.setText(i, 0, myUser.getId()); 44 this.setText(i, 1, myUser.getUsername()); 45 this.setText(i, 2, myUser.getN

Re: How to remove a row from Flex Table

2011-10-11 Thread misko237
Hi, just one thing to check. Row counting starts with 0. Maybe you're trying to remove last row with wrong index (+1 error). Or trying to remove row from empty table. On Oct 11, 12:01 pm, vikky wrote: > Hi , > >    I am using a Flex Table in which i want to "Add" and "Remove" the > row, Add func

Re: setHTML / innerHTML + widget.toString() = events don't fire

2011-10-11 Thread jhulford
UIObject#toString() is for debugging purposes only. None of the event listeners you've set up are included in that output. The short of it is, you can't do what you're trying to do with the stock MenuBar / MenuItem class. I haven't done this myself, but I'm pretty sure you could extend MenuItem

Re: Developers, please don't ignore reported GWT issues.

2011-10-11 Thread Jens
*"Marking something as "PatchesWelcome" means that we do think it is a good idea, but it ls likely not something we are going to do ourselves any time soon. We will, however, happily accept, review, and integrate high quality patches that implement this behavior. Issue 6401 is a perfect example

Re: Developers, please don't ignore reported GWT issues.

2011-10-11 Thread Jeff Larsen
I'd recommend trying to provide your own patches. GWT is a community effort and as such it needs more than just the support of google. You'll almost certianly learn something in the process aswell, so it really is win/win. -- You received this message because you are subscribed to the Google G

Re: Developers, please don't ignore reported GWT issues.

2011-10-11 Thread Thomas Broyer
On Tuesday, October 11, 2011 6:01:01 PM UTC+2, Martin Ždila wrote: > > It seems that after my post there started a tidying up of issues. That's right (though I don't know whether it's because of your post, or they just coincidentally happened at about the same time) > Most of them turned to

Re: Date passed via Request Factory always reduced by 8 hours

2011-10-11 Thread Thomas Broyer
I believe RequestFactory always talks UTC; and the Date you're getting on the server-side probably is UTC, whereas the date typed in on the client side was in the client's timezone (what the browser says, which is what the OS says). -- You received this message because you are subscribed to th

Re: Developers, please don't ignore reported GWT issues.

2011-10-11 Thread Martin Ždila
It seems that after my post there started a tidying up of issues. Most of them turned to "PatchesWelcome", even those trivial to implement. Also my newly reported issues turn to "PatchesWelcome". Does it mean that GWT developer team will not implement it and waits for GWT users to do it? Or doe

Re: HTTP 500 Error

2011-10-11 Thread Jens
Seems like that your class "com.neanyinc.logistics.PMF" is not on your server's classpath which basically means its not in your generated .war file (in WEB-INF/classes or in WEB-INF/lib inside a different library jar). So you should check this. -- J. -- You received this message because you a

Re: Why widgets arent more flexible? inner widget, inner html, etc..

2011-10-11 Thread Javier
thanks for the answer Tomasz, but my question is more theoretical. In practice my custom widgets that extends from HTMLPanel works fine, but i dont know if exists some caveat or contraindication? why all widgets dont works in this way? thx! On 11 oct, 17:20, Tomasz Gawel wrote: > hi, > look at t

Re: Right click event on individual cell in cellList ?

2011-10-11 Thread Brito
Thanks Abraham, working. On Oct 11, 5:37 pm, Sudhakar Abraham wrote: > Subclass the CompositeCell class, override  getConsumedEvents(), > onBrowserEvent() methods. > > //sample code > > public Cell getSampleCompositeCell() >   { >     final List hasCellAL = new ArrayList(); >     hasCellAL.add(ge

HTTP 500 Error

2011-10-11 Thread Mikasu
Hello there, I'm creating a purchase ordering app for my company, but I'm getting an HTTP 500 error. HTTP ERROR 500 Problem accessing /createpurchaseorder. Reason: Could not initialize class com.neanyinc.logistics.PMF Caused by: java.lang.NoClassDefFoundError: Could not initialize class c

Re: Why widgets arent more flexible? inner widget, inner html, etc..

2011-10-11 Thread Tomasz Gawel
hi, look at this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c134d12aadd1e4f8 if you want to create custom widget that treats its node's content in the way HTMLPanel does you probably need to write ElementParser. in this case look at this post: http://cafebab3.

Re: Uncaught exception escaped

2011-10-11 Thread Juan Pablo Gardella
What's the 42 line of MyTable ? 2011/10/11 SCK > Tks for your help > > I try to put the breakpoint, but i don't understand. I start in Java. > > See below my code : > > > package de.vogella.gwt.helloserver.client.table; > > import java.util.List; > > import com.google.gwt.user.client.ui.FlexTabl

Re: How to change default padding for cell/td in cell table

2011-10-11 Thread Jeff Larsen
yea, you extend the CellTable.BasicResources class, override @Override @Source(BasicStyle.DEFAULT_CSS) BasicStyle cellTableStyle(); and point to your own css file. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view th

Re: Uncaught exception escaped

2011-10-11 Thread SCK
Tks for your help I try to put the breakpoint, but i don't understand. I start in Java. See below my code : package de.vogella.gwt.helloserver.client.table; import java.util.List; import com.google.gwt.user.client.ui.FlexTable; import de.vogella.gwt.helloserver.client.model.MyUser; public c

Re: How to change default padding for cell/td in cell table

2011-10-11 Thread Thomas Trebbien Pedersen
Found out it's possible to override the GWT styling by putting this in my css file: th.GALD-WOOC { padding-left: 2px; padding-right: 2px; } td.GALD-WOHC { padding-left: 2px; padding-right: 2px; } Are there other ways of doing this? \Thomas On 11 Okt., 12:21, Tho

Re: Get more info out of a client-side UmbrellaException

2011-10-11 Thread Guru
In Dev mode, select the UmbrellaExceptions, you will find the detailed stack trace in the details sections. On Oct 11, 4:32 pm, Alexander Orlov wrote: > Sometimes I get *UmbrellaExceptions* in production mode that I don't get in > development mode. Most of the time it happens when I fire GWT requ

Reload captcha

2011-10-11 Thread Guru
Hi, I have a SimpleCaptcha (http://simplecaptcha.sourceforge.net/ index.html) in one of my page. On submission of this page, I do a validation of the captcha answer entered by the user. If incorrect I reload the same page with an error message. This time I need a new captcha to be shown to the use

How to remove a row from Flex Table

2011-10-11 Thread vikky
Hi , I am using a Flex Table in which i want to "Add" and "Remove" the row, Add functionality working properly but in case of Remove, when i tried to remove more then one row from the table it thrown an exception "IndexOutOfBound" Please do the needful. Regards, Vikas verma -- You received

Re: Differences between Netbeans and Eclipse in programming GWT

2011-10-11 Thread nguyen xuanhiep
Thank you very much. I got it :) On Oct 11, 12:36 pm, Konstantin Zolotarev wrote: > In eclipse it runing in "debug" model. To run code into browsers without dev > plugin you need to compile project Google -> GWT Compile, context menu. > There is no good plugins avaliable to work with GWT for NetB

Re: GWT Slider

2011-10-11 Thread Deepak Singh
Hi David, Will it work for GWT 2.4 also ? Thanks On Tue, Oct 11, 2011 at 3:41 AM, David Chandler wrote: > I updated SliderBar from the incubator a while back: > > http://turbomanage.wordpress.com/2011/03/23/a-partially-updated-sliderbar-for-gwt-2-2/ > > Lately, I've just been using . FF doesn't

Re: Show Images

2011-10-11 Thread Ahmet Dakoglu
Sorry for not being clearer, We have an application which uses gwtupload and user can upload his photo to system. We save this photo to a folder named "* personelphotos*" which is near the application directory of glassfish on an ubuntu installed machine(We use glassfish for application server) and

Re: Multiple Entry Points & GWT Designer, how to choose..

2011-10-11 Thread Konstantin Scheglov
Support "gwtd.module.use" marker to choose single module was added to GWTD trunk. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rt0ELJ12stgJ

Re: Show Images

2011-10-11 Thread Sean
With pure GWT, they don't have to be in a folder called Images, but they have to be accessed from a relative location from the WAR directory. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https

Re: Right click event on individual cell in cellList ?

2011-10-11 Thread Sudhakar Abraham
Subclass the CompositeCell class, override getConsumedEvents(), onBrowserEvent() methods. //sample code public Cell getSampleCompositeCell() { final List hasCellAL = new ArrayList(); hasCellAL.add(getDummyTextAreaCell()); class YourCell extends CompositeCell { @Override

Re: it is not a circular structure

2011-10-11 Thread J.Ganesan
Please check up whether equals method returns true for two different objects. Often, that is a reason for circularity. J.Ganesan www.DataStoreGwt.com Persist objects directly in App Engine On Oct 8, 5:26 pm, ".Mark" wrote: > I have a problem that I can not figure out.  I have some classes > exte

Re: Differences between Netbeans and Eclipse in programming GWT

2011-10-11 Thread J.Ganesan
We switched over from NetBeans( 6.9.1) to Eclipse because in NetBeans we had to open two projects one for client and shared and another for server. Also, if a shared class has some UI Component related code which is never invoked in sever-side, we had compilation problems. In Eclipse, it is seamles

Re: Uncaught exception escaped

2011-10-11 Thread Juan Pablo Gardella
Try put a breakpoint in MyTable.java:42) and see what object is null. 2011/10/11 SCK > Hi, > > Please, I need help for this exception. I'am using GPE 2.4 with > Eclipse. > > > 10:22:53.421 [ERROR] [de_vogella_gwt_helloserver] Uncaught exception > escaped > > java.lang.NullPointerException: null

Get more info out of a client-side UmbrellaException

2011-10-11 Thread Alexander Orlov
Sometimes I get *UmbrellaExceptions* in production mode that I don't get in development mode. Most of the time it happens when I fire GWT requests very frequently when I e.g. select different fields quickly. *How do I get more info out of this Umbrella?* Any clues? -- You received this messag

Re: Differences between Netbeans and Eclipse in programming GWT

2011-10-11 Thread Piotr Kosmowski
We work with Netbeans, GWT, Maven and without any plugin. All you need is to create proper project from gwt-maven-plugin archetype by codehaus http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html. You can create it directly from Netbeans. - To clean and compile project to war you nee

Why widgets arent more flexible? inner widget, inner html, etc..

2011-10-11 Thread Javier
Hi, im using uibinder and im been force to create a lot of new widgets that supports inner widgets mixed with html. Im extending HTMLPanel to create Paragraph & Anchor widgets. Is a bad practice? Is there any cons? Thx in advice! example: package com.banana.client.view.widget.components; impo

Re: New GWT App for hackers

2011-10-11 Thread Uemit
Really great idea. I haven't had really time to play around but I am looking forward to when I have more time ;-) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/g

Re: Two widget in a single table cell

2011-10-11 Thread Konstantin Zolotarev
Try CompositeCell -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.

TabLayoutPanel UiBinder code splitting / runAsync

2011-10-11 Thread magnum
Guys, Has anyone figured out how to code split application that uses TabLayoutPanel? What I want is to have only the tab visible by default load on startup. The remaining tabs would be loaded when their widget is about to be displayed - after the user has clicked on the tab. Currently, the only

Re: New GWT App for hackers

2011-10-11 Thread Nicolas Antoniazzi
Thank you both for your comments ! Ungarida, you are right, we are going to work on a version that is more compatible with large screen. It was easier to start with fixed width version for our first release, but we are planning to improve the UI. Thanks for feedbacks ! That's funny to see Java

Uncaught exception escaped

2011-10-11 Thread SCK
Hi, Please, I need help for this exception. I'am using GPE 2.4 with Eclipse. 10:22:53.421 [ERROR] [de_vogella_gwt_helloserver] Uncaught exception escaped java.lang.NullPointerException: null at de.vogella.gwt.helloserver.client.table.MyTable.setInput(MyTable.java: 42) at de.vogella.gwt.

How to change default padding for cell/td in cell table

2011-10-11 Thread Thomas Trebbien Pedersen
Hi, Can anyone help me how to change the default padding for cell/td in cell table. I have found out that GWT by default adds this css class: .GALD-WOHC { padding-bottom: 2px; padding-left: 15px; padding-right: 15px; overflow: hidden; padding-top: 2px; }

Re: GWT Developer Plugin for Firefox 7

2011-10-11 Thread Michael Vogt
>> For those who had experienced a crash on 32bit Linux, would you mind doing >> me a favor by trying the attached xpi file? >> > Yes, this works with Ubuntu 11.04 and Firefox 7.0.1 now for me. > I should have mentioned, that it works now on 32-bit and 64-bit Ubuntu for me. Greetings, Michael --

Right click event on individual cell in cellList ?

2011-10-11 Thread Brito
Right click on cell in cellList to open a menu. Is it possible or not? please help me. -- 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 this group

Re: How to align header/footer text in cell table

2011-10-11 Thread Thomas Trebbien Pedersen
Hi, Can someone please help. On 7 Okt., 10:28, Thomas Trebbien Pedersen wrote: > Hi, > > How do I set the horizontal alignment for headers/footers in a > CellTable? > > I want to right align the text like I can do with a Column: > > someColumn.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_

Re: New GWT App for hackers

2011-10-11 Thread ungarida
My suggestion is to add a maximize button to all windows and also a more adaptable layout. Nowadays programmers spend a lot of money for big screens and high resolution graphic boards :) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. T

Re: Create custom callbacks to achieve synchronous code execution

2011-10-11 Thread Alexander Orlov
Thx a lot! Pretty much what I've looked for! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/58zGUENhpooJ. To post to this group, send email to

Re: GWT Developer Plugin for Firefox 7

2011-10-11 Thread Michael Vogt
Hello Alan. > For those who had experienced a crash on 32bit Linux, would you mind doing > me a favor by trying the attached xpi file? > Yes, this works with Ubuntu 11.04 and Firefox 7.0.1 now for me. Thanks, Michael -- You received this message because you are subscribed to the Google Groups