Re: Any way to create a DialogBox-like component that DOESN'T use HTML tables?

2017-12-14 Thread TimOnGmail
Ok, thanks for the suggestions folks - I'll experiment! - Tim On Wednesday, December 13, 2017 at 1:54:28 AM UTC-8, Jens wrote: > > > I thought that PopupPanel also uses table for internal layout; is that not >> the case? >> > > PopupPanel just takes any kind of widget and displays it as an

Re: Any way to create a DialogBox-like component that DOESN'T use HTML tables?

2017-12-12 Thread TimOnGmail
ckOverflow, gitter.im/gwtproject/gwt or ##gwt on > freenode, or this GWT Users mailing list are all better places to ask > questions.) > > On Tuesday, December 5, 2017 at 7:36:30 PM UTC-6, TimOnGmail wrote: >> >> Hi all... >> >> We're currently using a third-par

[gwt-contrib] Any way to create a DialogBox-like component that DOESN'T use HTML tables?

2017-12-07 Thread TimOnGmail
I posted this in GWT Users, but thought there might be more expertise here. Hi all... We're currently using a third-party component that, for some reason, doesn't play well when embedded in HTML tables. One of the uses we have for this component is within a DialogBox. Unfortunately, it

Any way to create a DialogBox-like component that DOESN'T use HTML tables?

2017-12-05 Thread TimOnGmail
Hi all... We're currently using a third-party component that, for some reason, doesn't play well when embedded in HTML tables. One of the uses we have for this component is within a DialogBox. Unfortunately, it appears DialogBox does its layout using HTML tables. Does anyone know of an

Re: Calling methods on Uint8Array is causing a ReferenceError in Super Dev Mode...

2017-11-08 Thread TimOnGmail
Hmmm, nope - even if I make a copy of the buffer, I still get the above error in Super Dev mode. Any ideas, anyone? - Tim -- 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

Re: Calling methods on Uint8Array is causing a ReferenceError in Super Dev Mode...

2017-11-08 Thread TimOnGmail
Dev Mode, except perhaps there are timing considerations involved here. On Wednesday, November 8, 2017 at 5:35:02 PM UTC-8, TimOnGmail wrote: > > I should add, the underlying data is coming from a FileReader object, > reading data from the MediaRecorder API. I suppose this is t

Re: Calling methods on Uint8Array is causing a ReferenceError in Super Dev Mode...

2017-11-08 Thread TimOnGmail
I should add, the underlying data is coming from a FileReader object, reading data from the MediaRecorder API. I suppose this is the actual cause, though I'm not sure. I would think everything would be fine if it's working in compiled mode... - Tim -- You received this message because you

Calling methods on Uint8Array is causing a ReferenceError in Super Dev Mode...

2017-11-08 Thread TimOnGmail
Hey folks... I have some code that looks like this: private native void myNativeMethod() /*-{ ... var myArrayBuffer = [something that gets an ArrayBuffer); this.@myPackmage::myNonNativeMethod(Lcom/google/gwt/typedarrays/shared/ArrayBuffer;)(myArrayBuffer); }-*/ private void

Re: [gwt-contrib] Re: Upgraded from GWT 2.6 to 2.8 - now Chrome Extension API doesn't work...

2017-05-03 Thread TimOnGmail
On Wednesday, May 3, 2017 at 1:08:14 PM UTC-7, Goktug Gokdogan wrote: > > Maybe related to $wnd, but here we are basically shooting in the dark. You > should debug your code and tell us where it behaves unexpectedly otherwise > we cannot help much... > I have indeed debugged the code, and

[gwt-contrib] Re: Upgraded from GWT 2.6 to 2.8 - now Chrome Extension API doesn't work...

2017-05-03 Thread TimOnGmail
Ok... here's the client app side - I haven't tried running this as-is, since it was culled from a much bigger piece of code. But this is the gist of it: package com.example; public class ChromeAPIExample { private static final String CHROME_APP_ID = "..."; // Replace with actual Chrome

[gwt-contrib] Re: Upgraded from GWT 2.6 to 2.8 - now Chrome Extension API doesn't work...

2017-05-02 Thread TimOnGmail
> been three years between the releases). It is possible that you were using > JSNI in a way that probably shouldn't have worked previously, and since > then it has been "fixed"? > > On Monday, May 1, 2017 at 5:02:09 PM UTC-5, TimOnGmail wrote: >> >> So it appears th

