Re: Request Factory polymorphic with locator

2012-08-24 Thread bond
Hi, anyone has some ideas about this problem? Thanks!! Il giorno mercoledì 22 agosto 2012 18:06:25 UTC+2, bond ha scritto: Hi, I'd like to use polymorphic type mapping with use of Locator. I'm in this situation: @Entity class MyBase {...} @Entity class MyChild1 extends MyBase {...}

Re: Request Factory polymorphic with locator

2012-08-24 Thread Thomas Broyer
All I can say is that it's nothing to do with the use of a ServiceLocator, and that it works for me. Can you look at the DeobfuscatorBuilder generated by ValidationTool? (if you configured annotation processing in Eclipse, look at the .apt_generated folder, otherwise use the apt tool from the

Re: Request Factory polymorphic with locator

2012-08-24 Thread bond
Hi Thomas, I watched the DeobfuscatorBuilder and it seems ok. After some tests the example that I wrote works but this one no: @Entity class Document {...} @Entity class CustomerDocument extends Document{...} @Entity class CustomerInvoice extends CustomerDocument{...} @Entity class

Re: [schema.org] Can I use itemprop=image inside g:image/ ?

2012-08-24 Thread Thomas Broyer
On Friday, August 24, 2012 3:21:33 AM UTC+2, regnoult axel wrote: Thanks you Thomas for your helpfull answer ! It should be great to have this feature inside UI BINDER I think :) Star this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=5846 (I suspect we'll end up

finalize()

2012-08-24 Thread Harold Comere
Hi all, I can not find the info on the web but : Does finalize() method works properly after gwt compilation ? Regards, Haroldli -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: GWT-Eureka 0.2 released

2012-08-24 Thread Harald Pehl
Great work, Carlos! The timepicker widgets are exactly what I was looking for. I will integrate them asap in my time tracking app (tire-d8.googlecode.com). - Harald Am Donnerstag, 23. August 2012 23:18:28 UTC+2 schrieb ctasada: Hi everyone, I just published the GWT-Eureka 0.2. This is a

Re: finalize()

2012-08-24 Thread Thomas Broyer
On Friday, August 24, 2012 12:28:27 PM UTC+2, Harold wrote: Hi all, I can not find the info on the web but : Does finalize() method works properly after gwt compilation ? No. There's no such thing in JavaScript so it cannot be emulated. -- You received this message because you are

How to create ImageElement in UiBinder from ImageResource

2012-08-24 Thread Jonas
Hi, I'm trying to move as much of my widgets into native HTML elements, for example InlineLabel to span and so on. But how do you use the img element in the most efficient way in UiBinder with an ImageResource from a ClientBundle? Do I have to set the class as a style defined with @sprite for

Re: How to create ImageElement in UiBinder from ImageResource

2012-08-24 Thread Thomas Broyer
On Friday, August 24, 2012 1:44:01 PM UTC+2, Jonas wrote: Hi, I'm trying to move as much of my widgets into native HTML elements, for example InlineLabel to span and so on. But how do you use the img element in the most efficient way in UiBinder with an ImageResource from a ClientBundle?

How to add dynamic colums to celltable

2012-08-24 Thread lucky
Hi, i have a requirement that i need to add dynamic columns to cell table. i Google it but didn't find proper solution. Please provide me some sample to add dynamic columns to cell table Thanks in advance -- You received this message because you are subscribed to the Google Groups Google

Re: How to add dynamic colums to celltable

2012-08-24 Thread Juan Pablo Gardella
See http://stackoverflow.com/questions/7172262/create-gwt-celltable-dynamically 2012/8/24 lucky lucky.begum...@gmail.com Hi, i have a requirement that i need to add dynamic columns to cell table. i Google it but didn't find proper solution. Please provide me some sample to add dynamic

Re: How to add dynamic colums to celltable

2012-08-24 Thread lucky
if possible could you please provide me the brief sample example (like in the showcase). Thanks On Fri, Aug 24, 2012 at 6:40 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: See http://stackoverflow.com/questions/7172262/create-gwt-celltable-dynamically 2012/8/24 lucky

Re: How to add dynamic colums to celltable

2012-08-24 Thread Juan Pablo Gardella
Hi, I show my code where use it. CellTableListString table = new CellTableListString(); ListListString rows = ... for (int column = 0; columna columnCount; column++) { table.addColumn(new IndexedColumn(column), new TextHeader(columnsArray[column])); } final

Re: finalize()

2012-08-24 Thread Joseph Lust
Generally speaking, there is no reason you should need finalize either as it is a anti-pattern in all but a very few cases. However, for items like widgets, you can do cleanup in the OnDetach and OnUnload methods. Sincerely, Joseph -- You received this message because you are subscribed to

Plug-ins GWT - Eclipse

2012-08-24 Thread Julio P. Leiser
Hi, does anyone know why the site gwt plug-ins is not in the air. Two days ago I'm trying to install the plugin for google JUNO ( http://dl.google.com/eclipse/plugin/4.2) and the service can not download. Can anyone help me. Atenciosamente, Julio P. Leiser

Re: finalize()

2012-08-24 Thread Harold Comere
Hi, Thank you for answers ! I am using GWT for 3D purpose with WebGL. When i am destroying an object from the 3D scene, i have to free associated webgl objects to manage GPU memory. Some webgl objects are shared between many objects, so i need to destroy the gl objects only when they are not

Re: finalize()

2012-08-24 Thread Alain Ekambi
I think even in Java there are few cases where you should rely on finalize. Actualy you should not rely on it at all 2012/8/24 Harold Comere harold.com...@gmail.com Hi, Thank you for answers ! I am using GWT for 3D purpose with WebGL. When i am destroying an object from the 3D scene,

Re: Plug-ins GWT - Eclipse

2012-08-24 Thread Juan Pablo Gardella
You must install inside eclipse, you can't download with a browser. 2012/8/24 Julio P. Leiser jplei...@gmail.com Hi, does anyone know why the site gwt plug-ins is not in the air. Two days ago I'm trying to install the plugin for google JUNO ( http://dl.google.com/eclipse/plugin/4.2) and the

Re: Google Maps API v3 support in gwt-google-apis

2012-08-24 Thread syshex
Hi Regnoult Yes thanks so much for the kind reply. I've seen that thread, and what I can gather from Eric post is that this is a best effort thing and not a production ready release. As stated by him on his reply: the documentation is rough, the api does not follow convention, and again, it is

Re: GWT and automated testing tools

2012-08-24 Thread Ryan Shillington
We've been using Selenium for 6 months now, and quite happily. Occasionally the browser will do something stupid like ask to install an update and ruin the test, but that happens pretty rarely. It works pretty well across IE, Chrome Firefox. Through the grapevine, I heard that Selenium is

Re: Plug-ins GWT - Eclipse

2012-08-24 Thread Julio P. Leiser
donwload already installed the file. But by using the url eclipse is not working.* ErrorCodeNoSuchKey/CodeMessageThe specified key does not exist./Message/Error * Atenciosamente, Julio P. Leiser --- *House Company Informática Ltda* Arquiteto de

Re: finalize()

2012-08-24 Thread Joseph Lust
The commonly accepted two use cases are (1) for safety-net finalizers in older code (ensure resource is closed, but not preferred means), and (2) for native peers for finalizer chaining into native JNI calls that must have their finalizers called. Sincerely, Joseph -- You received this

Re: Google Maps API v3 support in gwt-google-apis

2012-08-24 Thread Joseph Lust
Regnoult , I might suggest GWT-Maps-V3-Apihttps://github.com/branflake2267/GWT-Maps-V3-Api. As you can see from the showcase http://gonevertical-apis.appspot.com/, pretty much every maps feature is there and working. It is the 'beta' only because it has not been pushed out to Maven Central

Re: GWT and automated testing tools

2012-08-24 Thread Joseph Lust
To echo Ryan's point, we have been using Selenium/Cucumber on our 1000+ widget project for a year now to great effect. Just make sure you add a 'debugId' attribute to elements of interest as we found XPath's or CSS based selectors to be very brittle and often broken by minor UI tweaks. Just

GWT programming with Eclipse Xtend

2012-08-24 Thread Sven Efftinge
Hi all, Xtend (xtend-lang.org) is a better Java which gets compiled to readable Java code. The language is very Java-like but comes with less boilerplate and adds modern features like lambda expressions, operator overloading, etc.. Unlike Groovy it is still statically typed (including

How can I dynamically switch between standard and RTL CSS

2012-08-24 Thread Aladin Dajani
New to GWT. Followed the tutorial (StockWatcher) through the Internationalization section and applied the same to an RTL language. The strings and messages were in the correct language, but the page orientation remained LTR until I changed the CSS file in the projects GWT.xml file (e.g. from

Spring and gwt (request factory)

2012-08-24 Thread pierre leagault
hi i use spring and gwt (request factory). in my applicationContext, i use context component-scan but my bean is not retrieved. i need to declare it manually. why component scan don't work? my web.xml context-param param-namecontextConfigLocation/param-name

GWT call-back BUG

2012-08-24 Thread ILoveGWT
Hi All, One of the GWT Bug(Sorry, as I think It's a Bud) ate my valuable development time recently. I was saving my 4 DynamicForm's data by using addData(Record record, DSCallback callback) method. Saving back-end method had a business validation which return RunTimeException with validation

FlowPanel problem.

2012-08-24 Thread Antoine Lever
I want to add a number of DecoratorPanels horizontally until there's no more room and then move onto another row. I'm therefore trying to use a FlowPanel. No matter what I do, the DecoratorPanels appear vertically and not horizontally. What am I doing wrong? Please help! Thank you

How to insert a new row in to a DataGrid

2012-08-24 Thread Claire
Hi, I have a button assigned to the onClick method. Within this method I add a new element to the list, reset the data grid row count by calling setRowCount(list.size(), true) and reset the grid data by calling setRowData(0, list). In debug mode I can see the list size increasing however, the

Re: CMS in GWT

2012-08-24 Thread Debasish
Hi Deepak, Application of theme / css is certainly not an issue. GWT provided theme mechanism is a compile time feature. Though with a bit of effort you can even develop an ability to create dynamic themes.i.e. upload and new theme and use. Your bigger concern would be content integration

Re: Please help in Displaying SSRS Reports in GWT Application

2012-08-24 Thread Vedprakash Satapathy
I came across the same problem, To solve this problem i kept an aspx with Reportviewer at server side and added an iframe at Gwt side, after that it is all about passing parameters in query string and parsing them at server side. It may not be the best solution around but sure it gives

Problem with SuggextBox as table cell

2012-08-24 Thread Christian Pelster
Hi all, I'm currently evaluating the possibility to use a SuggestBox as a table cell. As a proof of concept I copied the code from EditTextCell and added the creation of the SuggestBox to the edit method (please ignore the map holding all SuggestBox instances, this is just for debugging

Question about API

2012-08-24 Thread Flavien Medja
Hi, Surely this s not the best place for my question but I cannot find a forum where to put it so I give it a go here ... Basically we are building a taxi website and I wanted to know where should I be looking to find those Seacrh boxes with auto enter where you enter the name of the street ,

Re: Google Maps API v3 support in gwt-google-apis

2012-08-24 Thread regnoult axel
Hi, @Rui : I am sorry ! I did a confusion between RELEASE and PRE-RELEASE. I understand your problem and I agree with you. @Joseph : The week before I was using what I call the : Branflake Version. And then I have understood that it exist the official google API team that has a pre-release .

Re: [schema.org] Can I use itemprop=image inside g:image/ ?

2012-08-24 Thread regnoult axel
Cool ! That is the first time I rate an issue :D Indeed, it would be nice to manage the meta tag inside UI binder like an HTML Page. In my webapp, I talk about movies, and I do not know if it will works well with crawling :( Indeed, the information of the movie will appear in a POPUP. It exists

Check internet speed on client machine

2012-08-24 Thread Deepak Singh
Hi, How can we find out that the internet speed is slow on client machine so that we can show a notification at the time of loading the app ? Regards Deepak Singh -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: GWT 2.5 RC1 Is Here!

2012-08-24 Thread Thomas Broyer
On Wednesday, August 22, 2012 4:23:53 AM UTC+2, rajar wrote: More of a question than reply. What is the future of GWT after 2.5 ? Governance of the project will then switch to the Steering Committee. We already planned a bunch of big changes (switch to Git, switch to Maven, modularize,

Spring Roo, relationship status with GWT? recommended for more apps more complex than basic CRUD?

2012-08-24 Thread GWTter
Hi all, I came across Spring Roo recently and have put in a considerable amount of research as far as whether to use it for my app or not. However, I'm running into a couple of issues in my consideration. 1) GWT support: Spring Roo integration with GWT (more specifically the gwt addon for

Re: Check internet speed on client machine

2012-08-24 Thread Joseph Lust
Try downloading an image or file and seeing how long it takes. That could give you a rough idea of their total connection speed/latency. Of course you'll need to set no-cache headers and the like to prevent the file from caching, so your test is good each time. Simply time when you start the

Re: Google Maps API v3 support in gwt-google-apis

2012-08-24 Thread Joseph Lust
Thanks Axel, Best luck with your maps efforts. To address a point you raised: I am thinking that if I test it and it works at home, so it will also work in production (even if it is a pre-release version). The debate of the documentation is another problem, but as I said, I will need the

Re: FlowPanel problem.

2012-08-24 Thread Alfredo Quiroga-Villamil
This should be of help: https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels#LayoutPanels HorizontalPanel is a bit trickier. In some cases, you can simply replace it with a DockLayoutPanel, but that requires that you specify its childrens' widths explicitly. The most common

Re: Google Maps API v3 support in gwt-google-apis

2012-08-24 Thread regnoult axel
Ok, I think you did a great work ! Probably that I will switch again to use your version... Actually, I have a technical problem (sorry to change the conversation) that appeared in BOTH librairies (branflake GWT MAP and Google Official GWT MAP). Indeed, when I display a map inside a popup, then

[gwt-contrib] Ensures integer pixel values and adds getters for subpixel values (issue1815803)

2012-08-24 Thread t . broyer
Are there tests that could be added / updated? http://gwt-code-reviews.appspot.com/1815803/diff/1/src/com/google/gwt/dom/client/DOMImpl.java File src/com/google/gwt/dom/client/DOMImpl.java (right):

[gwt-contrib] Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (issue1816803)

2012-08-24 Thread skybrian
Reviewers: acleung, Description: Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (This is not ready to commit yet, since it's not tested, but here's a preview.) Please review this at http://gwt-code-reviews.appspot.com/1816803/ Affected

[gwt-contrib] Re: Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (issue1816803)

2012-08-24 Thread jat
LGTM after testing. Suggest changing how JSVAL_IS_OBJECT is handled, but I don't feel strongly about it. http://gwt-code-reviews.appspot.com/1816803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (issue1816803)

2012-08-24 Thread skybrian
Thanks! In that case, I'll commit this and follow up in another CL if needed. http://gwt-code-reviews.appspot.com/1816803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (issue1816803)

2012-08-24 Thread jat
Sorry, didn't notice my draft comment wasn't included in the reply before. http://gwt-code-reviews.appspot.com/1816803/diff/1/plugins/xpcom/FFSessionHandler.cpp File plugins/xpcom/FFSessionHandler.cpp (right):

[gwt-contrib] Re: Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (issue1816803)

2012-08-24 Thread acleung
lgtm http://gwt-code-reviews.appspot.com/1816803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (issue1816803)

2012-08-24 Thread skybrian
On 2012/08/24 20:41:13, jtamplin wrote: #ifndef JSVAL_IS_OBJECT #define JSVAL_IS_OBJECT(x) (!JSVAL_IS_PRIMITIVE(x)) #endif They're actually subtly different because the removed JSVAL_IS_OBJECT would return true for a null, and so does JSVAL_IS_PRIMITIVE. However, I didn't see any code that

[gwt-contrib] Re: Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (issue1816803)

2012-08-24 Thread skybrian
Strangely, this isn't working for me. The plugin seems to install and I can bring up preferences, but the __gwt_HostedModePlugin javascript variable doesn't show up, so it goes to the missing plugin page. Any ideas? Firefox version: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:15.0) Gecko/20100101

[gwt-contrib] Re: Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (issue1816803)

2012-08-24 Thread skybrian
Turns out I needed to update chrome.manifest. After fixing this, I'm getting an error on reloading the page. I'm surprised it was working for jat, unless that was with Firefox 14. Connect(url=http://localhost:8080/Showcase.html?gwt.codesvr=xx.xx.xx.xx:9997#!CwCheckBox, sessionKey=XXX,

[gwt-contrib] Re: Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (issue1816803)

2012-08-24 Thread John A. Tamplin
On Fri, Aug 24, 2012 at 9:16 PM, skybr...@google.com wrote: Turns out I needed to update chrome.manifest. After fixing this, I'm getting an error on reloading the page. I'm surprised it was working for jat, unless that was with Firefox 14. I have not tested it on FF in several months, don't

[gwt-contrib] Re: Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (issue1816803)

2012-08-24 Thread Brian Slesinsky
Aha, I misunderstood LGTM after testing. On Fri, Aug 24, 2012 at 6:35 PM, John A. Tamplin j...@jaet.org wrote: I have not tested it on FF in several months, don't know what version it was. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Fix development mode Firefox plugin to work on with Firefox 15 on Linux. (issue1817803)

2012-08-24 Thread skybrian
Reviewers: acleung, Description: Fix development mode Firefox plugin to work on with Firefox 15 on Linux. Tested with 64-bit linux. Now builds 32-bit Linux for 15, but that's not tested yet. Please review this at http://gwt-code-reviews.appspot.com/1817803/ Affected files: M

[gwt-contrib] Re: Got the development mode plugin to compile for Firefox 15 using xulrunner-15.0b6 on 64-bit Linux. (issue1816803)

2012-08-24 Thread John A. Tamplin
On Aug 24, 2012 9:38 PM, Brian Slesinsky skybr...@google.com wrote: Aha, I misunderstood LGTM after testing. Sorry, I meant LGTM after you had tested it :-) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors