Re: Important videos from GWT Meet-up 2015

2015-06-12 Thread Phineas Gage
that would be useful for the community to see. And again, I'm really looking forward to seeing the evolution, but it feels like we're still a ways away from that, so knowing what to do in development now is challenging. On Friday, June 12, 2015 at 3:40:59 PM UTC+2, Phineas Gage wrot

Re: Important videos from GWT Meet-up 2015

2015-06-12 Thread Phineas Gage
First video, "GWT 2.8 and Beyond", starting around 17:20... I'd also like to hear if I misstated or misunderstood something. I listened to all of the videos and in the discussion I heard more about re-writing and renaming than keeping much of anything. On Friday, June 12, 2015 at 3:20:03 PM UTC

Re: Important videos from GWT Meet-up 2015

2015-06-12 Thread Phineas Gage
There's no technical reason why not Java the language, but as for the infrastructure available for compiling Java to JavaScript and getting convenient bidirectional access to the JavaScript universe for use in a web application, there are more questions now. Let's say you want to use GWT 2.8 an

Important videos from GWT Meet-up 2015

2015-06-12 Thread Phineas Gage
I thought I'd share this link to a series of important videos from the recent GWT Meet-up 2015, which was posted on G+ and in the GWT Contributors group: https://www.youtube.com/playlist?list=PL1yReUCGwGvrqscLu1EAyYRPrr0ceEHLE *Summary:* For anyone who wasn't already aware, there are seismic c

Re: GWT compile fails with default Maven directory structure

2014-11-22 Thread Phineas Gage
On Friday, November 21, 2014 8:03:42 PM UTC+1, Thomas Broyer wrote: > > I can't tell for App Engine, but why would you want a GWT SDK? > You're right, I was able to remove the GWT SDK plugin from Eclipse, and it still works using the one from my maven repository. That's not the case for GAE. If

Re: GWT compile fails with default Maven directory structure

2014-11-21 Thread Phineas Gage
On Friday, November 21, 2014 11:33:48 AM UTC+1, Thomas Broyer wrote: > > When you use Maven and Eclipse, you "import a Maven project" (ou create > one from within Eclipse), and the GPE detects the use of the > gwt-maven-plugin and auto-configures itself, using the GWT dependencies > from your Ma

Re: GWT compile fails with default Maven directory structure

2014-11-20 Thread Phineas Gage
On Friday, November 21, 2014 8:18:19 AM UTC+1, Thomas Broyer wrote: > Sounds like a bug or misconfiguration of the GPE. Is the project a "Maven > project" in Eclipse? There might be some hard-coded paths in the GPE > (because of limitations of Eclipse) that are only triggered in one or the > ot

Re: GWT compile fails with default Maven directory structure

2014-11-20 Thread Phineas Gage
On Thursday, November 20, 2014 8:47:35 PM UTC+1, Colin Alworth wrote: > It sounds like you have non-gwt-capable classes in packages meant for GWT > - is that deliberate? For example, test classes to make sure the various > server components in your project work, but they are in your .client or

GWT compile fails with default Maven directory structure

2014-11-20 Thread Phineas Gage
I'm in the process of Maven-izing my GWT 2.6.1 project (an intermediate step to start using GWT 2.7.0), and as a first step want to switch to maven style directory structure (as suggested by the Maven GWT Plugin documentation ),

Re: How to use JavaScript to customize both the client and server in a consistent way?

2014-05-14 Thread Phineas Gage
> because this utility > http://groovy.codehaus.org/api/org/codehaus/groovy/control/customizers/SecureASTCustomizer.html'solves' > the security problem. > > On Saturday, May 10, 2014 4:29:56 PM UTC+2, Phineas Gage wrote: >> >> I am writing a GWT app that will be

Re: How to use JavaScript to customize both the client and server in a consistent way?

2014-05-11 Thread Phineas Gage
Thanks for the idea. The options expand if they can call back to the server, but I was trying to make something work both client and server side. The gwt-exporter project looks promising, as a lot of syntax might be similar between gwt-exporter and Rhino, but it currently has issues with GWT 2.

How to use JavaScript to customize both the client and server in a consistent way?

2014-05-10 Thread Phineas Gage
I am writing a GWT app that will be usable by multiple customers. I'd like for my customers to be able to customize the app, both on the server side and client side by writing JavaScript. In other words, they could do things like: - Set some configuration for their site, like its name, their we

Default ScrollPanel disables iOS pinch zooming, how to disable touch support by default?

2014-03-25 Thread Phineas Gage
The default ScrollPanel in GWT includes touch support, but this disables pinch zooming on iOS devices. The issue is reported for MGWT here: https://code.google.com/p/mgwt/issues/detail?id=200 You can work around this by disabling touch support on your ScrollPanel, so I've done this in a MyScrol

Re: Appearance of extra scroll bar in GWT Datagrid

