Re: GWT and Google Maps Version 3

2012-06-22 Thread John99
I have a button on InfoWindow. and ClickEvent doesn't work. I think it because of infowindow doesn't attach this button to DOM correctly. I've made a wraper whis fake panel and now it works ok. public class NGTInfoWindow { static class FakePanel extends ComplexPanel { public

Re: GWT and Google Maps Version 3

2012-06-22 Thread John99
some code i've took from here: http://code.google.com/p/gwt-maps3/source/browse/trunk/src/com/googlecode/maps3/client/InfoWindow.java пятница, 22 июня 2012 г., 11:04:14 UTC+4 пользователь John99 написал: I have a button on InfoWindow. and ClickEvent doesn't work. I think it because of

Re: data received from a running servlet

2012-06-22 Thread Thomas Broyer
On Thursday, June 21, 2012 6:36:49 PM UTC+2, Akis wrote: Hi there. I've got a question: i need to have a sort of percentage progress of the elaboration of the servlet i call sending it data from a form. How could I do it? If you don't *have* to support IE [1], then use XMLHttpRequest

Re: Disabling selection in CellTable/DataGrid

2012-06-22 Thread Thomas Broyer
On Thursday, June 21, 2012 11:19:05 PM UTC+2, Patrick Tucker wrote: Did you not get what you wanted from the noselectionmodel? Also, did you try setKeyboardSelectionPolicy(KeyboardSelectionPolicy.DISABLED)? (granted you'd still need to override styling to suppress the hover effect) --

Re: how to set the row color of CellTable based on values in a column

2012-06-22 Thread Jens
But I still do not know why when I return null in CellTable.setRowsStyles, the default style will be used (although this is what I want)!! The JavaDoc indicates that the style names you return in this method are * appended* to the default styles of a row (extra styles). If you return null

Re: Need to style DataGrid's header table element

2012-06-22 Thread Thomas Broyer
On Friday, June 22, 2012 4:46:00 AM UTC+2, Joseph Lust wrote: Jeremy, A less than glamorous way to apply CSS changes that are either not exposed, or not supported (i.e. CSS3) are to do it yourself at load time. For example, in the constructor (if you're extending) or directly after the

result not as expected in TextArea.setFocus

2012-06-22 Thread tong123123
there is a Tree and a TextArea, when user double click on the TreeItem, the TreeItem text will be copied to the TextArea, and I want the mouse cursor (focus) remain on the TextArea so when using type some text, the text will be added in the TextArea. I try to use ScheduledCommand but not work.

TextArea.setFocus not function as expected

2012-06-22 Thread tong123123
there is a Tree and a TextArea, when user click on the TreeItem, the TreeItem text will be copied to the TextArea, and I want the mouse cursor (focus) remain on the TextArea so when user type some text after click on the tree item, the text will be added in the TextArea. I try to use

Re: GWT Spring Security

2012-06-22 Thread Jordi Planadecursach
Hello, Indeed you don't need the 2 autowired services. I use them since I have my own decisionManager. You can use a standard one, for example the role based. This means no autowireds neither onAfterRequestDeserialized. If you don't play with sessions you don't need the workaround fix inide

HTML 5 native dragover event of DataGrid cell never fired

2012-06-22 Thread js
Hi, I've been having hard time trying to make DataGrid rows sortable with HTML 5 native drag and drop. I have custom Cell which sinks drag events (see below). If I drag the cell dragstart event is fired but visualization of drag operation is not displayed. Moreover dragover event on other

Re: HTML 5 native dragover event of DataGrid cell never fired

2012-06-22 Thread Thomas Broyer
To properly initiate a drag, you have to set the effectAllowed. http://dev.w3.org/html5/spec/dnd.html#introduction-7 It looks like you'll to use JSNI though, as this property is not exposed by GWT on the DataTransfer object. Or maybe it's just because you didn't call setData() in your Cell

Re: HTML 5 native dragover event of DataGrid cell never fired

2012-06-22 Thread js
Hi, actually I have the effectAllowed and dropEffect set via JSNI. Actually I have already figured out what the problem was: I did not setData() on DataTransfer object. As you also suggested. (Yep, asking a question helps to figure out the answer :) Anyway thanks for your reply. *TL;TR

Re: How to best get data into a GWT app?

2012-06-22 Thread Carsten
Thanks. Reading the Dictionary JavaDoc I thought this is the solution. The problem is my JSON data string has an array with objects inside: var CurrentTheme = { highlightColor: #FF, shadowColor: #808080, data: [{}, {}, {}] }; calling dictionary.get(highlightColor) works great but

Re: XmlAdapter compile error

2012-06-22 Thread Shawn Johnson
Andrea - thank you so much. I finally get it. Just to recap. I was using adapter classes, and at one point during a recent project re-org, I think I inadvertently moved them from server to shared package. I moved only the adapter classes back into the server package. Viola! - GWT-Compile is

Re: How to best get data into a GWT app?

2012-06-22 Thread Dimitrijević Ivan
You should use JSNI interface for that. Check this out https://developers.google.com/web-toolkit/doc/latest/tutorial/JSON#client On Friday, June 22, 2012 1:34:32 PM UTC+2, Carsten wrote: Thanks. Reading the Dictionary JavaDoc I thought this is the solution. The problem is my JSON data

Re: Printing from GWT -- how to?

2012-06-22 Thread Martones
Hi all ! I was trying to use Print.It but even after including standard.css, some computed styles are omitted (they are injected in the HTML in some way I'm not capable of undestanding :) ). Is there any workaround ? Many thanks ! Le samedi 2 juin 2012 06:36:50 UTC+2, Stevko a écrit :

Re: How to best get data into a GWT app?

2012-06-22 Thread Carsten
I've read that tutorial. It rather deals with getting data cross-site. My question is how do I get my hands on a Javascript-Object defined on the website from inside GWT? Once I have that object I can do the rest myself. On Friday, June 22, 2012 4:25:19 PM UTC+2, Dimitrijević Ivan wrote: You

Re: How to best get data into a GWT app?

2012-06-22 Thread Joseph Lust
Here is a tutorial on how to pull in JSON data using JSO Overlays. http://googlewebtoolkit.blogspot.com/2008/08/getting-to-really-know-gwt-part-2.html Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: Gwt with Phonegap

2012-06-22 Thread Daniel Kurka
take a look into the gwt wiki: http://code.google.com/p/google-web-toolkit/wiki/mgwt and http://code.google.com/p/google-web-toolkit/wiki/GWTandPhonegap -Daniel Am 19.06.2012 um 14:20 schrieb ulas: Hi, I wonder is there any way to use gwt with phonegap? I tried coping war file (.html and

Howto ? gwt with browser scrollbar and fixed header

2012-06-22 Thread hanasaki
How do you get the browser scrollbar to scroll just an inside panel (without the panel having a scrollbar of its own) Functionality like in google+ that has the fixed left side vertical bar and the two header bars that do not scroll away -- You received this message because you are subscribed

Re: Google IO 2012 : no GWT session ?

2012-06-22 Thread Daniel Kurka
I can assure you (since I am deeply invested in GWT) that GWT is in no way of being phased out. The main reason is the amount of other talks (android, google+) being added to the conference, reducing talk time for everyone else. As Thomas said before there is something big coming for GWT which

Re: gwt 2.5

2012-06-22 Thread Daniel Kurka
this is already in trunk if you want to try it out. Am 19.06.2012 um 10:33 schrieb Jens: I am pretty sure it will be released during/after the Google IO 2012. What you have seen is SuperDevMode which can do a pretty fast draft compile of your app. Its already available in GWT trunk if you

Re: GWT (lazy) Widget rendering: Comparison of approaches

2012-06-22 Thread Andrea Boscolo
What about the relation between IsRenderable and the ElementBuilder API? I know that IsRenderable is used to first render the widget content as safehtml/html, and then attach (claim) the 'real' widget to it. Can the rendering part be deferred to the server (given the lazy nature of

Re: gwt 2.5

2012-06-22 Thread Dennis Haupt
is there a precompiled package? Am 22.06.2012 19:54, schrieb Daniel Kurka: this is already in trunk if you want to try it out. Am 19.06.2012 um 10:33 schrieb Jens: I am pretty sure it will be released during/after the Google IO 2012. What you have seen is SuperDevMode which can do a

GWTTest Case Error - Cross Talk Between TestClasses - Am I crazy?

2012-06-22 Thread Joseph Lust
I have no idea what is going on here. The gist: - GWTTestSuite is reporting MeasureDTOCacheTest is failing at on testGetSummaryData() - The output for the above is showing the failing assert in ZoomOutAnimationTest.zoomOutAnimationTest() 's onComplete() method On checking, there

Re: GWT Spring Security

2012-06-22 Thread dhoffer
Jordi, Yes the link you provided was excellent, with that I have spring managed beans that are RPC services. However I'm having trouble understanding how to add Spring Security to that. Ideally I'd love to see that example expanded to show how to add users, assign users role(s) secure RPC

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

2012-06-22 Thread Adam Bradley
-- 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 more options,

Re: Howto ? gwt with browser scrollbar and fixed header

2012-06-22 Thread Jens
This is done via CSS using position:fixed on the relevant parts that should stay at its position when the whole document gets scrolled up/down. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

GWT SuggestBox mapping of European characters to American keyboard

2012-06-22 Thread Jonathan
I have a GWT SuggestBox that contains a mix of European and American words as suggestions. For example, some words have European characters, such as français. My target audience is American so I would like to allow automatic mapping of similar letters on an American keyboard to the European

[gwt-contrib] Re: Use Node.contains in IE9/Webkit for isOrHasChild (issue1725808)

2012-06-22 Thread jlabanca
committed as r1. Integrated into GWT 2.5 at r8 http://gwt-code-reviews.appspot.com/1725808/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Use Node.contains in IE9/Webkit for isOrHasChild (issue1725808)

2012-06-22 Thread stephen . haberman
committed as r1. Integrated into GWT 2.5 at r8 Awesome, thanks, John. Thanks for taking the time to test/commit and cherry pick as well. http://gwt-code-reviews.appspot.com/1725808/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Use Node.contains in IE9/Webkit for isOrHasChild (issue1725808)

2012-06-22 Thread jlabanca
No problem. Thanks for preparing the patch. This should actually allow the compiler to inline the isOrHasChild call, which could save some bits of compiled code. http://gwt-code-reviews.appspot.com/1725808/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Added additional TCK tests to the appropriate GWT test suites. Tests failing in certain conditio... (issue1756804)

2012-06-22 Thread idol
Reviewers: Nick Chalko, Description: Added additional TCK tests to the appropriate GWT test suites. Tests failing in certain conditions marked with @Failing. [JSR 303 TCK Result] 160 of 205 (78.05%) Pass with 37 Failures and 7 Errors. Review by: ncha...@google.com Please review this at