Re: setFocus not working on iOS

2018-02-15 Thread Steve Hannah
(); }); This will not work: $(button).click(function() {' setTimeout(function(){ $(textfield).focus(); }, 1); }); Steve On Thu, Feb 15, 2018 at 10:36 AM, Philipp <siebesi...@gmail.com> wrote: > So this seems to be an iOS "issue". It seems to be working as intended > that a textarea focus

Re: standalone application

2017-01-06 Thread Steve Hannah
rom this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more opt

Re: synchronously waiting for a Promise

2016-09-01 Thread Steve Hannah
tate state you'd rely on being immutable because >>>> you 'synchronized' it (in other words: how would your proposal work with >>>> the 'synchronized' keyword? GWT currently simply ignores 'synchronized' >>>> because JS is single-threaded anyway; now what if you

Re: GWT 2.8.0 RC2 is here!

2016-08-17 Thread 'steve Zara' via GWT Users
This is great news. Thanks for all the hard work. On Friday, 12 August 2016 02:25:18 UTC+1, Daniel Kurka wrote: > > Hi all, > > I just build the GWT 2.8.0 RC2 and pushed it to maven central. The > complete SDK is also available from here . > > Please start testing and let

Re: [gwt-contrib] Re: Experimental release of Elemental2

2016-08-03 Thread Steve Andrews
I've done some more tests with an anonymous handler and also a dynamically created button in case it was a UiBinder problem. None of the click handlers are working without the exports flag set. I've updated the test code at https://github.com/steveandrews01/JsInteropTest Steve On Tuesday, 2

Re: [gwt-contrib] Re: Experimental release of Elemental2

2016-08-02 Thread Steve Andrews
needs a SDM cache clear!) Steve On Monday, 1 August 2016 20:48:13 UTC+1, Goktug Gokdogan wrote: > > Can you share a small repro for this? (EventListener requiring > generateJsInteropExports) > > On Thu, Jul 28, 2016 at 12:27 AM, Steve Andrews <stevean...@gmail.com > > wr

Re: [gwt-contrib] Re: Experimental release of Elemental2

2016-07-28 Thread Steve Andrews
than that Elemental is working well so far! Nice work! Steve On Friday, 22 July 2016 11:31:24 UTC+1, Jens wrote: > > > It only works with the generateJsInteropExports flag set though. >> > > Sounds like a bug to me. > > -- J. > -- You received this mess

Re: [gwt-contrib] Re: Experimental release of Elemental2

2016-07-22 Thread Steve Andrews
I've now got this to work. I cleaned my SDM cache :-) It only works with the generateJsInteropExports flag set though. On Thursday, 21 July 2016 15:34:19 UTC+1, Steve Andrews wrote: > > I've been trying out the new Elemental and have been having trouble with > EventListener. I'm on t

Re: [gwt-contrib] Re: Experimental release of Elemental2

2016-07-21 Thread Steve Andrews
teropExports flag and get the same result. I was using an earlier GWT snapshot version (end of June) until a few days ago and didn't get the problem with that version. Any ideas or is this a bug? Thanks Steve -- You received this message because you are subscribed to the Google Groups

Re: GWT 2.8 delays

2016-06-06 Thread 'steve Zara' via GWT Users
11:26:22 PM UTC+8, steve Zara wrote: >> >> GWT 2.8 is now well over a year behind what seemed to be the original >> schedule. I'm having to deal with colleagues who say they have lost >> confidence in the GWT project, which is a problem as I have GWT projects to >>

Re: Designer Problem : « uibinder template should be in client package »

2016-06-03 Thread Steve Cook
This was an unacceptable solution for me as I needed to share features between modules and you cannot go up a directory. The problem: The UI Editor looks for a gwt.xml file, then reads it, if the file it finds does not contain the path which your UI xml file resides, it decides that it is not

Re: GWT 2.8 delays

2016-05-09 Thread 'steve Zara' via GWT Users
om Java 8 -> Closure-style ES6. > > On Sunday, May 8, 2016 at 4:53:17 PM UTC-4, steve Zara wrote: >> >> Thank you - it does highlight where help can be given. I'm really >> surprised at the situation with Java 8 emulation - is this something that >> Google is j

Re: GWT 2.8 delays

2016-05-09 Thread 'steve Zara' via GWT Users
It seems to me that the answer to a bad feeling is to contribute time and resources to help out, and I am going to try and do that. I would say that the number of developers isn't the only problem. I can't understand why an earlier release wasn't made with Java 8 syntax support. My impression is

Re: GWT 2.8 delays

2016-05-08 Thread 'steve Zara' via GWT Users
I will see if I can find time to help. On 8 May 2016 at 21:36, Jens wrote: > Is there anything that can be done to assist with progress? Is there a >> problem with lack of interest in GWT from, say, Google? Does GWT 2.8 >> involve too many features when compared to

Re: GWT 2.8 delays

2016-05-08 Thread 'steve Zara' via GWT Users
Thank you - it does highlight where help can be given. I'm really surprised at the situation with Java 8 emulation - is this something that Google is just not interested in? It seems odd given their description of Java technologies that give them cross-platform development: Android JDK, GWT, and

GWT 2.8 delays

2016-05-08 Thread 'steve Zara' via GWT Users
when compared to 2.7? Is there a lack of developers working on GWT? Are more testers needed? Regards Steve Zara -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, sen

Any progress with GWT 2.8.0

2016-03-23 Thread 'steve Zara' via GWT Users
It's approaching the end of March 2016. The last steering group meeting was 10th February. So any sign of a release date for GWT 2.8.0? By 'release' I mean that when I click on the 'Download' button on the GWT site, I get 'gwt-2.8.0.zip' as against 'gwt-2.7.0.zip'. At that point, I will be

Re: Any closer to GWT 2.8 release?

2016-02-18 Thread 'steve Zara' via GWT Users
Thanks. On 18 February 2016 at 09:40, Seamus McMorrow <seamusmcmor...@gmail.com> wrote: > See > https://docs.google.com/document/d/1gRPU4Ap3UOPo8nEpr8hprHSp6kiems18LDozfvtKM14/edit > > > On Thursday, 18 February 2016 08:07:31 UTC, steve Zara wrote: >> >>

Any closer to GWT 2.8 release?

2016-02-18 Thread 'steve Zara' via GWT Users
How are things proceeding towards an official GWT 2.8 release? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To

Re: When will GWT 2.8 GA realistically happen?

2016-01-18 Thread steve Zara
I find the only way to get communication is to keep pestering (politely of course). On Thursday, 14 January 2016 11:24:58 UTC, Gilberto wrote: > > In my experience, asking for a release date of a project where there are > Google folks involved, is the same as asking for peace on Middle East. >

Re: When will GWT 2.8 GA realistically happen?

2016-01-18 Thread steve Zara
It's good practice for the development of commercial products which have to guarantee reliability and stability (as I am working on) to only use stable releases, and even then only after such releases have been generally available long enough for major bugs to have been located and fixed. I

Re: When will GWT 2.8 GA realistically happen?

2016-01-18 Thread 'steve Zara' via GWT Users
...@gmail.com> wrote: > Steve, > > Just to be clear: I'm not a contributor, I'm also working in an enterprise > environment where these kind of rules are in place. It can be frustrating, > but you cannot blame people of an opensource project that they don't work > according to th

Download link for GWT 2.8.0?

2016-01-10 Thread steve Zara
Is there an estimate for when the download link on www.gwtproject.org will be for gwt-2.8.0.zip? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Getting rid of Dev mode for future GWT releases

2015-12-10 Thread steve Zara
SDM takes some getting used to, but now I wouldn't want to go back to Dev mode. The real advantage I have found with SDM is the ability to debug a large codebase in reasonable time - startups for Dev mode can be very slow. Source maps are now supported pretty much everywhere, and work very

Re: Getting rid of Dev mode for future GWT releases

2015-12-10 Thread steve Zara
application startups in Dev mode can be very slow. I can get a certain state of code + data loaded much faster in Super Dev mode - indeed, this was my main reason for switching. On Thursday, 10 December 2015 10:50:26 UTC, Ed wrote: > > Thanks for sharing @Steve. Good to read that you do ha

Re: Teavm

2015-12-01 Thread Steve Hannah
sts. Steve On Tue, Dec 1, 2015 at 7:43 AM, Satguru Srivastava <ssatg...@gmail.com> wrote: > So, I recently came across TeaVM (http://teavm.org/) > Similar to GWT but unlike GWT, which compiles Java Source Code to > JavaScript, TeaVM compiles Java Byte Code to JavaScript. > It is an

RequestFactory, frozen autobeans, and MVP

2015-11-18 Thread Steve C
I'm trying to convert an app from using plain JSON to using RequestFactory. The app has a view and presenter. So, I use the RequestFactory to get Contact instances, and pass them on the view to edit. But, the editing runs into an issue with the AutoBean being frozen. Without MVP, I would

Re: Question asked December 2014 about release dates

2015-11-10 Thread 'steve Zara' via GWT Users
I appreciate the news, but this isn't just not meeting an announced release date - it's been pretty much a year. I will certainly help with the testing! On 10 November 2015 at 09:38, Jens wrote: > > Are we any closer to an answer than 11 months ago? >> > > Sure,

Question asked December 2014 about release dates

2015-11-09 Thread steve Zara
As the time when a release candidate for GWT 2.8 was supposed to be make public has come and gone, am re-posting a question asked in December 2014 about release dates "Since I was expecting *lambdas* to appear in *2.7*, now I'm checking for *GWT 2.8* release announcement daily (or sometimes

Re: The future of GWT and functional programming on the web

2015-11-06 Thread 'steve Zara' via GWT Users
d put them on a webpage > page, which every developer can point to the next time his or her > boss/client/co-worker asks what can be done with GWT. Anything can be done > with GWT! And it may look any way you like it. > > Andrei Volgin > Angels Like Rebels, Inc. > President

GWT 2.8.0 RC1

2015-11-05 Thread steve Zara
As 2.8.0 RC1 is out this week, would it be possible to say where this will be linked to on the GWT site? I'm not a maven user, so a link to the zip would be helpful. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this

Re: The future of GWT and functional programming on the web

2015-10-28 Thread steve Zara
That is excellent news. Thanks for all the hard work. On Wednesday, 28 October 2015 22:34:25 UTC, Thomas Broyer wrote: > > We just had a steering committee meeting a few hours ago, and 2.8 RC1 has > been scheduled for next week (I was a bit late so I missed the details > though) -- You

Re: Roadmap Question for GWT 3.0

2015-10-19 Thread 'steve Zara' via GWT Users
thing out of the browser. > > The discussion about classic dev mode didn't seem very healthy > https://groups.google.com/forum/#!topic/google-web-toolkit/QSEjbhhHB4g > maybe because of this split? > > > > On Sunday, October 18, 2015 at 5:13:12 PM UTC+1, steve Zara wrote: >&

Re: Roadmap Question for GWT 3.0

2015-10-18 Thread steve Zara
I'm eager for GWT 2.8 because of Lambda support, but I can't see that my company will ever use GWT 3.0 if what you write is true. We have products that make substantial use of GWT Widgets, and there is no prospect of re-writing to some other system. GWT without the Widgets just isn't GWT -

Re: Removing the SuperDevMode code server prompt

2015-10-14 Thread 'steve Zara' via GWT Users
I'm using the Netbeans GWT plugin. On 14 October 2015 at 08:20, Thomas Broyer wrote: > One question remains unanswered: how are you launching SDM / loading the > page that you're facing this dialog box? > > IIRC, the reason it doesn't automatically reloads is to avoid hiding

Re: Removing the SuperDevMode code server prompt

2015-10-13 Thread steve Zara
This is the dialog I mean: On Monday, 28 September 2015 09:23:18 UTC+1, Jens wrote: > > > That sounds like what I have been after. I can't see that feature in the >> 2.7.0 download -

Removing the SuperDevMode code server prompt

2015-09-27 Thread steve Zara
An irritation for me when using SuperDevMode is the prompt that appears when the application starts before the code server is ready. I have patched my copy of gwt-dev to remove this prompt and keep the code cycling until the code server starts. What I'd ideally like to do is to have this as

Re: Removing the SuperDevMode code server prompt

2015-09-27 Thread 'steve Zara' via GWT Users
That sounds like what I have been after. I can't see that feature in the 2.7.0 download - is it in the 2.8 builds? On 27 September 2015 at 23:22, Jens wrote: > Not sure what you mean. But I know that there was a commit that changed > DevMode to wait until SuperDevMode

Re: The future of GWT and functional programming on the web

2015-09-04 Thread 'steve Zara' via GWT Users
Thank you! That's exactly the kind of news I was hoping for. I do appreciate all the work that is put into GWT, and it has been a vital part of my software development for many years (and is in released products). The thing that has been concerning is simply the lack of news! Thanks again. On

The future of GWT and functional programming on the web

2015-09-03 Thread steve Zara
Although I have major projects in development using GWT, I'm concerned for its future, and I need to make decisions about which technologies to use for new development. The reason for my concern is that after years of updates to GWT and reports of new technologies, 2015 has been quiet. The

Re: What is planned release date for GWT 2.8 (with lambdas) ?

2015-08-26 Thread steve Zara
That's good to hear. What would be very helpful right now is a link on the GWT site which allows for the download of GWT-2.8.0-SNAPSHOT as an indication of its readiness for use. New Javascript 'transpilers' for different languages are appearing rapidly, and it is a real shame that the most

Re: GWT release prioritization

2015-08-19 Thread steve Zara
Yes, this would be helpful. On Monday, 10 August 2015 11:33:42 UTC+1, James Horsley wrote: Any chance someone from the steering committee could comment on this? On 3 August 2015 at 09:37, maticpetek matic...@gmail.com javascript: wrote: 1+ On Friday, July 31, 2015 at 11:39:00 AM UTC+2,

Re: GWT 2.8 update

2015-08-05 Thread steve Zara
Any idea when this 2.7.1 release might be available? On Tuesday, 21 July 2015 20:51:36 UTC+1, Jens wrote: At the very least could we have more openness about the state of Java 8 features in GWT, and the prospects of a release quality implementation? First of all 2.8 SNAPSHOT releases

Re: GWT 2.8 update

2015-07-21 Thread steve Zara
without any issues. On Tuesday, July 21, 2015 at 7:41:09 AM UTC-6, steve Zara wrote: I am in the same situation. Having seen suggestions of the likely release of GWT 2.8 for the start of this year, I'm eager to switch to the use of Java 8 syntax. One of GWT's selling points has been the use

Re: GWT 2.8 update

2015-07-21 Thread steve Zara
On Tuesday, 21 July 2015 20:51:36 UTC+1, Jens wrote: At the very least could we have more openness about the state of Java 8 features in GWT, and the prospects of a release quality implementation? First of all 2.8 SNAPSHOT releases are production quality code as Google runs their

GWT 2.8 update

2015-07-21 Thread steve Zara
I am in the same situation. Having seen suggestions of the likely release of GWT 2.8 for the start of this year, I'm eager to switch to the use of Java 8 syntax. One of GWT's selling points has been the use of the same language across client and server. Right now we are stuck with Java 7 on

Re: Unable to use Elemental

2014-10-26 Thread Steve
Please could someone share any thoughts? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this

Re: Unable to use Elemental

2014-10-26 Thread Steve
It seems i can no longer instantiate objects as i was doing before since using Elemental. I'm getting errors on this line for some reason: Image imgPlay = new Image(img/Blue_Play_Button_Pressed_Down.svg); I tried changing it to Image imgPlay = new Image(); but got the same error. This works

Re: How to figure out HTMLPanel rendering is complete

2014-10-21 Thread Steve C
I think there are three things that need to happen each time you get more content, at least two of which are asynchronous: 1. your ajax call to get content, asynchronous 2. when you place received HTML code into document, browser will start to render HTML, but without the images yet. I believe

Unable to use Elemental

2014-10-19 Thread Steve
Hi, I'm trying to use GWT Elemental however receive run-time errors every time. I added gwt-elemental.jar to my build path and am able to use the code within my project. When i then tried to run the application i received an error No source code is available for type

Re: CellTable - How to programmatically start editing a cell.

2014-10-17 Thread Steve C
. But, I don't know if there are any pitfalls that I've missed, other than it won't jump over a non-editable column to the subsequent editable column, and it won't jump to the next row. Steve On Friday, April 13, 2012 1:16:10 PM UTC-4, Alfredo Quiroga-Villamil wrote: Scenario is as follows

Re: How to figure out HTMLPanel rendering is complete

2014-10-17 Thread Steve C
I'm guessing that you're doing incremental loading - that as soon as the user reaches the bottom of the current content, you get more? You could remove the scroll handler when you start to load the HTML, and then restore it when the HTML has been received. Or have the loading mechanism set a

Re: How to figure out HTMLPanel rendering is complete

2014-10-17 Thread Steve C
I'm guessing that you're doing incremental loading - that as soon as the user reaches the bottom of the current content, you get more? You could remove the scroll handler when you start to load the HTML, and then restore it when the HTML has been received. Or have the loading mechanism set a

Re: ie10 permutation causing browser errors? (gwt 2.6.1) really baffled here.

2014-10-04 Thread Steve C
You should try to get your hands on a real IE10. My experience with IE11 is that its emulation of earlier versions is far from perfect, particularly with the JS engine. I've had GWT code that failed in IE11 emulating IE10, but worked fine in a real IE10. On Friday, October 3, 2014 1:49:10 PM

Re: Using datagrid.redrawRow after failed cell validation

2014-10-03 Thread Steve C
Thanks - that did the trick. In retrospect, I should have realized that from the discussion of view data in the Javadocs. On Thursday, October 2, 2014 3:22:28 PM UTC-4, Jens wrote: Don't you want to clearViewData() in the catch block so you clear the pending change if the parser throws an

Using datagrid.redrawRow after failed cell validation

2014-10-02 Thread Steve C
I'm updating a double value in a datagrid to using a custom parser on an EditTextCell. If the parser throws an error, then I'm trying to put the original value back by redrawing the row. But, the erroneous value stays in place. Stepping through the code, I do see it going through

Auto Response

2014-09-30 Thread Steve Ronald
I will be out of office from Sept 30th, 2014 to Oct 9th, 2014. Please contact Mike 2407644639 (m...@globalsyst.com) in my absence. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving

Auto Response

2014-08-15 Thread Steve Ronald
I will be out of office on 15th August 2014. Please contact Mike 2407644639 in my absence. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Source maps for stack traces in other JVM languages

2014-08-10 Thread Steve Hannah
stack trace, I should be able to map the java line numbers to mirah source myself. I just don't know what the best way to hook into the stack traces at runtime would be (or if it's even possible). Thanks for any advice or pointers you can provide. Steve -- You received this message because

Re: extend UiBinder engine

2014-06-03 Thread Steve C
That's what I figured :) On Tuesday, June 3, 2014 4:22:57 AM UTC-4, Thomas Broyer wrote: What I meant is that the factory you give to UiBinder would work the same as a @UiFactory in your class: no need for a @UiField/ui:field; if you have a foo:MyWidget/ in your ui.xml, whether it has a

java.util.Date emulation Year 00 issue

2014-06-03 Thread Steve C
If I use a com.google.gwt.i18n.client.DateTimeFormat with my own pattern, like -MM-dd, I run into the situation described in the Javadocs under Additional Parsing Considerations if the user enters a two digit year 00 (most likely intending it to be the year 2000). The following code:

Re: extend UiBinder engine

2014-06-02 Thread Steve C
For those us that might encounter this need for somewhat simple situations, why not use a @UiFactory? That provides a reasonably clean solution that separates the security aspects. Provide a parameter like roles to the create method, which could parse a comma-separated list of roles in a

Re: extend UiBinder engine

2014-06-02 Thread Steve C
assuming the presence of the annotation, since the Java field names have to match the ui:field attributes in the xml anyway? On Monday, June 2, 2014 12:21:33 PM UTC-4, Thomas Broyer wrote: On Monday, June 2, 2014 3:32:41 PM UTC+2, Steve C wrote: It would be nice if the UiFactory methods could

Re: ListBox how set selected item by value

2014-05-30 Thread Steve C
One of the first things I ever put into my personal utility classes module was an extension of ListBox to have setValue(String) and getValue(String) methods. Or, you could use ValueListBox instead of ListBox, but it's kind of a pain to work with due to the need for a Renderer. (But, it does

Re: Override html styles with css resource

2014-05-15 Thread Steve C
I have no idea why that would be the case. Most non-GWT mobile web development makes heavy use of CSS media queries, which, unless there's been a change I missed, can't be used in CssResource. On Wednesday, May 7, 2014 5:16:27 AM UTC-4, Dominic Warzok wrote: Hi, as the gwt documentaion

empty table widget size and reuse

2014-05-14 Thread Steve C
I'd like to have an empty table widget in a DataGrid, which would cover the entire width and height of the table area. Basically, I'd like to just have a vertically and horizontally centered label. Right now I can only get one that occupies the minimum area it needs based on it's content size,

Re: Override html styles with css resource

2014-05-14 Thread Steve C
I wouldn't say that the recommended way to create CSS is to use CssResource. If I just want to create general styling, there's nothing wrong with the CSS-file-in-the-war-directory approach. Keep in mind that using a CssResource will require a full recompile if you change anything, while just

Datagrid cell navigation by tabbing

2014-03-27 Thread Steve C
Is anyone else interested enough in being able to navigate within a DataGrid by tabbing that I should raise it as an issue? I see in classes like EditTextCell that the templates assign a tabindex of -1, so this behavior seems unavailable by design, and I fear that the code to achieve it might

Inline style vs class for cell renderer

2014-03-25 Thread Steve C
I'm wondering if anyone has done any efficiency testing on using inline styles vs class in cell renderers. Right now I'm using a template with two methods: @Template(div style='text-align:right'{0}/div) public SafeHtml valid(String value); @Template(div

Re: Is there any chance to fix this issue in upcoming 2.6.1?

2014-03-25 Thread Steve C
Any chance we can retitle this so we all know what it's about? :) On Monday, March 24, 2014 3:42:38 PM UTC-4, Slava Pankov wrote: I've found nasty bug when using ui:import in UiBinder template. Looks like the solution is very simple/tiny change in UiBinderParser.java, is it possible to

Re: DataGrid on a hidden tab

2014-03-23 Thread Steve C
I'm still seeing this issue using GWT2.6.0. For the tab that was visible when the grids were drawn, I see this structure: div class=gwt-TabLayoutPanelContent style=position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; div class=GPBYFDEIH style=position: relative; overflow:

Re: Custom widget with custom UiBinder markup

2014-03-04 Thread Steve C
the first parameter to the annotated method be a subclass of Widget to restrict the possible types? Steve On Friday, February 3, 2012 12:44:00 PM UTC-5, Paul Stockley wrote: Add two methods @UiChild public void addLeft(Widget w) {...} @UiChild public void addRight(Widget w

Re: SplitLayoutPanel particulars

2014-03-04 Thread Steve C
AFAIK, there is no way to disable a splitter in SplitLayoutPanel. But, you can use a plain LayoutPanel as the container, and its children would be the original right side widget, and the left side as a SplitLayoutPanel with just two pieces (probably West and Center). So, the former East part

Re: Making an RPC call after a JSNI callback

2014-02-13 Thread Steve
the ogg to base64 would probably use a lot of ram. GWT-RPC to transfer raw wav data is just right out On Wednesday, February 12, 2014 8:12:48 PM UTC+2, Steve wrote: Would using a JSONObject to send the buffers to the server help? e.g. JSONObject jsonValue = new JSONObject(myJSObject

Making an RPC call after a JSNI callback

2014-02-12 Thread Steve
Hi, I'm currently using the Recorderjshttps://github.com/mattdiamond/Recorderjs library in my GWT project and have got the client side bits all working by writing a wrapper class using JSNI to make the calls to the library. I know want to retrieve the recorded audio and store it on the

Re: Making an RPC call after a JSNI callback

2014-02-12 Thread Steve
Why are you using JSNI to call StoreAudio, and/or why are you calling it from this storeAudioCallback method rather than right from your callback in StoreAudioJSNI? (anyway, that doesn't change your issue). I want to call StoreAudio once the buffers have been returned from the

Re: Making an RPC call after a JSNI callback

2014-02-12 Thread Steve
Would using a JSONObject to send the buffers to the server help? e.g. JSONObject jsonValue = new JSONObject(myJSObject); and then using the following to convert the JSON object back? JavaScriptObject jsObject = jsonValue.getJavaScriptObject(); -- You received this message because you are

Latest Google Eclipse update has hosed my Eclipse

2013-12-29 Thread Steve C
I just updated my Google plugin for Eclipse, per a notification that popped up this morning. My current project now shows a lot of errors, and several error dialogs pop up when I try to open an existing GWT project workspace. Java editors and some other panes, like the class outline, just

Re: Latest Google Eclipse update has hosed my Eclipse

2013-12-29 Thread Steve C
After my initial post, I had gone to Eclipse docs and per them had put in: --vm C:\Program Files\Java\jdk1.7.0_45\jre\bin\javaw.exe just above the --vmargs line, but that didn't help. I also tried: --vm C:\Progra~1\Java\jdk1.7.0_45\jre\bin\javaw.exe which has worked with system paths, but

Re: Firing a ChangeEvent from a widget that wouldn't natively fire one

2013-12-14 Thread Steve C
Jens, Thanks for the comments ... See below On Saturday, December 14, 2013 8:42:06 AM UTC-5, Jens wrote: Is there any reason to be concerned about firing a ChangeEvent from a composite based on a FlowPanel? I'm trying to track user edits within a form, in order to set a dirty data flag.

Firing a ChangeEvent from a widget that wouldn't natively fire one

2013-12-13 Thread Steve C
Is there any reason to be concerned about firing a ChangeEvent from a composite based on a FlowPanel? I'm trying to track user edits within a form, in order to set a dirty data flag. Sometimes the form has subforms, each of which has it's own data dirty tracking. Basically, I'm handling

ListBox and default selection

2013-11-23 Thread Steve C
In plain old HTML, I can create a select tag, and specify one option as selected, so that it comes up as the selection by default, or gets selected if the user resets the form. GWT doesn't appear to offer this capability - I don't see anything like setDefaultSelectedIndex(int index), or

Re: Changing css without recompiling

2013-11-20 Thread Steve C
There are a number of different tricks you can use for dynamic styling. Because the StyleInjector is going to append to the head section, any style tags it injects will come after any existing content. One simple way to get your styles to override later appearing ones is to give the body tag

Re: Using Object in classes passed via GWT RPC

2013-11-11 Thread Steve C
I don't see what you're talking about in the error printout, but do see a bunch of other things. One thing I found out the hard way is that you can't serialize a sublist - I have always assumed that it contains ties back to the original list, which would cause issues when serializing (like

Re: How to wire multiple editor to same bean.

2013-11-11 Thread Steve C
My bad - had left one of the subpanel widget's Editor.Paths at by mistake. Fixed that and it worked fine. I'm not quite sure why that resulted in the error that I saw, though ... On Sunday, November 10, 2013 1:10:00 PM UTC-5, Steve C wrote: In trying Daniel's approach, I have a primary

Re: How to wire multiple editor to same bean.

2013-11-10 Thread Steve C
In trying Daniel's approach, I have a primary view class CompanyView implementing EditorCompany. It has several child AddressView objects, which implement EditorAddress; there are several Address fields in the Company. They get populated without my AddressView class ever invoking driver.edit

Re: Error when defining a generic Composite widget using Java Generics

2013-10-15 Thread Steve C
I think you're code to set the id is running before there is any DOM peer yet. When I've needed to access a widget's element, I've usually done it in an attach handler, or in a method that I know won't get invoked until the widget has been attached to the DOM. On Wednesday, October 9, 2013

Re: Style problems with Firefox+LayoutPanel

2013-09-24 Thread Steve C
On Tuesday, September 24, 2013 7:08:42 AM UTC-4, Thomas Broyer wrote: On Tuesday, September 24, 2013 12:08:20 AM UTC+2, Steve C wrote: Actually, I saw essentially the same view in Chrome, at least regarding the height of the select. The width is a different story. In general, I wouldn't

Re: Style problems with Firefox+LayoutPanel

2013-09-23 Thread Steve C
Actually, I saw essentially the same view in Chrome, at least regarding the height of the select. The width is a different story. In general, I wouldn't add individual widgets to the root layout panel, I'd add panels, and put the widgets inside them. That helps get around some of the browser

Re: How to use different CSS/Code for different browsers/devices/os?

2013-09-18 Thread Steve C
1. The problem with GWT's conditional CSS is that it is evaluated once, at the time the CSS resource is processed, which means that you won't get runtime changes if the user changes the window size (or a mobile user changes the orientation). 2. The problem with media queries in the CSS is that

'Chart Tools API Library for GWT' vs gwt-charts

2013-09-13 Thread Steve Morgan
There seem to be two projects dedicated to charting for GWT based on Google Charts. 'Chart Tools API Library for GWT' is the official library that wraps the Google chart tools for use in GWT. The home page and FAQ haven't been updated in a couple of years, and the .jar file referenced from the

Re: Joda Time Jodatime in GWT server

2013-09-13 Thread Steve Morgan
), and then include it in the build path. This is so the server has access to the library. On Tuesday, April 16, 2013 12:36:15 AM UTC+3, Steve Morgan wrote: I'm using Jodatime in my GWT application, server only. I'm getting a runtime message: java.lang.ClassNotFoundException

Re: Is there any way to have event handlers for a cell in a CellTable that isn't in a column?

2013-09-09 Thread Steve C
see it is passed the Button tag from my action cell, and ends up returning null. (I'm using the abstract class' renderHeader method to do the rendering, and see the ID on the TD tag, which seems essential.) On Friday, September 6, 2013 6:50:49 PM UTC-4, Steve C wrote: I'd like to put a set

GWT Get Started demo application not starting server when running in production mode

2013-09-09 Thread Steve Morgan
Going through the instructions for getting GWT installed and running as described in http://www.gwtproject.org/gettingstarted.html. Created the demo app Web Application Starter Project and it runs in development mode just fine, however when trying to run in production mode by double clicking

Re: Java SE or EE

2013-09-07 Thread Steve Morgan
available: SE, EE and EE web profile. Many thanks for the information regarding Eclipse, that would have been my next question. On Saturday, September 7, 2013 1:31:58 AM UTC-7, Thomas Broyer wrote: On Saturday, September 7, 2013 4:44:30 AM UTC+2, Steve Morgan wrote: I haven't seen a recent

Re: Java SE or EE

2013-09-07 Thread Steve Morgan
On Friday, September 6, 2013 7:44:30 PM UTC-7, Steve Morgan wrote: I haven't seen a recent definitive answer to this question: Can I develop GWT applications with Java SE, or do I need to install Java EE. I have been developing GWT applications for about a year using EE, but I am doing

Is there any way to have event handlers for a cell in a CellTable that isn't in a column?

2013-09-06 Thread Steve C
I'd like to put a set of button cells into a composite cell in a celltable footer that uses a custom footer builder to create a row with a cell that spans most of the table columns. But, I don't get any click events on those buttons. If I put the same type of cell into a column, it works

Re: Is there any way to have event handlers for a cell in a CellTable that isn't in a column?

2013-09-06 Thread Steve C
: because you're in the footer, the cell/column doesn't correspond to a field in a row, so FieldUpdater wouldn't fit. On Saturday, September 7, 2013 12:50:49 AM UTC+2, Steve C wrote: I'd like to put a set of button cells into a composite cell in a celltable footer that uses a custom footer

Java SE or EE

2013-09-06 Thread Steve Morgan
I haven't seen a recent definitive answer to this question: Can I develop GWT applications with Java SE, or do I need to install Java EE. I have been developing GWT applications for about a year using EE, but I am doing a clean install on a new machine, and I like to keep things simple as

Re: Dirty Form Flag in GWT or basically how to identify if in the form if there are any unsaved changes

2013-08-30 Thread Steve C
jaga, If you're going to update the model object with every change, then it seems that you'd need a value change handler on every form field. I've usually implemented this concept by having a single inner class ValueChangeHandler instance for the form composite, along with a boolean dirty

  1   2   3   >