Re: Call client method from server

2016-03-15 Thread Greg
Don't forget about EventSource / Server Sent Events. Browser support: http://caniuse.com/#search=eventsource There are polyfills for IE/Edge: https://github.com/Yaffle/EventSource (there are other mentioned in README.md) The advantage over websockets is that it uses plain http connection, just

Re: Deploy GWT App to Google App Engine

2016-03-06 Thread Greg
https://cloud.google.com/appengine/docs/java/tools/maven#uploading_your_app_to_production_app_engine On Sunday, March 6, 2016 at 9:05:53 PM UTC+1, Stefan Falk wrote: > > Well, I don't know. I can remember when I did it last time it was a > one-liner in the command line. I think I had something

Re: Use synchronous RPC on browser close ?

2016-02-15 Thread Greg
Take a look at http://caniuse.com/#search=beacon Support across browsers is average but at least on Chrome and FF you will get proper behavior. On Monday, February 15, 2016 at 4:03:50 PM UTC+1, Rocco De Angelis wrote: > > Hi Dominic, > This is not necessary. Simply create a package with the

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-25 Thread Greg
in any resolution. >>> However it may produce not nice results. >>> >>> It depends on what you need. >>> >>> On Thursday, January 14, 2016 at 9:17:36 PM UTC+3, Julio Heitor Nobrega >>> wrote: >>>> >>>> Hi guys, >>>&g

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-14 Thread Greg
Hi Yes, it's possible. You have to read the contents of selected file first and then use Canvas to resize it (link ). On Thursday, January 14, 2016 at 2:25:29 PM UTC+1, Julio Heitor Nobrega wrote: > > Hi

Re: Compile a Java application into a single JavaScript file?

2015-12-14 Thread Greg
You could use Single Script Linker instead of default Cross Site IFrame Linker by adding this into your module.gwt.xml: You have to collapse all properties because sso linker doesn't generate permutation selection script. After compilation you should get single js file which contains all

Re: Progress bar during GWT bootstrap process?

2015-10-27 Thread Greg
it as total amount for progress bar. The drawback is, there are only 2 events fired when GWT loads scripts from gwt.xml. If you load big js libraries let me know so I can post a workaround for that :) Greg On Tuesday, October 27, 2015 at 7:26:33 PM UTC+1, Vassilis Virvilis wrote: > > As I said

Re: SuperDevMode and same origin policy

2015-10-23 Thread Greg
Thomas, you are right. I had some conditional logic which chose which scripts should be loaded in production or dev mode (original or minified and merged) but I used GWT.isProdMode() and forgot that in SDM it returns true... Sorry for that. On Thursday, October 22, 2015 at 10:36:57 PM UTC+2,

Re: SuperDevMode and same origin policy

2015-10-22 Thread Greg
, 2015 at 3:34:26 PM UTC+2, JonL wrote: > > Greg, > > You can create a filter that will set the appropriate headers for things > served from the CodeServer with a filter like the one below (from > https://spring.io/guides/gs/rest-service-cors/) . > > > public class

Re: SuperDevMode and same origin policy

2015-10-21 Thread Greg
directory? Greg On Monday, March 4, 2013 at 11:22:45 AM UTC+1, Thomas Broyer wrote: > > > > On Monday, March 4, 2013 10:45:35 AM UTC+1, Harold wrote: >> >> Hi Thomas, >> >> Thanks for you answer. >> >> Following your suggestion ( new Image(myImage

Re: GWT Cross Site Iframe Linker and Script Tags

2015-09-24 Thread Greg
. Could you tell me if such approach is sensible? Do you see any problems it could cause (except difference in performance - scripts have to be loaded one after another instead of almost concurrently). Link to repo: https://github.com/metteo/gwt-si Greg On Monday, November 12, 2012 at 5:54:57 PM UTC

Re: Recommended GWT Map Library?

2015-08-28 Thread Greg
In my projects I used mostly OpenLayers 2 with custom bindings for GWT (At the beginning I used GWT-OpenLayers but then I switched to own impl.). OpenLayers 3 looks very nice and it's built with performance and new technologies in mind so you could check that. Other alternative is Leaflet -

Re: Gwt with Rest Architecture problem

2015-06-25 Thread Greg
/10883211/deadly-cors-when-http-localhost-is-the-origin Greg On Tuesday, June 23, 2015 at 2:45:44 PM UTC+2, Vassilis Virvilis wrote: About CORS: You don't need to add anything to your REST headers. Tomcat can handle it for you assuming that the url of the gwt application is known

Re: server push example with GWT?

2015-06-01 Thread Greg
Take a look at https://github.com/Atmosphere/atmosphere They have a GWT API for their js component: https://github.com/Atmosphere/atmosphere-extensions/wiki/Atmosphere-GWT-2.0 On Monday, June 1, 2015 at 8:14:54 PM UTC+2, Edward Montgomery wrote: Can anyone point me to a tutorial or example

Re: MVP Pattern Without History Mechanism?

2015-03-12 Thread Greg
When passing the state of the screen in the url you shouldn't embed whole data in it. Instead you should pass some references to it like ids etc. The screen you want to display should use that references to fetch the actual data (from LocalStorage / IndexedDB / Server) On Wednesday, March 11,

Re: Problems with super dev mode: Can't find any GWT Modules on this page

2013-11-03 Thread Greg
file will be old (created by std linker) - hence the error. Good thing after changing linker is cleaning the project (and also removing gwt-unitCache folder). Without doing it I had some compilation issues. Greg On Thursday, October 17, 2013 8:11:02 PM UTC+2, crojay78 wrote: Thanks for the reply

Re: Logging to the server side

2013-11-03 Thread Greg
of failure, and so forth. So it's possible but you have to implement it yourself. Greg On Wednesday, October 16, 2013 11:56:07 AM UTC+2, paulo...@gmail.com wrote: Hi, I'm a gwt newbie and i want to send whatever log messages are created on the client side to the server side. My backend is grails

Re: Issue with development mode plugin and Custom selection script / hosted.html that allows separate debugging of multiple GWT applications on a single page

2013-11-03 Thread Greg
Hi Please check this: https://groups.google.com/d/msg/google-web-toolkit/5XzZrpBjxnY/IJzN2Z6tfawJhttps://groups.google.com/forum/#!topic/google-web-toolkit/5XzZrpBjxnY On Tuesday, October 8, 2013 7:07:34 PM UTC+2, Jamie Cramb wrote: Hi all, I have a page which has multiple GWT applications

Re: get IP address

2013-10-01 Thread Greg Smith
the servlet to return something else then do not run as localhost. I think this is what you're looking for... HttpServletRequest request = perThreadRequest.get(); String ipAddress = request.getRemoteAddr() -Greg -- You received this message because you

Re: jsni - overlay types - js arrays Java API

2013-09-27 Thread Greg
This will now work in GWT 2.2 See: https://code.google.com/p/google-web-toolkit/issues/detail?id=6594 Workaround provided there works. On Monday, December 24, 2012 3:22:11 AM UTC+1, Sebastián Gurin wrote: Thank you Thomas for your reply, I learned new things. Didn't know about if (

Re: jsni - overlay types - js arrays Java API

2013-09-27 Thread Greg
This will NOT work in GWT 2.2 See: https://code.google.com/p/google-web-toolkit/issues/detail?id=6594 Workaround provided there works. On Monday, December 24, 2012 3:22:11 AM UTC+1, Sebastián Gurin wrote: Thank you Thomas for your reply, I learned new things. Didn't know about if (

GWT - Label not wrapping text/resizing properly?

2013-08-16 Thread Greg Olmschenk
I've got Labels within the cell of a FlexTable inside of a ScrollPanel which is inside of LayoutPanels. The size of the ScrollPanel (and it's parent LayoutPanels) is set dynamically based on the size of the window of the user's device (so exact CSS sizing is not used). The FlexTable, it's

Re: How to change the application locale dynamically

2013-06-04 Thread Greg
,meta,useragent/ You can modify it according to your needs. To actually change the locale you have to: Cookies.setCookie(gwtLocale, ja_JP); Window.Location.reload(); Greg On Monday, June 3, 2013 4:32:48 PM UTC+2, David Levesque wrote: Here's how I do it from a ClickHandler: UrlBuilder

SplitLayoutPanel not working for me in GWT 2.5.1

2013-04-12 Thread Greg George
https://lh6.googleusercontent.com/-f8wTPD-UpyA/UWb87ts1tUI/BN0/S0dOrfVVnfw/s1600/BadSplitLayoutPanel.png I've created the GWT 2.5.1 sample project in Eclipse (Indigo) and tried replacing the sample GWT code with the SplitLayoutPanel code sample from

Re: SplitLayoutPanel not working for me in GWT 2.5.1

2013-04-12 Thread Greg George
? https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels#Resize Also look for the Using a LayoutPanel without RootLayoutPanel recipe in this page. On Thursday, April 11, 2013 8:13:53 PM UTC+2, Greg George wrote: https://lh6.googleusercontent.com/-f8wTPD-UpyA/UWb87ts1tUI

Setting widget position based on percentage of container?

2013-01-27 Thread Greg Olmschenk
I'm just starting off with GWT and I'm having trouble setting up the position of widgets within a panel. I would like to set the widget position based on a percentage of the container. For example, how would I go about creating a label 25% of the way from the top of a vertical panel if the

ScrollPanel Question

2012-11-04 Thread Greg Laird
inside. I have tried to get the Grid Widgets width (getOffsetWidth) but this does not work--as I don't think the widget is rendered when I make the call. Any insight would be helpful. Thanks, Greg Laird -- You received this message because you are subscribed to the Google Groups Google Web

Using GWT Designer with UIBinder and Internaltionalization

2011-07-11 Thread Greg
Hi, I'm trying to start a new application using the new UIBinder with help of GWT Designer. Moreover, the application needs to support a few locales, so I'm trying to use the Internationalization feature. The problem is that in the gwt designer the icon for the internationalization window is not

Re: Composite Primary Keys (Many-to-Many relationship)

2011-07-06 Thread Greg Naidu
. Cheers, Greg -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more

Re: Competitor for world's most useless JavaDoc comment

2011-05-17 Thread Greg Dougherty
that there's a lot of volunteer labor that goes into GWT. But I would expect that the pride and professionalism of all involved would demand that things be done right, or not at all. Greg On May 16, 1:12 pm, Jeff Larsen larse...@gmail.com wrote: It may not be completely obvious what is going

Re: Competitor for world's most useless JavaDoc comment

2011-05-17 Thread Greg Dougherty
them? Because if it's teh second, the JavaDoc is the most important thing about those constants. Since that's going to be the major deciding point WRT whether or not the constants actually get used. Greg On May 16, 3:48 pm, John A. Tamplin j...@google.com wrote: On Monday, May 16, 2011 1:22:43 PM

Competitor for world's most useless JavaDoc comment

2011-05-16 Thread Greg Dougherty
), rather than merely obsessing on whether people use tabs or spaces? Greg -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email

Hover text / Help Text for a Cell Tables

2011-05-05 Thread Greg Dougherty
cell in the column, I'd just like to be able to put SOMETHING up to explain t ousers why they might click on that cell, and what they need to do first). TIA, Greg -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Can not export to IE 7

2011-05-05 Thread Greg Dougherty
gives me a chance to specify where I want to save the file), IE gives me the above error message. Any suggestions for what's going on, and how to fix it? TIA, Greg -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group

Re: Can not export to IE 7

2011-05-05 Thread Greg Dougherty
/FAQ_Server.html#What_is_...Is relate to this? 2011/5/5 Greg Dougherty dougherty.greg...@mayo.edu I have a web app that mostly works with IE 7.  However, when I try to export results to IE, I get the following error message: Internet Explorer cannot download (URL name) from (web address

Re: How does my servlet cleanly throw an exception

2011-04-25 Thread Greg Dougherty
Thank you. On Apr 20, 5:32 pm, Jens jens.nehlme...@gmail.com wrote: Take a look at:http://code.google.com/intl/de-DE/webtoolkit/doc/latest/tutorial/RPC J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: How does my servlet cleanly throw an exception

2011-04-20 Thread Greg Dougherty
No. Because doPost, which is what calls all our RPC code, throws ServletException or IOException, and if you try to throw anything else, Tomcat reports an error to its log about an unexpected exception. Which is one of the things I dont' want. Greg On Apr 12, 12:04 pm, Christien Lomax

Re: CellTable Dynatable SimplePager last Button

2011-04-14 Thread Greg Dougherty
Great! Thanks, that worked. Even better, I now have two simple pagers, one above my table, the other below, that play nice' with each other (hit an arrow on one, both update). Greg On Apr 13, 10:46 am, Ahmed Mohammed ahmedmohiud...@gmail.com wrote: Create instance of simplepager resources

How does my servlet cleanly throw an exception

