Re: GWT Compiled Application cannot interact with php backendGWT Compiled Application cannot interact with php backend

2011-12-06 Thread Raphael André Bauer
On Tue, Dec 6, 2011 at 7:29 AM, Noor baken...@gmail.com wrote: I was developing a GWT application with a PHP backend. During development, everything was OK. I was developing my GWT app from my webroot and everything was working correctly and was properly interacting with php. However, when I

Re: History tokens and vertical menu panel

2011-12-06 Thread Ed
Sorry, but your question is unclear. Please specify details and an example scenario. On Dec 6, 2:06 am, JavaCool4Me sascha.monte...@gmail.com wrote: Hi, I am building a new application with a vertical panel menu, which works fine, but within some pages I have links to other pages ( which is a

Re: How do I set GWT headless mode for Maven?

2011-12-06 Thread Ed
I understand from the GWT FAQ that this isnt' possible with ImageBundles. See: http://code.google.com/webtoolkit/doc/1.6/FAQ_Troubleshooting.html On Dec 5, 11:12 pm, laredotornado laredotorn...@zipmail.com wrote: Hi, I'm using Maven 3.0.3, GWT 2.4 and the Bamboo integration suite.  How do I

Re: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread Ed
No problem. I do everything without any external lib (don't wanne be dependent of them). I would start by looking at code like the gwt windows manager and learn from it: http://code.google.com/p/gwtwindowmanager/ - Ed On Dec 6, 1:19 am, Zakaluka zakal...@gmail.com wrote: Hello all, I have

Re: What causes Deferred binding failed for class errors?

2011-12-06 Thread Ed
Some tips: 1) Make sure the sources (besides the classes) are present on your classpath. 2) Use the @Source annotation to define the picture file and make sure the path it correct. @Source(cellTreeItemImage.png) ImageResource cellTreeItemImage(); In this example the picutre has to be present in

Re: how to post data from one page to another

2011-12-06 Thread Ed
It all depends how you will setup your pages and what you mean by pages. The most obvious setup: the pages are part of the same GWT app. In this case they can interchange data by sharing some class that contains the value's you like to share. This class would be the so called Data Model. This

Re: SubmitCompleteEvent.getResults() is null in devmode

2011-12-06 Thread Thomas Broyer
Try accessing your app using http://t410:/ instead of http://127.0.0.1:/ You'll likely have to pass the -bindAddress t410 or -bindAddress 0.0.0.0 option to the DevMode though:

Re: how to sink a custom defined event class ?

2011-12-06 Thread Thomas Broyer
As I said: addHandlerhttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/Widget.html#addHandler(H, com.google.gwt.event.shared.GwtEvent.Type)(myHandler, PageEvent.TYPE); -- You received this message because you are subscribed to the Google Groups Google

Re: how to sink a custom defined event class ?

2011-12-06 Thread Thomas Broyer
Cell widgets are special, because they have to listen to any event their Cell(s) want to be notified about, and they process (almost) all of these events the same: 1) find the relevant value and Cell, 2) dispatch the event to the CellPreviewEvent.Handlers if any, then 3) pass the event down to

Opera 11.60 + GWT 2.4.0: Code load failed!

2011-12-06 Thread Michael Würtinger
Hi folks, I just installed Opera 11.60 (see system details below) and tried to access my GWT application, which results in a Code load failed! message. All other browsers, inlcuding Opera 11.10, work like a charm. Can anyone confirm this problem? What's the cause? Is it a bug in Opera or does

Re: Form factor support using GIN

2011-12-06 Thread George Agiasoglou
Hi there, I am trying to follow your example but I get multiple double-bound: key errors for instance Double-bound: Key[type=MyActivity, annotation=[none]]. ActivityGinModule.configure(ActivityGinModule.java:9),ActivityGinModule.configure(ActivityGinModule.java:9) I've copied my

setSource(Object source) in class GwtEvent

2011-12-06 Thread wahaha
in the class GwtEvent,there is a method setSource(Object source),its not a public method,so we can not call it in subclass. then what's the meaning of its existence. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Event Bubbling

2011-12-06 Thread Oussema Gabtni
Hello, Is it possible in GWT to use Event bubbling? For example i would like to propagate an event from a GWT component to all it's sub components. Is there a mechanism that implements this feature? Thanks a lot for the reply -- You received this message because you are subscribed to the

Re: Module Include Distorting CSS

