Re: Creating image from base64

2011-12-29 Thread vmnikulin
Thanks, Jens! It's a good decision in my opinion. On 27 дек, 19:41, Jens jens.nehlme...@gmail.com wrote: If you want to support larger images (larger than 32kb) and/or IE6/IE7 you have to use your current approach: class MyImage implements Serializable {     String imageUrl; //which will

Re: How to get hold of the instance in an InstanceRequest

2011-12-29 Thread Thomas Broyer
On Thursday, December 22, 2011 9:04:27 PM UTC+1, Gregor Frey wrote: Thank you. So there is no way to implement an instance method outside the domain class? Yes you can: you simply need a ServiceLocator. But why woulnt I include all instance methods in the proxy definition then? I

Re: Serializing and Deserializing EntityProxy with created EntityProxy inside makes root EntityProxy have created EntityProxy's stableId

2011-12-29 Thread Kevin Jordan
There's a line missing between the String data = and the incorrect pasted line PersonProxy item =. For my example it should read: store = new DefaultProxyStore(data); //Recreate store from serialized data. TestRootProxy item = requestFactory.getSerializer(store).deserialize(TestRootProxy.class,

Re: GWT debug

2011-12-29 Thread Anky
Hi Dennis, Well, this is not the case. I am not changing any field or adding new ones to serialized objects... The issue occurs even if I change some logic within the method, or add new element to a container, etc and hit browser refresh Thanks, Ankit On Dec 29, 1:00 pm, Dennis Haupt

Re: Abridged summary of google-web-toolkit@googlegroups.com - 28 Messages in 18 Topics

2011-12-29 Thread xavier . ivanez
NOUVEAU - BORE@L INFORMATIQUE INTEGRE JPA CONSULTANTS Afin de mieux vous servir, nos deux sociétés ont décidé de réunir leurs compétences et leur professionnalisme sous le nom de JPA CONSULTANTS SA . Par ce partenariat, nous nous améliorerons sur les points suivants : • Logiciel :

Re: How to set a Presenter in a composite Widget?

2011-12-29 Thread David
In your original thread you stated that you are calling nameView.setPresenter(this); ... If your implementation instance of nameView already has a handle to your widget when calling setPresenter , then you can simply change setPresenter to pass the presenter down to the widget. ...or you can

GWT debug

2011-12-29 Thread Anky
Hi All, I am not sure if it is a problem with my application. Initially when we started development, the debug worked fine, with few exceptions of hitting the browser refresh button couple of times to get the code picked by debugger. Now our application has grown up considerably and our debug

Re: compiler.useSourceMap

2011-12-29 Thread Thomas Broyer
SourceMaps haven't yet been released, they're only in trunk. In other words, it won't work with GWT 2.4, you'll have to wait for GWT 2.5 or build GWT yourself. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the

Javac compile error

2011-12-29 Thread misko237
Hi to all gwt developers. I have one strange problem. Until recently, everything worked fine, but then, when I'm in development mode, first time I start my browser, I got java compiler error. HTTP ERROR: 500 Compile failed; see the compiler error output for details. RequestURI=/index.jsp

Re: GWT debug

2011-12-29 Thread Anky
Here is a fresh error log 13:45:39.163 [ERROR] [dealmanager] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (Error): Invalid argument. number: -2147024809 description: Invalid argument. at

Serializing and Deserializing EntityProxy with created EntityProxy inside makes root EntityProxy have created EntityProxy's stableId

2011-12-29 Thread Kevin Jordan
I'm trying to preserve a modified EntityProxy's state between user session by using the ProxyStore to serialize it and deserialize it, but it appears that if it has a reference EntityProxy in a field inside, the root proxy's stableId gets overriden with the one of the created EntityProxy. This

Re: TabLayoutPanel SelectionHandler invoked multiple times

2011-12-29 Thread ALB-PSP-DV1
That was exactly the problem. I had put it inside a function which was invoked every time a tab is created. Due to this, selection handler was getting added multiple times.I moved it to the constructor and now it is invoked just once. Thanks a lot for the guidance. On Dec 29, 7:25 am, Patrick

multi selection without using Ctrl

2011-12-29 Thread mma
Hi there. I want to implement the following changes regarding the behavior of the MultiSelectionModel: - Each click on a row should select that row and maintain all the previous selected rows - Each click on a selected row should unselect it This sounds very easy but I haven't

Re: RequestFactory - Intermittent The AutoBean has been frozen on newly created

2011-12-29 Thread Jeff Rodriguez
Yeah, I put that code into a click handler for a button so I can just repeatedly fire it off. It's the only code in the function. It seems like something is trying to edit the result before my receiver callbacks are called. I say that because it works on the server side every single time. If I

Re: Revise policies and change some private members to protected.

2011-12-29 Thread Thomas Broyer
On Wednesday, December 28, 2011 11:05:27 PM UTC+1, Ed wrote: Solution/Workaround: copy and improve it yourself and override it through gwt config if needed. You could also access private members through JSNI (which bypasses Java access rules). And in the case of the list in ListHandler,

Re: Serializing and Deserializing EntityProxy with created EntityProxy inside makes root EntityProxy have created EntityProxy's stableId

