Re: Competitor for world's most useless JavaDoc "comment"

2011-05-17 Thread Greg Dougherty
her or not the constants actually get used. Greg On May 16, 3:48 pm, "John A. Tamplin" wrote: > On Monday, May 16, 2011 1:22:43 PM UTC-4, Greg Dougherty wrote: > > > It's too bad that there a 2 valid comments, and 34 worthless ones. > > > Might I suggest th

Re: Competitor for world's most useless JavaDoc "comment"

2011-05-17 Thread Greg Dougherty
Hi Jeff, > It may not be completely obvious what is going on here Congratulations, you win "understatement of the day". :-) And that's my point. The purpose of a JavaDoc comment is to make it so people CAN understand what's going on. Those "comments" say nothing. They don't say "this is a loc

Competitor for world's most useless JavaDoc "comment"

2011-05-16 Thread Greg Dougherty
I was looking through com.google.gwt.i18n.client : Enum DateTimeFormat.PredefinedFormat, because I wanted to figure out why my dates were coming out in such a useless format (sorry, but while - mm-dd is a lovely format if you want dates that can be textually sorted by a computer, it's a crappy

Re: Can not export to IE 7

2011-05-05 Thread Greg Dougherty
latest/FAQ_Server.html#What_is_...>Is > relate to this? > > 2011/5/5 Greg Dougherty > > > 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

Can not export to IE 7

2011-05-05 Thread Greg Dougherty
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). Internet Explorer was not able to open this internet site. The requested web site is either unavaila

Hover text / Help Text for a Cell Tables

2011-05-05 Thread Greg Dougherty
The user interface for my current app is built around a Cell Table. I'd like to put hover text over the elements in several of my columns. If they were UIObjects, I'd simply call setTitle (). What do I call to do this for Cell columns (I'm perfectly fine with the text being the same for every cel

Re: How does my servlet cleanly throw an exception

2011-04-25 Thread Greg Dougherty
Thank you. On Apr 20, 5:32 pm, Jens 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 email to google-web

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 wrote: >

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 wrote: > Create instance of simplepager resources and pass to the SimplePage

Re: CellTable Dynatable SimplePager last Button

2011-04-12 Thread Greg Dougherty
If I pass null for the resources parameter, will it use the default resources? If not, how do I GET the default resources (since I have NO need for a "Fast Forward" button, especially not one that sits right where my users expect a "go to the end" button to be). Greg On Apr 12, 10:45 am, John La

How does my servlet cleanly throw an exception

2011-04-12 Thread Greg Dougherty
I'm trying to throw an exception from my servlet back to the client without breaking anything along the way, and having no success. First I was throwing an InvocationException, but this created an error it was an unrecognized exception. So I threw a ServletException. This is acceptable on the Se

Re: One GWT WebApp but more than one WAR files

2011-03-28 Thread Greg Dougherty
The question is, why do you want to do it that way? You can develop separate modules, and include all those modules in one project / war file. You can build multiple libraries, and include them in multiple projects / war files. What are you doing that requires you to have multiple war files? Gr

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 wrote: > Hi, on our Google Tech User group blog: > > http://firenze-gtug.blogspot.com/2011/03/requestfac

Re: IE v Firefox

2011-03-28 Thread Greg Dougherty
g to a HorizontalPanel whose horizontal 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 wrote: > On Mon, Mar 28, 2011 at 7:41 AM, Greg Dougherty > wrote: > > > So, I have a quirks mode

Re: IE v Firefox

2011-03-28 Thread Greg Dougherty
> One more thing - why are you using quirks mode? Because I'm utterly uninterested in trying to figure out what the dimensions of my panels should be, so I don't ever use any of the *LayoutPanels. Every web app I've ever written has had its size dependent upon the user's input. I can write a lot

IE v Firefox

2011-03-28 Thread Greg Dougherty
So, I have a quirks mode web app using GWT 2.1.2. It runs just fine under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my iPhone). On IE, however, it pops up the password dialog box, accepts a user id and password, then gives a completely blank screen. On errors on the server si

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 wrote: > I've had my project running on a Windows comp

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 wrote: > You can render an anchor t

Jetty Context v. Tomcat Context