2011-12-06 Thread Joshua Zeidner
Thomas, thanks for the tip. Removing the Theme include does not appear to remove the symptoms. thanks! Joshua Zeidner http://gwt.joshuazeidner.com On Dec 5, 9:07 am, Thomas Broyer t.bro...@gmail.com wrote: Could it be that the GWT app is using a built-in theme? It would then

Code Split / Prefetching Mechanics

2011-12-06 Thread Watnuss
Hi, I am wondering how the prefetching described in http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideCodeSplitting.html works exactly. Will the code always be loaded when a runAsync call is performed or just the 1st time the method is invoked? In my opinion it makes only sense if

gwt-diagrams

2011-12-06 Thread R!H@B S@!D!
Hii all, I have a problem with this examples : http://code.google.com/p/gwt-diagrams/wiki/CodeExamples the widgets can appear but not the connectors! any idear?? thxx -- *Rihab SAIDI* -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

CellTable Styles in IE

2011-12-06 Thread DonC
Hi, I have problem with my styles in a celltable I have the following bits of code interface TableResources extends CellTable.Resources { @Source({CellTable.Style.DEFAULT_CSS, tablestyles.css}) CellTable.Style cellTableStyle(); } public void createTable() {

Re: How do I set GWT headless mode for Maven?

2011-12-06 Thread laredotornado
I understand that it says if you're using any widgets that use ImageBundle in their underlying implementations, the GWT compiler will search for the DISPLAY environment variable and try to connect to an X11 Graphics Window but then it lists the work-around after, but you're saying the work-around

Re: GWT for Eclipse on linux

2011-12-06 Thread darrell pfeifer
Some of the Fedora folks have been making Eclipse plugins that ease the rpm packaging for Fedora systems. There isn't much in that set of plugins for Java. Fedora does package other Eclipse plugins. If you do yum list \*eclipse\* you will see them. I think you want eclipse-jdt While the

Re: GWT for Eclipse on linux

2011-12-06 Thread Derek
I always just download eclipse separately into my own home directory and run it from its own ~/eclipse directory. Package managers never seem to set things up the way I want them to. I've never had any problems using GWT with Eclipse on Linux. I'm doing it even now. :) Derek On Dec 6, 12:28 am,

Re: setSource(Object source) in class GwtEvent

2011-12-06 Thread Ed
I had the same problem and wrote my own event bus to be able to set the source. See also this issue: 6525 http://code.google.com/p/google-web-toolkit/issues/detail?id=6525 - Ed On Dec 6, 2:06 pm, wahaha il...@yahoo.com.cn wrote: in the class GwtEvent,there is a method setSource(Object

Re: setSource(Object source) in class GwtEvent

2011-12-06 Thread Ed
BTW: the meaning is that the source should be set on the event bus, see SimpleEventBus, through the constructor. The bus is able to set the source. YOu aren't allowed to do that. Such that you must change the bus to be able to change it (that's what I did). - Ed On Dec 6, 2:06 pm, wahaha

Re: History tokens and vertical menu panel

2011-12-06 Thread David
I also pass a parameter in the string with href='?dep=blah#page2')  if any portion of the url prior to the # changes then app will reload (come through onModuleLoad() again. I'm not sure if that is what you are doing as I don't see the menu event handling in your sample On Dec 5, 8:06 pm,

Re: How do I set GWT headless mode for Maven?

2011-12-06 Thread Ed
you're saying the work-around never applies for ImageBundles?  I didn't get that from reading this section. I think so. Especially because of this sentence in the faq: --- Even if you are not using the ImageBundle explicitly in your client code, ... I think it's understandable that it always

Re: GWT for Eclipse on linux

2011-12-06 Thread Lukasz Plotnicki
Just download and use the eclipse version from eclipse.org. I work only on linux (ubuntu) and had no problems whatsoever with eclipse and the google plugin for eclipse. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: FileWriter Server Side

