Re: How to modify a specific header style?

2013-01-11 Thread tong123123
I use pure css to finish it finally. to select a specific header, like the second header column, I use .projectCdGrid thead th:nth-of-type(2) for the button in thead, I use .projectCdGrid thead th button hope this can help others with simiilar problem. -- You received this message

Re: Chrome 24 and GWT

2013-01-11 Thread JSNI NOOB
it seems that is a GWT 2.4 with chrome 24 problem with an issue dontFix i think they corrected in GWT 2.5. Quinta-feira, 10 de Janeiro de 2013 23:08:25 UTC, Paul escreveu: This morning Google updated Chrome to version 24. Now all my GWT (animated) dialogs flash when opened. They

Re: Inspect the DOM in GWT in version 1.5.3

2013-01-11 Thread Thomas Broyer
On Wednesday, January 9, 2013 9:04:38 AM UTC+1, saurabh gupta wrote: Hi, I'm new to GWT and using the version 1.5.3. Does it mean you're only supporting IE6 or Firefox 3.0? I want to know how can we inspect the DOM elements(mainly for css classes) in the GWT browser in development

Re: Unknown tag with, or is not appropriate as a top level element Element

2013-01-11 Thread Thomas Broyer
On Wednesday, January 9, 2013 2:01:39 PM UTC+1, Martin Pain wrote: I know this problem was reported over a year ago, but I've just seen it, and have managed to diagnose what was causing it in my situation. I've seen this problem when running GWT from Eclipse when my OS's locale is set to

Re: GWT 2.5 (Deferred binding failed for...)

2013-01-11 Thread Thomas Broyer
It looks like gwt-ent is not compatible with 2.4.0 and needs to be adapted. (hmm, no commit for 18 months, and almost not activity in the forum for about the same time; looks like gwt-ent is dead…) On Thursday, January 10, 2013 8:50:27 AM UTC+1, dogru...@gmail.com wrote: I got this problem

Re: Trouble with UiBinder getting UiHandler events to fire under GWT 2.4

2013-01-11 Thread Thomas Broyer
On Thursday, January 10, 2013 2:47:30 PM UTC+1, Nils Schröder wrote: Just for your notice: I had exactly the same Problem this way. Takes 2 hours to find this post -.- What do you think? Is there a possibility that some one update the Documentation? Just because of small, cute and

Re: Chrome 24 and GWT

2013-01-11 Thread Thomas Broyer
See https://code.google.com/p/google-web-toolkit/source/detail?r=10989 (the review has links to issues) Fixed in GWT 2.5. On Friday, January 11, 2013 12:08:25 AM UTC+1, Paul wrote: This morning Google updated Chrome to version 24. Now all my GWT (animated) dialogs flash when opened. They

How to detect if cell has parents in CellTree?

2013-01-11 Thread membersound
On selection of a child item in a CellTree, I can get the selected item by: MyItem item = selectionModel.getSelectedObject(); How can I tell if MyItem has a parent? Or that it is not a root element? -- You received this message because you are subscribed to the Google Groups Google Web

SingleSelectionModel not working for root node?

2013-01-11 Thread membersound
I have a CellTree with a SingleSelectionModel. onSelectionChange(SelectionChangeEvent event) gets fired for all children, but not for the root node. How can I add selection on the root?? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Google Chrome v 24.0.1312.52 m doesn't work well with dialogbox animations in GWT

2013-01-11 Thread Arturs Elksnis
Hi, Since my Chrome updated automatically to version 24.0.1312.52 m I noticed that my web application that I had developed in GWT started behaving weird. Specifically when there's a dialog box (modal or not) that needs to open then it opens and immediately closes, then opens again and

Re: How to detect if cell has parents in CellTree?

2013-01-11 Thread Thomas Broyer
On Friday, January 11, 2013 12:41:53 PM UTC+1, membersound wrote: On selection of a child item in a CellTree, I can get the selected item by: MyItem item = selectionModel.getSelectedObject(); How can I tell if MyItem has a parent? Or that it is not a root element? - Use a different

