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 locale

Re: Competitor for world's most useless JavaDoc comment

2011-05-17 Thread Greg Dougherty
UTC-4, Greg Dougherty wrote: It's too bad that there a 2 valid comments, and 34 worthless ones. Might I suggest that the GWT Coding Standards would do well to focus on requiring people to write readable and understandable code (which means having comments that explain what you're doing

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

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

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

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 and

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

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

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

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:

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?

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
The production version of my GWT app runs under Tomcat, with the following settings: context.xml: Context path=/AppName docBase=webapps/AppName debug=5 reloadable=true crossContext=true Resource type=javax.sql.DataSource auth=Container name=jdbc/Exome

Re: help sending emails in GWT

2011-03-01 Thread Greg Dougherty
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 Dougherty dougherty.greg...@mayo.eduwrote: When i GWT

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

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 that it

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

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 it

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

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

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
Well, I'd start out by trying: public MySortHandler(ListBook BOOKS, CellTable myCellTable, Column columnA, you get the picture) { thisList = new ArrayList (BOOKS); .. } On Feb 23, 9:56 am, Josh K kendrick.j...@gmail.com wrote: Ok, I got something working using the

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

Re: Setting the name of a downloaded file

2011-02-16 Thread Greg Dougherty
();         fis.close();         out.flush();         out.close();     } } On Feb 11, 9:12 am, Greg Dougherty dougherty.greg...@mayo.edu wrote: 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

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?

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

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
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 with

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 on

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
3:19 PM, Greg Dougherty dougherty.greg...@mayo.edu wrote: Well, If they create a group, or select a group that they can modify, then they need the checkboxes. Having them disappear and reappear (rather than be disabled and enabled) violates the principles of UI design that I know

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

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
:15 PM, Greg Dougherty dougherty.greg...@mayo.eduwrote: Ok, I've got two checkbox columns interspersed between other columns. If I add and delete the checkbox columns based on the current user selection in the first table, then other columns are going to be jumping around.  No? Greg

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

Re: Selecting and disabling elements in CellTable

