Re: Blocking client side execution until server executes the service completely

2011-07-04 Thread ankit
Hey...Thanks 4 all ur repliesmy problem is solved now On Jun 17, 3:23 pm, Jens jens.nehlme...@gmail.com wrote: See Pauls answer. In addition if you do not want to hide the combo box, just set a message to it and disable it. Then load you combo box data and when its done clear the combo

Re: Issue in method anonymous class in GWT

2011-07-04 Thread ankit
Thank u all 4 ur replies..my problem is soloved now. On Jun 7, 5:16 pm, Jens jens.nehlme...@gmail.com wrote: You only have a problem if you use GWT.runAsync in your method. If so, everything that is inside the RunAsyncCallback.onSuccess method will be downloaded as a separate javascript file

how to add resource folder to webappcreator (-maven) project

2011-07-04 Thread tanteanni
i need a resource folder (maven) in my project (created by webappcreator -maven). for some reason webappcreator didn't generate them. the problem is simply adding new folders doesn't work (in eclipse). the resource folders need special settings in java bild path/source. is there a way to

Re: Using GWT-FX to fade one image into another

2011-07-04 Thread stymie
Haha I know what opacity is :-). I did take a hint and created two images though faded one in the other out. Thanks On Jul 4, 1:38 am, Jeffrey Chimene jchim...@gmail.com wrote: On 7/3/2011 6:35 PM, stymie wrote: Not very helpful. On Jul 3, 6:02 pm, Jeffrey Chimene jchim...@gmail.com wrote:

Re: RootPanel.clear() method slows down after multiple use

2011-07-04 Thread Thomas Broyer
You're adding a ClickHandler each time you switchView, that might very well be your issue. You should separate building views and showing/hiding them. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Re: Pluggable modules

2011-07-04 Thread manstis
Hi Berto, I've stuck everything on github; git://github.com/manstis/gwt-plugins.git plugin - the plugin pluginserver - the framework plugincommon contains my common model There's only about 10 files in all; so it's not so ominous. I thought this would be easier than trying to explain directly

Re: avoiding web.xml configuration for rpc servlet

2011-07-04 Thread Thomas Broyer
On Monday, July 4, 2011 7:31:41 AM UTC+2, Elhanan wrote: and does jetty support that? Jetty 8 will. btw what DOES jetty support in terms of jee? http://wiki.eclipse.org/Jetty/Reference/Web_Profile That's for Jetty 8 though. AFAIK, Jetty 7 is almost the same, just without servlet 3.

cannot deserialize arraylist - but why?

2011-07-04 Thread Dennis Haupt
this is the error message i get: Caused by: com.google.gwt.user.client.rpc.SerializationException: java.util.ArrayList/4159755760 at com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java:153) at

Re: cannot deserialize arraylist - but why?

2011-07-04 Thread Prashant
Hi, I think Class of the object your want to send via GWTRPC must have default constructure. And, if you are putting different kind of objects in one linked list, it will not be deserialised. I faced this issues long back and I am not very sure about the solution ... -- Prashant

Re: gwt-servlet.jar size 200KB to 4MB?

2011-07-04 Thread Craig Mitchell
After realizing that JNLP tricked me (the big gwt-servlet.jar was still being included), it turns out that the old small gwt-servlet.jar doesn't work. I tried Thomas's idea to cut down the correct version gwt-servlet.jar, however, I really didn't know what I could and couldn't cut, and I cut

Re: CellTable and GAE Datastore cursors

2011-07-04 Thread gadev
Hi (Kalimera) I am in the same situation, I am trying to display datastore data on a celltable. To avoid having to page back and store cursors I place the celltable in a scrollpanel and when scroll reaches the end I change the range and the asyncdataprovider makes a new call to get new

Re: Request Builder

2011-07-04 Thread Robert W
After some research i can say that there is general problem with advanced communication outside servlet/app engine. Problem is easy serialization. I created own based solution on JavascriptObject and amfphp. Serializaing transparently but I write java DTO by hand. JavascriptObject is problematic

Re: Request Builder

2011-07-04 Thread Elhanan Maayan
actually we've decided to abandon RequestFactory framework for the reason that it cannot be ported elsewhere. that is if we decided to have other clients such as silverlight/flex, those won't have request factory capabilities . so it kinda binds us to gwt. On Mon, Jul 4, 2011 at 12:56 PM, Robert

Enlarge the image of a PushButton

2011-07-04 Thread aliwa
Hello, To put an image on a PushButton I use the method : myPushButton.getUpFace().setImage(myImage);. The image does not take all the space, there are many gray space below and above the image. I wanted the image takes all the space of the button. Could you help me? Thank you in advance. --

Canceling a ClickEvent

2011-07-04 Thread Eugen Paraschiv
I have a button with 2 ClickHandlers. After the first handler executes, I would like to cancel the event, so that it doesn't reach the second handler (based on some internal logic). Is there any way to cancel an event at this point? I have tried: event.stopPropagation(); but it has no effect.

GPE makes GWT projects build extremely long

2011-07-04 Thread Marko Vuksanovic
When building GWT project it takes like approximately 1.30h to build. If I turn off GWT and Google AppEngine nature for the project it takes only a few seconds to build. I'm using Eclipse Indigo + m2e 1.0 + GPE 2.3.2. I have also tried using Eclipse Helios + m2e 1.0 + GPE 2.3.2 A screenshot

Re: GWT Development Enviorment

2011-07-04 Thread Yannis Bres
See http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html. Best regards, Yannis On Mon, Jun 20, 2011 at 6:31 AM, Juhi jbha...@entrib.com wrote: Hi, I am developing a gwt/smartgwt - maven app. In case I make changes to my code , I have to recompile my

Re: JQuery like animation

2011-07-04 Thread Christian Goudreau
Have you ever heard of Gwt-Query ? :D http://code.google.com/p/gwtquery/ Cheers, On Sun, Jul 3, 2011 at 11:58 AM, Guy Nirpaz g...@totango.com wrote: Hey, Any idea how to get functionality similar to JQuery: $(p.neat).addClass(ohmy).*show(slow);* * * * * I'm referring to the {

Re: cannot deserialize arraylist - but why?

2011-07-04 Thread Dennis Haupt
neither the missing default constructor nor different element types are the problem. i suddenly can't deserialize any arraylist, no matter what's inside. is there a way to debug it to see what's wrong? 2011/7/4 Prashant antsh...@gmail.com Hi, I think Class of the object your want to send via

Re: problems using ScrollPanel and layout panels

2011-07-04 Thread Ioan Agopian
Williame, thanks for your response, I really hope we can find an elegant solution. I don't think that your approach works well for dynamic content. I don't really know the size of the cell tree in advance so I can't adjust the size of the containing panel when placing the cell tree in it. At

Re: cannot deserialize arraylist - but why?

2011-07-04 Thread Prashant
Did you add anything to your class which is not serializable ? ... don't know much about debugging GWT .. :( On Mon, Jul 4, 2011 at 6:13 PM, Dennis Haupt d.haup...@googlemail.comwrote: neither the missing default constructor nor different element types are the problem. i suddenly can't

Re: Disposable activities

2011-07-04 Thread koma
Thx for the comments. I guess pragmatism is the rule that you never break :-) For now, I turned one of the Activties/presenters into a singleton, so no longer disposable. This presenter works with the main view of the app and would be (almost) always present anyway. Since it is never

Re: cannot deserialize arraylist - but why?

2011-07-04 Thread Juan Pablo Gardella
Paste the complete stack trace 2011/7/4 Dennis Haupt d.haup...@googlemail.com neither the missing default constructor nor different element types are the problem. i suddenly can't deserialize any arraylist, no matter what's inside. is there a way to debug it to see what's wrong? 2011/7/4

Re: JQuery like animation

2011-07-04 Thread Uemit
If you don't care much about old browsers you can also use CSS3 transitions/animations for simple stuff. I used it in a GWT project (i.e. ProgressBar) and it works really well. i.e.: http://aatiis.me/demos/pure-css-progress-bar -- You received this message because you are subscribed to the

Re: Canceling a ClickEvent

2011-07-04 Thread Jeffrey Chimene
On 7/4/2011 3:45 AM, Eugen Paraschiv wrote: I have a button with 2 ClickHandlers. After the first handler executes, I would like to cancel the event, so that it doesn't reach the second handler (based on some internal logic). Is there any way to cancel an event at this point? I have tried:

Re: Canceling a ClickEvent

2011-07-04 Thread Eugen Paraschiv
I don't have any control over the firing of the events. It's a Button and when clicked it's going to fire events to the handlers registered with it, if the event is not stopped. If it were my own logic, I could indeed control the firing logic and I could perhaps do what you suggest, but seeing how

Parvez Chauhan wants to chat

2011-07-04 Thread Parvez Chauhan
--- Parvez Chauhan wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-9cc6250878-37e7bb56ef-9kjHwjdm4JKTm6vdPSbmZnH8yq8

class path issues with mixing projects..

2011-07-04 Thread Elhanan Maayan
hi.. assume that i have a Dynamic Web Project configured with google sdk, which references another project for domain classes, which itself references a 3rd project for persistence utility classes. i'm trying to use tomcat as debug servlet , but the only way i'm able to reslove

Re: Disable/Enable CSS obfuscating in gwt.xml ?

2011-07-04 Thread Chris Lercher
@karthik: The problem is, that in general you can't simply retain the original names. A very important (probably the most important) feature of CssResources is, that each of them effectively gets its own namespace. If you remove that concept (even just for testing), you will create conflicts,

LineChart -need to change chart's width on resizing the splitter in SplitLayoutPanel

2011-07-04 Thread kalpana anbalagan
Hello, I am using GWT 2.2 SplitLayoutPanel. I am using GWT Visualization LineChart(CoreChart) in one of the region. The requirement is that when we re-size the splitter, the current width of that region(which holds the chart) should be applied to the chart. I tried applying the dynamic width of

Re: Canceling a ClickEvent

2011-07-04 Thread Thomas Broyer
You should add a single ClickHandler that has its own logic, and the ClickHandler you'd like to be called conditionally would be known by this specific ClickHandler, which would choose whether to call or not. Events in GWT (as in the DOM for instance) are dispatched to all handlers/listeners;

how to handle resources on server side (maven gwt)

