Re: DevMode not working in Chrome after update

2012-08-09 Thread Brendan O'Fallon
Same issue here - no GWT Developer extension in the App Store, and it won't install otherwise. This happens on both my Mac (OS X 10.7) and Linux machines (Fedora 16). Also, developer plugin apparently only supported in Firefox verisons 3-10.0, but current version is 14.0. Do I really have to re

New computer for compiling gwt

2011-08-14 Thread Brendan Doherty
I'm looking at upgrading my development computer, as my old Athlon 64 4200+ is getting too slow for me. For the cpu I'm considering the following two intel i7 processors. Does anyone have some advice on which way to go? Intel Core i7 980 3.33GHz Socket 1366 6-core (12 threads) Intel Core i7 26

Chrome stripping off table elements in HTML widget

2011-05-11 Thread brendan
Hi, I have a com.google.gwt.user.client.ui.HTML element on which I call the setHTML method and pass in a string which is a html table. Although this works on FF, it doesn't on Chrome. Chrome removes all the table-related tags and leaves me with just the cell contents. The code I'm using is actua

Re: GWT Date Serialization problem

2011-03-31 Thread Brendan Doherty
How will noon fix the problem? Assuming your server is running on central time (UTC-6) and you pass it to a client I'm running here in New Zealand (currently UTC+13), your March 15 noon will become March 16 6am. You'll still be a day off. -- You received this message because you are subscribe

Re: very few GWT talk at Google IO 2011

2011-03-29 Thread Brendan Doherty
David, For those of us who can't make it Google I/O, would it be possible make the videos of the sessions available for download. YouTube is great for watching the videos at a computer, but not so good for listening to while driving in my car. Thanks, Brendan -- You received

Re: Animate an images rotation

2010-10-29 Thread Brendan Kenny
Hi Stymie, I wrote a GWT module early this year to wrap up CSS3 2d transforms which should be exactly what you need. It supports Safari 3.2+, Chrome 5+, Firefox 3.5+, Opera 10.5+, and Internet Explorer 8. The code site is: http://code.google.com/p/gwt-ns/ and I wrote a tutorial with an example a

Re: GWT-Platform with GWT 2.1

2010-10-01 Thread Brendan Doherty
Here are a few discussions on the differences. http://groups.google.com/group/gwt-platform/browse_frm/thread/862cab91ccb28d40/cfa2e17fa2a510cc http://groups.google.com/group/gwt-platform/browse_frm/thread/4c00e59dc139ccdf/759eb3a5a6fa67ff http://groups.google.com/group/gwt-platform/browse_frm/thre

Re: FlowPanel can only contain widgets, but found DateBox

2010-09-01 Thread brendan
Thanks for the effort putting together that demo. The problem turns out to be a little typo, was missing a colon in "urn:import com.google.gwt.user.datepicker.client". On Sep 2, 9:11 am, Gal Dolber wrote: > Just test it and it works fine. > Try the demo attached. >

Re: FlowPanel can only contain widgets, but found DateBox

2010-09-01 Thread brendan
815 [ERROR] [...] Deferred binding failed for 'com.example.client.MyViewImpl.Binder'; expect subsequent failures 08:45:05.093 [ERROR] [propertysimplified] Uncaught exception escaped java.lang.ExceptionInInitializerError: null ... On Sep 2, 8:16 am, Gal Dolber wrote: > That should wo

FlowPanel can only contain widgets, but found DateBox

2010-09-01 Thread brendan
Should I be able to the standard DateBox with uiBinder? I'm getting an error message saying: can contain only widgets, but found http://dl.google.com/gwt/DTD/xhtml.ent";> -- You received this message because you are subscribed to the Google Groups "Goog

Re: GWT 2.1 Documention

2010-08-10 Thread Brendan Kenny
I guess it depends on what you mean by documentation. I don't know about the release date, but for now there's always the IO sessions, discussion on the contributors board, and of course javadocs from trunk (which can be generated directly or are periodically updated here: http://google-web-toolki

Re: xs linker does not support all GWT features?

2010-07-02 Thread Brendan Kenny
when using > https). > DId anyone try to make the changes mentioned below? Did you succeed? > > > Thanks in advance, > > Danny > > On 12 feb, 01:30, Brendan Kenny wrote: >> On Feb 11, 3:52 pm, Jonas Huckestein wrote: >> >> >> >> >> &g

Re: Speed Tracer and nocache.js

2010-06-03 Thread Brendan Kenny
If you aren't able to get an answer here, this is the speedtracer google group: https://groups.google.com/group/speedtracer/topics On Jun 3, 5:20 am, Dogan Narinc wrote: > Also worth to mention that the HTTP status is set to 200, which should > mean that it is not cached: > > Summary > [...] > F

Re: mathsinh is not function

2010-06-03 Thread Brendan Kenny
On Jun 2, 9:37 am, Eric wrote: > On Jun 2, 4:21 am, Brendan Kenny wrote: > > > 2) or, if it needs to remain in js-land, just expose a sinh() function > > for use just like the page at your first link suggests: (e^x - e^(- > > x)) / 2. Just be careful with your NaNs an

Re: mathsinh is not function

2010-06-03 Thread Brendan Kenny
, > 261 > > But this projection transformation is common, and also done by the > google maps api. I will have to look into this some more. > > thanks, > mike > On Jun 2, 4:37 pm, Eric wrote: > > > > > On Jun 2, 4:21 am, Brendan Kenny wrote: > > > &g

Re: mathsinh is not function

2010-06-02 Thread Brendan Kenny
/trunk/user/super/com/google/gwt/emul/java/lang/Math.java?r=7605#255 On Jun 2, 3:21 am, Brendan Kenny wrote: > looks like a cool project. > > According to the GWT JRE emulation > referencehttp://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html > sinh is on the emulated Math

Re: mathsinh is not function

2010-06-02 Thread Brendan Kenny
looks like a cool project. According to the GWT JRE emulation reference http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html sinh is on the emulated Math object, but it looks like, from your first link, that you are calling it from javascript code. sinh() is *not* a function on the ja

Re: Get date and time from java->javascript compilation

2010-05-21 Thread Brendan Kenny
Hi Matheus, There might already be a built in way to do this, but if there is I don't know of it. There might also be a simple way to add an ant task to the regular eclipse plugin compilation process, since I believe it's just using ant under the hood. Within straight GWT land, though, the key i

Re: Ray Ryan, best practices and embracing asynchronicity

2010-05-05 Thread brendan
ast object retrieval becomes pretty easy and automatic, nicely async, > > and retrieves the minimum of data.  I've found it's well worth the > > effort.  And likely some of these libraries out there have these > > mechanisms built in. > > > jk > > > On A

Ray Ryan, best practices and embracing asynchronicity

2010-05-01 Thread brendan
Another question beginning with the sentence "I watched Ray Ryan's talk": Firstly, great talk. Full of really useful ideas. But I have a dilemma. 1) On one hand, I want to follow the advice that says "go with the asynch flow". I'm happy to do that. 2) On the other hand, I also want to follow the

Re: Safari Windows takes 100% on example page

2010-03-29 Thread Brendan Kenny
Also worth noting that the showcase will cease with the "loading" if you just open the rich text area under "text input" on the left. Other projects I have that have the same problem don't have rich text areas or code splitting, though. On Mar 29, 5:47 pm, Brendan Kenny

Re: Safari Windows takes 100% on example page

2010-03-29 Thread Brendan Kenny
hmm, I get the same thing. Some of my own GWT projects do it as well, whether local or remote, but not all of them. this is in safari 4.0.4 on Windows 7. does anyone know the specifics of the logic of the "loading..." wheel and what would cause it not to cease? -profiling of my projects within saf

UiBinder fails with class HTML has no appropriate setHtml() method

2010-03-23 Thread brendan
Using the following UiBinder xml I get " In , class HTML has no appropriate setHTML() method". However the HTML class does have a setHTML method, as my workaround is to call setHTML from code. So this error is incorrect. Unless someone can see something I'm doing wrong, I'll report the error. h

Custom widget with similar uibinder tags as DockLayoutPanel

2010-03-18 Thread brendan
bar Sidebar I want: ... ... Thanks, Brendan -- 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-tool...@googlegroups.com. To unsubscribe

Re: xs linker does not support all GWT features?

2010-02-11 Thread Brendan Kenny
On Feb 11, 3:52 pm, Jonas Huckestein wrote: > Hi everybody, > > does anybody know why the xs linker does not support code-splitting? > Are there any other features that are not fully supported? > > I am currently trying to build a framework that allows for easy wave > gadget development in GWT (in

Re: gwt+ html5

2010-01-31 Thread Brendan Kenny
This article popped up in a twitter search yesterday: http://gwtpro.com/2010/01/30/using-gwt-deferred-binding-to-implement-an-html-file-input-widget/ I just skimmed it, so there might be something strange I missed, but the approach they took to wrapping the html5 file api seemed sound. The articl

Re: Call into "unknown" JavaScript function given only name as string

2010-01-26 Thread Brendan Kenny
ade any assumptions about what this would refer to. The exciting world of javascript! On Jan 26, 9:39 pm, Brendan Kenny wrote: > Check out the answers > here:http://stackoverflow.com/questions/359788/javascript-function-name-as... > > Though the executeFunctionByName example seems a l

Re: Call into "unknown" JavaScript function given only name as string

2010-01-26 Thread Brendan Kenny
Check out the answers here: http://stackoverflow.com/questions/359788/javascript-function-name-as-a-string Though the executeFunctionByName example seems a little overblown. The real take away is to not use eval() if you can help it. I would also check to make sure the function is really a functi

Detecting dev mode inside a generator

2010-01-20 Thread Brendan Kenny
Is it possible to detect within a generator that it is being run in development mode? The ideal would be for the generator to run the same way in development mode as in compilation for production code, I suppose, but the information can be useful. I feel like I may be overlooking something obvious

Re: how to use CssResource.obfuscationPrefix to have semi-obfuscated css class name

2010-01-06 Thread Brendan Kenny
Yeah, I ran into the same problem. If the issue is just exposing the style names during development (and you're not looking for this particular solution for an additional reason), I would do as fvisticot suggests and then just remove that line from your module's xml file when you're ready for produ

Re: CssResource problem with specific webkit CSS instructions

2009-12-22 Thread Brendan Kenny
Yep, for now you need to escape the first hyphen. See comment #2 and #7 on this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3595 This should maybe be more prominent in current documentation as it's been coming up a lot. On Dec 22, 5:42 pm, fvisticot wrote: > I'im using C

Code Licensing

2009-12-22 Thread Brendan Kenny
This might not be the best forum for this question, but it specifically involves GWT code and should be simple, so I'll give it a shot. I'm in the process of taking classes from some Google-written GWT modules (both java and jsni code), mangling them, and writing code on top of the result. Obvious

Re: Any easy way to tell which file is for which permutation?

2009-12-20 Thread Brendan Kenny
Alex's automated solution is probably the best solution, but you can also walk through a "Detailed"-compiled version of nocache.js and match it up to http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/UserAgent.gwt.xml (and any conditionals you've added) to

Re: WebWorkers in GWT

2009-12-11 Thread Brendan Kenny
though it's somewhat barebones, I've been playing around with the Worker implementation released with the speed tracer code: http://code.google.com/p/speedtracer/source/browse/trunk/src/client/ui/src/com/google/gwt/webworker/ On Dec 10, 7:07 pm, Kango_V wrote: > Does anyone know when GWT will

Re: Announcing GWT 2.0 and much, much more...

2009-12-08 Thread Brendan
When I updated as noted above, Eclipse automatically detected I was updating the plugin, not installing something new, and took care of the uninstallation/installation for me. YMMV. On Dec 8, 10:28 pm, "Parvez Shah" wrote: > do we need to uninstall 1.7.1 plugin and then install eclipse 2.0 plugin

Re: Announcing GWT 2.0 and much, much more...

2009-12-08 Thread Brendan
I had to "install new software," not just update, but it found the latest plugin and the 2.0 sdk just fine. Unrelated to your question, I also had to manually switch from the 1.7 to the 2.0 SDK in GWT settings, but that might just be my eclipse- plugin incompetence. On Dec 8, 10:18 pm, Mohamed Ma

Re: Image Generation

2009-11-21 Thread Brendan
well the first thing you should do, of course, is to see if you can make the conversion on the server. If it's already sending you the string of bytes, maybe it can decide what to do with it and then output an image to download. If that's not possible (if the client really needs to alter the data,

Re: How to set default font family as Verdana in RichTextEditor

2009-11-21 Thread Brendan
Supporting RichTextEditor across browsers looks like it can get pretty intense, and the implementations look inherently programmatic (using execCommand()), so I think your best bet is setFont() on the widget itself. Maybe someone else can chime in if there is an easy way to do it in CSS; I couldn't

JSOs, SingleJsoImpl, and Generators

2009-11-19 Thread Brendan
Now that a javascript overlay can inherit an interface, so long as it is the only JSO that does, is there anything preventing the use of Generators to define new JSOs? The use case I'm thinking of would be a javascript object that is partially (or entirely) defined by browser specific fields and m

Re: Day of year?

2009-11-17 Thread Brendan
I actually just came across some great code that NOAA uses for sunrise/ sunset/other ephemeris calculations here: http://www.srrb.noaa.gov/highlights/sunrise/calcdetails.html they give their source as "Astronomical Algorithms" by Jean Meeus. They have this js routine: //

Re: how to have app vary numbers of radio buttons?

2009-10-25 Thread Brendan
have you run this in hosted mode? (or "development mode") I don't see a public RadioButton arbys[] = new RadioButton[#]; anywhere so I would think you would be getting a NullPointerException when you try and do access the 0th element. On Oct 25, 12:35 am, Jon wrote: > The code: works fine when c

Re: Native JSON and safe parsing implementation

2009-10-25 Thread Brendan
13 am, Thomas Broyer wrote: > On 23 oct, 22:55, Brendan wrote: > > > I realize this post is coming at the end of the day on friday, but > > hopefully it will get a look =) > > > Going through the different JSON parsing implementations available for > > GWT out there,

Re: Native JSON and safe parsing implementation

2009-10-25 Thread Brendan
>       data.replace(/"(\\.|[^"\\])*"/g, ''))); > >     if (!safe) { >       return null; >     } > >     return eval('(' + data + ')') || null; >   }-*/; > > --Sri > > 2009/10/23 Brendan > > > > > I realize thi

Re: how to have app vary numbers of radio buttons?

2009-10-24 Thread Brendan
Hi Jon, Without seeing more of your code, the problem might be as simple as the fact that you need to add the radio buttons to some container that has been added to the window. So either Root.get().add() all your buttons, or add them all to something like a panel and then add the panel in the sam

Native JSON and safe parsing implementation

2009-10-24 Thread Brendan
I realize this post is coming at the end of the day on friday, but hopefully it will get a look =) Going through the different JSON parsing implementations available for GWT out there, almost all of them rely on a straight eval and note that they should only be used for trusted code. The old JSON

Horizontal Panel isn't displaying

2009-10-14 Thread Brendan
Hello, I am trying to use a HorizontalPanel for a navigation bar that I am building with a loop. The code looks like this: HorizontalPanel navigation = new HorizontalPanel(); int count = 0; for (final String name : artists.keySet()) { // artist

Re: "Use an Event Bus" - Ray

2009-08-18 Thread brendan
I'm just testing out gwt-presenter to achive what you want. You may also be interested in the gwt-dispatch library, which is a GWT implementation of a 'command pattern' that Ray suggested. http://code.google.com/p/gwt-presenter/ gwt-mvp-sample has a branch that shows a more complicated example.

Re: Using MVP + Google Maps for GWT API

2009-08-18 Thread brendan
In your documentation (or here) are you able to describe how you set a "place" in the url, and how the back/forward button should work? Given your hello world example at http://code.google.com/p/gwt-presenter/wiki/GettingStarted, what if instead of an alert, it set the text of a label. The use