2011-12-06 Thread jhulford
If you don't actually need to use appengine on your server side, then disable it in your project settings and then you can use FileWriter. Otherwise, you can't use it in appengine - you are not allowed filesystem access when running on it (here's the app engine whitelist:

Re: Opera 11.60 + GWT 2.4.0: Code load failed!

2011-12-06 Thread Thomas Broyer
Using the exact same build, I can successfully load the showcase sample (online; built against some version earlier than 2.4 I guess) and the GWT-based https://groups.google.com/forum/ (Google is known to always build from trunk, so it's after 2.4). An old app (built with GWT 2.0.3) loads just

Re: Event Bubbling

2011-12-06 Thread Ashton Thomas
You can use a global EventBus: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/event/shared/SimpleEventBus.html and just have only the widgets that need to listen for particular events (you can add custom events for any situation) register with the global EventBus

Re: Opera 11.60 + GWT 2.4.0: Code load failed!

2011-12-06 Thread Kevin Jordan
Is this in hosted mode or for the compiled app? Also, are you using this project http://code.google.com/p/gwt-platform/? That seems to have a Code load failed that pops up in an alert window. On Dec 6, 5:28 am, Michael Würtinger wuertin...@cip.ifi.lmu.de wrote: Hi folks, I just installed

Re: Opera 11.60 + GWT 2.4.0: Code load failed!

2011-12-06 Thread Michael Würtinger
Hi Thomas, https://groups.google.com/forum/#!overview doesn't work in my Opera either! The page remains empty, no error is reported. Seems to be a general GWT - Opera 11.60 problem... Which appears only on my system. On Dec 6, 4:09 pm, Thomas Broyer t.bro...@gmail.com wrote: Using the exact

Re: Opera 11.60 + GWT 2.4.0: Code load failed!

2011-12-06 Thread Michael Würtinger
Hi Kevin, the compiled application doesn't work. I haven't tested development mode. You are right, I'm using gwt-platform. I assume that the problem would be the same without this library, but the popup message wouldn't appear. Cheers! Michael On Dec 6, 4:36 pm, Kevin Jordan ke...@kjordan.net

Server side gwt-validation doesn't work (?)

2011-12-06 Thread Nicolas.Rocca
We use gwt-validation-2.0-BETA-SNAPSHOT-r269.jar and GWT 2.4. The field of the entity is annotated with javax.validation.constraints.NotNull Client side validation works and also server side validation in hosted mode (jetty). But when deployed in tomcat (6.0.20), we get the following exception

Re: How do I set GWT headless mode for Maven?

2011-12-06 Thread Thomas Broyer
Have you tried -Dgwt.extraJvmArgs=-Djava.awt.headless=true? http://mojo.codehaus.org/gwt-maven-plugin/test-mojo.html#extraJvmArgs -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

RE: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread Armishev, Sergey
I build my whole MDI Web app with http://code.google.com/p/gwtwindowmanager/ -Sergey -Original Message- From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf Of Ed Sent: Tuesday, December 06, 2011 4:25 AM To: Google Web Toolkit Subject: Re:

Re: Server side gwt-validation doesn't work (?)

2011-12-06 Thread Nick Chalko
On Tue, Dec 6, 2011 at 7:46 AM, Nicolas.Rocca nicolas.ro...@t-online.dewrote: We use gwt-validation-2.0-BETA-SNAPSHOT-r269.jar and GWT 2.4. The field of the entity is annotated with javax.validation.constraints.NotNull Client side validation works and also server side validation in hosted

Re: setSource(Object source) in class GwtEvent

2011-12-06 Thread Jens
If you fire an event via the EventBus, you can fire it with or without a specific source (EventBus.fire() and EventBus.fireFromSource() ). The same applies to listening for events on the EventBus. You can listen for every Event of a given Type or you can only listen for Events of a given Type

Re: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread Zakaluka
Thank you both for the suggestion. I'm looking into it now. Sergey, are you still using the GwtWM project? Regards, zak. On Dec 6, 8:52 am, Armishev, Sergey sarmis...@idirect.net wrote: I build my whole MDI Web app withhttp://code.google.com/p/gwtwindowmanager/ -Sergey -Original

Re: Code Split / Prefetching Mechanics

2011-12-06 Thread Ed
Good question, but if you only use it once, you don't need to worry about it. I would only use it once such that you aren't dependent on the implementation details as you never know how it will be in the future. I use it a bit like in the example of the link you specify. I check if the instance is

Re: Event Bubbling

2011-12-06 Thread Ed
The event bubbling you are looking for has nothing to do with GWT. It's a java design issue. Like Ashton suggests: use a local (or global) event bus. Or a parent child relation. Example: Archive controller with a Declaration and Wallet Archive controller that will show them self depending if the

Re: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread darkflame
I dont use a completely full windowing system as such, but my review website does use extensive popups to enter data while still looking at other information if you wish. It does this more or less exactly as you suggested, decorated popups containing composites. The only modifcations I did was to

Spell Check for GWT

2011-12-06 Thread sib
Hi all, Does anyone know of a good spell check solution for gwt? I'm working on a project that requires one and installing spell check plugins on the users browser is not an option. Also the system runs in a closed network and cannot access the internet so I would have to host the spell checking

RE: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread Armishev, Sergey
I just support this project that I built back in 2009. And it is using GWT 1.5.3. So you need some prototyping if you want to start using it on latest GWT. I know about one problem in GWT 2 that I found (and easily fixed) that one name violates CamelCase convention that GWT compiler now

RE: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread Armishev, Sergey
One more point to consider. This MDI solution is hard to use on mobile phones -Sergey -Original Message- From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf Of Armishev, Sergey Sent: Tuesday, December 06, 2011 2:03 PM To:

Re: GWT Developer Plugin for Firefox 8

2011-12-06 Thread Bruce Grant
Many thanks Alan - saved me much frustration and re-installs! -- 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

Object deep copy or serialization

2011-12-06 Thread Anky
Hi, I have a requirement in my project where a screen data is to be rendered from a cloned or object copy rather than on actual object. This way, if user wish to cancel the changes, the original object will not be affected and if user accepts the changes, the modified cloned object replaces the

Re: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread Zakaluka
Thank you for the link. It's always better to see the code's effects. that's something along the lines of what I was thinking of, except not making the popups modal. Looks like the GwtWM project uses SimplePanels within an AbsolutePanel. I'm going to try these 2 techniques out and see which

Re: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread Zakaluka
Sergey, Thanks for the information. I'm going to re-create the GwtWM in the latest GWT and see how it goes (just the very basics). As for mobile, you are very correct. I'm setting the project to use different GUIs for phones, desktops and tablets. Regards, zak. On Dec 6, 11:08 am, Armishev,

Re: SubmitCompleteEvent.getResults() is null in devmode

2011-12-06 Thread Benjamin Seber
Thank you, Thomas. As so often, i've found a posting on stackoverflow after i asked here... http://stackoverflow.com/questions/7476420/gwt-blobstore-error-calling-createuploadurl Will try things out tomorrow. -- You received this message because you are subscribed to the Google Groups Google

Server side method in Transport Object

2011-12-06 Thread joe kolba
Is it possible to put a transient method that contains non gwt objects inside a transport object? I am transferring a DTO back and forth from the server to the client and would like to be able to give the object functionality to run sql statements and work with my session connection when its on

Re: DataGrid in TabLayoutPanel is empty/filled depending on the order of the tabs

2011-12-06 Thread koma
Ok this seems to fix it @UiHandler(tabLayoutPanel) public void onClick(SelectionEventInteger event) { table.onResize(); } but i am not sure wether this is best practice ?? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: History tokens and vertical menu panel

2011-12-06 Thread JavaCool4Me
the onValueChange is my menu handler which works fine for the links in the menu panel On page1 I have a celltable with links to page2, if I click on a link (a href='?dep=Sales#page2'Sales/a) it does go to page2, but the page fully reloads and the Vertical Menu Panel is in initial state, not on

GWT Performance Issues

2011-12-06 Thread CSchulz
I was wondering if anyone has had any issues with performance in GWT and how you solved it. Right now there is a project I'm working on where I get some json and generate some views and it's maybe 100 items long and GWT takes around 8 seconds to render it in Chrome. I'm concerned because I'm

Re: GWT RPC mechanism

2011-12-06 Thread Anky
thanks! On Nov 25, 7:11 pm, Tomasz Gawel tomaszga...@op.pl wrote: it is serialized to text but not json. - you can catch a glimpse of it in firebug :) however you can overwrite it - look athttp://timepedia.blogspot.com/2009/04/gwt-rpc-over-arbitrary-transpor... -- You received this

RE: GWT Performance Issues

2011-12-06 Thread Armishev, Sergey
Publish your code. I suspect the problem might be there. Also Chrome in development mode might be slow (or very slow) compare to production where it usually the fastest browser -Sergey From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf Of CSchulz

Re: Code Split / Prefetching Mechanics

2011-12-06 Thread Jens
The code will only be loaded once and if its already available you wont recognize any delay in code execution. So I think there is little to no overhead when reaching a code split point more than once. At least I havent seen any issues in my apps (about 20 split points, which are executed

SS0 and GWT

2011-12-06 Thread mwk
Hi All- I'm a new user who has been tasked with refactoring a GWT 2.3 application so that it can work behind something like Schibboleth or OpenAM, as well as maintain a it's own authentication page/panel. Searching the forum, I notice that most people when talking about authentication are

Re: GWT Performance Issues

2011-12-06 Thread Jens
Just keep in mind that development mode is really a lot slower than the final compiled javascript code (development mode in Firefox seems to be the fastest, Safari is ok, Chrome feels slow). How do you generate your views? I am not quite sure but I think something like: FlowPanel wrapper =

Re: Object deep copy or serialization

2011-12-06 Thread Jens
I think you only have the standard options: - Use the Editor Framework of GWT (using it you would have to call a flush() method that writes changes to your object. If a user hits cancel you just won't call flush() - no need for cloning) - You could implement Object.clone(), implement a custom

Re: Canvas, ImageData, and IE9

2011-12-06 Thread Thad
First of all, I found that I'm not the only one who stumbled on this bug. See http://groups.google.com/group/google-web-toolkit/browse_thread/thread/96f842dd3a23fc3a/cb447e0aa23997f8 Second, I have reliable workaround, at least for rectangles (and probably for lines, ovals, etc.). I've tested in

the parameter of the method addHandler

2011-12-06 Thread wahaha
in class Widget,there is a method addHandler(final H handler, GwtEvent.TypeH type). in a customer defined Widget which has a customer defined event,i call the method addHandler(final H handler, GwtEvent.TypeH type),and transmit parameter like this: addHandler(handler,new TypeXxxHandler) but the

Re: GWT Performance Issues

2011-12-06 Thread CSchulz
Yeah, it entirely was running in Eclipse and when I compile the project and publish it, it does run much faster. I always generate the views first and then push the changes out to the DOM in one or two steps because I know that's the fastest way to do it. I just didn't realize how much slower

Re: Object deep copy or serialization

2011-12-06 Thread -sowdri-
Autobean directly have a clone() method: clone() An AutoBean http://code.google.com/p/google-web-toolkit/wiki/AutoBean and the property values stored within it can be cloned. The clone() method has a boolean parameter that will trigger a deep or a shallow copy. Any tag values associated with

Re: the parameter of the method addHandler

2011-12-06 Thread Ashton Thomas
Does this help creating custom events?: https://github.com/ashtonthomas/beans/blob/master/src/com/billy/bob/client/event/HeaderNotificationEvent.java https://github.com/ashtonthomas/beans/blob/master/src/com/billy/bob/client/event/HeaderNotificationHandler.java Also register handler with

[gwt-contrib] Re: Fix leak in LayoutImplIE6 (issue1601804)

2011-12-06 Thread stephen . haberman
http://gwt-code-reviews.appspot.com/1601804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix leak in LayoutImplIE6 (issue1601804)

2011-12-06 Thread stephen . haberman
Thomas, can you take a look at this? I haven't fully wrapped my head around LayoutImplIE6, but it seems to be setting up several expando properties that are either not unset on detach (__styleRuler) or setup pre-attach (__layer) and so not detached if the user just instantiates the widget but

[gwt-contrib] Re: Fix for ScrollImplTrident leak (issue1601803)

2011-12-06 Thread t . broyer
LGTM, but see comment below. http://gwt-code-reviews.appspot.com/1601803/diff/9/user/src/com/google/gwt/user/client/ui/ScrollImpl.java File user/src/com/google/gwt/user/client/ui/ScrollImpl.java (right):

[gwt-contrib] Re: Issue 6331: Let AutoBean serialize dates as numbers when possible. (issue1601805)

2011-12-06 Thread t . broyer
http://gwt-code-reviews.appspot.com/1601805/diff/1/user/src/com/google/web/bindery/autobean/shared/ValueCodex.java File user/src/com/google/web/bindery/autobean/shared/ValueCodex.java (right):

[gwt-contrib] Re: Fix for ScrollImplTrident leak (issue1601803)

2011-12-06 Thread stephen . haberman
http://gwt-code-reviews.appspot.com/1601803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix for ScrollImplTrident leak (issue1601803)

2011-12-06 Thread stephen . haberman
Correct me if I'm wrong but there's chance it could leak if the compiler inlines initHandlers here. Tricky! That seems like it could happen; I don't know for sure, but I think it makes more sense to init the handlers in the cstr anyway. Updated the patch accordingly.