2011-07-04 Thread tanteanni
i need some files on sever side but the normal: put it in resources-Folder(i created one because webappcreator didn't) and use MyClass.class.getResourceAsStream(/ + filename); does not work?! i allways get null. usind FileInputStream and absolute path works. gwt-maven-plugin copies the file to

Re: Latest GWT 2.4 Beta zip Download with HTML5 DnD Support fixed

2011-07-04 Thread PShenoy
Thanks On Jun 30, 7:34 pm, Jeff Larsen larse...@gmail.com wrote: You can always build from trunk. http://code.google.com/webtoolkit/makinggwtbetter.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Help : Memory Leak Problem

2011-07-04 Thread Alberto Rugnone
Hello everybody, In my office we are experiencing a very bad problem of memory leak. We are developing an application with GWT based on MVP architecture. Each widget is a MVP and each MVP is based on a own class named DefaultWidgetPresenter. The applicaion has to create periodically new

Re: Help : Memory Leak Problem

2011-07-04 Thread Rob Coops
On Mon, Jul 4, 2011 at 6:00 PM, Alberto Rugnone arugnonechemi...@gmail.comwrote: Hello everybody, In my office we are experiencing a very bad problem of memory leak. We are developing an application with GWT based on MVP architecture. Each widget is a MVP and each MVP is based on a own class

Hacked Simple Sanitizer, added tags and style

2011-07-04 Thread Brandon Donnelson
I hacked the simple sanitizer to be more useful for me. I think it needs more tags including the style tag, that is minus the possibility of javascript in the style tag which I clean at the end. I also fixed the sanitizer so it could have attributes in the tag. Check out the code here:

Re: how to handle resources on server side (maven gwt)

2011-07-04 Thread Hilco Wijbenga
On 4 July 2011 08:35, tanteanni tantea...@hotmail.com wrote: i need some files on sever side but the normal: put it in resources-Folder(i created one because webappcreator didn't) and use MyClass.class.getResourceAsStream(/ + filename); does not work?! i allways get null. usind FileInputStream

richfaces ajax-call and embedded gwt widget

2011-07-04 Thread denis56
Hello, This is actually a cross post from stackoverflow (http:// stackoverflow.com/questions/6574174/richfaces-ajax-call-and-embedded- gwt-widget). Wasn't sure where I could get a quicker suggestion, hope you don't mind :) I am using a4j:function call from richfaces library to rerender a segment

Re: השב: Re: building custom event differently to avoid boiler plate coding?

2011-07-04 Thread lemaiol
I just published an article on this topic. Maybe you want to have a look at it: http://www.canoo.com/blog/2011/07/04/code-generation-in-gwt-with-deferred-binding-cdi-like-events/ Feedback is welcome! cheers, Berto On Jun 22, 5:03 am, Elhanan Maayan elh.maa...@gmail.com wrote: first off  you

Handling transaction roll-back in RequestFactory service implementations

2011-07-04 Thread Ryan McFall
Some background: I'm using Hibernate on the server side to implement data retrieval/update operations, with RequestFactory service methods to handle interaction between the client and server. Suppose that an error condition is encountered during a service implementation, and to handle that error

Re: השב: Re: building custom event differentlyto avoid boiler plate coding?

2011-07-04 Thread elh.maa...@gmail.com
hi. while I didn't understand much of above and ill look into it further to understand code generation, I fail to see why not resorting to a factory approach which requires only 2 classes. defined once and no di framework Sent from my HTC - Reply message - From: lemaiol

Re: cannot deserialize arraylist - but why?

2011-07-04 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 the problem lurked deep in my project settings. i mixed up gwt 2.3 and 2.2 Am 04.07.2011 16:05, schrieb Juan Pablo Gardella: Paste the complete stack trace 2011/7/4 Dennis Haupt d.haup...@googlemail.com mailto:d.haup...@googlemail.com

Questions about complex UI events in MVP mode

2011-07-04 Thread Victor Zhang
Now I'm using MVP and one question about complex UI. I've a flowpanel and will add or remove some child widgets(say button or listbox). Because child widgets are dynamically created so I've to capture the event at their parent that is the flowpanel value, once triggered the system will be able to

Re: RequestFactoryEditorDriver example?

2011-07-04 Thread David Sanders
I'm getting the same problem as George when I tried setting up a create entity form - the entity sent to the server is blank even though I fill out the fields. The thing is I copied the code from a Spring Roo app but I just cannot get it to work. I had a look inside the generated delegate

How to used data binding types generated by Axis2 ADB for communication between browser and web server?

2011-07-04 Thread laolaoyu
Hi, I am working on a project to create a web-based client for some existing web services using GWT. At the web server side, I use Axis2 ADB to generate the web service client stub to interface with the existing web services. This part works fine. But the problem comes when I try to forward the

Does GWT 2.3 provide Synchronous RPC?

2011-07-04 Thread Gunz
Hi, I was trying to understand and implement RPC in GWT. In the StockWatcher example provide at GWT official website they implement the syncronous interface and also the asyncronous interface. However it also mentions that- It is not possible to call this version of the RPC directly from the

New Web Application Wizard omits GWT Builder.

2011-07-04 Thread David Lee
I'm creating a new GWT application for App Engine and I find that GWT Builder is missing from the list of builders. GWT Builder is required for the GWT Remote Service wizard to function properly. I manually added this to my .profile buildCommand

Can't install Google Web Toolkit Developer Plugin under Chrome

2011-07-04 Thread Vlad
I was starting coding with GWT following the tutorial at http://code.google.com/intl/it/webtoolkit/doc/latest/tutorial/create.html when the tutorial tells to connect to the 'development mode code server' the browser ask to install a plugin. With Firefox everything works fine, but with Chrome

Re: Does GWT 2.3 provide Synchronous RPC?

2011-07-04 Thread Kevin Jordan
1. It does not. 2. The synchronous interface is the contract that your server-side must implement. GWT.create also uses that class to find the Async class. On Jul 4, 10:38 am, Gunz ganeshma...@gmail.com wrote: Hi, I was trying to understand and implement RPC in GWT. In the StockWatcher

Re: GPE makes GWT projects build extremely long

2011-07-04 Thread Marko Vuksanovic
It seems like I have found a solution that brings down compile time to something reasonable (~3 mins). From 1.5h (not 1.30 as I initially wrote :)) to 3 mins!!! I have downloaded xhtml.ent and added the file to User Specified Entries in Eclipse's XML Catalog. Could somebody explain why this

Re: Does GWT 2.3 provide Synchronous RPC?

2011-07-04 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 you can fake synchronous execution by calling the next thing at the end of your async callback handling Am 04.07.2011 23:31, schrieb Kevin Jordan: 1. It does not. 2. The synchronous interface is the contract that your server-side must implement.

Re: Canceling a ClickEvent

2011-07-04 Thread Eugen Paraschiv
My logic was split with the purpose of decoupling two unrelated functionalities, but seeing how there is no way to do what I was trying to do, I created a custom event for one of the 2 functionalities. What could help though is to add a field to the ClickEvent, settable from the outside, so that

Re: Does GWT 2.3 provide Synchronous RPC?

2011-07-04 Thread Alain Ekambi
What is actually the reason of making a synchronus call ? Is there any use case where that s necessary ? 2011/7/4 Dennis Haupt d.haup...@googlemail.com -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 you can fake synchronous execution by calling the next thing at the end of your async

Re: ListEditor doesn't detect changes in sub-editors if using RequestFactory driver

2011-07-04 Thread Thomas Broyer
See http://code.google.com/p/google-web-toolkit/issues/detail?id=6081 This is a regression in 2.3. Hopefully it'll be fixed in 2.4 (honestly, I don't mind, I don't run official releases) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Does GWT 2.3 provide Synchronous RPC?

2011-07-04 Thread Ganesh Magal
Thanks all for the help. There isn't any specific use case where I would want to implement sync.RPC. I was trying to understand the GWT stockwatcher example and was wondering if sync interface could directly be used by creating an object of the sync. interface instead of the Async. interface. On

Re: ListEditor doesn't detect changes in sub-editors if using RequestFactory driver

2011-07-04 Thread Ignacio Baca Moreno-Torres
Thanks! Your patch look perfect, but GWT developers won't seem to apply it in the next release. I'm currently using GWT 2.4.0beta. I hope this will change in final release. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: ListEditor doesn't detect changes in sub-editors if using RequestFactory driver

2011-07-04 Thread Thomas Broyer
Feel free to ping in the issue; but it might be better to wait a few days, as BobV is on vacation the early part of [this] week and will be studiously avoiding the computer -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: RootPanel.clear() method slows down after multiple use

2011-07-04 Thread Neil Williams
Thank you, that worked fine. Guess I got lazy since the garbage collection under the Java VM is so good. Thanks for your prompt response. Neil Williams On Mon, Jul 4, 2011 at 5:40 PM, Thomas Broyer t.bro...@gmail.com wrote: You're adding a ClickHandler each time you switchView, that might

Removing ClickHandler from Button?

2011-07-04 Thread Milan Cvejic
Hi, I am trying to find a way how to remove ClickHandler from Button, there is no any method related to this. I see that we can remove ClickListener with removeClickListener(), but there is no way to remove ClickHandler. I am using following code: Button b = new Button(test);

Re: Removing ClickHandler from Button?

2011-07-04 Thread Rob Coops
removeClickListner() is deprecated if I am not mistaken... Anyway the big question is why remove the clickHandler from your button in the first place a button that can not be clicked is nothing more then a label with a border... I would suggest disabling the button or simply have the clickHandler

Java 7

2011-07-04 Thread Magno Machado
Java 7 is going to be released in a few days and will introduce some changes on the java syntax Is there any current work on supporting java 7 syntax on gwt? Will it be available on GWT 2.4? -- Magno Machado Paulo http://blog.magnomachado.com.br http://code.google.com/p/emballo/ -- You

Re: Removing ClickHandler from Button?

2011-07-04 Thread Milan Cvejic
Yes, removeClickListener() is depricated, and that is why I am trying to find solution on how to remove ClickHandler. Just to explain my use case. I am same view with editor framework, so I need different functionality when button is clicked. Since button is initialized only once (in view that is

Resizing parent element when child change size

2011-07-04 Thread Milan Cvejic
Hi Everyone, can anyone give me a hint how can I implement following situation: I have SimplePanel with child FlowPanel. What I want to do is to resize SimplePanel in order to fit FlowPanel when I add new widgets to the FlowPanel. Is best way to fire some event when i add new widget to FlowPanel

Re: How to redirect HTML inside a dialogbox

2011-07-04 Thread Oscar
Hi again! Thanks for your reply. If I am understanding it right, I should use the anchor for the links contained inside the iframe, right? The thing is that I don't have access to the embedded content. I want to show an external website inside the iframe but I don't want it to send users

Re: Does GWT 2.3 provide Synchronous RPC?

2011-07-04 Thread mP
You dont want a sync interface for the simple reason that javascript in the browser is single threaded. If requests back to the server were sync and not async, your browser would freeze until the response from the server completed. Even if the request was fast the user would notice a freeze for

Re: Questions about complex UI events in MVP mode

2011-07-04 Thread Victor Zhang
Any ideas buddies? -- 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

Re: Questions about complex UI events in MVP mode

2011-07-04 Thread ashwin.desi...@gmail.com
Victor, based on what I read, your flowpanel is part of a view which is mapped to a presenter. You are dynamically adding buttons to the flowpanel. You can setup click handlers for each of your buttons. if the button is present and clicked, its handler would be invoked. Inside the handler call

Handy way of using Google Fonts in GWT

2011-07-04 Thread Brandon Donnelson
I put together some notes on how I'm using Google Fonts in my project. The difficulty I had was dealing with css style sheet precedence/inheritance. I solved this by putting them into the project.gwt.xml file. I couldn't directly include the file, so I copied and pasted the page the google

Re: Standalone zip download of GWT Designer

2011-07-04 Thread Eckhard Rimkus
Dear Eric when trying to download this zip-File, I receive only an error message. What is my problem? Best regards Eckhard On 16 Jun., 22:47, Eric Clayberg clayb...@google.com wrote: For Eclipse 3.6... http://dl.google.com/eclipse/inst/d2gwt/latest/3.6/GWTDesigner_v2.3.1... On Jun 14,

[gwt-contrib] Re: Implements UiBinder rendering for Cells. (issue1466809)

2011-07-04 Thread rdcastro
Ok, I think I have some more useful feedback now. Nice document, I think we must add support in RenderablePanel to have UiRenderer objects added to them, that'd be awesome. Components that don't have to be widgets :-)