2011-04-12 Thread Greg Dougherty
on the Client side. So, how DOES my RPC code pass an exception back to the client without generating any errors for the servlet code? TIA, Greg -- 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

IE v Firefox

2011-03-28 Thread Greg Dougherty
side. How do I go about debugging this sort of problem? TIA, Greg -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email

Re: IE v Firefox

2011-03-28 Thread Greg Dougherty
. Greg On Mar 28, 10:04 am, Jeff Chimene jchim...@gmail.com wrote: One more thing - why are you using quirks mode? -- 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-toolkit@googlegroups.com

Re: IE v Firefox

2011-03-28 Thread Greg Dougherty
alignment is set to ALIGN_JUSTIFY. Ah, well, at least this time I submitted a bug report. Thanks Jeff, Greg On Mar 28, 10:03 am, Jeff Chimene jchim...@gmail.com wrote: On Mon, Mar 28, 2011 at 7:41 AM, Greg Dougherty dougherty.greg...@mayo.eduwrote: So, I have a quirks mode web app using GWT 2.1.2

Re: Part III of RequestFactory article

2011-03-28 Thread Greg Dougherty
Would it really be too much to expect you to post what language the article is in (since, unlike the post announcing the article, the article's not in English)? Greg On Mar 28, 10:30 am, Luca luca.mas...@gmail.com wrote: Hi, on our Google Tech User group blog: http://firenze-gtug.blogspot.com

Re: One GWT WebApp but more than one WAR files

2011-03-28 Thread Greg Dougherty
? Greg On Mar 28, 8:49 am, deejay j.plessm...@googlemail.com wrote: Sorry i think the question was unclear. Of course, we need a shared repository. The main question was, how to develop a GWT application which is splitted in MULTIPLE war files which could be deployed separately in the webapp

Re: How can I put Hyperlinks inside a CellTable, which behave the same as the Hyperlink widget?

2011-03-14 Thread Greg Dougherty
Does that allow for right-clicking? Because high on my list of HTML Tricks the piss me off is when websites have javascript links rather than real links that I can select, and do an Open New Tab / Open New Window. Greg On Mar 14, 9:58 am, John LaBanca jlaba...@google.com wrote: You can render

Re: Upgrading from 2.1 to 2.2 and changing environment

2011-03-14 Thread Greg Dougherty
3. Does GWT support running on an embedded web server on Linux ? The only choice I get is run as a web application on external server ? If you want to run on your own server, turn off AppEngine. Greg On Mar 14, 4:34 pm, BobbyGrace oskare...@gmail.com wrote: I've had my project running

Jetty Context v. Tomcat Context

2011-03-10 Thread Greg Dougherty
(WebAppContext.java: 1217) ... Any suggestions as to what's going wrong / what I've done wrong? Thanks! Greg -- 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-toolkit@googlegroups.com. To unsubscribe

Re: help sending emails in GWT

2011-03-01 Thread Greg Dougherty
Graham, From isn't your email account, From is which half of your application, the client, or the server? You can NOT send email from the client, but that so0und't like what you're trying to do. Greg On Feb 28, 8:27 pm, Graham Haroldson gharold...@gmail.com wrote: Again,  im not quite sure

Re: help sending emails in GWT

2011-03-01 Thread Greg Dougherty
Yep, it's easy to forget the difference. On Mar 1, 2:10 pm, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 1 March 2011 19:38, Dougherty, Gregory T. dougherty.greg...@mayo.edu wrote: Wow, so you're saying you think that randomly picked up bits of JavaScript should be able to take over

Re: Upadate Data of CellList

2011-02-28 Thread Greg Dougherty
. That means you have to keep a copy of the data around for the renderer whenever it wants it. Greg On Feb 25, 9:59 am, Andreas koebe...@gmail.com wrote: If you're only adding to the end of the list, then keep track of how many items you've already added, and call updateRowData (prevNumAdded - 1

Re: help sending emails in GWT

2011-02-28 Thread Greg Dougherty
When i GWT Compile i get no errors at all. GWT Compile is client side. What you're doing is done, and can only be done, on the server. Where are you trying to send the mail from? Greg On Feb 28, 4:28 pm, GrahamH gharold...@gmail.com wrote: Hi all, Im trying to set up my GWT app so

Re: can we print page without open print dialog

2011-02-25 Thread Greg Dougherty
putting up a print dialog that lets teh user control what you're doing. :-) Greg On Feb 25, 3:53 am, Neel neel.3.ka...@gmail.com wrote: Hi Is it possible  to print page without open Print Dialog. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: How to implement Enter Key Submit Form in GWT

2011-02-25 Thread Greg Dougherty
Search for EnterButton in this group. At the top is a class everyone should have. Below that is a discussion of using sinkEvents to get key down events from Widgets that normally don't pass them. Greg On Feb 25, 7:59 am, El Mentecato Mayor rogelio.flo...@gmail.com wrote: If you want to do

Re: Upadate Data of CellList

2011-02-24 Thread Greg Dougherty
are, and only give your CellList the changes, but you're probably better off simply replacing everything and letting CellList worry about it. Greg On Feb 24, 4:57 am, Andreas koebe...@gmail.com wrote: I have a celllist where I want add data loading from server and the list should show all data. I use

Re: Image element will hang test execution

2011-02-24 Thread Greg Dougherty
is a problem. IOW, at this point we have no idea whether or not it's a GWT problem, and (since you haven't given us the code necessary to replicate the problem) noway to help you if it IS a GWT problem. Greg On Feb 24, 5:54 am, Alex D. alex.dobjans...@gmail.com wrote: Still no idea guys? On Feb

Re: Replace Enter key by Shift + Enter

2011-02-24 Thread Greg Dougherty
Why? What are you trying to accomplish? On Feb 24, 7:44 am, ryan T ryanro...@gmail.com wrote: Hi all, Is there any way to replace Enter key by Shift + Enter for a widget such as RichTextArea? Thanks, ryan -- You received this message because you are subscribed to the Google Groups

Where do I put the Tomcat Context.xml file?

2011-02-24 Thread Greg Dougherty
I'm starting to use JNDI with my Servlet, for which I need to place a context.xml file in /META-INF/context.xml for my .war file? Where is that in the GWT file hierarchy? war? war/WEB-INF? TIA, Greg -- You received this message because you are subscribed to the Google Groups Google Web

Re: Where do I put the Tomcat Context.xml file?

2011-02-24 Thread Greg Dougherty
Alan On 2/24/2011 1:44 PM, Greg Dougherty wrote: I'm starting to use JNDI with my Servlet, for which I need to place a context.xml file in /META-INF/context.xml for my .war file?  Where is that in the GWT file hierarchy?  war?  war/WEB-INF? TIA, Greg -- Alan Chaney CTO and Founder

Re: TabLayoutPanel + dynamic tab content + DialogBox = ?

2011-02-23 Thread Greg Dougherty
Good idea. I've created such a request. http://code.google.com/p/google-web-toolkit/issues/detail?id=6069q=TabPanelsort=-idcolspec=ID Type Status Owner Milestone Summary Stars On Feb 23, 2:42 am, Thomas Broyer t.bro...@gmail.com wrote: Maybe you could file a bug? They'll be undeprecating

Re: Sorting CellTable, AsyncData but Sort Locally

2011-02-23 Thread Greg Dougherty
), that if I just make the columns sortable, it will be fine if I don't use paging. So maybe I should do what Greg mentioned and download all the data and use a ListDataProvider. What I liked about the AsyncDataProvider though is that people can change the value of a cell and hit enter and it's

