Re: "unread block data" exception when compiling

2017-02-14 Thread Paul Mazzuca
to anyone? On Monday, January 30, 2017 at 3:54:12 PM UTC-8, Paul Mazzuca wrote: > > Figured it out. For whatever reason, I mistakenly had gwt-servlet in the > pom of the module and that seemed to have caused the inconsistency. I > removed it, and the module loads fine in GWT 2.8.0

Re: JsInterop Question regarding execution in index.html

2017-02-13 Thread Paul Mazzuca
String url) { Window.alert("Success"); } On Mon, Feb 13, 2017 at 9:09 AM, Juan Pablo Gardella < gardellajuanpa...@gmail.com> wrote: > Check if this flag is activated -[no]generateJsInteropExports Generate > exports for JsInterop purposes (defaults to OFF) > > >

Re: JsInterop Question regarding execution in index.html

2017-02-13 Thread Paul Mazzuca
eading=h.o7amqk9edhb9> > . > > On Mon, 13 Feb 2017 at 13:24 Paul Mazzuca <paul.j.mazz...@gmail.com> > wrote: > >> I need to create a javascript function called "handleOpenUrl(url)" that >> will be called from a Cordova plugin (https://github.com/

JsInterop Question regarding execution in index.html

2017-02-13 Thread Paul Mazzuca
I need to create a javascript function called "handleOpenUrl(url)" that will be called from a Cordova plugin (https://github.com/EddyVerbruggen/Custom-URL-scheme) for a hand off from a mobile browser. If I create the function inside my index.html, it is called successfully. The challenge is

Re: "unread block data" exception when compiling

2017-01-30 Thread Paul Mazzuca
Figured it out. For whatever reason, I mistakenly had gwt-servlet in the pom of the module and that seemed to have caused the inconsistency. I removed it, and the module loads fine in GWT 2.8.0 with Java 8. On Monday, January 30, 2017 at 3:27:02 PM UTC-8, Paul Mazzuca wrote: > >

"unread block data" exception when compiling

2017-01-30 Thread Paul Mazzuca
I have two projects, each work independently using GWT 2.8 with Java 8. When I create a module of one of the projects, and load that module into the other project, I receive the following error. Any thoughts? I have cleaned the projects multiple times and rebuilt from scratch. I used to

Re: Callback for CellList cell attaching to DOM?

2017-01-22 Thread Paul Mazzuca
observer.disconnect(); }); MutationOptions options = new MutationOptions(); options.childList = true; observer.observe(this.cellList.getRowContainer(), options); On Sunday, January 22, 2017 at 7:17:50 PM UTC-8, Paul Mazzuca wrote: > > Is it possible to register a callback for when a

Callback for CellList cell attaching to DOM?

2017-01-22 Thread Paul Mazzuca
Is it possible to register a callback for when a CellList cell has attached to the DOM? And if not, any ideas on how to solve this problem? The problem occurs when I am embedding an interactive Google Map into a cellList cell. Since the div element which will contain the map exists within

Re: GWT Client for App Engine Endpoints

2017-01-13 Thread Paul Mazzuca
code, >> change its name, and otherwise change both the API and its implementation - >> as Java. But in the GWT Endpoints client I have to separately maintain the >> REST URL strings. There are old (broken) tools like Google's >> apis-client-generator (generate_library) t

Re: GWT Client for App Engine Endpoints

2017-01-11 Thread Paul Mazzuca
GAE Endpoints makes available REST EndPoints for your various clients. If GWT is being used in your client, then you need to make an HTTP request from that client in order to communicate with GAE Endpoints. So the question is how do you create an HTTP async request from a GWT client? You

GWT 2.8 with Java 7

2017-01-06 Thread Paul Mazzuca
Can a GWT 2.8 project still be run with Java 7? I have it working with beta1, but not any of the release candidates or the final release? When I do try to use anything beyond GWT beta1, I receive a series of errors similar to the below statement [WARN] Ignoring unresolvable annotation type

Re: Obtaining a DivElement from a custom cell

2016-11-04 Thread Paul Mazzuca
t == null) { > // end of the line > } else { > String pname = parent.getNodeName(); > if(nodeName.equalsIgnoreCase(pname)) { > return parent; > } else { > return getFirstParentWithNodeName(parent, nodeName); > } > } > return null; > } > > > On Thu

Obtaining a DivElement from a custom cell

2016-11-03 Thread Paul Mazzuca
Is it possible to obtain a reference to a divElement inside a GWT custom cell? Many Javascript libraries (Google JS Map API, Google Charts API, etc) often require a div element to be passed to the javascript in order to render, for example, a map or chart. Basically, I am trying to create a

Re: Setting a variable in the window namespace

2016-10-26 Thread Paul Mazzuca
October 25, 2016 at 4:42:21 PM UTC-7, Paul Mazzuca wrote: > > Is there an equivalent way of using JSInterop to achieve the JavaScript > functionality of window.foo = 'someval'? > > > -- You received this message because you are subscribed to the Google Groups "GWT

Setting a variable in the window namespace

2016-10-25 Thread Paul Mazzuca
Is there an equivalent way of using JSInterop to achieve the JavaScript functionality of window.foo = 'someval'? -- 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

Re: GWT OAuth2 Open Source Release

2016-07-12 Thread Paul Mazzuca
ts topics, 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 options, visit https://groups.google.com/d/optout.

Re: GWT OAuth2 Open Source Release

2016-07-12 Thread Paul Mazzuca
native app installs? On Mon, Jul 11, 2016 at 9:45 AM, Thomas Broyer <t.bro...@gmail.com> wrote: > There are many many many small things that are either wrong, or > inappropriate, or inappropriately described. > > On Thursday, July 7, 2016 at 1:22:55 AM UTC+2, Paul Mazzuca wrot

Re: GWT OAuth2 Open Source Release

2016-07-11 Thread Paul Mazzuca
ngs that are either wrong, or > inappropriate, or inappropriately described. > > On Thursday, July 7, 2016 at 1:22:55 AM UTC+2, Paul Mazzuca wrote: >> >> I thought that it might be a good idea to update the existing GWT-OAuth2 >> project from 2011. I know that I have cer

Re: GWT OAuth2 Open Source Release

2016-07-11 Thread Paul Mazzuca
I4gXb4QLWtQ/unsubscribe > . > To unsubscribe from this group and all its topics, 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-t

GWT OAuth2 Open Source Release

2016-07-06 Thread Paul Mazzuca
I thought that it might be a good idea to update the existing GWT-OAuth2 project from 2011. I know that I have certainly needed a reliable framework for just about all of my projects, and unfortunately the old one is too out of date for my use cases. Let me know what you think and

Re: Recommendation for GWT and AppEngine communication

2016-04-12 Thread Paul Mazzuca
Thanks Thomas. This insight is extremely helpful. On Tuesday, April 12, 2016 at 3:41:23 AM UTC-7, Thomas Broyer wrote: > > > > On Monday, April 11, 2016 at 10:59:34 PM UTC+2, Paul Mazzuca wrote: >> >> RestyGWT is enticing considering how well it decouples the client and

Re: Recommendation for GWT and AppEngine communication

2016-04-11 Thread Paul Mazzuca
ably the best choice if you > want to call your services from a mobile app (RPC won't work in that case > and RequestFactory might work but only with extra work). > > I'll also welcome any pointers from people that have actually built GWT > apps running on AppEngine. > > >

Recommendation for GWT and AppEngine communication

2016-04-10 Thread Paul Mazzuca
Is GWT + RequestFactory + Google App Engine + JDO still considered a best practice (as suggested by the GWT docs), or is there a recommended alternative, assuming I would like to use GWT with AppEngine cloud datastore? I have used this combination for a while, however the code is slowly

Re: GWT 2.8 with App Engine on Java 7

2016-03-10 Thread Paul Mazzuca
Thanks as alway for the prompt response. I went ahead and reverted to Java 7 (while still using GWT 2.8) as the quick solution, with Google Guava for some more advanced Java 8 like APIs. After some cursory research, I believe the GAE sandbox will be supporting Java 8 at some point this year, so

Re: GWT 2.8 with App Engine on Java 7

2016-03-09 Thread Paul Mazzuca
son you can't split the project up into two projects? A > java8 => js frontend, and the java7 backend? > > On 03/09/2016 02:57 PM, Paul Mazzuca wrote: > > Using the maven gwt and appengine plugins, is it possible to compile GWT > 2.8 in Java 8, and then app engine related files us

GWT 2.8 with App Engine on Java 7

2016-03-09 Thread Paul Mazzuca
Using the maven gwt and appengine plugins, is it possible to compile GWT 2.8 in Java 8, and then app engine related files using Java 7? I realize the managed VMs support Java 8, but it would be nice to stick with the app engine environment which currently only support Java 7? I am wondering

Re: Download link for GWT 2.8.0?

2016-01-11 Thread Paul Mazzuca
If you are using Maven, you can just update the pom.xml file. The beta has been posted here, along with past versions. http://mvnrepository.com/artifact/com.google.gwt/gwt-user. I imagine that the release candidate will be posted as soon as the dev team feels it is ready. On Sunday,

RequestFactory Caching with Transaction Failures

2016-01-07 Thread Paul Mazzuca
What is the best way to deal with objects that still get cached when a transaction fails and is rolled back? I am running into this with GAE / JDO / GWT RequestFactory. The transaction rightfully fails and rolls back, but then the memcache still retains the older values. The datastore has

Re: Activities and Places - Enabling History to reflect an updated data item

2016-01-06 Thread Paul Mazzuca
Thanks for all the quick replies. When having to consider the back button in a browser or an Android mobile device, it certainly changes the way you think about architecting the standard goto(Place). My solution was to build in a static placeCache into each Place, that way when getPlace is

Activities and Places - Enabling History to reflect an updated data item

2016-01-05 Thread Paul Mazzuca
Let's say I have a view with a list of items. When I click on an item I go to a new Place and view with details about that item. In this details view, I do some update to the item, then want to return back to the list view, but only using the back button on the browser. If the user clicks

Re: GWT 2.8 Compiler Question for Streams

2015-12-29 Thread Paul Mazzuca
orum/#!topic/google-web-toolkit/SuLcOTeJkyo > - http://stackoverflow.com/questions/15693169/java-8-support-in-gwt > > On 29 December 2015 at 12:30, Paul Mazzuca <paul.j.mazz...@gmail.com> > wrote: > >> That reference is for the "latest", which I am assuming is stil

Re: GWT 2.8 Compiler Question for Streams

2015-12-29 Thread Paul Mazzuca
html#Package_java_util. > Maybe this is the reason. > > On 29 December 2015 at 12:22, Paul Mazzuca <paul.j.mazz...@gmail.com> > wrote: > >> Any reason why I would be receiving a compiler error in the code below? >> >> >> //compiles >> >> t

GWT 2.8 Compiler Question for Streams

2015-12-29 Thread Paul Mazzuca
Any reason why I would be receiving a compiler error in the code below? //compiles this.mybutton.addClickHandler(c -> *dosomething()*); //does not compile Arrays.asList("one", "two").stream(); I am using the beta Maven release of GWT 2.8 with jdk 1.8.0_60 and am using super dev mode.

DeckLayoutPanel Sliding Views

2014-05-20 Thread Paul Mazzuca
By default a DeckLayoutPanel slides views from right to left in 2.6. However when returning to a previously loaded widget, rather than doing the opposite direction, the DeckLayoutPanel still slides right to left. In 2.5 this was not the case. Did something change? Is there an easy way to

Re: GWT load issues on ios 3G device

2014-04-21 Thread Paul Mazzuca
the nocache script in some way or switch linkers. Maybe you could write a simple script that loads the nocache script? You could also contact Sprint and have them whitelist your site. On Jul 29, 2013, at 2:51 PM, Paul Mazzuca wrote: I actually haven't used the web inspector. This is a huge

Re: GWT, RequestFactory, MVP, JDO and DataNucleus

2014-04-05 Thread Paul Mazzuca
A good starting point for MVP is the MobileWebApp example packaged with GWT. I have experience with MVP using JDO (DataNucleus), GWT RequestFactory, and AppEngine. I have found this combination to be very fast and responsive for the client. Scaling with AppEngine is not an issue if you

Re: GWT not loading .js

2013-10-08 Thread Paul Mazzuca
I ran into the same issue. See the previous post. I still don't have a solution for it. Some questions that I have are (1) Is there a size threshold for when the carrier does not optimize the js in inline (2) Is there a way to whitelist a GWT site to not be optimized by the carrier (3) Is

Re: how to get the width height of dialog box (also calculate the actual size of dialog when it was shown) in GWT?

2013-10-05 Thread Paul Mazzuca
I usually set the width and height of the contained widget explicitly and just use the DialogBox or PopupPanel as a wrapper. I use the following extended version of Popup panel to size the popup at 75% width and 60% height of the current window. Basically, resizing the widget and not the

Re: Best way to Emulate Mobile Tabs using GWT

2013-10-01 Thread Paul Mazzuca
8:52:25 PM UTC+1, Paul Mazzuca wrote: Many mobile applications have Tabs or buttons on the bottom of the View to move from different areas of the application. Can this be emulated in pure GWT, and if so how would you recommend it? My initial thought was to use a DockLayoutPanel

Best way to Emulate Mobile Tabs using GWT

2013-09-27 Thread Paul Mazzuca
Many mobile applications have Tabs or buttons on the bottom of the View to move from different areas of the application. Can this be emulated in pure GWT, and if so how would you recommend it? My initial thought was to use a DockLayoutPanel with the south region containing a grid of buttons.

Re: GWT load issues on ios 3G device

2013-07-29 Thread Paul Mazzuca
to replicate the problem in a desktop browser by enabling tethering on your phone. That tag looks right. I think if it's wrong it would stop working over wifi too. It's used for the script element that gets added to the DOM so it should be easy to check. On Jul 28, 2013, at 10:51 AM, Paul Mazzuca

Re: GWT load issues on ios 3G device

2013-07-28 Thread Paul Mazzuca
26, 2013, at 1:53 PM, Paul Mazzuca wrote: I have an IPhone 4 which I am testing my GWT app on. In Chrome or Mobile Safari, my application will only load when connected to WIFI. This behavior seems to be consistent, but I wanted to get a sanity check from the community to see if anyone else

Re: GWT load issues on ios 3G device

2013-07-28 Thread Paul Mazzuca
Thanks for the quick reply. I do have the GWT.setUncaughtExceptionHandler() setup. The problem seems to be that even that piece of code does not have the opportunity to run. I have added Window.alert() statements directly after the onMonduleLoad method of my EntryPoint, and not even that

GWT load issues on ios 3G device

2013-07-26 Thread Paul Mazzuca
I have an IPhone 4 which I am testing my GWT app on. In Chrome or Mobile Safari, my application will only load when connected to WIFI. This behavior seems to be consistent, but I wanted to get a sanity check from the community to see if anyone else has experienced this? I am using code

Using the RequestFactory to pass oauth token with gwt-oauth2

2013-06-23 Thread Paul Mazzuca
I have successfully obtained a token using the gwt-oauth2 api in my GWT project. Using the RequestFactory for RPC, how do I relay that token to a backend of my choosing? For example, if I were using app engine, how does app engine now know who the requesting user is? What must be done from