2011-01-28 Thread Greg Dougherty
() 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. etc. Jeff On Fri, Jan 28, 2011 at 10:49 AM, Greg Dougherty

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

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
at 11:59 AM, Greg Dougherty dougherty.greg...@mayo.edu wrote: 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

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 ReceiverListEmployeeProxy() { @Override public void onSuccess(ListEmployeeProxy response) {

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: 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
Look at the source of the ShowCase example above. 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 dougherty.greg...@mayo.edu wrote: So, now that I have an EnterButton class

Re: EnterButton

2011-01-05 Thread Greg Dougherty
handler code when using UiBinder: @UiHandler(yourButtonFieldName) void onSubmitBtnClicked(ClickEvent e) {     doSomething(); } On Tue, Jan 4, 2011 at 10:36 AM, Greg Dougherty dougherty.greg...@mayo.eduwrote: Hi Jeff, I don't see any place to attach a KeyPressHandler to a FormPanel

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: Where do KeyPress Events go?

2011-01-05 Thread Greg Dougherty
? or there's always 'DOM.addEventPreview' - problem is, you probably want enter to move your user from input area to input area. firstname-lastname-fileuploadCV or something, rather than submit every time the user presses enter. Ian On 5 January 2011 14:50, Greg Dougherty dougherty.greg

Re: EnterButton

2011-01-05 Thread Greg Dougherty
, Greg Dougherty wrote: Hi Jeff, You've got things backwards for my concerns.  I want to fire off a Submit event when the user hits Enter, I don't want to do something special once the user has clicked on the button. I think Jeff got it right, but explained it badly: if you wrap you fields

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
. 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 dougherty.greg...@mayo.edu wrote: So, now that I have an EnterButton class, I'd like to use it. :-)  I have a form panel with a FileUpload

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
appropriately. On Mon, Jan 3, 2011 at 9:57 AM, Greg Dougherty dougherty.greg...@mayo.eduwrote: 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

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

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

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

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 jlaba...@google.com wrote: I

Re: Sort on Column in CellTable

2010-12-13 Thread Greg Dougherty
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 dougherty.greg...@mayo.edu wrote: Hi Jeff, Thanks.  Of course I'm need this for an AsyncDataProvider (the data's on the server

Re: Sort on Column in CellTable

2010-12-13 Thread Greg Dougherty
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 jefftschwa...@gmail.com wrote: On Mon, Dec 13, 2010 at 11:08 AM, Greg Dougherty dougherty.greg...@mayo.edu wrote: Hi Jeff, As I'm dealing

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 t.bro...@gmail.com 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

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: FlowPanel vs. HorizontalPanel

2010-12-10 Thread Greg Dougherty
block elements and float:left;, but that comes with its own complications (and you also don't get nice text alignment across blocks. -Brian On Tue, Nov 30, 2010 at 2:10 PM, Greg Dougherty dougherty.greg...@mayo.eduwrote: Inserting block-level elements (div, p, etc.) cause exactly what you're

Re: Sort on Column in CellTable

2010-12-10 Thread Greg Dougherty
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. Jeff On Thu, Dec 9, 2010 at 11:17 AM, Greg Dougherty

Re: Sort on Column in CellTable

2010-12-10 Thread Greg Dougherty
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 able to sort my CellTable by clicking on a Column title.  Is there an existing GWT widget for putting a downward or upward pointing

Re: Expenses sample does not build

2010-12-10 Thread Greg Dougherty
, Greg Dougherty dougherty.greg...@mayo.edu wrote: 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

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

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

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 t.bro...@gmail.com wrote: Have a look at the Expenses sample, all the code you're looking for is available there. -- You received this message because you

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

Re: GWT JavaDoc failures KeyPress v. KeyDown

2010-12-07 Thread Greg Dougherty
hit them first because they are the standards body. Jeff On Fri, Dec 3, 2010 at 2:50 PM, Greg Dougherty dougherty.greg...@mayo.eduwrote: Jeff, Thank you.  That' lets me know which one I want to use. If I knew JavaScript and DOM, or, for that matter, even WANTED to know JavaScript

Re: GWT JavaDoc failures KeyPress v. KeyDown

2010-12-07 Thread Greg Dougherty
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 On Dec 4, 6:11 am, Thomas Broyer t.bro...@gmail.com wrote: On 3 déc, 20:50, Greg Dougherty

Re: GWT JavaDoc failures KeyPress v. KeyDown

2010-12-07 Thread Greg Dougherty
day soon you will have what can only be described as an epiphany, that moment when it all gels and at that moment you will have a big smile on your face - a Kodak moment! Jeff On Tue, Dec 7, 2010 at 12:08 PM, Greg Dougherty dougherty.greg...@mayo.eduwrote: If I knew JavaScript and DOM

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 interface

Re: GWT JavaDoc failures KeyPress v. KeyDown

2010-12-03 Thread Greg Dougherty
the developer from much of it it cannot do so 100%. Jeff On Fri, Dec 3, 2010 at 1:47 PM, Greg Dougherty dougherty.greg...@mayo.eduwrote: This is my first entry in what will be a continuing series of pointing out GWT JavaDocs achieving Microsoftian levels of saying everything while

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 =

Re: GWT JavaDoc failures KeyPress v. KeyDown

2010-12-03 Thread Greg Dougherty
the issue tracker. GWT is open source, so I hope you will contribute Javadocs as you find things that can be improved. /dmc On Fri, Dec 3, 2010 at 2:50 PM, Greg Dougherty dougherty.greg...@mayo.eduwrote: Jeff, Thank you.  That' lets me know which one I want to use. If I knew

Re: Getting a user Enter key

2010-12-03 Thread Greg Dougherty
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 dougherty.greg...@mayo.edu wrote: Ok, the tutorial says that to get a user pressing an enter key in a TextBox you should

Re: Changing ActionCell Title

2010-12-02 Thread Greg Dougherty
FieldUpdaterRowObject, String() {   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 1, 2010 at 3:33 PM, Greg Dougherty dougherty.greg

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: Changing ActionCell Title

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

Re: Changing ActionCell Title

2010-12-01 Thread Greg Dougherty
, John LaBanca jlaba...@google.com On Wed, Dec 1, 2010 at 2:29 PM, Greg Dougherty dougherty.greg...@mayo.eduwrote: What, then, do I have to implement so that the button will fire an action when it's clicked.  Does this require me to extend ButtonCell? Thanks, Greg On Dec 1, 12:48 pm

Re: Changing ActionCell Title

2010-12-01 Thread Greg Dougherty
, 2010 at 3:33 PM, Greg Dougherty dougherty.greg...@mayo.eduwrote: Hi John, I'm pretty sure I'm not following you.  Here's my understanding: I currently have an ActionCell in an IdentityColumn.  You're saying I can replace the ActionCell with a ButtonCell. I need to have a class implement

Re: GWT + MySQL

2010-11-30 Thread Greg Dougherty
I've used MySQL in just about every GWT app I've written, so it's quite possible to use it. Including during development running Jetty. 1: All JDBC calls MUST come from the server. The client code can NOT see any jar files, ever. 2: You can NOT reference com.mysql.jdbc.Driver, or any other

Re: TabLayoutPanel does not listen to width

2010-11-30 Thread Greg Dougherty
So, how do we use the Closure widgets w/ a GWT app. Because if I wanted to be writing JavaScript, I wouldn't be using GWT. No? Greg On Nov 30, 6:25 am, Matt H matt2...@gmail.com wrote: Yes, the UI widgets are all terrible. Google Closure has much better widgets. On Nov 30, 10:10 am, Baloe

  1   2   >