Re: TabLayoutPanel + dynamic tab content + DialogBox = ?

2011-02-22 Thread Greg Dougherty
You've discovered the reason why I never use TabLayoutPanel, and why I'll need a really good reason to keep on upgrading GWT once support for TabPanel goes away. So it's deprecated. Block deprication warnings, and use TabPanel. Greg On Feb 21, 2:30 pm, jscheller jschel...@csoftware.com wrote

Trying to search but nothing's happening

2011-02-22 Thread Greg Dougherty
Well, not nothing, but when I click on my profile (and other people's profiles) I don't see any messages after Feb 1. If I search for my name I get the same thing. Why can't I use Search to find my recent messages? -- You received this message because you are subscribed to the Google Groups

Re: Feedback Requested: Preview of new GWT Style Theme

2011-02-22 Thread Greg Dougherty
Browser It's Browse through dynamic data, NOT BrowseR through dynamic data :-) Other than that it's fairly good. But I didn't notice anything that caused me to think hey, that's great, i want that! Greg On Feb 16, 12:12 pm, John LaBanca jlaba...@google.com wrote: The GWT team is happy to (pre

Re: Setting the name of a downloaded file

2011-02-16 Thread Greg Dougherty
Thanks, it worked! Greg On Feb 11, 10:19 pm, Jim Douglas jdou...@basis.com wrote: public class FileDownloadServlet extends HttpServlet {     @Override     protected void doGet(HttpServletRequest p_request,                          HttpServletResponse p_response)         throws

Re: Problem with AsyncCallback onSuccess result is null

2011-02-15 Thread Greg Dougherty
#Does_the_GWT_RPC_system_support_the_use_of_java.io.Serializable Greg On Feb 12, 5:14 pm, Bastian bastian.la...@hotmail.de wrote: Hello, I hope everyone is fine. I have started to use RPC’s with GWT. I have worked through the examples and tutorials and I believe understand how it works. Now, I have created my own class to serialize and use

Re: Sorting CellTable, AsyncData but Sort Locally

2011-02-14 Thread Greg Dougherty
and don't use the AsyncDataProvider at all. Greg On Feb 13, 11:53 pm, Josh K kendrick.j...@gmail.com wrote: I've been developing an application in GWT that has data I've been displaying in a CellTable. I've set it up with a few TextColumns and a few EditTextColumns. I've got it set up to where

Re: Create an Image from received bytes on client side - possible?

2011-02-14 Thread Greg Dougherty
I could not find any way to build an Image other than by sending one from the server, when I tried to solve a similar problem two months ago. On Feb 14, 3:16 am, MJ zuti...@gmail.com wrote: Hey guys. I did some researching on this matter but besides ClientBundle I failed to find something

Setting the name of a downloaded file

2011-02-11 Thread Greg Dougherty
with the name of my servlet. How do I give the Save As Dialog a better default name for the file? The file is generated on the fly, so putting a file name in the URL wouldn't work. TIA, Greg -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Frame not refreshing when call setURL

2011-02-10 Thread Greg Dougherty
So, I have a hidden frame, and I set its URL to download a file from my server. The first time I do this, it works like a charm. Any subsequent times I do it, my server never gets the call. I am changing at least one of the parameters of the URL each time, so I don't believe that Firefox would

Re: What is the correct way for CellTable cells to communicate ?

2011-02-08 Thread Greg Dougherty
What I do is make a change to the data for the row (the class T object), then tell the data provider to refresh. Greg On Feb 3, 11:10 pm, zixzigma zixzi...@gmail.com wrote: I have a CellTable. when an event occurs in Cell A, I would like to take action and modify Cell B. (user clicks

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Greg Dougherty
Well, leaving aside the question of why HAVEN'T you upgraded to Java 6, the various isEmpty () methods are quite cool, and wrth an upgrade just for that. Greg On Feb 8, 1:47 am, stuckagain david.no...@gmail.com wrote: What features in Java 6 would be so fundamental to GWT that 1.5 becomes

Re: Announcing GPE/GWT 2.2 RC1

2011-02-08 Thread Greg Dougherty
The other thing to remember is that if they claim to support Java 5, then they have to test against it. Given limited testing ability, where would you have them spend their resources: 1: Making sure Java 1.5 still works 2: Making sure Java 6 works even better? Greg On Feb 8, 1:47 am, stuckagain

Re: Selecting and disabling elements in CellTable

2011-02-04 Thread Greg Dougherty
-checkbox column, since you didn't seem to understand why I consider the show / hide to be a bad thing.) Greg On Feb 1, 2:59 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: On Tue, Feb 1, 2011 at 3:38 PM, Greg Dougherty dougherty.greg...@mayo.eduwrote: Jeff: Column 1 : Column 2 ; Column 3

Re: TabPanel and Lazy load

2011-02-04 Thread Greg Dougherty
I just looked at it and it seems like it's all still valid (you might want to see if you're willing to use TabLayoutPanels, rather than TabPanels, since the later are deprecated). What is it that you think doesn't work? Greg On Feb 4, 6:41 am, András Csányi sayusi.a...@gmail.com wrote: Hi All

Re: Selecting and disabling elements in CellTable

2011-02-01 Thread Greg Dougherty
in it), and that having controls appear and disappear in the middle of a table is a superior interface to having the controls enable and disable? Or am I just totally not understanding you? Greg On Jan 28, 3:53 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: Don't move the check boxes, just

Re: CellTable elements not updating correctly

2011-02-01 Thread Greg Dougherty
So, should I take it that this is a bug in GWT? On Jan 28, 12:11 pm, Greg Dougherty dougherty.greg...@mayo.edu wrote: // Making the cell I click on to change what Group i'm seeing:         ClickableTextCell               groupCell = new ClickableTextCell ();         FieldUpdaterGroupInfo

Re: Sharing objects between several windows to enable interaction

2011-02-01 Thread Greg Dougherty
and a server with a good network connection, that might work. But it's not a solution that will scale very well. Greg On Feb 1, 9:20 am, Terje Andre Johansen terje.andre.johan...@gmail.com wrote: As far as I can see this would force me to re-render each view on change and also make it harder

Re: Selecting and disabling elements in CellTable

2011-02-01 Thread Greg Dougherty
muscle memory. Which is I find that solution unacceptable. So, is it possible for me to enable or disable controls in a column in a CellTable? Or does GWT lack that feature? Greg On Feb 1, 10:20 am, Jeff Schwartz jefftschwa...@gmail.com wrote: On Tue, Feb 1, 2011 at 11:06 AM, Greg Dougherty

Re: Selecting and disabling elements in CellTable

2011-02-01 Thread Greg Dougherty
back in the early dawn of the GUI. The question is does GWT support that basic feature in CellTables? Do you know the answer to that question? If so, could you impart that answer to the rest of us? Greg On Feb 1, 1:13 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: On Tue, Feb 1, 2011 at 1

Selecting and disabling elements in CellTable

2011-01-28 Thread Greg Dougherty
owns). 2: How do I disable a checkbox? If the user doesn't own the group, they shouldn't be able to change anything. TIA, Greg -- 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-toolkit

Re: Selecting and disabling elements in CellTable

2011-01-28 Thread Greg Dougherty
Hi Jeff, Thank you. I added a SingleSelectionModel to my CellTable, and now I can force selection of rows. Any idea how I tell a column of CheckBoxes that they can't accept any clicks? Greg On Jan 28, 10:11 am, Jeff Schwartz jefftschwa...@gmail.com wrote: You can use one of the concrete

CellTable elements not updating correctly

2011-01-28 Thread Greg Dougherty
for the column of check boxes, and the boxes are checked correctly. However, when I change the selection in the first table, and then call refresh on the DataProvider, the getValue calls are made, but their results are ignored. Is this a bug in GWT, or am I doing something wrong? TIA, Greg -- You

Re: CellTable elements not updating correctly

2011-01-28 Thread Greg Dougherty
(String user) { if (groupInfo == null) return false; return groupInfo.hasUser (user); } } On Jan 28, 11:31 am, Jeff Schwartz jefftschwa...@gmail.com wrote: Code? On Fri, Jan 28, 2011 at 12:28 PM, Greg Dougherty

Re: Selecting and disabling elements in CellTable

2011-01-28 Thread Greg Dougherty
. So, what do I override / call? Thanks, Greg On Jan 28, 11:29 am, Jeff Schwartz jefftschwa...@gmail.com wrote: From a UI designer's perspective why display a column of check boxes if the user isn't allowed to click them? I wouldn't personally as a designer nor would I like that if I were

Re: is calling RequestFactory a blocking call ? when to update the View upon return of RequestFactory?

2011-01-18 Thread Greg Dougherty
call has successfully finished and returned the data. Greg On Jan 17, 7:00 pm, zixzigma zixzi...@gmail.com wrote: public class EmployeeListActivity extends AbstractActivity { EmployeeListView view; ListEmployeeProxy tempResultHolder = new ArrayListEmployeeProxy(); . public void start

Re: Displaying one-line summary when dealing with list of long paragraphs. What would YOU do ?

2011-01-18 Thread Greg Dougherty
are on really slow dialup, AND you're sending more than 10K data per request (under version 1), or # simultaneous requests * data size 1 MB / second, I think you're going to find your bottlenecks elsewhere. Greg On Jan 18, 12:31 am, zixzigma zixzi...@gmail.com wrote: Take GMail for example

Re: FormPanel.SubmitEvent cancel not working

2011-01-07 Thread Greg Dougherty
 pm, Greg Dougherty dougherty.greg...@mayo.edu wrote: GWT 2.0 or 2.1? On Jan 5, 2:41 pm, Jim Douglas jdou...@basis.com wrote: I'm doing pretty much exactly that with my FileUpload widget, and it works ok here:     /*      * User clicked the Chooser OK button

Re: Where do KeyPress Events go?

2011-01-05 Thread Greg Dougherty
doesn't generate Key events. So, WHO gets those KeyPress Events? Greg On Jan 5, 8:08 am, jaybose onyeje.b...@gmail.com wrote: OK, what does the button do, at the moment? Do you have your EnterButton's handler call submit() on the form? If so, are you seeing any errors? On Jan 4, 8:53 am, Greg

Re: EnterButton

2011-01-05 Thread Greg Dougherty
upgrading GWT, and losing the non-Layout Panels, I'll probably stop upgrading GWT. (Yes, I know that the change was a deliberate choice. I just think it was a horrible mistake.) Greg On Jan 4, 10:49 am, Jeff Schwartz jefftschwa...@gmail.com wrote: Using UiBinder declare a SubmitButton (http

FormPanel.SubmitEvent cancel not working

2011-01-05 Thread Greg Dougherty
onSubmitComplete from being called. Is this a GWT bug or a browser bug? (FireFox 3.6) TIA, Greg -- 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 from this group

Re: Where do KeyPress Events go?

2011-01-05 Thread Greg Dougherty
Thanks Ian! Both solutions work, but I prefer the sinkEvents one, since it seems more broadly applicable. Thank you, Greg On Jan 5, 9:28 am, Ian Bambury ianbamb...@gmail.com wrote: Or, if you want to be fed keyup events when the FU has focus (or anyt other event you choose

Re: EnterButton

2011-01-05 Thread Greg Dougherty
the benefits of a textual one.) 4: My (half-remembered) impression of UIBuilder was that it was supposed to encourage you to move to the 2.0 LayoutPanels, rather than the 1.x Panels. No? Greg On Jan 5, 11:36 am, Thomas Broyer t.bro...@gmail.com wrote: On Wednesday, January 5, 2011 4:14:47 PM UTC+1

Re: FormPanel.SubmitEvent cancel not working

2011-01-05 Thread Greg Dougherty
)     {         if (m_progressUpdateTimer != null)         {             // Upload is already in progress             p_event.cancel();             return;         }         several more validation checks     } On Jan 5, 12:27 pm, Greg Dougherty dougherty.greg...@mayo.edu wrote: I have the following code

Re: Where do KeyPress Events go?

2011-01-04 Thread Greg Dougherty
Yes, but it doesn't do the upload when I hit Enter. Which is what I'm trying to figure out how to get it to do. Greg On Jan 4, 8:20 am, jaybose onyeje.b...@gmail.com wrote: http://gwt.google.com/samples/Showcase/Showcase.html#!CwFileUpload Look at the source of the ShowCase example above

Re: EnterButton

2011-01-04 Thread Greg Dougherty
So why hasn't this kind of Widget made it into the GWT code base? Greg On Jan 3, 5:53 pm, A. Stevko andy.ste...@gmail.com wrote: I've used this pattern throughout my code base with no problem. On Mon, Jan 3, 2011 at 6:57 AM, Greg Dougherty dougherty.greg...@mayo.eduwrote: I have

Re: EnterButton

2011-01-04 Thread Greg Dougherty
Hi Jeff, I don't see any place to attach a KeyPressHandler to a FormPanel. Were you thinking of something else? Greg On Jan 3, 6:27 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: I haven't tried it but I think if you wrap your input widgets in a gwt form widget your button would respond

EnterButton

2011-01-03 Thread Greg Dougherty
I have a couple of places where I want the user to be able to hit enter, and have a button clicked. So I created the class EnterButton, which has all the default constructors, and the following bit of code: public void onKeyPress (KeyPressEvent event) { int

Where do KeyPress Events go?

2011-01-03 Thread Greg Dougherty
point me to the correct docs if it is in there. Thanks! Greg -- 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 from this group, send email to google-web

Re: How to get a widget from another panel

2011-01-03 Thread Greg Dougherty
Well, assuming both panels are in the same web application, save the widget in a global variable, and access that when you want information. Greg On Jan 3, 8:49 am, Néstor Boscán nesto...@gmail.com wrote: Hi Thanks for the quick reply. I don't want to add the widget I want to get the value

EnterButton

2010-12-23 Thread Greg Dougherty
I have a couple of places where I want the user to be able to hit enter, and have a button clicked. So I created the class EnterButton, which has all the default constructors, and the following bit of code: public void onKeyPress (KeyPressEvent event) { int

  1   2   3   >