2011-03-10 Thread Greg Dougherty
The production version of my GWT app runs under Tomcat, with the following settings: context.xml: This allows my app to connect to a SQL Server database maintained by IT. I would like to be able to debug client side code in my app, which means I need to get this working in development mode

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 wrote: > On 1 March 2011 19:38, Dougherty, Gregory T. > wrote: > > > Wow, so you're saying you think that randomly picked up bits of > > JavaScript should be able to take over your computer and send emails > > from your

Re: help sending emails in GWT

2011-03-01 Thread Greg Dougherty
e: > Again,  im not quite sure what im trying to send emails from,  i can > probably use my email, which is a gmail account.  I tried that and i also > tried adding my account and password to the properties but it still does > nothing > > On Mon, Feb 28, 2011 at 3:04 PM, Greg Dough

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 wrote: > Hi all, > > Im trying to set up my GWT app so that it can send emails.

Re: Upadate Data of CellList

2011-02-28 Thread Greg Dougherty
Well, I haven't looked at the Showcase example, but I'd bet good money that those null pointers are the result of your actions, not anything in GWT. Are you disposing of the data you got from the server after your call to updateRow? Remember, YOU are providing the data to the renderer. That means

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 wrote: > If you want to do it when a PasswordTextBox

Re: can we print page without open print dialog

2011-02-25 Thread Greg Dougherty
Would you want some random web page to be able to start your printer going, printing out whatever the writer of that web page wants, without any warning to you, or any way to stop it? No? Then no, you can't print from a web application running in a properly functioning web browser w/o first putti

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

2011-02-24 Thread Greg Dougherty
t; > HTH > > 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?  

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 Too

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 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 "Google Web Too

Re: Image element will hang test execution

2011-02-24 Thread Greg Dougherty
Right before this object's constructor, try to create the image object on its own. If that doesn't work, try to create the image as the first think your app does. If that does work, you've got something in your app breaking the image. If that doesn't work, you have a bad image. If they both wor

Re: Upadate Data of CellList

2011-02-24 Thread Greg Dougherty
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, newData); If you're changing things / adding things in the middle, you can do all sorts of complicated things to figure out where the changes are, and onl

Re: Sorting CellTable, AsyncData but Sort Locally

2011-02-23 Thread Greg Dougherty
Well, I'd start out by trying: public MySortHandler(List BOOKS, CellTable myCellTable, Column columnA, you get the picture) { thisList = new ArrayList (BOOKS); .. } On Feb 23, 9:56 am, Josh K wrote: > Ok, I got something working using the example you provided, but I

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=6069&q=TabPanel&sort=-id&colspec=ID Type Status Owner Milestone Summary Stars On Feb 23, 2:42 am, Thomas Broyer wrote: > Maybe you could file a bug? They'll be "undeprecating" DockPanel in 2.3, a

Re: Feedback Requested: Preview of new GWT Style Theme

2011-02-22 Thread Greg Dougherty
Overall UI principle: Good UI is "unconscious" UI. If the user has to stop and think about something ("is A really different from B?"), then the UI has failed. A quick glance should, immediately and without any conscious thought, tell the user essentially everything about the interface. "This is

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 "G

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 wrote: > So... I've got a Tab

Re: Setting the name of a downloaded file

2011-02-16 Thread Greg Dougherty
, > bufSize); >         int bytes; >         while ((bytes = bis.read(buffer, 0, bufSize)) >= 0) >             out.write(buffer, 0, bytes); >         bis.close(); >         fis.close(); >         out.flush(); >         out.close(); >     } > > } > > On Fe

Re: Problem with AsyncCallback onSuccess result is null

2011-02-15 Thread Greg Dougherty
Is there some reason why you're implementing Serializable rather than IsSerializable? Have you taken care of all the fiddly bits you have to deal with to get Serializable to work with GWT? http://code.google.com/webtoolkit/doc/trunk/FAQ_Server.html#Does_the_GWT_RPC_system_support_the_use_of_java.

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 wrote: > Hey guys. > > I did some researching on this matter but besides ClientBundle I > failed to find something that would help m

Re: Sorting CellTable, AsyncData but Sort Locally

2011-02-14 Thread Greg Dougherty
Here's the question you want to ask yourself: "Why am I using an AsyncDataProvider and data paging?" Because I use one in my app with sortable columns. And I'm using one because I've got thousands to tens of thousands of rows of data to display. And since I don't want to try to download all that

Setting the name of a downloaded file

2011-02-11 Thread Greg Dougherty
So I have a way to get a "Save As" Dialog box to come up for the file I'm downloading from my servlet (user hits the "Export" Button, I create an invisible frame that points to my servlet with the parameters necessary for the servlet to generate the export file). Unfortunately, the file comes up wi

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 b

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: 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 wrote: > What features in Java 6 would be so fundamental to GWT that 1.5 becomes > deprecated ? -- You

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 wrote: > I have a CellTable. > > when an event occurs in Cell A, > I would like to take action and modify Cell B. > (user clicks on Cell A, I would l

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 wrote: > Hi All, > > I would like to

Re: Selecting and disabling elements in CellTable

2011-02-04 Thread Greg Dougherty
l 3, a non-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 wrote: > On Tue, Feb 1, 2011 at 3:38 PM, Greg Dougherty > wrote: > > > Jeff: > > > Column 1 : Column 2 ; Colum

Re: Selecting and disabling elements in CellTable

2011-02-01 Thread Greg Dougherty
the kind of reason why disabling controls was invented way 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

Re: Selecting and disabling elements in CellTable

2011-02-01 Thread Greg Dougherty
ity to use 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 wrote: > On Tue, Feb 1, 2011 at 11:06 AM, Greg Dougherty &

Re: Sharing objects between several windows to enable interaction

2011-02-01 Thread Greg Dougherty
The first problem you face is that each browser window represents a separate GWT application. The second one you face is that, to the best of my knowledge, there are only two ways those applications can communicate with each other: via the server, and via cookies. A third problem you face is that

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 wrote: > // Making the cell I click on to change what Group i'm seeing: >         ClickableTextCell               groupCell = new ClickableTextCell (); >         FieldUpdater   updater = new

Re: Selecting and disabling elements in CellTable

2011-02-01 Thread Greg Dougherty
t determine if the user can or cannot check the boxes and then I > >> would render the table accordingly. > > >> But that is just me and the way I would do it. Now, about your question > >> which requires a question: Did you extend Column to use check boxes > in > >>

Re: Selecting and disabling elements in CellTable

2011-01-28 Thread Greg Dougherty
> > But that is just me and the way I would do it. Now, about your question > which requires a question: Did you extend Column to use check boxes in > your cell table? If you did you can extend your implementation's api even > further by providing it with methods to enable and

Re: CellTable elements not updating correctly

2011-01-28 Thread Greg Dougherty
if (groupInfo == null) return false; return groupInfo.hasUser (user); } } On Jan 28, 11:31 am, Jeff Schwartz wrote: > Code? > > On Fri, Jan 28, 2011 at 12:28 PM, Greg Dougherty > > > > wrote: > > I have two CellTab

CellTable elements not updating correctly

2011-01-28 Thread Greg Dougherty
I have two CellTables that are logically connected together. When I change the selection of the first one, I need to change the data representation in the second one. When I first create the two tables, this works. I call refresh on the DataProvider for the second table, it calls getValue for th

Re: Selecting and disabling elements in CellTable

2011-01-28 Thread Greg Dougherty
onChangeEvent.Handler() to > the selection model by calling the selection model's > addSelectionChangeHandler method. You can use this event, for instance, to > load a detailed view of the selected data object such as more information, > data from its children data objects, etc

Selecting and disabling elements in CellTable

2011-01-28 Thread Greg Dougherty
I am trying to use three CellTables to make a Users and Groups panel in my current application. Its purpose is so users can give other users access to resources that they control (in this particular case, choosing which people can see the information you've uploaded to a database). The first tabl

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

2011-01-18 Thread Greg Dougherty
How big are your paragraphs? Are we talking 10K here, total? 1K? 100K? How long does it take to send 10K over your network? How many people are going to be requesting data simultaneously? The first rule of optimization is you find out where things are actually bogging down. Unless your users

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

2011-01-18 Thread Greg Dougherty
You REALLY need to read up on GWT RPC. > requestFactory > .employeeRequest() > .findAllEmployees() > .fire(new Receiver>() { > @Override > public void onSuccess(List response) { > > ##

Re: FormPanel.SubmitEvent cancel not working

2011-01-07 Thread Greg Dougherty
gt;             p_event.cancel(); > > >             return; > > >         } > > >         several more validation checks > > >     } > > > > On Jan 5, 12:27 pm, Greg Dougherty wrote: > > > > > I have the following code in a GWT

Re: FormPanel.SubmitEvent cancel not working

2011-01-05 Thread Greg Dougherty
vent) >     { >         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 wr

Re: EnterButton

2011-01-05 Thread Greg Dougherty
27;s better than that? (Serious question. I'm a big fan of visual UI builders, but I've never understood 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 P

Re: Where do KeyPress Events go?

2011-01-05 Thread Greg Dougherty
on.setFocus(true); > >             } > >         }); > > > would put the focus on the button - any good? > > > or there's always 'DOM.addEventPreview' - problem is, you probably want > > enter to move your user from input area to input area. > >

FormPanel.SubmitEvent cancel not working

2011-01-05 Thread Greg Dougherty
I have the following code in a GWT 2.1.0 project: public void onSubmit (FormPanel.SubmitEvent event) { // This event is fired just before the form is submitted. We can take // this opportunity to perform validation. String filename = gDataFileUploader.getFilename ();

Re: EnterButton

2011-01-05 Thread Greg Dougherty
n example of how to setup > the event handler code when using UiBinder: > > @UiHandler("yourButtonFieldName") > void onSubmitBtnClicked(ClickEvent e) { >     doSomething(); > > } > > On Tue, Jan 4, 2011 at 10:36 AM, Greg Dougherty > wrote: > > > >

Re: Where do KeyPress Events go?

2011-01-05 Thread Greg Dougherty
he FileUpload. But FileUpload doesn't generate Key events. So, WHO gets those KeyPress Events? Greg On Jan 5, 8:08 am, jaybose 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

Re: EnterButton

2011-01-04 Thread Greg Dougherty
priately. > > On Mon, Jan 3, 2011 at 9:57 AM, Greg Dougherty > wrote: > > > > > 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

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" wrote: > I've used this pattern throughout my code base with no problem. > > On Mon, Jan 3, 2011 at 6:57 AM, Greg Dougherty > wrote: > > > > > I h

Re: Where do KeyPress Events go?

2011-01-04 Thread Greg Dougherty
> The uploadButton it uses is not a SubmitButton either. > > Just make sure the handler of your EnterButton submits the form. > > On Jan 3, 8:57 am, Greg Dougherty wrote: > > > So, now that I have an EnterButton class, I'd like to use it. :-)  I > > have a form pan

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 wrote: > Hi > > Thanks for the quick reply. > > I don't want to add the widget I want to get the value of a widget >

Where do KeyPress Events go?

2011-01-03 Thread Greg Dougherty
So, now that I have an EnterButton class, I'd like to use it. :-) I have a form panel with a FileUpload. I'd like to let the user select a file, then hit enter to fire the form submit button (which is an EnterButton, not a SubmitButton). Unfortunately, FileUpload does not have an addKeyPressHand

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 key

Where do KeyPress Events go?

2010-12-23 Thread Greg Dougherty
So, now that I have an EnterButton class, I'd like to use it. :-) I have a form panel with a FileUpload. I'd like to let the user select a file, then hit enter to fire the form submit button (which is an EnterButton, not a SubmitButton). Unfortunately, FileUpload does not have an addKeyPressHand

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 key

Re: HTML Link Cell

2010-12-22 Thread Greg Dougherty
Hi John, Why SafeHtmlCell rather than AbstractCell? I did it in AbstractCell, and it works, but I'm certainly happy to hear how it could work better. Thanks for the pointer to SafeHtmlTemplates. I'll have to look in to them. Greg On Dec 22, 8:17 am, John LaBanca wrote: > I recommend that you

Re: Sort on Column in CellTable

2010-12-13 Thread Greg Dougherty
t local. (I.E. if page 2 comes back, and the user is on page 1, then save the results, and fire off a request for page 3.) Reasonable? Workable? Thanks, Greg On Dec 13, 11:10 am, Jeff Schwartz wrote: > On Mon, Dec 13, 2010 at 11:08 AM, Greg Dougherty > > > > wrote: > > Hi

Re: Sort on Column in CellTable

2010-12-13 Thread Greg Dougherty
; My mantra for dealing with the tight quota limits imposed by App Engine is > lean and mean on the server and thick client where I have all the breathing > room I need to perform data manipulation. > > Jeff > > On Fri, Dec 10, 2010 at 12:20 PM, Greg Dougherty > > > >

Re: Expenses sample does not build

2010-12-10 Thread Greg Dougherty
oing that? For that matter, what is the "tools" I have to download in order to get that script? Greg On Dec 10, 9:39 am, David Chandler wrote: > Hi Greg, > > Did you run tools/scripts/maven_script.sh first to install 2.1.1-rc1 > in your local maven repo? > > /dmc

Re: Sort on Column in CellTable

2010-12-10 Thread Greg Dougherty
the DataProvider and the > > table will refresh to reflect the changes to the list. It is quite simple. > > > Jeff > > > On Thu, Dec 9, 2010 at 11:17 AM, Greg Dougherty < > > dougherty.greg...@mayo.edu> wrote: > > >> My users would like to be abl

Re: Sort on Column in CellTable

2010-12-10 Thread Greg Dougherty
. You can maintain state for the current ordering > and a second click on the column header can reverse the ordering of the > sort. Once the sort is done you then just refresh the DataProvider and the > table will refresh to reflect the changes to the list. It is quite simple. > >

Re: FlowPanel vs. HorizontalPanel

2010-12-10 Thread Greg Dougherty
ontainer widgets that > render as span elements; all Panel widgets render as divs. > > If that doesn't work for you, you can look into using block elements and > float:left;, but that comes with its own complications (and you also don't > get nice text alignment acro

Expenses sample does not build

2010-12-10 Thread Greg Dougherty
I downloaded releases/2.1/samples from SVN, and tried to build the Expenses project (importing an existing Maven project). I get ~80 compiler errors. For example: import com.google.gwt.cell.client.Cell.Context; The compiler can't find this. Given that it's not in the JavaDoc, I'm not surprised

Re: Sort on Column in CellTable

2010-12-10 Thread Greg Dougherty
Unfortunately, the project does not build. :-) On Dec 9, 2:53 pm, Thomas Broyer wrote: > I believe there's a README file that explains that, though I only > looked at the code in the online SVN browser, and the online sample. -- You received this message because you are subscribed to the Google

Re: Sort on Column in CellTable

2010-12-09 Thread Greg Dougherty
Thomas, Thanks. How do I get the Expenses sample to build in Eclipse? Are there directions somewhere? On Dec 9, 11:23 am, Thomas Broyer wrote: > Have a look at the Expenses sample, all the code you're looking for is > available there. -- You received this message because you are subscribed t

Sort on Column in CellTable

2010-12-09 Thread Greg Dougherty
My users would like to be able to sort my CellTable by clicking on a Column title. Is there an existing GWT widget for putting a downward or upward pointing triangle in a CellTable Column title? For that matter, what do I have to do to get a mouse click IN a Column title? Thanks, Greg -- You r

Re: GWT + MySQL

2010-12-09 Thread Greg Dougherty
Here's the important part of your bug: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'com.mysql.jdbc.exceptions.jdbc4.CommunicationsException' was not included in the set of types which can be serialized by this SerializationPolicy or its

IE7 and ALIGN_JUSTIFY

2010-12-08 Thread Greg Dougherty
I'm working on a new app using GWT 2.1. If I create a HorizontalPanel, and set the horizontal alignment to ALIGN_JUSTIFY, then when I try to add anything to that panel, I get the following exception. This only happens in IE, and I have to actually try to added something to the panel (creating the

Re: GWT JavaDoc failures KeyPress v. KeyDown

2010-12-07 Thread Greg Dougherty
mentation, isn't going to be very productive and will just > serve to frustrate you even more. Take the time and go and read, read, read, > and play with all the different things you do read up on. One day soon you > will have what can only be described as an epiphany, that moment wh

Re: GWT JavaDoc failures KeyPress v. KeyDown

2010-12-07 Thread Greg Dougherty
ion as the doc writers do, and as such they end up writing documentation that is worthless until you go read the W3C docs (or come here and beg for information). The further point is that this is a bad assumption on their part, and that it would be good if they stopped writing docs that way. Greg O

Re: GWT JavaDoc failures KeyPress v. KeyDown

2010-12-07 Thread Greg Dougherty
on the GWT side of things. There are other sites as > well besides the W3C but I always hit them first because they are the > standards body. > > Jeff > > On Fri, Dec 3, 2010 at 2:50 PM, Greg Dougherty > wrote: > > > > > Jeff, > > > Thank you.  That'

Re: Getting a user Enter key

2010-12-03 Thread Greg Dougherty
gt; From the other thread, it sounds like this behavior may have changed in > > 2.1, so it could be that the documentation is wrong, but only as of fairly > > recently. > > > -Brian > > > On Fri, Dec 3, 2010 at 3:21 PM, Greg Dougherty > > wrote: > > &g

Re: GWT JavaDoc failures KeyPress v. KeyDown

2010-12-03 Thread Greg Dougherty
h for an open source project and > many of the Javadocs, too. Of course, there are always holes and we welcome > constructive feedback through the issue tracker. > > GWT is open source, so I hope you will contribute Javadocs as you find > things that can be improved. > > /dmc >

Getting a user Enter key

2010-12-03 Thread Greg Dougherty
Ok, the tutorial says that to get a user pressing an enter key in a TextBox you should write something like the following: http://code.google.com/webtoolkit/doc/latest/tutorial/manageevents.html public void onKeyPress (KeyPressEvent event) { charkeyPress = even

Re: GWT JavaDoc failures KeyPress v. KeyDown

2010-12-03 Thread Greg Dougherty
; events and though GWT tries to shield the developer from much of it it > cannot do so 100%. > > Jeff > > On Fri, Dec 3, 2010 at 1:47 PM, Greg Dougherty > wrote: > > > > > This is my first entry in what will be a continuing series of pointing > > out GWT JavaDocs

GWT JavaDoc failures KeyPress v. KeyDown

2010-12-03 Thread Greg Dougherty
This is my first entry in what will be a continuing series of pointing out GWT JavaDocs achieving Microsoftian levels of "saying everything while explaining nothing." Why? Because if you're going to actually write documentation, it shouldn't be totally worthless. KeyPressHandler: Handler interfac

Re: Changing ActionCell Title

2010-12-02 Thread Greg Dougherty
ew FieldUpdater() { >   public void update(int index, RowObject object, String value) { >     Window.alert("You clicked " + object.toString()); >   }}); > > myCellTable.addColumn(column); > > Thanks, > John LaBanca > jlaba...@google.com > > On Wed, Dec

Re: Changing ActionCell Title

2010-12-01 Thread Greg Dougherty
Get a String from the object. >   }}; > > // Set a fieldupdater. > column.setFieldUpdater(new FieldUpdater() { >   public void update(int index, RowObject object, String value) { >     Window.alert("You clicked " + object.toString()); >   }}); > > myCellTable.addColumn(column); > &

Re: Changing ActionCell Title

2010-12-01 Thread Greg Dougherty
d FieldUpdater#update() will be called. > > Thanks, > John LaBanca > jlaba...@google.com > > On Wed, Dec 1, 2010 at 2:29 PM, Greg Dougherty > wrote: > > > What, then, do I have to implement so that the button will fire an > > action when it's clicked.  Does

Re: Changing ActionCell Title

2010-12-01 Thread Greg Dougherty
t otherwise it looks just like ActionCell. > > Thanks, > John LaBanca > jlaba...@google.com > > On Wed, Dec 1, 2010 at 12:30 PM, Greg Dougherty > wrote: > > > Is it possible to change teh title of an ActionCell based on the > > contents of the row it's in? >

Changing ActionCell Title

2010-12-01 Thread Greg Dougherty
Is it possible to change teh title of an ActionCell based on the contents of the row it's in? It looks like the answer is no, but I figured I'd check here before I gave up. Greg -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to

Re: Client File IO

2010-11-30 Thread Greg Dougherty
Are you sure the images will overload the server? Why? Here's a thought: create an image cache. You can do it on either the client or the server. The client will "forget" the images if you click away from it, and the images will only be viewable inside your client app, but other than that it sh

  1   2   >