2011-12-29 Thread Kevin Jordan
Simple case in case my wording was a little confusing: TestRootProxy rootProxy = requestContext.create(TestRootProxy.class); //Doesn't matter if it's a loaded one or an unpersisted root rootProxy.setChild(requestContext.create(TestChildProxy.class)); DefaultProxyStore store = new

Re: GWT debug

2011-12-29 Thread Dennis Haupt
Am 29.12.2011 17:15, schrieb Anky: Hi All, I am not sure if it is a problem with my application. Initially when we started development, the debug worked fine, with few exceptions of hitting the browser refresh button couple of times to get the code picked by debugger. Now our

Re: GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree

2011-12-29 Thread James Scott
Looks like it boils down to events. After looking at the TextInputCell and AbstractInputCell source, I added focus and change events to the list of events consumed by the CompositeCell, and that addressed both issues. Incidentally, I tried out the EditTextCell in the CompositeCell, and to get

DataGrid scrollbar not working in IE

2011-12-29 Thread llefler
Hello, We have been having an issue, where the scrollbar in IE 7 8 does not work when you click and drag it, for a data grid. When you use the mouse scroll it works, and when you use the arrow keys, to scroll down, it works as well. When you click and drag the scroll bar, it moves and it just

Re: RequestFactory - Intermittent The AutoBean has been frozen on newly created

2011-12-29 Thread Aidan O'Kelly
In your addOrUpdate() method, check to see you are returning the exact same instance that was passed in, just remembered I did actually run into the same problem when you return a different instance that has the same identity. On Thu, Dec 29, 2011 at 4:38 PM, Jeff Rodriguez

In development mode `$entry(...)` converts `false` to `Boolean(false)` which can be evaluated to true

2011-12-29 Thread Ali
Hi In following example (v2.3.0 development mode) `$entry()` converts returned `false` to `Boolean(false)` which can be evaluated to true if used immediately. public class Example { public boolean test() { return false; } public native void inject() /*-{ var self = this;

Re: How to set a Presenter in a composite Widget?

2011-12-29 Thread James Drinkard
The way I did this was create a MUpld class with it's own ui.xml file. Inside that class I have a gwtUpload widget where I use @UiField and @UiHandler for the Upload widget. Then I reference the MUpld class as @UiField MUpld mUpld; in the parent class: ViewImpl In the ViewImpl class I use this

Re: In development mode `$entry(...)` converts `false` to `Boolean(false)` which can be evaluated to true

2011-12-29 Thread Sanjiv Jivan
I hit the same issue as well. See the thread below which describes problem and a workaround. http://groups.google.com/group/google-web-toolkit-contributors/tree/browse_frm/month/2010-04/f728b64e7237b937?rnum=211_done=%2Fgroup%2Fgoogle-web-toolkit-contributors%2Fbrowse_frm%2Fmonth%2F2010-04%3F

Re: RequestFactory - Intermittent The AutoBean has been frozen on newly created

2011-12-29 Thread Thomas Broyer
I confirm the need to always use the same instance on the server side in a given request. I do believe it's a bug though fwiw. -- 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: Serializing and Deserializing EntityProxy with created EntityProxy inside makes root EntityProxy have created EntityProxy's stableId

2011-12-29 Thread Aidan O'Kelly
There's an issue with DefaultProxyStore that it doesn't always return sequential Ids from its nextId() method, which can result in some odd behaviour when serializing lists of ValueProxies, (all proxies point to the same object). Not sure if that's the issue here, but its worth giving a try as

Re: Cocoa like UI API for GW

2011-12-29 Thread Stefan Ollinger
Generally I like the idea of a clean widget set, maybe also themeable. About the gui editor: I think having an alternative editor, which is merely based on HTML/CSS and not on any IDE frameworks, is a nice to have. You could integrate this designer into several IDEs, via plugin wrappers.

xml reading problem

2011-12-29 Thread deltaaruna
Hi all, I tried to read a xml file using an gwt+google app engine app. But I am getting following exceptions No source code is available for type org.xml.sax.helpers.DefaultHandler; did you forget to inherit a required module? No source code is available for type javax.jdo.PersistenceManager;

Date and Time in Annotated TimeLine GWT

2011-12-29 Thread Jose Luis Hernandez
I am plotting a trend chart in GWT. In concrete, AnnotatedTimeLine. My Java code is: Runnable onLoadCallback = new Runnable() { public void run() { ArrayListAttributeDTO occAttrs = new ArrayListAttributeDTO();

Issue in numeric value 1 color display in GWT application

2011-12-29 Thread Elango
We are experiencing a strange problem in our application. The numeric value 1 is getting displayed in burgundy color instead of black color. Our application is using GWT 2.3 Default CSS font is Arial Particularly this issue is happening only in Windows 7 with 1280 * 800 screen resolution. MAC

GWT application freezes when new version is deployed while using it

2011-12-29 Thread mayumi
While using the GWT application, I deployed the new version of the application. Once deployment is complete my application freezes until I do the full refresh. I originally thought this was caching problem, so I assigned all the files to be no-cache by setting all response headers using the

Re: GWT application freezes when new version is deployed while using it

2011-12-29 Thread mayumi
This is observed when deployed with the changes in the code, so I am guessing one of the cache.js file. When deployed without any changes to a code this is not observed. On Dec 30, 12:35 am, mayumi mayumi.liyan...@gmail.com wrote: While using the GWT application, I deployed the new version of