Re: Let users build a user interface in the browser

2010-05-14 Thread Gal Dolber
I am working on that. My idea its to get an interface like DashCode. This is what I got: - List of all widgets (even created by the user) - You can insert the widgets - You see the real composite while you add widgets - You can select a widget and edit his properties in a property edi

Re: About Date object in GWT

2010-05-14 Thread Jim Douglas
Just use java.util.Date; ignore the deprecation warnings. On May 14, 6:13 pm, Sabbir wrote: > the methods in Date objecat as getTime, getHour, etc are deprecated > ones. > And in GWT calendar object is not allowed. > > so how do set the date object in GWT??? > > -- > You received this message bec

About Date object in GWT

2010-05-14 Thread Sabbir
the methods in Date objecat as getTime, getHour, etc are deprecated ones. And in GWT calendar object is not allowed. so how do set the date object in GWT??? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email

Re: detect a mouseup when mouse is off the browser

2010-05-14 Thread Adam D
Well Google spreadsheet is able to do it somehow and I am sure setting an onclick on the body will fire even if the mouseup is out of the screen. So there must be a way to do it. If I was working on Javascript I would easily have code it but I am looking for a GWT solution. Adam On 14 May, 21:4

Re: Let users build a user interface in the browser

2010-05-14 Thread linuxdogm
Thanks for your answer. But I want the users to design the user interface *in* the browser and *not* like a developer in Eclipse. On 14 Mai, 22:41, kozura wrote: > You might look at gwt-designer; I don't know what their latest stuff > does but it's exacrly this. > > On May 14, 3:25 am, linuxdogm

Re: detect a mouseup when mouse is off the browser

2010-05-14 Thread kozura
No, you need to detect the MouseOut event and deal with it there; after that all bets are off of what mouse events you can get depending on browser and OS. On May 13, 4:52 pm, Adam D wrote: > Dear all, > > I am trying to create a table similar to the one in google > spreadsheet, where the user ca

Re: Target element of an event?

2010-05-14 Thread kozura
Widget target = (Widget)event.getSource() On May 13, 10:02 am, CJ Bilkins wrote: > How do I get the target of a clickevent in 2.0?  From what I can tell, > this is impossible?  But that can't be... so I must just be missing > something. > > I've found: > > event.getNativeEvent().getEventTarget()

Re: Let users build a user interface in the browser

2010-05-14 Thread kozura
You might look at gwt-designer; I don't know what their latest stuff does but it's exacrly this. On May 14, 3:25 am, linuxdogm wrote: > Hello, > > I already read about the GWT UiBinder which lets developers easy build > user interfaces from XML files. What I want is letting the users build > user

Re: IE8 doesn't recognize ClickEvent handler on Label ( I think )

2010-05-14 Thread Tristan
When I removed the left button recognition code it now works @UiHandler("myLabel") public void onMyLabel(ClickEvent event) { getPresenter().onMyLabel(); } On May 7, 11:26 pm, Tristan wrote: > The following doesn't work in IE8. Do I have to do something with > ()? Or am I missing > a nuance wit

Re: XML binding/mapping and GWT-RPC

2010-05-14 Thread kozura
Server-side translation and sending through serialized classes is a fine way to go. I do it using xmlbeans, but then do a trivial conversion to some POJO classes that are much simpler and more compact for use on the client side, and of course work through RPC. I didn't actually try seeing if the

GWT Sprite adds height attribute in the style class

2010-05-14 Thread Vaibhav
Hi, I have implemented ClientBundle in my application and so far it is working fine until I came across this issue. I have a css class which has a background image so I defined it as a sprite in my css. I am using this css class on Button and it looks okay. But I lost vertical text alignment

Re: GWT article 'Large scale ...' license of source code

2010-05-14 Thread Jan Ehrhardt
Thanks, so it's under Apache 2.0, but it would be much easier to notice, if the source files had license headers. Regards Jan Ehrhardt 2010/5/14 Olivier Monaco > Jan, > > Please read the terms of use from the gwt web site. All is there. > > Olivier > > On 14 mai, 07:36, Jan Ehrhardt wrote: > >

Google packages size in initial download after code split...

2010-05-14 Thread golfdude
Hi, After code split my initial download is 240Kb. When I see the package split, com.google packages and java.util together take up 60% of it. Is it something one cannot do much about ? Any kind of optimization around this ? java.util 25118 (14.2%) com.google.gwt.user.client.ui 23371 (13.21%)

Re: New to GWT

2010-05-14 Thread Frederic Conrotte
>> but currently there is no any book available for gwt There are several books on GWT: http://code.google.com/intl/fr/webtoolkit/books.html I would even add this one: http://www.amazon.com/Pro-Application-Development-Experts-Voice/dp/1590599853 Fred On 14 mai, 19:53, aditya sanas <007aditya.b.

Re: Synchronous Calls with RPC??

2010-05-14 Thread kozura
For all those instinctively pushing for synchronous RPC whenever somebody "needs" it, please! This is exactly a case where synchronous network calls would be very bad, and just providing them because it's "easier to understand" or whatever would mean people would design very poor applications that

Re: XML binding/mapping and GWT-RPC

2010-05-14 Thread ciosbel
I've seen that project (and it's quite amazing) but its purpose is client-side mapping using deferred binding. And i don't want to parse 15K LOC client-side... And it does not (yet :D) generate xml from the annotated classes. Thanks anyway. ciosbel. On 14 Mag, 19:19, Christian Goudreau wrote: >

UI binder and custom classes

2010-05-14 Thread mic
I wanted to ping community members to see how UI binder is used to handle adding widgets to a flex table, for example. This doesn't cut it, given that flex table has row, column, I want to be able to specify that. One option is to extends all widgets to be included in a flex table and sp

Re: UiBinder + CSS layouting

2010-05-14 Thread Brian Reilly
Check out the "Using an external resource with a UiBinder" section of "Declarative Layout with UiBinder" in the GWT docs: http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Using_an_external_resource Doing your styles this way allows you to see CSS changes in development mode

Re: New to GWT

2010-05-14 Thread aditya sanas
Hi, There are few GWT tutorials available online some f them are PPTs but currently there is no any book available for gwt so not a great news for novice programmers :( so if you really want to learn GWT you have to practice this tool its the only way that you can learn this. -- Aditya On Thu

Re: Let users build a user interface in the browser

2010-05-14 Thread aditya sanas
hi, Thats a great idea. all d best -- Aditya On Fri, May 14, 2010 at 2:55 PM, linuxdogm wrote: > Hello, > > I already read about the GWT UiBinder which lets developers easy build > user interfaces from XML files. What I want is letting the users build > user interfaces directly in the webbro

Let users build a user interface in the browser

2010-05-14 Thread linuxdogm
Hello, I already read about the GWT UiBinder which lets developers easy build user interfaces from XML files. What I want is letting the users build user interfaces directly in the webbrowser (without coding). Maybe they have a list of components which they can select in the browser and can drag a

why the webbAppCreator cannot run?

2010-05-14 Thread ferdian
i was installed the GWT and try to run the webbAppCreator, but it appeared with some error "missing required argument 'module name' ".how should i fix it? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to

GWT and JMeter

2010-05-14 Thread wbabachan
Dear all I want to know how GWT parses the rpc response *on the client*. The reason is that I have no idea how to get some information from response for jmeter test. Please look at the following scenario: I Have a rpc service that returns an ArrayList of a DTO objects, I mean pojos with set and ge

Code to run server or client with XML + XML-to-string

2010-05-14 Thread MH
I want to write some Java code that can run either server-side or in GWT. The problem is that the XML package that GWT supports com.google.gwt.xml.client.* will not run server side. Any ideas please? Also in com.google.gwt.xml.client.* how do I serialize an XML Document or Element to e.g. "Xml s

GWT 2.0.3 maven compile issues

2010-05-14 Thread HummerVin
I have a mature GWT 1.5.3 application that I am trying to migrate to version 2.0.3. The projects (1 main, 3 commons projects) compile and build fine under 1.5.3. We use Maven to do the builds, and maven- googlewebtoolkit2-plugin version 2.0-RC1 to compile the GWT code. Per examples I found on the G

GWT with JPA - no persistence provider

2010-05-14 Thread maliniak
GWT with JPA There are two projects in my eclipse workspace, let's name them: -JPAProject -GWTProject JPAProject contains JPA configuration stuff (persistence.xml, entity classes and so on). GWTProject is an examplary GWT project (taken from official GWT tutorial). Both projects work fine alone

Large GWT project source code organization

2010-05-14 Thread Frederic Conrotte
Hello On a large entreprise GWT project with a lot of JPA beans and WebServices on server side code, would you recommend having all the source code within a single WAR file or splitting between client and server code ? * Option 1 - single WAR file: project/src/ com.mycompany.project.client com.m

detect a mouseup when mouse is off the browser

2010-05-14 Thread Adam D
Dear all, I am trying to create a table similar to the one in google spreadsheet, where the user can with a mousedrag select cells. In google spreadsheet when I end my selection out of the browser the selection finalises, it actually puts a blue border on the last cell. I have created a flextable

one widget in each screen corner

2010-05-14 Thread Iván Navarro
hi, I'm green with GWT and this could be a silly question to do, but friends I'm stuck with this issue for days. I just need to two widgets, one in the left up corner and the other in the right up corner. My problem is the widgets always appear together in the up left corner. I've tried with diffe

Use different containers between presenters

2010-05-14 Thread andres.arellano
Hi, I'm using an architecture very close to what is proposed in the Chris Ramsdale's article "Large scale application development and MVP" but I want to share the control of the application with a second presenter. At first the app is controlled by the AppController class but then I want to share

GWT MenuItem with FileBrowse

2010-05-14 Thread gwtnewbie
Hi , I am trying to use MenuItem called "Open" to open up a FileBrowser and then be able to select a file. The problem i am seeing is MenuItem can fire a command , and if i try to use the FileUpload widget in the command code , it requires a form panel and submit button to be able to use that requ

How to use different icons for Tree leaf

2010-05-14 Thread Basu
Experts out there, I am very new to GWT. Is there a way to set different icons for tree leaf. I have done this easier in other tools, but finding it difficult with GWT If I set an icon on tree item, it either shows the text or the icon. what should I do? thanks, Basu -- You received this messa

Re: ScrollPanel not displaying contents in nested DockLayoutPanels

2010-05-14 Thread Mike
Hi, I have the same type of problem but with slightly simplier structure: RootLayoutPanel DockLayoutPanel ScrollPanel (in center) DockLayoutPanel Widget within north of the last DockLayoutPanel shows up correctly. Other parts (east, west, center, south) do not appear, i.e. if I

Target element of an event?

2010-05-14 Thread CJ Bilkins
How do I get the target of a clickevent in 2.0? From what I can tell, this is impossible? But that can't be... so I must just be missing something. I've found: event.getNativeEvent().getEventTarget() But I can't seem to get that EventTarget to turn back into my Button. Here is the scenario:

Direct-Eval rpc payload size

2010-05-14 Thread Gursel Koca
I am using direct-eval rpc. The performance is better than the usual gwt-rpc mechanism especially in dev mode. But while I am checking the payload size with fiddler, I am surprised to notice the payload size is 70 times more than usual rpc mechanism. Serialized domain objects represents organizat

Re: Synchronous Calls with RPC??

2010-05-14 Thread Gursel Koca
http://code.google.com/p/google-web-toolkit/issues/detail?id=4898 On 14 Mayıs, 18:05, fomba collins wrote: > Hi, Is there a way of making synchronous calls in GWT using RPC. I actually > need something on the client side to ensure that the asynchronous processing > in rpc is complete. Can An

New to GWT

2010-05-14 Thread sehgal.prithvi
Dear All, I am completely new to GWT. I am not very well versed with Javascript or CSS, but i want to evaluate GWT as RIA framework. Can someone suggest me the beginning point? Which book i should start? Something cool which i can make as a beginner. Looking forward to hear from you. Best regards

GWT with JPA - no persistence provider

2010-05-14 Thread maliniak
GWT with JPA There are two projects in my eclipse workspace, let's name them: -JPAProject -GWTProject JPAProject contains JPA configuration stuff (persistence.xml, entity classes and so on). GWTProject is an examplary GWT project (taken from official GWT tutorial). Both projects work fine alone

Development mode problem: Keep asking to install plugin

2010-05-14 Thread VJ
Hi, I am new the GWT and created a sample application (eclipse Galileo). When I run the application in Development Mode, it asks me to install the plug-in. After successful installation, 'Please enter your name' flashes and it goes back to install the plug-in. Any help is appreciated. Thanks, -VJ

Re: gwitbus - The GWT Event Bus for non-GWT projects

2010-05-14 Thread Nathan Wells
Is there a reason you're not using the EventBus that was created by the Java community (primarily) for Swing? https://eventbus.dev.java.net/ On May 8, 7:28 am, dan twining wrote: > Hello everyone, > > I just wanted to let people know about gwitbus > (http://gwitbus.googlecode.com). It's a stand

Re: XML binding/mapping and GWT-RPC

2010-05-14 Thread Christian Goudreau
Take a look at this project http://code.google.com/p/piriti/ Cheers Christian On Fri, May 14, 2010 at 1:18 PM, ciosbel wrote: > > I assume that the files are on your server? If you are trying to set the > > contents of the elements of the xml file, then why not > > use an RPC mechanism that a

Re: XML binding/mapping and GWT-RPC

2010-05-14 Thread ciosbel
> I assume that the files are on your server? If you are trying to set the > contents of the elements of the xml file, then why not > use an RPC mechanism that automatically binds them to POJOs on the > client? (you don't have to use GWT-RPC) > > Or am I missing something? If they are stored as XML

Re: Synchronous Calls with RPC??

2010-05-14 Thread fomba collins
I have a method that uses the response of an asynchronous call. Here is it:   for(int i=0;i>() { public void onFailure(Throwable caught) {    System.out.println("Remote Procedure Call apps- Failure");   } public void onSuccess(ArrayList result) {     Menu men = new Menu();  

Re: Synchronous Calls with RPC??

2010-05-14 Thread Travis
We have implemented synchronous calls in our project, but we had to make changes to the source code of GWT and create our own distribution. It has been working well for us, but try and limit its use to short calls to the server that run quickly since it will freeze up all browsers completely excep

Problems with ZeroClipboard in widget

2010-05-14 Thread Dan
Hi all, I created a basic project that uses ZeroClipboard to copy text to the clipboard and it works fine. I then created a widget which has the same text box and button I used in the project above. And it doesn't work... The widget consists of a few elements, like a text box and radio buttons, p

Re: GWT article 'Large scale ...' license of source code

2010-05-14 Thread Olivier Monaco
Jan, Please read the terms of use from the gwt web site. All is there. Olivier On 14 mai, 07:36, Jan Ehrhardt wrote: > Hello, > > I would like to reuse the source code of the GWT article 'Large scale > application development and MVP' for my own samples and articles, but there > is no license i

Re: Synchronous Calls with RPC??

2010-05-14 Thread Olivier Monaco
Hi, Doing synchronous call is globally a bad idea. What is your exact need? Olivier On 14 mai, 17:05, fomba collins wrote: > Hi, Is there a way of making synchronous calls in GWT using RPC. I actually > need something on the client side to ensure that the asynchronous processing > in rpc is c

Synchronous Calls with RPC??

2010-05-14 Thread fomba collins
Hi, Is there a way of making synchronous calls in GWT using RPC. I actually need something on the client side to ensure that the asynchronous processing in rpc is complete. Can Anyone help?    -- You received this message because you are subscribed to the Google Groups "Google Web T

Re: Code Splitting

2010-05-14 Thread larshub
ups...some mistakes. Certainly you have to subclass the Action and Result with LightAction and LightResult - NOT the service interface. Otherwise you would have again all Action classes and it's model classes in it. I'm sorry for confusing -- You received this message because you are subscribed t

GWT Compiler Update from 1.7.1 to 2.0.3

2010-05-14 Thread Adam
Hey Gang, I hope someone is able to shed some light on this issue I'm having. We are currently using GWT 1.7.1 to compile our GWT applications. Everything is working fine with GWT 1.7.1, as a note. I've been tasked with updating us to 2.0.3. To give a little background we're using "generate-with

Re: Code Splitting

2010-05-14 Thread larshub
If you are using the command pattern (Action) then you can create a second ActionService. We have done so and can easily control this way which classes are included in the "Light"Service. It's really simple. If you have the interface ActionService with Result execute(Action action); extend the Ac

Re: What is the use of gwt-api-checker.jar in GWT 2.0.3

2010-05-14 Thread Olivier Monaco
Charan, Of course, you search through manual (http://code.google.com/intl/fr/ webtoolkit/overview.html) without success. But did you search through the Wiki of the Googlecode project (http://code.google.com/p/google- web-toolkit/)? Olivier On 14 mai, 11:36, Charan wrote: > Hi, > > I was develop

Re: Issue on Normal mode not replicating in the Developer mode

2010-05-14 Thread Charan
Hi, i=(j=null,JXd(j.d.ef(_xf),218)); this where FF is failed for j is null i=(j=null,aYd(j.c.df(kAf),218)); this where IE is failing for c is null or not an object Any help is appreciated. Regards, Charan On May 14, 2:43 pm, Charan wrote: > Hi, > > I have Horizontal split panel, on left side

Issue on Normal mode not replicating in the Developer mode

2010-05-14 Thread Charan
Hi, I have Horizontal split panel, on left side widget i have vertical panel which is holding a Horizontal panel which contains 2 widgets image and label. I am dynamically adding the horizontal panel with image and Label which is working fine in the GWT 1.5.3 version but not working in 2.0.3 vers

What is the use of gwt-api-checker.jar in GWT 2.0.3

2010-05-14 Thread Charan
Hi, I was developing a GWT app in 2.0.3 version. I have seen two files newly added gwt-api-checker.jar and gwt-soyc- vis.jar i never used any of these jars files in my app development. Anyone can tell me what is purpose of these jars files. Regards Charan -- You received this message because yo

Re: Developer plug-in hangs

2010-05-14 Thread Charan
Hi, I workaround for my developer plug-in window hanging. i was mentioned the -logLevel ALL, i deleted this option in java arguments then it working fine. Regards, Charan On May 13, 2:25 pm, Charan wrote: > Yes it was compiled sucessfuly. > > On May 11, 11:34 am, Chatak <007aditya.b...@gmail.

Lightweight Metrics in Firebug Console -- a bookmarklet

2010-05-14 Thread Sripathi Krishnan
I created a utilityto see GWTs lightweight metrics in the firebug console window; thought this group may find it useful. gwtmetrics is just a js file that can be injected into any p

Re: GWT /Eclipse/Tomcat

2010-05-14 Thread Jan Ehrhardt
Here is a small introduction to use Tomcat h ttp://www.ducktools.org/2010/05/gwt-eclipse-tomcat-2.html Regards Jan Ehrhardt 2010/5/14 rjcarr > Hi Alan- > > The short answer is yes, you can use tomcat (stand-alone) instead of > jetty (gwt embedded). The simple solution is to just add "-noserver

Re: Hidden FileUpload Widget

2010-05-14 Thread Manuel Carrasco Moñino
Gwtupload has a DecoratedFileUpload which does it. http://code.google.com/p/gwtupload Cheers -Manolo On Sat, May 8, 2010 at 7:17 PM, kratzbaumkordel wrote: > Hi, > > I'm wondering if it is possible to hide the GWT UploadWidget (or not > use it at all) and instead open the file chooser in a diffe

Re: GWT HTTP form post

2010-05-14 Thread rjcarr
I don't have the code in front of me, but you just need to know what you named your form elements. The FileItem has a getFieldName() method, so just look for the name of your hidden field. On May 11, 8:44 am, heyyo wrote: > Hi, I created a form panel, I can upload file and I want to send a > hid

Re: GWT /Eclipse/Tomcat

2010-05-14 Thread rjcarr
Hi Alan- The short answer is yes, you can use tomcat (stand-alone) instead of jetty (gwt embedded). The simple solution is to just add "-noserver" to your devmode launcher. You can also modify the eclipse lauch config file to do this same and then you have integrated debugging. You might have t