2014-02-11 Thread Phineas Gage
I've noticed the same problem. This is not a real fix, because it causes the scrollbar to be visible all the time, but if you set a custom scrollbar in webkit, it avoids the problem. For example, add this to your CSS, as it looks kind of similar to the Mavericks scrollbar, just a little lighter

Re: GWT sizing issue in iOS 7 Safari (with all apps using DockLayoutPanel?)

2014-02-06 Thread Phineas Gage
andler()); Thanks for the tips... On Tuesday, February 4, 2014 8:52:40 PM UTC+1, Phineas Gage wrote: > > It seems that with all GWT apps using DockLayoutPanel on iOS 7 Safari, > there is a vertical size issue where some content can get cut off. As an > example

GWT sizing issue in iOS 7 Safari (with all apps using DockLayoutPanel?)

2014-02-04 Thread Phineas Gage
It seems that with all GWT apps using DockLayoutPanel on iOS 7 Safari, there is a vertical size issue where some content can get cut off. As an example, take an iPad and check out the GWT Mail sample: http://gwt.googleusercontent.com/samples/Mail/Mail.html or even the tab bar in the MGWT showca

Re: GWT dev mode memory leak with simple use case

2014-01-30 Thread Phineas Gage
OK, that's clear. This simple use case does not leak per the JavaScript profiler in Chrome (note to future readers to compile with at least Output style: Pretty). I was originally tracking down a leak in my own code, but it turns out that doesn't leak in JS either. I suppose that in super dev m

GWT dev mode memory leak with simple use case

2014-01-30 Thread Phineas Gage
Any widget that is added to the DOM seems to never get garbage collected when using dev mode, even if it's removed from the DOM. Here is the sample source, with just two classes: public class GwtMemEntryPoint implements EntryPoint { @Override public void onModuleLoad() { for (int i = 0;

dates in DatePicker sometimes fail to be selected on the iPad

2012-11-20 Thread Phineas Gage
Using Safari on an iPad, or the iOS Simulator in XCode, simply go to the GWT showcase for the DatePicker: http://gwt.google.com/samples/Showcase/Showcase.html#!CwDatePicker Most of the time, when you tap a date, it's selected. However, sometimes the DatePicker is left in an in-between state whe

Re: ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Phineas Gage
Replacing setModal(true) above with setModal(false) works for me and still seems to work in the other browsers. It's hard to say whether that's a bug or not, but setModal(false) avoids it. Many thanks... Pete On Sep 20, 6:17 pm, Jens wrote: > Can you try and use setModal(false) on your PopupPan

ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Phineas Gage
Using GWT 2.4.0, I'm trying to create a DialogBox for errors containing a message and a stack trace inside a DisclosurePanel, but in OSX Lion, scrolling doesn't work in Google Chrome and Safari. It works on Firefox for OSX Lion, IE for XP and Google Chrome for XP. For the browsers that it doesn't w

Re: how to determine when StackPanel index changes?

2009-08-31 Thread Phineas Gage
It works, thanks... On Aug 28, 6:57 pm, Chad wrote: > Phineas Gage, > > I haven't tried it, but you could probably override either the > showStack or onBrowserEvent method. Probably showStack, something like > this: > >   @Override >   public void showStack(int i

how to determine when StackPanel index changes?

2009-08-27 Thread Phineas Gage
When using a StackPanel, is there any way to listen for when the selected index of the StackPanel changes? I see that it can be retrieved with getSelectedIndex() and set with showStack(index), but there is no apparent way to be called when someone clicks to set the current index. I'd like to do t

Re: user roles for GWT applications

2009-08-21 Thread Phineas Gage
On Aug 20, 4:46 pm, Laird Nelson wrote: > On Thu, Aug 20, 2009 at 9:39 AM, Zé Vicente wrote: > > > I would say that all you need to do is to use runAsync() to saparate > > Adm features from regular features and then make sure that on server > > side you check for each operation, if the user has t

Re: user roles for GWT applications

2009-08-19 Thread Phineas Gage
On Aug 19, 4:02 pm, mars1412 wrote: > just my 2 cents: > > hiding or obfuscating will not stop a detrmined attacker anyway, > so there's no reason to worry about that. > that does of course not mean, that you shouldn't do it, if it's > easy: e.g. of course use the OFB mode when compiling the GWT

user roles for GWT applications

2009-08-19 Thread Phineas Gage
I would like to implement a GWT application where users log in and are assigned roles, as is typical in many web applications. Based on their role, they would be able to see and use different areas of the application. The trouble when using GWT is, because the entire application is transmitted to

GWT internal frames

2009-08-03 Thread Phineas Gage
I would like to create an application that has a series of movable internal frames. It would be nice if these were not iframes so there wouldn't need to be a new request to fetch the content for each frame, so I don't think the Frame class does it for me (plus, those can't be moved). Is there suc