Re: Checking User activity on browser

2011-01-17 Thread Y2i
The registered callback will be executed before an event (*Mouse click/Move, Key Press etc*) gets to the message loop. Scheduler.scheduleEntry(new RepeatingCommand() { boolean execute() { // some activity occurred return true; // to be called again, false to stop from being called } }

Re: is calling RequestFactory a blocking call ? when to update the View upon return of RequestFactory?

2011-01-17 Thread Y2i
*within Receiver#onSuccess anonymous inner class*, it's where you actually receive the data. *After that code* the data is not yet available. -- 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-w

Displaying one-line summary when dealing with list of long paragraphs. What would YOU do ?

2011-01-17 Thread zixzigma
Take GMail for example. in the Inbox, you have a list of received emails, in addition to the mail Subject, there is a sentence from the opening of the email. in other words we have Subject + MAIL_BODY.substring(0, LENGTH) what is the best way to implement this feature ? if we were dealing with n

Re: Checking User activity on browser

2011-01-17 Thread saket kumar
Thanks for your suggestion. But how am I going to use it? I basically need a listener which gets triggered whenever an activity happens on the browser window ( Say, Mouse click/Move, Key Press etc.) Can anybody suggest? On Tue, Jan 18, 2011 at 1:57 AM, Y2i wrote: > May be > Scheduler.sched

Re: is calling RequestFactory a blocking call ? when to update the View upon return of RequestFactory?

2011-01-17 Thread zixzigma
calling setWidget, should be done within Receiver#onSuccess anonymous inner class, or after that code ? On Jan 17, 7:17 pm, Y2i wrote: > The call is non-blocking. > > When response arrives, you can populate the widget and call setWidget() on > the display.  Start() > javadoc

Re: is calling RequestFactory a blocking call ? when to update the View upon return of RequestFactory?

2011-01-17 Thread Y2i
The call is non-blocking. When response arrives, you can populate the widget and call setWidget() on the display. Start() javadoc

Re: Speed of UI tests with WebDriver

2011-01-17 Thread Kyle Baley
We make heavy use of both JUnit tests and MVP through the use of Jukito (http://code.google.com/p/jukito/) and gwt-platform (http:// code.google.com/p/gwt-platform/). They've both been a tremendous help but I feel UI tests are useful as well. But many of the benefits have to be weighed against the

is calling RequestFactory a blocking call ? when to update the View upon return of RequestFactory?

2011-01-17 Thread zixzigma
I am facing a dilemma. when an Activity starts, I use RequestFactory to retrieve some data. - I don't know however when should I update the view responsible for displaying the data. in the code below, I have identified two place holders ## A ## and ## B ### and another question: - is a call on R

request factory: collections of collections

2011-01-17 Thread Simon M
Hello, It would be convenient for me that request factory manages collections of collections. Is that planned ? If it is not planned, it would be nice to have an explicit error instead of current strange error. -- You received this message because you are subscribed to the Google Groups "Go

Re: gwt mvp sessions

2011-01-17 Thread Y2i
P.S. Forgot to mention that if you use GAE, it's better to start from this page . -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this g

Re: JSON vs GWT-RPC - Unit testing and manual testing for a newbie

2011-01-17 Thread Thomas Broyer
The RequestTransport is given the already-JSON-encoded payload as a String, so unless you parse it to re-serialize it as a "different JSON" (and doing the same on the server side in e.g. a servlet filter) I doubt it's possible. The JSON payload is not "that" obfuscated though. It's entirely based

Re: Attach a ClickHandler to a CellTable row

2011-01-17 Thread rlhawk1
This might help: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/1f95c5e6172bb929/e9421aca73c3f9fd On Dec 27 2010, 7:04 am, Matias wrote: > Could somebody provide an example or any instructions on how to listen > for a click event on a CellTable row? > > I want to have the

Re: Composite Primary Keys (Many-to-Many relationship)

2011-01-17 Thread Thomas Broyer
On Monday, January 17, 2011 10:33:00 PM UTC+1, David Chandler (Google) wrote: > > Hi Aldo, > > RequestFactory doesn't support composite keys, only String or Long > types. You need some vacations David! ;-) It was the case on 2.1.0 but no longer in 2.1.1, where you can have composite keys.

Re: CellTable MVP

2011-01-17 Thread rlhawk1
Thank you so much! Using what you said I was able to get it working in just a few minutes. I'm using your sample project to help arrange some other stuff better as well. I probably need to work on my event handling rather than just using History.newItem(), but here's the code I have in my presen

Re: onKeyPress called twice on a single keypress

2011-01-17 Thread Thomas Broyer
In this specific case, you have access to the "wrapped" TextBoxBase (or RichTextArea in the case of the custom suggestbox that the OP is creating) and you can add handlers directly to it, instead of the SuggestBox widget (according to comment 7 on the linked issue, this should work) -- You rec

Re: GWTUpload and >2GB files across DIFFERENT browsers

2011-01-17 Thread Ryan Mehregan
You might want to checkout AjaxFileUpload (also known as Valum file upload) http://valums.com/ajax-upload/ it is pure JavaScript, which means you do not need to also add an additional JavaScript library such as JQuery to make the file upload script work. You can wrap it with JSNI and use it. I f

Re: JSON vs GWT-RPC - Unit testing and manual testing for a newbie

2011-01-17 Thread Jeff Larsen
Thomas, How hard would it be to change the RequestTransport to use a less obfuscated JSON, standard jackson JSON payload? I'm curious because I am currently tasked with writing a framework that needs to be server agnostic. I'd gladly sacrifice some of the speed and transport efficiency for a pu

Re: JSON vs GWT-RPC - Unit testing and manual testing for a newbie

2011-01-17 Thread Ryan Mehregan
some useful resources on RequestFactory: GWT Documentation: http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html excellent source of GWT related articles http://tbroyer.posterous.com/ in-progress sample project http://code.google.com/p/listwidget/ -- You received this messa

Re: GWTUpload and >2GB files across DIFFERENT browsers

2011-01-17 Thread Ryan Mehregan
You might want to checkout AjaxFileUpload (also known as Valum file upload) http://valums.com/ajax-upload/ it is pure JavaScript, which means you do not need to also add a JavaScript such as JQuery to make it work. You can wrap it with JSNI and use it. I found it to be more powerful than GWTUplo

Re: JSON vs GWT-RPC - Unit testing and manual testing for a newbie

2011-01-17 Thread Ryan Mehregan
If you decided to go with REST-like architecture, exchanging JSON encoded data, there are some resources that can either make the job easier for you, or be source of inspiration. make sure to also checkout AutoBean http://code.google.com/p/google-web-toolkit/wiki/AutoBean GWT-REST http://code.go

Re: JSON vs GWT-RPC - Unit testing and manual testing for a newbie

2011-01-17 Thread Ryan Mehregan
RequestFactory comes with some helper classes that allow you to run your tests within the JRE environment, which means your tests are executed in miliseconds. http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/requestfactory/server/testing/RequestFactoryMagic.j

Re: gwt mvp sessions

2011-01-17 Thread Ryan Mehregan
The best practice for developing GWT applications is to keep the server-side of your code as "Stateless" as possible. In the past, with traditional web frameworks, there was not much you could do on the client, we only had basic html forms, which we asked user for input, and most of the processing

embed GWT into a swing app

2011-01-17 Thread offbyone
I have a large app where the front end is java swing and the back end is tomcat/spring httpinvokers. I need to add and integrate an appointment calendar to the application. I really like the GWT-cal widgets and was considering trying to embed this into my swing app. Is there an easy way to do th

Re: JSON vs GWT-RPC - Unit testing and manual testing for a newbie

2011-01-17 Thread Ryan Mehregan
with GWT 2.1, there is another client-server communication mechanism called RequestFactory. RequestFactory uses JSON behind the scene, and aggressively caches data, when your data model changes, RequestFactory only sends the changed bits over the wire, not the entire object graph; Which results in

Re: Composite Primary Keys (Many-to-Many relationship)

2011-01-17 Thread David Chandler (Google)
Hi Aldo, RequestFactory doesn't support composite keys, only String or Long types. In order to simulate @ManyToMany, your intersection table should have a String or Long id, product, and item as fields of the entity itself rather than an embedded PK class as shown. HTH, /dmc On Jan 6, 6:23 pm, Y

Re: onKeyPress called twice on a single keypress

2011-01-17 Thread Ben Imp
Suggest boxes currently have a bug. http://code.google.com/p/google-web-toolkit/issues/detail?id=3533 I went through the same hassle ... icky stuff. I ended up wrapping the SuggestBox with another class that intercepted any handlers added to it and wrapped them with a de-duplication handler. -B

Re: GWT - Update Widget when java.util.List changes

2011-01-17 Thread Vrto
Hello, yes. I quite misunderstood basic principles, I asked on Stackoverflow and issue was fairly easy. Issure resolved here: http://stackoverflow.com/questions/4708486/gwt-update-widget-when-java-util-list-changes On Jan 17, 9:22 pm, Y2i wrote: > Did you have a chance to go through this > tuto

Re: JSON vs GWT-RPC - Unit testing and manual testing for a newbie

2011-01-17 Thread Thomas Broyer
Not to mention that you can do "in process" unit-testing with RequestFactory, which is very helpful! (this also means you can build a RequestFactory client in a few lines of pure-Java code, you'd just have to code and provide an appropriate RequestTransport to reach your servlet) -- You receiv

Eclipse false error

2011-01-17 Thread ahhat...@gmail.com
Hi everyone, I have a large project on eclipse that runs and compiles correctly in dev mode and script mode... everything is great...except that it shows an error for UiBinder classes in a certain package... which compiles, runs , auto-completes in IDE and does everything correctly... except alwa

Eclipse false error

2011-01-17 Thread ahhat...@gmail.com
Hi everyone, I have a large project on eclipse that runs and compiles correctly in dev mode and script mode... everything is great...except that it shows an error for UiBinder classes in a certain package... which compiles, runs , auto-completes in IDE and does everything correctly... except alwa

Re: Who handles UI rules...the Activity?

2011-01-17 Thread Ben Imp
The view part of a pure MVP design is entirely passive. It will expose (via an interface) a set of methods and widgets (interfaces only) to the presenter, and thats pretty much it. It takes no action on its own, or at least as little as it can get away with given whatever framework restrictions y

Re: Checking User activity on browser

2011-01-17 Thread Y2i
May be Scheduler.scheduleEntry()may be of help? -- You received this message because you are subscribed to the Google Groups

Re: GWT - Update Widget when java.util.List changes

2011-01-17 Thread Y2i
Did you have a chance to go through this tutorial? http://code.google.com/webtoolkit/doc/latest/tutorial/gettingstarted.html When you get the data, you need to populate the widgets as shown here: http://code.google.com/webtoolkit/doc/latest/tutorial/RPC.html#invoke -- You received this message b

Re: Error when initiating an rpc call with custom class object

2011-01-17 Thread Y2i
Make sure your UserRoles satisfy requirements outlined here: http://code.google.com/webtoolkit/doc/latest/tutorial/RPC.html#serialize Also, does Hibernate enhance server-side classes in a way that makes them incompatible with these requirements? -- You received this message because you are sub

Re: GWT Validation Framework

2011-01-17 Thread Nick Chalko
On Mon, Jan 17, 2011 at 12:02 PM, SVR wrote: > This is not part of any released code? Is it planned to be part of ver x.y? > Eventually it will be in released code. No time line yet. > Is http://code.google.com/p/gwt-validation/ a different project? > yes it is a different project and does not

Re: GWT Validation Framework

2011-01-17 Thread SVR
This is not part of any released code? Is it planned to be part of ver x.y? Is http://code.google.com/p/gwt-validation/ a different project? thanks On Mon, Jan 17, 2011 at 2:47 PM, Nick Chalko wrote: > > > On Mon, Jan 17, 2011 at 7:43 AM, SVR wrote: > >> Has anybody used the GWT Validation Fr

Re: JSON vs GWT-RPC - Unit testing and manual testing for a newbie

2011-01-17 Thread Y2i
For full Java stack RequestFactory may be another option for a new project. http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to googl

Re: GWTUpload and >2GB files across DIFFERENT browsers

2011-01-17 Thread Jim Douglas
You need to upload files > 2GB? On Jan 17, 8:49 am, omsrobert wrote: > FireFox and IE have 2GB limits on the file size that can be uploaded > to a server whereas Chrome does not have this limit.  Does GWTUpload > work around this limitation in FF + IE? -- You received this message because you a

Re: gwt mvp sessions

2011-01-17 Thread Y2i
There are many ways to implement logins, depending on the server side you use. If you use servlets then the servlet spec will guide you: http://jcp.org/aboutJava/communityprocess/pr/jsr315/index.html Look at , , , , tag description Once web.xml is configured, you need to configure your rea

Re: GWT Validation Framework

2011-01-17 Thread Nick Chalko
On Mon, Jan 17, 2011 at 7:43 AM, SVR wrote: > Has anybody used the GWT Validation Framework based on the > JSR-303 > > Can you please provide your thoughts on its usefulness and can you please > point to some useful links on its usage with examples. > t

Re: Google Earth JSNI Help?

2011-01-17 Thread Andy
Hi David, I suspect that you aren't getting much help because there are a bunch of issues with your code and it would take a while to identify them all and produce a working example. Here are a few things that might get you going in the right direction: 1) References to globals like google.earth.

Re: GWT Validation Framework

2011-01-17 Thread SVR
I dont see it using the gwt validation framework. do u mean a later version / beta? On Mon, Jan 17, 2011 at 1:57 PM, Miroslav Genov wrote: > You can take a look into DynatableRf example that comes with the SDK. > > -- > You received this message because you are subscribed to the Google Groups >

Re: GWT Validation Framework

2011-01-17 Thread Miroslav Genov
You can take a look into DynatableRf example that comes with the SDK. -- 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, send email to

set connectionTimeout for GWT 1.5.2 embedded Tomcat

2011-01-17 Thread eolivier
Hi All, Does somebody know a way to override connectionTimeout in GWT embedded Tomcat 1.5.2 ? I know how to do it in standard Tomcat, but I don't find this information for GWT embedded Tomcat. Thank you, Emmanuel. -- You received this message because you are subscribed to the Google Groups "G

Re: Link ClickHandler doesn't fire

2011-01-17 Thread Ian Bambury
Something like this? import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.RootPanel; public class App implements ClickHandle

Re: gwt mvp sessions

2011-01-17 Thread junaid
You need to put session code in server side if you know the basics of session ,below code would be helpful HttpSession session; session= getThreadLocalRequest().getSession(*true*); *save value in session:* session.setAttribute("myuser", user); [ myuser-- name of the session ] [user- any objec

Re: gwt mvp sessions

2011-01-17 Thread ernesto.reig
Any comments please? -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com.

JSON vs GWT-RPC - Unit testing and manual testing for a newbie

2011-01-17 Thread Andy_W
Hi, I am trying to decide whether to use GWT-RPC or JSON for a new project. We are using a full Java stack (Spring, Hibernate etc), so most people would say it's a no brainer to use RPC. However, one of things I did like about JSON was being able to hit a URL, without loading up the UI, and then v

Re: Link ClickHandler doesn't fire

2011-01-17 Thread julio
Hi Thomas, yes you are right, in that case my widget is "out of sync" with the DOM. do you mean to replace this: getElement().appendChild(a.getElement()); with something else? If it's so how? I can't find any API for that case (not even this.addWidget(...)) Thanks, Julio On Jan 17, 3:55 pm,

GWT Developer plugin For IE installation problem

2011-01-17 Thread othman
Hi there, I'm using a windows 7 (32 bit) box with IE8 and i'm having issues installing GWT Developer plugin For IE. I get the following error message: "Installer download failed. Error code = 0x80072efe " the installer stays stuck at the "downloading plugin" stage. i've made sure my windows 7 fir

GWTUpload and >2GB files across DIFFERENT browsers

2011-01-17 Thread omsrobert
FireFox and IE have 2GB limits on the file size that can be uploaded to a server whereas Chrome does not have this limit. Does GWTUpload work around this limitation in FF + IE? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to th

Re: DynatableRf and Maven UnCaughtException

2011-01-17 Thread Thomas Broyer
RequestFactoryServlet needs both javax.validation and org.json (and if you want to use bean validation, then you also need an implementation for javax.validation, such as Hibernate Validator). If you don't have a validator, you'll have a log record at startup that it cannot create a validator, b

Re: RequestFactory mapping

2011-01-17 Thread Thomas Broyer
On Tuesday, January 18, 2011 4:38:40 PM UTC+1, coelho wrote: > > My problem with the test code I' written so far is that I expected the > mapping of RequestFactory to instantiate (automaticaly ) the services and it > doesn't . > > It seems that there is always som piece of additional mapping

Re: GWT External JARs and use on the Client Side

2011-01-17 Thread Eric
On Jan 14, 3:17 pm, Ben Imp wrote: > And, as a minor addendum, the code in those jars can only use the > parts of the JRE that GWT has implemented. > > Hence why I cannot have the Apache commons utils on the client, even > though the source is available. There is a project on Google Code to port

Re: Link ClickHandler doesn't fire

2011-01-17 Thread Thomas Broyer
On Monday, January 17, 2011 4:02:08 PM UTC+1, julio wrote: > > getElement().appendChild(a.getElement()); > event handlers are "bound" when the *widget* is *attached* (i.e. somehow its onAttach method is called). In short, never use getElement() unless you know what you're doing (particularly

DynatableRf and Maven UnCaughtException

2011-01-17 Thread Patrick Cailly
As I run the DynatableRf sample form Eclipse I tried to deploy It ( complile with maven ) adding a dependeny to javax.validation 1.0.0.GA mvn package without error : but un Uncaught Exception when delpoyed in tomcat I had to trick maven by using a local dependency to gw

Re: The web.xml file does not exist WEB-INF /FareScore/war -Google Web App Problem

2011-01-17 Thread Deepak Singh
If it is not there, u need to create it manually. On Fri, Jan 14, 2011 at 10:48 AM, zixzigma wrote: > you need to create one: > if you use GWT Eclipse file, it creates one for you. > > > > > > here is GWT tutorial on a sample app : > > http://code.google.com/webtoolkit/doc/latest/tutorial/RPC.ht

GWT Validation Framework

2011-01-17 Thread SVR
Has anybody used the GWT Validation Framework based on the JSR-303 Can you please provide your thoughts on its usefulness and can you please point to some useful links on its usage with examples. thanks -- You received this message because you are subsc

Re: RequestFactory mapping

2011-01-17 Thread Patrick Cailly
My problem with the test code I' written so far is that I expected the mapping of RequestFactory to instantiate (automaticaly ) the services and it doesn't . It seems that there is always som piece of additional mapping to get the services loaded Am I wrong Patrick - Original Message --

Building Testable Applications in Google Web Toolkit (GWT)

2011-01-17 Thread Geoffrey Wiseman
I've been polishing my thoughts on testing and GWT for a while, but I've finally posted them to the Codiform blog: http://blog.codiform.com/2011/01/building-testable-applications-with.html Those of you who've been using GWT for a while and come from a developer-test-automation (TDD or otherwise) b

Error when initiating an rpc call with custom class object

2011-01-17 Thread macs
Hello, I have requirement for an application with GWT front end, spring based middle ware and hibernate based persistence. I am using the below configuration for each of these - GWT - 2.1 Spring - 3.0 Hibernate - 3.5.6 My service interface extends the RemoteService and is annotated with @RemoteSe

Google Earth JSNI Help?

2011-01-17 Thread Daivd Lamm
Hi guys, I am working on a GWT project that when the application starts up, Google Earth is automatically loaded onto the page. After that, I want it that the user clicks a button that says "enable polygon drawing", the application will allow the user to be able to draw polygons on Google Earth.

using one service across multiple modules

2011-01-17 Thread sennz
Hi, I am new to GWT and I decided to try to create a simple application that could do the following things: - show all existing users in an html page (ListUsers.html) - create a new user (NewUser.html) I used the following approach to create the app: 1. created a GWT project in Eclipse under the

MVP calls to server

2011-01-17 Thread ernesto.reig
Hello everybody. I would like to the place from where I have to make the server calls in MVP pattern. I´ve been following the guidelines given in http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html I think I have to make the calls from within Activity´s classes, but fir

Re: Generated Maven pom.xml does not add GWT project natures

2011-01-17 Thread Luca Morettoni
2011/1/2 Cheng Lee : > Hi GWT gurus, > > I'm generating an Eclipse project using webAppCreator. The project is > created but the pom.xml does not contain the appropriate GWT project > nature, meaning the application can't be launched as Web Application > because the "Project does not use GWT or GAE

Data not refreshed after an insert or update

2011-01-17 Thread Bertrand
Hi, I'm currently developing a small application with GWT + GAE. I have a first entity "Operation" which contains another entity "Category" as a property. With GWT, I use a CellTable to display all my "Operations" and it works fine. In this celltable, I use a SelectionCell in order to change th

Checking User activity on browser

2011-01-17 Thread saket kumar
Hi All, Is there a way I can check if the user is active on the GWT browser page i.e. if he is scrolling,clicking, tabbing etc. ? I basically need a global listener. Thanks in advance -- Regards, Saket Kumar +91 9811139807 -- You received this message because you are subscribed to the Googl

Reading a file in a GWT-written Gadget

2011-01-17 Thread Stephen
I'm trying to read a .txt file into my Gadget using RequestBuilder, but when I call .getText() on the Response, I don't get any actual text. The goal is to have the string returned by .getText() contain all the text in that file. I call: // Retrieve the file data getFile("https://sites.google.com

Documentation on Roo-generated MVP Class Files

2011-01-17 Thread Cengiz Öner
Hello all, When Roo is used to create a GWT project, class files are generated in MVP pattern. However, more is generated than what is described in http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html. Is there any detailed documentation on these roo-generated MVP clas

gwt mvp sessions

2011-01-17 Thread ernesto.reig
Hello everybody. I´m trying to develop my first gwt mvp application following the directions given in http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html I want to make a login page where the user has to log in before entering to the main application view. Anyway, the thing is

Open disclosure panel cause content overlapping.

2011-01-17 Thread Zhongxian Gu@UCDavis
Hi all, The problem of mine is, I am using several disclosure panels together to show and hide some contents. I put the several disclosurePanels vertically aligned. The problem is that when openning one disclosurePanel, the contents shows up and overlap with the below disclosurePanels, instead of

GWT - Update Widget when java.util.List changes

2011-01-17 Thread Vrto
Hello, I am new here and I came to seek for advices from more experienced GWT programmers. Here is my problem: I am making AsyncCalls and they fill some collections (java.util.List) with data. These callbacks take quite a time, so by the time collections are filled, UI is fully loaded. However, w

Re: Boost Extensibility and Simplify Maintainability of Web Applications: Proposals for Google Web Toolkit Plug-in Architectures

2011-01-17 Thread Ingo Jaeckel
Hello everyone after discussing the topic with a college, I realized I have to explain the context of my proposal. There is no application independent mechanism in GWT to dynamically load extensions. Consequently, GWT applications either do not support it or implement plug-in loading on their own

Link ClickHandler doesn't fire

2011-01-17 Thread julio
Hi, I'm using GWT 2.1.1 and I created a simple "li" widget in this way: public class LIWidget extends Widget { public LIWidget() { super(); setElement(Document.get().createLIElement()); } public void addLink(String url, ClickHandler handler) {

Re: Created project, but there is no Build.xml

2011-01-17 Thread nacho
;) -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options,

Re: Created project, but there is no Build.xml

2011-01-17 Thread amarasat
Thanks a lot Nacho, that helped!! On Jan 17, 9:08 am, nacho wrote: > Try with this build.xml > > When you compile gwt first your java classes are compiled. > > > >   >   > >   >       else="-Dgwt.dummy.arg1="> >     >   > >   >   >     >       >       >     >       > >   >     >

Re: Created project, but there is no Build.xml

2011-01-17 Thread nacho
Try with this build.xml When you compile gwt first your java classes are compiled.

Re: com.google.gwt.user.client.rpc.SerializationException for custom object array

2011-01-17 Thread Owen Powell
OK, figured out the problem. I had a CustomMyObject extends MyObject that was included in the ArrayList and was not serializable. ~O -- 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@

CodeFest - Online Coding Festival by Computer Engineering Society, IT-BHU

2011-01-17 Thread vishal kumar rai
Hello, We are delighted to inform you that *CodeFest* * *, the annual *International online coding festival* of *Computer Engineering Society, IT-BHU*, has been unveiled. CodeFest is a unique fest wherein concepts of mathematics,

CodeFest - Online Coding Festival by Computer Engineering Society, IT-BHU

2011-01-17 Thread vishal kumar rai
Hello, We are delighted to inform you that *CodeFest* * *, the annual *International online coding festival* of *Computer Engineering Society, IT-BHU*, has been unveiled. CodeFest is a unique fest wherein concepts of mathema

Re: Exception falling through catch() in JSNI

2011-01-17 Thread George Georgovassilis
Hello Sanjiv, Thanks for the pointer. I had a similar suspicion and thought that GWT.setUncaughtExceptionHandler would install the IE hook, but it didn't. Now, the nasty part with this type of exception handling is that it essentially handles the error outside of the context it appeared in, moving

Re: How can I move position of tab headers ?

2011-01-17 Thread Boris Lenzinger
A simple solution : margin-left: 100px; will make the job. Thank you for your answer ! Boris 2011/1/16 Y2i > This recent discussion may help > > https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/c1zlxMRD4gM

Re: Share a client-side singleton across modules?

2011-01-17 Thread Raphael André Bauer
On Mon, Jan 17, 2011 at 10:49 AM, Hamlet D'Arcy wrote: > I would like to share a client singleton across GWT modules. Is this > possible? If so, how? > > I have several modules that need to share an EventBus (SimpleEventBus) > instance. Creating a singleton in GWT Java code and having all modules

Who handles UI rules...the Activity?

2011-01-17 Thread Jeroen Wolff
Hi, i try to figure out where the decision logic is programmed when a user answers a question via a radio-button. I am designing an form application and want to know where to put al the decisions rules. For example: - a user selects a radio button and based on that click a extra question will be sh

onKeyPress called twice on a single keypress

2011-01-17 Thread . .
Hi, i am writing a customized suggestionBox which works on RichTextArea. On debug, as i press a single key on keyboard, it calls the SimpleEventBus.class and the handlers ArrayList is filled with 2 handlers causing the onKeyPress method to be called twice. anyone nothiced the same? i am using GW

Boost Extensibility and Simplify Maintainability of Web Applications: Proposals for Google Web Toolkit Plug-in Architectures

2011-01-17 Thread Ingo Jaeckel
Hello everyone I wrote a short article proposes a plug-in management architecture for GWT/AppEngine applications, see http://honeycrm.googlecode.com/files/BoostExtensibilityAndSimplifyMaintainabilityOfWebApplicationsProposalsForGoogleWebToolkitPlugInArchitectures.pdf. Now, I would like to invite t

Code editor Using GWT

2011-01-17 Thread ravi
Hi, I was planning to build a code editor using GWT , An editor which can compile and execute Java,C++,C code in the browser only.Have heard that we can compile code from a remote location and return the value to browser .Is it possible,if yes please give me starting point. Regards, Abhishek Ranja

Re: Generated Maven pom.xml does not add GWT project natures

2011-01-17 Thread feuse8
Have you already found any solution for this? On 2 Jan., 20:56, Cheng Lee wrote: > Hi GWT gurus, > > I'm generating an Eclipse project using webAppCreator. The project is > created but the pom.xml does not contain the appropriate GWT project > nature, meaning the application can't be launched as

Re: Best way to integrate GWT with existing Spring services?

2011-01-17 Thread Daniel Francisco
Hi Paul, I have to say that I was making these questions without doing a proper research and study of the GWT documentation. I wanted to go so fast. It's my fault. Now I have it quite clear. I've already started the project using mvp4g as the MVP framework, and gwt-dispatch to communicate with th

Re: com.google.gwt.user.client.rpc.SerializationException for custom object array

2011-01-17 Thread Owen Powell
I'm having the same problem as Mona, except on the client-side. Via RPC, - sending an ArrayList works. - sending a single MyObject works. - sending an ArrayList does not work. I get: "com.google.gwt.user.client.rpc.SerializationException at com.google.gwt.user.client.rpc.impl.SerializerBase.getT

Re: GWT Session Handling - user HTTP Session or own solution?

2011-01-17 Thread Miroslav Genov
Sounds well. Also you can use a cache layer over your database to slow down the latency of your database requests. -- 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.

Share a client-side singleton across modules?

2011-01-17 Thread Hamlet D'Arcy
I would like to share a client singleton across GWT modules. Is this possible? If so, how? I have several modules that need to share an EventBus (SimpleEventBus) instance. Creating a singleton in GWT Java code and having all modules inherit from the common module did not work. Each of the root mod

Problem with HTTPSession in GWT

2011-01-17 Thread Sebe
Hello everyone I'm new in GWT ... I would like to implement sessions in my Web App Basically I want that a session starts at the click of a button (handle an event) and ends at the click of another button (other handle an event). It's possible? Someone please, can you tell me how to do it step by

Re: is it possible to create a custom widget in UiBinder that can contain unknown number of child elements

2011-01-17 Thread Thomas Broyer
Yes, either having MyContainer implement HasWidgets, or using @UiChild methods in your MyContainer. -- 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 f

Re: Problem trying to use JSNI to eval() a JSON string

2011-01-17 Thread Glenn Simon
Thanks for trying to help, guys, but after modifying and checking the string with JsonUtils, trying com.google.gwt.json.client.JSONParser (tells me the code is unavailable and fails to load my app), and reading Google docs 'til my eyes hurt I can't for the life of me figure out how to make JSON wor

ANN: SL now at Google Project Hosting

2011-01-17 Thread George Georgovassilis
Dear all, The SL, formerly hosted at Sourceforge, has been split from the Widget Library and moved to Google Project Hosting [1]. BR, G. [1] https://code.google.com/p/gwt-sl/ -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to th