[gwt-contrib] Re: Upgraded from GWT 2.6 to 2.8 - now Chrome Extension API doesn't work...

2017-05-01 Thread TimOnGmail
So it appears that this is caused by JSNI methods somehow being morphed when the GWT app is compiled. I don't know how, but I do know that calls to Chrome proprietary APIs aren't working correctly. I modified my code to do the following: Java method calls JSNI method JSNI method calls raw

Re: Chrome Extension Message Passing API no longer working in GWT 2.8...?

2017-05-01 Thread TimOnGmail
So it appears that this is caused by JSNI methods somehow being morphed when the GWT app is compiled. I don't know how, but I do know that calls to Chrome proprietary APIs aren't working correctly. I modified my code to do the following: Java method calls JSNI method JSNI method calls raw

Re: Chrome Extension Message Passing API no longer working in GWT 2.8...?

2017-05-01 Thread TimOnGmail
So it appears that this is caused by JSNI methods somehow being morphed when the GWT app is compiled. I don't know how, but I do know that calls to Chrome proprietary APIs aren't working correctly. I modified my code to do the following: Java method calls JSNI method JSNI method calls raw

[gwt-contrib] Upgraded from GWT 2.6 to 2.8 - now Chrome Extension API doesn't work...

2017-04-27 Thread TimOnGmail
Hello all... I'm a developer on a project that uses GWT. We had been using GWT 2.6 for a long time, and finally moved to GWT 2.8 w/Java 1.8. Part of this project is a Chrome extension, where our web app needs to communicate with the extension. This was working fine until we upgraded out

Chrome Extension Message Passing API no longer working in GWT 2.8...?

2017-04-27 Thread TimOnGmail
Hello all... I'm a developer on a project that uses GWT. We had been using GWT 2.6 for a long time, and finally moved to GWT 2.8 w/Java 1.8. Part of this project is a Chrome extension, where our web app needs to communicate with the extension. This was working fine until we upgraded out

Re: Unchanged transient field received as null on server using RequestFactory - how to force to send?

2016-10-28 Thread TimOnGmail
Ok - our code has a default finder used generically for all calls, though some locators override it. I hadn't been very aware of it - it was this that was causing the issue. Once I overrode the finder to fill in transient values, my problems went away. Thanks for pointing me in the right

Re: Unchanged transient field received as null on server using RequestFactory - how to force to send?

2016-10-27 Thread TimOnGmail
Ah, ok - I didn't realize that I was able to provide my own modification of the locator method. In my debugging of our code, I saw the RF framework do a direct to an EntityManager.find() method. For some reason I didn't see that this was something we could modify. I also wasn't aware of

Re: Unchanged transient field received as null on server using RequestFactory - how to force to send?

2016-10-27 Thread TimOnGmail
... or maybe an improvement, whereby fields marked @Transient would always be sent, and not use the usual lookup/compare workflow? I'm surprised it works the way it does - when the original value is fetched, we set the @Transient values when returned to the client. But when RF looks up the

Re: Unchanged transient field received as null on server using RequestFactory - how to force to send?