Re: Chrome 24 and GWT

2013-01-11 Thread Arturs Elksnis
I had the same problem. You probably have line like this in your dialog box: setAnimationEnabled(true); Remove it and at least your dialogs will be usable but animation unfortunately will be gone. On Thursday, January 10, 2013 11:08:25 PM UTC, Paul wrote: This morning Google updated Chrome

Re: How to detect if cell has parents in CellTree?

2013-01-11 Thread membersound
Gosh, I did not think about adding different selection models. This makes it very easy to track indeed! -- 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: SingleSelectionModel not working for root node?

2013-01-11 Thread membersound
Forget it, I forgot to add a selectionModel to the root... Am Freitag, 11. Januar 2013 12:42:10 UTC+1 schrieb membersound: I have a CellTree with a SingleSelectionModel. onSelectionChange(SelectionChangeEvent event) gets fired for all children, but not for the root node. How can I add

Access to Java class variable during runtime

2013-01-11 Thread Michael Vogt
Hello. I would like to have to possibility to access a Java class variable from JavaScript, without changing the Java class itself. The idea is, to display the values of the variables continuously while the application is running. The usecase for me right now would be, that I want to check the

CellTree event if already selected item is clicked?

2013-01-11 Thread membersound
Hi, I have a CellTree with SingleSelectionModel. It has a SelectionChangeHandler which fires onSelectionChange. BUT how can I track if an already selected item is clicked again? In this case at least the onSelectionChange is NOT executed (or course, but how can I track it then?). -- You

Re: Access to Java class variable during runtime

2013-01-11 Thread RyanZA
Hi No need to go so extreme - https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsJSNI#methods-fields You can access static java methods from javascript as described in that link. On Friday, January 11, 2013 2:59:46 PM UTC+2, Michael Vogt wrote: Hello. I would like to

Re: Access to Java class variable during runtime

2013-01-11 Thread RyanZA
Just to add a bit more in case that wasn't clear: If you have a class 'Class1' that you cannot modify with a static field: public final Class1 { public static int counter = 55; } You can make a new class, ie. 'Class1Exposer' public class Class1Exposer { public static int getClass1Counter() {

GWT Reflection

2013-01-11 Thread Luis Costa
Hi all, What’s the best way to invoke a method by reflection using GWT, converting something like this: GreetingServiceAsync service = GWT.create(GreetingService.class); AsyncCallback callBack = new AsyncCallback Void() { @Override

Re: GWT Reflection

2013-01-11 Thread Jens
To mimic method invocation in GWT you need to generate code that handles all possible methods for a given class. A typical example that exists in GWT is ClientBundleWithLookup which will be generated by GWT and has a method getResource(String name). The generated code of getResource(String

Re: GWT Reflection

2013-01-11 Thread Andy Stevko
I create a Command instance and pass that into the event handler On Jan 11, 2013 7:32 AM, Jens jens.nehlme...@gmail.com wrote: To mimic method invocation in GWT you need to generate code that handles all possible methods for a given class. A typical example that exists in GWT is

Re: Chrome 24 and GWT

2013-01-11 Thread Paul
Seems this is, as pointed out, a GWT 2.4 and previous bug, fixed in 2.5 http://code.google.com/p/chromium/issues/detail?id=158910 It will break a lot of old GWT code, but at least I can just re-compile and re-distribute mine. cheers, On Thursday, 10 January 2013 15:08:25 UTC-8, Paul wrote:

Force refresh of a CellTree?

2013-01-11 Thread membersound
Hi, I have a CellTree where onSelection I change a specific element. BUT if I reselect an element that was selected before, the changed value is NOT updated in the view. Only if I fold and unfold the tree I see the changed value visually. Question: how can I fore the tree to refresh itself

Re: Chrome 24 and GWT

2013-01-11 Thread zarfhunter
Seems irresponsible to knowingly upgrade the browser when it breaks a recent release of GWT. It's not like this is 1.5 or something, but the last stable version. :( Well, I guess it's time to go call up my clients and convince them to upgrade to IE 9. -- You received this message because you

Re: Building for a single locale

2013-01-11 Thread Stanislav Miklik
I had the same problem, i18n was working in production and failing with that exception in hosted mode. I have tried different things but it seems that it helped to delete generated files from the project in directory war\project name\ (contains e.g. hosted.html) On Wednesday, January 5, 2011

Re: Chrome 24 and GWT

2013-01-11 Thread Robert
I've got exactly the same problems using Chrome 24. The problem also existed with the beta versions of Chrome 24. I can reproduce the problem using Linux as well as Windows. To see the problem in action, you can log in at https://www.agreedo.com and create a New Meeting, where you will see the

Re: Rebind result * cannot be abstract

2013-01-11 Thread Michael Cox
How do you set a default? I've got this problem (though only on a linux box, on windows its fine (!) ). My app.gwt.xml looks like this: replace-with class=com.x.Normal when-type-is class=com.x.Abstract/ /replace-with replace-with class=com.x.NormalIE

Re: Chrome 24 and GWT

2013-01-11 Thread Andy
I posted the workaround that we're using to the chromium issue thread: http://code.google.com/p/chromium/issues/detail?id=158910 We have 100s of customers with servers deployed behind firewalls so this is going to be ugly. -- You received this message because you are subscribed to the Google

Re: Access to Java class variable during runtime

2013-01-11 Thread Michael Vogt
Hello. Thank you for your answer. No need to go so extreme - https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsJSNI#methods-fields You can access static java methods from javascript as described in that link. Yes, what you suggest works, of course. What I would

Re: Update of Eclipse Plug In Causes Compile Error

2013-01-11 Thread Artem Grinblat
I think removing the old GWT SDK entries from Preferences/Google/Web Toolkit helped. вторник, 23 августа 2011 г., 21:15:06 UTC+4 пользователь Lenny написал: I just updated the GWT plug in from within Eclipse and am now getting the following compile error when I try to compile my project:

Re: Access to Java class variable during runtime

2013-01-11 Thread Jens
http://stackoverflow.com/questions/1759987/listening-for-variable-changes-in-javascript-or-jquery Firefox specific: - https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object/watch - FireBug: Lets mark a method to be logged (incl. method parameters) every time it is

Re: Eclipse Plugin and SSL/TLS with the internal server

2013-01-11 Thread Mike
Thomas and Kim, Thanks for your thought and suggestions. It is indeed working as designed I believe. What confused me is I saw the ID and password in the packet flows for the Code Server. I think that makes sense when running in dev mode. If I examine the only the packets for the built-in

[gwt-contrib] Git commit messages

2013-01-11 Thread Matthew Dempsky
I'd like to put together some suggestions for writing good Git commit messages, but there doesn't seem to be any established style guide for this to refer to. This one seems like the most popular starting point: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html In particular,

Re: [gwt-contrib] Git commit messages

2013-01-11 Thread John A. Tamplin
On Fri, Jan 11, 2013 at 3:46 PM, Matthew Dempsky mdemp...@google.comwrote: I'd like to put together some suggestions for writing good Git commit messages, but there doesn't seem to be any established style guide for this to refer to. This one seems like the most popular starting point:

Re: [gwt-contrib] Git commit messages

2013-01-11 Thread Goktug Gokdogan
AFAIK, gerrit doesn't generate links for the issues put in the first line. Also it becomes inconsistent when the patch is not for just fixing the issue. I like Matthew's suggestions as it is easy to follow without special cases. On Fri, Jan 11, 2013 at 2:55 PM, John A. Tamplin j...@jaet.org

[gwt-contrib] Re: error message on ResizeComposite (issue1767805)

2013-01-11 Thread goktug
LGTM http://gwt-code-reviews.appspot.com/1767805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors