Re: Read Only DateBox

2013-01-17 Thread Craig Mitchell
Just revisited this code. Worked out that we can override the showDatePicker method to check for read only. You're welcome IE users! :-) public class MyDateBox extends DateBox { public void setReadOnly(boolean readOnly) { getTextBox().setReadOnly(readOnly); } @Override public void showDateP

Re: RequestFactory - persist method that returns the saved Entity.

2013-01-17 Thread Thomas Broyer
Issue filed at https://code.google.com/p/google-web-toolkit/issues/detail?id=7900 On Friday, January 18, 2013 12:48:13 AM UTC+1, Thomas Broyer wrote: > > OK, it indeed looks like a bug. > > This code fails with the "Unfrozen proxy" assertion error: > > delayTestFinish(DELAY_TEST_FINISH); > >

Re: RequestFactory - persist method that returns the saved Entity.

2013-01-17 Thread Thomas Broyer
OK, it indeed looks like a bug. This code fails with the "Unfrozen proxy" assertion error: delayTestFinish(DELAY_TEST_FINISH); SimpleFooRequest context = simpleFooRequest(); final SimpleFooProxy foo = context.create(SimpleFooProxy.class); final SimpleBarProxy bar = context.create

Re: Read Only DateBox

2013-01-17 Thread Craig Mitchell
Unfortunately, .getTextBox().setReadOnly(true) doesn't work, as the DatePicker still shows when clicking on the field. However, I now realise that doing setEnabled(false) and setting some CSS, it's only IE that ignores the CSS and shows the nasty, hard to read, shadowed text. But I say, bad lu

Re: RequestFactory - persist method that returns the saved Entity.

2013-01-17 Thread bloo
So when I comment out the "refresh via find(stableId()) after receiving persist()'s response EntityProxy" and simply use the response EntityProxy as-is, the error gets thrown when I attempt to re-edit it. It's not thrown when checkStreamsNotCrossed processes the parent EntityProxy (called Catal

Re: GWT issues on Chrome 24

2013-01-17 Thread Daniel Kurka
This is a known issue see: http://code.google.com/p/google-web-toolkit/issues/detail?id=7576 2013/1/17 Jean-Marc > Hi, > > I checked the group before posting and I follow some workarounds, but > nothing is working. > > I use GWT 2.4. With Chrome 24 (and even 25 beta), my site has an incorrect >

Re: Eclipse, GWT, which class to use and how to call it via a hyperlink?

2013-01-17 Thread Glyndwr Bartlett
Hi RyanZA, Yes you are correct. I found this out a while ago but was not able to amend this as it took so long for the moderators to realese it (no criticism of the moderators intended; they do a very good job and are very busy). I replaced it with a and added a click event to that. Regards,

Re: Eclipse, GWT, which class to use and how to call it via a hyperlink?

2013-01-17 Thread Glyndwr Bartlett
Thanks Andy, I am always open to advise. Best regards, Glyn On Thursday, 17 January 2013 14:54:23 UTC+11, Andy King wrote: > Glyn, just my two cents ... please take it with a grain of salt if you > don't like it! ... it appears that you have programming experience, and I > am impressed th

Re: Eclipse, GWT, which class to use and how to call it via a hyperlink?

2013-01-17 Thread Glyndwr Bartlett
I have been able to resolve this. The trick is to replace the root panel with each view you want to display. Create a navigation handler class to control this. My next step is to try to get MySQL database calling working. Wish me luck :-) Regards, Glyn On Tuesday, 15 January 2013 09:34:

Re: Hi suggestion needed....

2013-01-17 Thread Ashton Thomas
I recommend using Activity and Places for organizing at a high level: https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces For a prototype, you may not need to follow the strict presenter format (normally your Activity would act as the 'presenter') Again, since thi

Method exclusion feature to ignore non-translatable code

2013-01-17 Thread Christian Sadilek
Hi everyone, I am interested in a feature to exclude methods from GWT compilation. Ideally based on a configurable set of annotations that when present will cause the GWT compiler to ignore these methods. I know similar features have been requested/discussed in the past. My use case for this i

Re: GWT Application misbehaving on Chrome

2013-01-17 Thread bloo
Cool, thanks. In the meantime I grabbed an image of Chrome 23 for development. That'll allow me to put a breakpoint on the other issue we're discussing on that other thread.. -Blue On Thursday, January 17, 2013 3:58:04 AM UTC-5, Thomas Broyer wrote: > > > > On Thursday, January 17, 2013 3:37:02

Re: ant elemental failure

2013-01-17 Thread Thomas Broyer
Which version of Python are you using? On Thursday, January 17, 2013 5:50:45 PM UTC+1, Gustav Trede wrote: > > i cant manage to compile elemental. > any idea what's wrong ? > > > generate: > [exec] File "idl/css/generate-style.py", line 22 > [exec] print 'Usage: input_file interfac

Re: GWT 2.4 DevMode almost always hangs at "Checking for updates"

2013-01-17 Thread rle125
This option only works for the GWT compile. Is there a way to disable update checks when running DevMode? On Tuesday, November 13, 2012 8:04:56 AM UTC-8, Sanjiv Jivan wrote: > > It found the option : -XdisableUpdateCheck > > The reason I need to disable this is because of classloader issues I'm

ant elemental failure

2013-01-17 Thread Gustav Trede
i cant manage to compile elemental. any idea what's wrong ? generate: [exec] File "idl/css/generate-style.py", line 22 [exec] print 'Usage: input_file interface.java.snippet implementation.java.snippet' [exec]

GWT issues on Chrome 24

2013-01-17 Thread Jean-Marc
Hi, I checked the group before posting and I follow some workarounds, but nothing is working. I use GWT 2.4. With Chrome 24 (and even 25 beta), my site has an incorrect behaviour: I use AbstractCellTable to create lists. But now, the last line of the page is no more clickable. It was working

Re: Read Only DateBox

2013-01-17 Thread 彭振友
.getTextBox().setReadOnly(true); hope that help you。 On Monday, February 20, 2012 1:01:17 PM UTC+8, Craig Mitchell wrote: > > Hi, > > A DateBox can be set to setEnabled(false), however, it does not have a > setReadOnly(true). And calling dateBox.getTextBox().setReadOnly(true) > does not work.

DateBox / DatePicker issues for invalid dates in Internet Explorer 8

2013-01-17 Thread Anne Taylor
The DatePicker/DateBox I'm using has a text field for the year. If I put my cursor in the box and start typing, it concatenates on the end (ie, it starts out as 2013 and turns into 20132012). If I then pick a date and submit, the year gets changed automatically to be 1969. Presumably this is

Re: Super dev mode - sourcemap not working anymore

2013-01-17 Thread Guus Bloemsma
Until the new version is available: Make your own copy of com.google.gwt.core.linker.CrossSiteIframeLinker and uncomment this line: //out.print("\n//@ sourceURL=0.js\n"); The sourceURL comment is there for a good reason but it screws up the latest chrome. Good luck, Guus Op donderdag 1

DataGrid doesn't show data in TabLayoutPanel

2013-01-17 Thread James
I have following questions: (1). DataGrid doesn't show data in TabLayoutPanel DataGrid creates a HeaderPanel that has three components for header, footer, content (see lines 80 to 111 in HeaderPanel.java GWT 2.5). These three components are represented by three html "div" as indicated by the

Re: Super dev mode - sourcemap not working anymore

2013-01-17 Thread emurmur
At Thomas' suggestion I got the latest source code for GWT trunk and built that, then used the sdk that was produced. That fixed the problem for me. Ed On Thursday, January 17, 2013 6:19:24 AM UTC-8, Martones wrote: > > Alright thanks alot Thomas ! > > Good luck > > Le jeudi 17 janvier 2013 1

Re: Intellij for GWT app development. Is it worth it?

2013-01-17 Thread Jens
I have bought IntelliJ 12 on its release and I am pretty happy with the overall UI performance compared to Eclipse 4.2, feels a lot snappier. Obviously it will take a while to get used to some of IntelliJ's concepts but there are some .. lets call it annoyances... I couldn't solve so far: 1.) N

Re: Intellij for GWT app development. Is it worth it?

2013-01-17 Thread Alex opn
No offense, just made me smile: "works out of the bugs"! : ) Am Donnerstag, 17. Januar 2013 10:09:42 UTC+1 schrieb HamsterofDeath: > > i have made a lot of good experiences with that combo (intellij + gwt) > it understand the native js parts, the asnc/sync interface stuff, > debugging/running wor

Re: Eclipse, GWT, which class to use and how to call it via a hyperlink?

2013-01-17 Thread RyanZA
You have mistaken the 'Hyperlink' class - and yes, it is a common/easy mistake to make because of the naming. Hyperlink is a special type of link that deals with the GWT history stack. You sound like you are just looking for a simple html link, which is called an Anchor ( tag). You use it like

Re: Super dev mode - sourcemap not working anymore

2013-01-17 Thread Martones
Alright thanks alot Thomas ! Good luck Le jeudi 17 janvier 2013 15:07:47 UTC+1, Thomas Broyer a écrit : > > > > On Thursday, January 17, 2013 3:01:43 PM UTC+1, Martones wrote: >> >> Hi guys ! >> My source maps doesn't seem to appear once I compile in SDM - Chrome. >> Did chrome do some update

Re: Super dev mode - sourcemap not working anymore

2013-01-17 Thread Thomas Broyer
On Thursday, January 17, 2013 3:01:43 PM UTC+1, Martones wrote: > > Hi guys ! > My source maps doesn't seem to appear once I compile in SDM - Chrome. Did > chrome do some update that changed something ? > Yes. > It worked fine yesterday but now I cant see the sources in the Chrome > debug

Re: How to highligh a ValueBoxEditor?

2013-01-17 Thread Thomas Broyer
You'll have to implement your own HasEditorErrors wrapper (duplicate or maybe possibly extend ValueBoxEditorDecorator) ValueBoxEditorDecorator is one way of displaying errors, there's nothing wrong creating similar widgets that display errors differently. On Thursday, January 17, 2013 12:24:52 P

Super dev mode - sourcemap not working anymore

2013-01-17 Thread Martones
Hi guys ! My source maps doesn't seem to appear once I compile in SDM - Chrome. Did chrome do some update that changed something ? It worked fine yesterday but now I cant see the sources in the Chrome debug panel anymore. Any ideas ? Many thanks ! ;) -- You received this message because yo

Re: Vararg version of set method added to domain object causes request factory validator to fail

2013-01-17 Thread Tiago
I just had this exact same issue. Thank you for posting it here, it was relatively easy to find this thread through Google. Otherwise I'd lose a lot of time! It might be worthy logging a bug... On Thursday, April 19, 2012 1:16:48 PM UTC+2, Michael Wiles wrote: > > I have a proxy with: > > p

Re: GUI crashes when call .destroy() method on Layout class

2013-01-17 Thread Marco
Dear all, after tons of tests maybe I have figured out what was the problem: I think that every exception that I have got can be caused by following elements: 1) I use .destroy() method but the best way is to use .markForDestroy() method; 2) I use .draw() methods for each element that is part o

Re: GWT 2.5 dev mode refresh error

2013-01-17 Thread Michal Moravcik
Yes, the gwt.disableGeneratorResultCaching flag helped and I can remove my previous hack. After adding debug options I don't see anything special in logs. Anyway I can try prepare sample project demostrating the problem.

How to highligh a ValueBoxEditor?

2013-01-17 Thread membersound
Hi, I have a ValueBoxEditorDecorator defined, and want to highlight the TextBox if an error appears on validation of the input: @UiField ValueBoxEditorDecorator name; I also set up the bootstrap of validation and so on, like Set> violations = validator.validate(value);

Re: rootPanel.addStyleName does not cover style in PopupPanel

2013-01-17 Thread Thomas Broyer
Which RootPanel are you styling? PopupPanel's are added as direct children of the , i.e. RootPanel.get(). On Thursday, January 17, 2013 9:59:04 AM UTC+1, tong123123 wrote: > > all my css class has the prefix class name .als to prevent css classname > collision with other project, e.g. > .als .cl

Re: RequestFactory - persist method that returns the saved Entity.

2013-01-17 Thread Thomas Broyer
Just noticed: you're saying you have an "Unfrozen bean with null RequestContext" assertion error? If that's the case (wrt "AutoBean has been frozen" error as originally reported in this thread), can you put a breakpoint in AbstractRequestContext's checkStreamsNotCrossed and try to understand whi

Re: Intellij for GWT app development. Is it worth it?

2013-01-17 Thread Dennis Haupt
i have made a lot of good experiences with that combo (intellij + gwt) it understand the native js parts, the asnc/sync interface stuff, debugging/running works out of the bugs 2012/10/19 Jens > I am thinking about moving away from Eclipse (IMHO 4.2 feels really > sluggish) and switching to Int

Re: Intellij for GWT app development. Is it worth it?

2013-01-17 Thread MiNi
the best thing: it just works no more headaches with messy eclipse plugins (or maven plugins which have his own live and destroy repeatly the settings) all just work and the refactoring understand spring configuration files, inline scripts etc. ... its all great and if you use intelliJ on dai

rootPanel.addStyleName does not cover style in PopupPanel

2013-01-17 Thread tong123123
all my css class has the prefix class name .als to prevent css classname collision with other project, e.g. .als .class1{}; .als .class2{}; I plan to use > rootPanel.addStyleName("als"); > so that all element will has prefix css classname "als", and I can just use > textbox1.addStyleName("clas

Re: GWT Application misbehaving on Chrome

2013-01-17 Thread Thomas Broyer
On Thursday, January 17, 2013 3:37:02 AM UTC+1, bloo wrote: > > This is what I was hoping to find - thank you Thomas. I'm not crazy. > > Do you know when 2.5.1 is going out or is it contingent on all of these > being reviewed: > https://code.google.com/p/google-web-toolkit/issues/list?q=milesto

Re: GWT 2.5 dev mode refresh error

2013-01-17 Thread Thomas Broyer
You can disable the generators' result caching by setting the gwt.disableGeneratorResultCaching system property. It's strange though that you have this NPE to begin with. Could you try running DevMode with "-ea" (in the JVM options) and/or "-logLevel DEBUG" (in the program args) and see there's

Re: Building GWT 2.5 From Source

2013-01-17 Thread Thomas Broyer
SVN is only used to get the revision (for some obscure reason during the build). You can bypass it by setting the gwt.svnrev, e.g. "ant -Dgwt.svnrev=trunk@12345" BTW, we're moving to Git, so if you plan on contributing further (would be great!) you'd better start using Git too. See https://gr

Re: invalid mime types using chrome

2013-01-17 Thread Thomas Broyer
The mimetype error has been fixed a few days ago and will ship in the upcoming GWT 2.5.1: https://code.google.com/p/google-web-toolkit/source/detail?r=11441 It however shouldn't change Chrome's behavior, as it says it interpreted it as a script anyway. Chrome 24 (which shipped recently) has ho

Re: Compiling for IE8

2013-01-17 Thread Thomas Broyer
On Wednesday, January 16, 2013 7:04:15 PM UTC+1, Borys Zibrov wrote: > > Hi, all! > > I've got a fairly complex RIA application involving GWT 2.5 and GXT 3.0.1, > and I noticed that changing compiler flags (like optimization level) > doesn't improve (and even degrades) performance in IE8. > So,