2016-10-27 Thread TimOnGmail
Sorry, yes, it was an EntityProxy. My ideas to solve it were: 1) Use a ValueProxy instead of an EntityProxy 2) Use a ValueProxy for the @Transient String value (dunno how a transient value, expressed as a ValueProxy within an EntityProxy, would be handled, or if it's allowed) 3) Pass the

Unchanged transient field received as null on server using RequestFactory - how to force to send?

2016-10-26 Thread TimOnGmail
Hi all... So I have a situation where we have an entity persisted with JPA on the server: public class MyEntity ... { > private String field1; > private String field2; > @Transient > private String myTransientField; > } ... and we have a proxy: public class MyEntityProxy ...

Trying to use transcription foot pedal with GWT... issue with key events...

2015-03-03 Thread TimOnGmail
Hi all... So I have a requirement to add transcription foot-pedal support to a GWT app. I bought a USB foot pedal, and the company who writes software for it makes a small utility that outputs any key sequence you like based upon which pedal is pressed (this unit has 3 pedals).

How to send data blob (i.e. the equivalent of a byte[]) with RequestFactory?

2014-05-14 Thread TimOnGmail
Hi all... So I've got an app that's recording audio on the client side, and then sending it in chunks to the server. Currently, I'm using a flash component (from the wami-recorder project), and that flash components is sending each chunk of audio data to a servlet. This works fine, but I want

RichTextArea loses selection when it loses focus on IE9 - anyone ever solve this?

2014-05-02 Thread TimOnGmail
Regarding this: https://code.google.com/p/google-web-toolkit/issues/detail?id=6976 When the RichTextArea loses the focus, in IE9 it also loses its selection and the cursor position is reset at position 0 (or at an undefined position) I revived this bug here:

Creation of 0-length Text node in DOM works in DEV mode, not in compiled/prod mode??

2013-02-04 Thread TimOnGmail
Hey folks... I have a situation where I am creating a Text node of 0-length: Node node = Document.get().createTextNode() ... someOtherNodeInTheDom.appendChild(node); If I do the above in DEV, the new node is found as a 0-length text node in the DOM. However, when I run the same code in

Persisting EntityProxy that contains ListValueProxy member, receiving null for member if List unchanged...?

2013-01-23 Thread TimOnGmail
Hey folks... I'm having a strange situation. I have an EntityProxy that contains a member that is a ListValueProxy (all subclasses of the proxy types, of course). Everything is set up fine, everything works, except for ONE case. It looks like this: class MyEntityProxy ... { public

Re: request factory list of children behavior when persist()

2013-01-23 Thread TimOnGmail
Same thing (or similar) is happening to me - see: https://groups.google.com/forum/?fromgroups=#!searchin/google-web-toolkit/list$20of$20valueproxy/google-web-toolkit/-VkVe6BZ_D8/DYv_WSXB9-4J Did you ever get this figured out? - Tim On Monday, August 13, 2012 1:09:44 PM UTC-7, Yan wrote:

Re: Persisting EntityProxy that contains ListValueProxy member, receiving null for member if List unchanged...?

2013-01-23 Thread TimOnGmail
Nevermind this question - it turned out it was because the Locator for the surrounding EntityProxy was one class, but the fetch/save methods were a different Locator. The default find() method for this EntityProxy was not filling in some @Transient fields that the regular fetch() method was,

Re: request factory list of children behavior when persist()

2013-01-23 Thread TimOnGmail
Nevermind about the below - I found it was my fault. See the link below for info. - Tim On Wednesday, January 23, 2013 12:01:39 PM UTC-8, TimOnGmail wrote: Same thing (or similar) is happening to me - see: https://groups.google.com/forum/?fromgroups=#!searchin/google-web-toolkit/list$20of

RichTextArea.Formatter wraps modified text/html with copy of parent SPAN (copying all attributes) ??

2012-10-23 Thread TimOnGmail
Hello there folks... So we are using an HTML formatting toolbar for a RichTextArea (as described here and elsewhere: http://code.google.com/p/richtexttoolbar/ ), which calls various methods on RichTextArea.Formatter. For example, toggleBold() (to toggle bolding in a given selected area of

Re: RichTextArea.Formatter wraps modified text/html with copy of parent SPAN (copying all attributes) ??

2012-10-23 Thread TimOnGmail
$20togglebold/google-web-toolkit/wQRxP9X0L_U/7kOeAGi23IYJ In any case, I'm wondering if I should log this as a bug. - Tim On Tuesday, October 23, 2012 2:19:08 PM UTC-7, TimOnGmail wrote: Hello there folks... So we are using an HTML formatting toolbar for a RichTextArea (as described here

Re: RichTextArea.Formatter wraps modified text/html with copy of parent SPAN (copying all attributes) ??

2012-10-23 Thread TimOnGmail
Another note - in my first post, I incorrectly how the text is modified. It actually is changed from: span abc=hello def=goodbye style=display: inline-block;HERE IS MY TEXT/span to: span abc=hello def=goodbye style=display: inline-block;HERE IS /span span abc=hello def=goodbye

Re: RichTextArea.Formatter wraps modified text/html with copy of parent SPAN (copying all attributes) ??

2012-10-23 Thread TimOnGmail
, TimOnGmail wrote: Hello there folks... So we are using an HTML formatting toolbar for a RichTextArea (as described here and elsewhere: http://code.google.com/p/richtexttoolbar/ ), which calls various methods on RichTextArea.Formatter. For example, toggleBold() (to toggle bolding in a given

Re: RichTextArea.setHTML() - sometimes parts of HTML are escaped, sometimes not... ??

2012-10-12 Thread TimOnGmail
You can ignore this post - I found out this was due to my own code doing this in another part of the app. :-) - Tim On Thursday, October 11, 2012 3:37:13 PM UTC-7, TimOnGmail wrote: Another question - when I call setHTML() on a RichTextArea, with a value like this: span style=random css

Knowing when DOM is fully rendered after RichTextArea.setHTML() is called?

2012-10-11 Thread TimOnGmail
Hey folks... So I have a need to make a call to RichTextArea.setHTML(), and then parse the rendered DOM in the IFRAME and add click listeners to some of the elements in it. This works fine sometimes, but, depending on the browser, the DOM in the IFRAME appears ready/finished at different

RichTextArea.setHTML() - sometimes parts of HTML are escaped, sometimes not... ??

2012-10-11 Thread TimOnGmail
Another question - when I call setHTML() on a RichTextArea, with a value like this: span style=random css hereHELLO THEREbr/span ... most of the time the br is escaped, so the underlying HTML is: span style=random css hereHELLO THERElt;brgt;/span SOMETIMES, however, it is rendered exactly

Re: Knowing when DOM is fully rendered after RichTextArea.setHTML() is called?

2012-10-11 Thread TimOnGmail
Thanks for the suggestion, Andrei - I'll give that a try! I'm adding listeners to it because our project requires that users clicking on a certain section of text creates a popup for editing that section's properties. We are delimiting these nominal sections like this: span ... various

Re: Any way to attach arbitrary data to SuggestOracle.Request? Functionality seems limited...

2012-07-15 Thread TimOnGmail
Thanks for the - ahem - Suggestion, Thomas. :-) I hadn't known about this functionality; the problem with it, in the codebase I'm working in, is that there is no standard among service calls (and the actual code doing the database queries within some EJBs) about how many rows of data are to be

Any way to attach arbitrary data to SuggestOracle.Request? Functionality seems limited...

2012-07-13 Thread TimOnGmail
Hey all... I was trying to find a way to substitute my own subclass of SuggestOracle.Request in a SuggestBox implementation. This seems impossible, as the creation of the Request object happens deep in the bowels of the SuggestBox framework. This is a problem - basically, we have a case

Is there a Java URL encoder class that can be used in both Java/Javascript?

2009-05-27 Thread TimOnGmail
Hi all... I have a class that I'd like to use in GWT, and have it work both in a freestanding Java app, and in GWT. The problem is, it needs to do some URL encoding, but GWT's URL class does it's encoding/decoding in a native method (in Javascript), and URLEncoder/URLDecoder in Java are not

How to change the base URL for the app in Hosted Mode??

2009-05-01 Thread TimOnGmail
Hi all... When I run a GWT app in Tomcat, I can specify the base URL in the web.xml, or just by the fact that the webapp is known by the name of the directory it's in in the webapps directory. However, running in the Eclipse plugin, in hosted mode, it seems it always runs as

Updates of not-visible pages don't get done - help?

2009-04-27 Thread TimOnGmail
Hi all.. I have an app written in mostly GWT-Ext (I am posting there as well, just in case). I have a tabbed panel, and on each tab is a panel containing various bits of data (mostly in Grids). When the app starts, the entire GUI is set up, and calls made to the server to update the data

Re: FileUpload - how to get status back from server??

2009-04-25 Thread TimOnGmail
On Apr 24, 6:53 pm, Vitali Lovich vlov...@gmail.com wrote: Technically no.  It's a limitation of the HTML spec.  You could try the following hack (untested so dunno how practicle this is what pitfalls you might enounter - as the lkml people say, here be dragons): [ Your advice, snipped ]

FileUpload - how to get status back from server??

2009-04-24 Thread TimOnGmail
Hi all... I'm using FileUpload to upload a file to a servlet. The problem is, there can be a lot of different problems on the server side (IOExceptions, format errors, etc.), and I want to get those back to my GWT app. Problem is, it seems the FileUpload only reports back (via its Event

Re: How to use newer version of Jetty for Hosted Mode server?

2009-04-20 Thread TimOnGmail
I want to add, I'm doing all of this in the Eclipse GWT plugin. - Tim On Apr 20, 3:28 pm, TimOnGmail timbes...@gmail.com wrote: Hi there... I suspect I'm hitting some errors using the embedded Jetty 5 server in Hosted Mode. Does anyone know of an easy way to tell GWT 1.6 Use THIS Jetty

How to use newer version of Jetty for Hosted Mode server?

2009-04-20 Thread TimOnGmail
Hi there... I suspect I'm hitting some errors using the embedded Jetty 5 server in Hosted Mode. Does anyone know of an easy way to tell GWT 1.6 Use THIS Jetty jar as your server, and not the default one? - Tim --~--~-~--~~~---~--~~ You received this message

Re: How to use newer version of Jetty for Hosted Mode server?

2009-04-20 Thread TimOnGmail
Hi Leon... Are you saying there *is* an option somewhere (in which case, where?), or it would be a good idea if there were one? - Tim On Apr 20, 6:01 pm, Leon Li lilei.l...@gmail.com wrote: There should be an option there On 4月21日, 上午6时29分, TimOnGmail timbes...@gmail.com wrote: I

Re: How to include javascript files in GWT with eclipse plugin?

2009-04-15 Thread TimOnGmail
On Apr 14, 9:58 pm, TimOnGmail timbes...@gmail.com wrote: Hi all... I'm using GWT-EXT, and it needs to be copied into war/js/ext every time I build my project.  However, every time I build my project, it gets deleted and I have to copy it manually. Does anyone know where I would put

How to include javascript files in GWT with eclipse plugin?

2009-04-14 Thread TimOnGmail
Hi all... I'm using GWT-EXT, and it needs to be copied into war/js/ext every time I build my project. However, every time I build my project, it gets deleted and I have to copy it manually. Does anyone know where I would put the ext folder - or what files I modify to point to it - so that the

Re: How to use classes in a module that are not part of any module?

2009-04-08 Thread TimOnGmail
. Inherit that in your GWT app and, assuming that everything in com.mycompany.domain is GWT-compatible, you're set. - Isaac On Wed, Apr 8, 2009 at 1:49 AM, TimOnGmail timbes...@gmail.com wrote: Yes, just for testing purposes, before I actually need to compile everything into JavaScript. Both

Re: How to use classes in a module that are not part of any module?

2009-04-08 Thread TimOnGmail
classes yourself if they are even possible). On Wed, Apr 8, 2009 at 2:51 PM, TimOnGmail timbes...@gmail.com wrote: Hi Isaac... I should make this even clearer.  My bean-like classes are scattered throughout my codebase, and not concentrated in one place.  They many are JAXB beans and import

How to use classes in a module that are not part of any module?

2009-04-07 Thread TimOnGmail
Hi all... I've looked around here, and didn't find this specific question asked (although I'm sure it has been). I have created a module, and have a bunch of bean classes residing elsewhere. These bean classes are all Serializable (since I transfer them between several servers already), and I

Re: How to use classes in a module that are not part of any module?

2009-04-07 Thread TimOnGmail
a standard Eclipse project format, like the above, with the GWT module classes embedded in the src/ hierarchy? If so, how would you set up the module file, etc.? - Tim On Apr 7, 5:25 pm, TimOnGmail timbes...@gmail.com wrote: Hi all... I've looked around here, and didn't find this specific question

Re: How to use classes in a module that are not part of any module?

2009-04-07 Thread TimOnGmail
into a module.  No it's not ideal because of the multiple locations you have to keep track of dependancies, but it should work. On Tue, Apr 7, 2009 at 9:51 PM, TimOnGmail timbes...@gmail.com wrote: I found some discussions of this here, but the answer always seems to be you can't (unless you

Re: How to use classes in a module that are not part of any module?

2009-04-07 Thread TimOnGmail
). However, I've never heard of anyone actually compiling the Java into javascript from eclipse - it's certainly possible, but it's not what the default launch config does. On Wed, Apr 8, 2009 at 1:04 AM, TimOnGmail timbes...@gmail.com wrote: Hi Vitali... Well, I wasn't thinking of how