1 2011-11-25 Ben Konrath <ben@bagu.org>
3 Improve Gda Value conversion from PrimaryKeyItem.
5 The value from the PrimaryKeyItem is only used if its type match the
6 type from the glom document.
8 * src/main/java/org/glom/web/server/Utils.java:
10 2011-11-25 Ben Konrath <ben@bagu.org>
12 Manually check if the java-liblgom .so is visible to the JVM.
14 It seems that Tomcat has problems when a static initializer throws an
15 exception. This check is done before the first method call into
16 java-libglom so that execution doesn't continue if the .so is not
19 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
21 2011-11-25 Ben Konrath <ben@bagu.org>
23 Improve browser configuration error messages.
27 https://bugzilla.gnome.org/show_bug.cgi?id=662792
29 * src/main/java/org/glom/web/client/OnlineGlomService.java:
30 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
31 getConfigurationErrorMessage() method.
32 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
33 Get and display a specific configuration error message when no Glom
35 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
36 Implement getConfigurationErrorMessage() method. Surround configuration
37 code in the init() method with a try/catch block. This allows the
38 errors to be caught while keeping the servlet available to retrieve the
39 configuration error message.
41 2011-11-25 Ben Konrath <ben@bagu.org>
43 Don't use Strings to hold primary key values.
45 The primary key values are now held in a new data object
46 (PrimaryKeyItem) that holds type information and the primary key value
47 using the correct type.
49 * src/main/java/org/glom/web/client/OnlineGlomService.java:
50 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
51 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
52 PrimaryKeyItem instead of String to hold the primary key value.
53 * src/main/java/org/glom/web/client/Utils.java: Remove
54 getKeyValueStringForQuery(). Add getPrimaryKeyItem() which creates a
55 PrimaryKeyItem based on the GlomFieldType and the DataItem.
56 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Use
57 PrimaryKeyItem instead of String to hold the primary key value. Load
58 document selection page when the documentID has not been set correctly.
59 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Re-work
60 DetailsPlace -> URL and URL -> DetailsPlace conversion with
62 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
63 Return empty string for URL instead of "null".
64 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
65 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
66 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
67 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
68 PrimaryKeyItem instead of String to hold primary key values.
69 * src/main/java/org/glom/web/server/Utils.java: New method to convert a
70 PrimaryKeyValue to a Gda Value.
71 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
72 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
73 * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
74 Replace temporary database access code that uses the PrimaryKeyValue to
76 * src/main/java/org/glom/web/shared/DataItem.java: Add comment.
77 * src/main/java/org/glom/web/shared/NavigationRecord.java: Use
78 PrimaryKeyItem instead of String.
79 * src/main/java/org/glom/web/shared/PrimaryKeyItem.java: New class to
80 hold primary key values.
82 2011-11-24 Ben Konrath <ben@bagu.org>
84 Use newly added java-libglom API to create queries.
86 This isn't finished. I still need to stop using Strings for primary key
87 values in the client code.
89 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Tell
90 libglom to use fake connections so that retrieving the query string will
92 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
93 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
94 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
95 * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
96 Use the newly added libglom sql methods and classes to create the
97 query. Add temporary hack to convert primary value strings to Gda
100 2011-11-23 Ben Konrath <ben@bagu.org>
102 Don't explicitly set the height of Portals.
104 See comments 6 - 10 of this bug for details:
106 https://bugzilla.gnome.org/show_bug.cgi?id=662930#c6
108 * src/main/java/org/glom/web/client/ui/details/Portal.java:
110 2011-11-23 Ben Konrath <ben@bagu.org>
112 Use an HTML table instead of CSS for the FlowTable layout.
114 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Use
115 GWT's FlexTable to implement the FlowTable.
116 * src/main/webapp/style.css: Adjust CSS for the change to FlexTable.
118 2011-11-18 Ben Konrath <ben@bagu.org>
120 Add boolean example to HTML table mockup.
122 * mockups/details-view-html-tables-text-entries.html:
124 2011-11-17 Ben Konrath <ben@bagu.org>
126 Ensure the pager buttons are always visible for related lists.
128 To accomplish this, I've turned off text wrapping in the list view and
129 related list tables for both the header and data text. The related list
130 table now has a fixed layout so the it doesn't overflow its container.
131 This is required to ensure that the cell text is clipped when it
132 overflows the cell and an ellipsis is added to the right side of the
133 cell when text is clipped.
135 A fixed table layout for the related list table in the details view
136 seems what we want for the details view anyway, so the side-effect is
139 The ellipsis will only be displayed in Firefox >= 7.
143 https://bugzilla.gnome.org/show_bug.cgi?id=662930
145 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java:
146 * src/main/java/org/glom/web/client/ui/cell/TextCell.java: Add
147 'overflow: hidden; text-overflow: ellipsis;' CSS properties to the table
149 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
150 Set the 'table-layout: fixed' CSS property to the related list table.
151 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Set the
152 'white-space: nowrap;' CSS property on both the list view and the
155 2011-11-16 Ben Konrath <ben@bagu.org>
157 Rework the fix for empty notebook tab labels.
159 Setting the empty group titles with its name caused problems for the
160 details layout. Instead of using libglom's
161 LayoutItem.get_title_or_name(), the LayoutItem name is explicitly sent
162 to the client when the title is empty. This allows the Notebook to use
163 the name when the title is empty without affecting anything else.
165 * src/main/java/org/glom/web/client/ui/details/Notebook.java:
166 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
168 2011-11-16 Ben Konrath <ben@bagu.org>
170 Set group titles with name when title is empty.
172 This fixes a problem with an empty notebook tab label in the Lesson
173 Planner document. The forth tab in the notebook should be "Internet":
175 http://bagu.org:8080/OnlineGlom/#details:document=lesson-planner&table=teachers&value=0
177 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
178 libglom's LayoutItem.get_title_or_name() to fill in the LayoutGroup
181 2011-11-16 Ben Konrath <ben@bagu.org>
183 Remove whitespace from the configured username properties.
185 This assumes that usernames won't have whitespace at the beginning
186 or end. But I think this is a reasonable assumption.
188 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
189 String.trim() to remove the whitespace from the username properties.
191 2011-11-15 Ben Konrath <ben@bagu.org>
193 Add details view mockup with HTML tables and text entries.
195 This is from the attachment on this bug:
197 https://bugzilla.gnome.org/show_bug.cgi?id=663109
199 * mockups/details-view-html-tables-text-entries.html:
201 2011-11-15 Ben Konrath <ben@bagu.org>
203 Add space between the columns of the flow table.
207 https://bugzilla.gnome.org/show_bug.cgi?id=662918
209 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Add a 1%
210 space between columns in the flow table.
212 2011-11-15 Ben Konrath <ben@bagu.org>
214 Add backup files to the .gitignore.
216 * .gitignore: Ignore files that end with ~.
218 2011-11-09 Ben Konrath <ben@bagu.org>
220 Use latest release of gwt-log.
222 Gwt-log releases are now being submitted to the maven central
223 repository so manual installation of the jar is no longer required.
225 * pom.xml: Update version and groupId of gwt-log dependency.
227 2011-10-31 Ben Konrath <ben@bagu.org>
229 Don't use GWT numeric formatting to override the glom currency formatting.
231 Currencies are now displayed like they are in Glom. See this bug:
233 https://bugzilla.gnome.org/show_bug.cgi?id=646216
235 * src/main/java/org/glom/web/client/Utils.java: Remove GWT currency
237 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: Add
238 currency code to constructor and set it when the cell is rendered.
239 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
240 currency code to the constructor of the NumericCell.
242 2011-10-27 Ben Konrath <ben@bagu.org>
244 Require the latest release of java-libglom (1.17.4).
248 2011-10-26 Ben Konrath <ben@bagu.org>
250 Add style to Notebook that matches current theme.
252 It's not the best style in the world but it's better than the default.
254 * src/main/java/org/glom/web/client/ui/details/Notebook.java: Add some
255 padding at the bottom of the child widgets.
256 * src/main/webapp/style.css: Add style for the Notebook.
258 2011-10-26 Ben Konrath <ben@bagu.org>
260 Move servlet initialization code to overridden init method.
262 This is half of the solution to getting proper error messages
263 displayed when configuration errors occur. Here's the relevant bug:
265 https://bugzilla.gnome.org/show_bug.cgi?id=662792
267 The rest of the solution involves surrounding the init method with a
268 try/catch block and setting a global variable with the error /
269 exception. A new async method should be created to retrieve and display
270 the error message / exception.
272 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Move
273 code from constructor to init method adding exceptions as needed.
275 2011-10-26 Ben Konrath <ben@bagu.org>
277 Add script to monitor and restart tomcat if required.
279 * utils/check-and-recover-tomcat.py: New file.
281 2011-10-26 Ben Konrath <ben@bagu.org>
283 Display the correct number of data items in the pager.
287 https://bugzilla.gnome.org/show_bug.cgi?id=661441
289 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
290 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
291 The implementation is the same for both tables: Keep track of the
292 number of non-empty rows and fire and RowCountChangeEvent after the data has
294 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add a
295 custom Pager class that subclasses SimplePager to handle displaying
296 the correct number when empty rows have been added.
298 2011-10-26 Ben Konrath <ben@bagu.org>
300 Correct error in previous commit.
302 * src/main/java/org/glom/web/client/activity/ListActivity.java: Remove
303 eventBus parameter from listView.setCellTable().
305 2011-10-26 Ben Konrath <ben@bagu.org>
307 Fix error in TODO comment.
309 * src/main/java/org/glom/web/client/activity/ListActivity.java:
311 2011-10-24 Ben Konrath <ben@bagu.org>
313 Create Notebook widgets to the details view.
315 This isn't finished just yet - I still need to create a reasonable
316 style to match the current theme.
318 * src/main/java/org/glom/web/client/Utils.java: Add method for
319 calculating the height of a widget. This is used in the Notebook class.
320 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
321 new constructor method in Group.
322 * src/main/java/org/glom/web/client/ui/details/Group.java: Add new
323 method for creating child widget that can be used by subclasses
324 like Notebook. New constructor that allows disabling the group
325 titles - Notebooks don't set a group title for their child groups.
326 * src/main/java/org/glom/web/client/ui/details/Notebook.java: New class
327 to make Notebooks using GWT's TabLayoutPanel.
328 * src/main/java/org/glom/web/client/ui/details/Portal.java: New
329 constructor that allows disabling the group titles.
330 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Create the
331 LayoutItemNotebook DTO.
332 * src/main/java/org/glom/web/shared/layout/LayoutItemNotebook.java: New
333 DTO for Notebooks. It's just an empty class for now but we might need
334 it to transfer some specific information in the future.
336 2011-10-21 Ben Konrath <ben@bagu.org>
338 Add navigation buttons to related list tables.
340 * src/main/java/org/glom/web/client/OnlineGlomService.java:
341 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
342 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add new
343 method getSuitableRecordToViewDetails() for getting the table name
344 and primary key value for related list navigation buttons.
345 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
346 private cell renderer class to get the navigation information for
347 related list tables from the server. Extract the navigation
348 processing code from the details cell navigation and use it for the
349 related list navigation as well.
350 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Add private
351 cell renderer class for the details open buttons. This was needed
352 because the related list navigation buttons and the list view
353 navigation buttons need to react differently when clicked.
354 * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: Remove
355 the onEnterKeyDown() method because it's now overriden in the
356 subclasses that are specific to the related list tables and the list
358 * src/main/java/org/glom/web/client/ui/details/Portal.java: Increase
359 the vertical size a little because the buttons add a bit of vertical
360 space to table. This is not a perfect solution because the vertical
361 size of with table fewer than 5 rows will be a little smaller.
362 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Update for
363 changes in how navigation buttons are handled.
364 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Implement
365 getSuitableRecordToViewDetails() using the new RelatedListNavigation
366 database access object.
367 * src/main/java/org/glom/web/server/database/DBAccess.java: Move code
368 to find the portal for a given relationship name from
369 RelatedListDBAccess. Add method to find a primary key field for a
371 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
372 Move code to find the portal for a given relationship name to
374 * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
375 New file: database access object for getting the related list
376 navigation information (the table name and the primary key value).
377 * src/main/java/org/glom/web/shared/NavigationRecord.java: New file:
378 DTO for transferring a table name to navigate to and a primary key
380 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
381 boolean and getter/setter to specifies if the related list should add
384 2011-10-24 Murray Cumming <murrayc@murrayc.com>
386 Use the master branch of java-libglom
388 * pom.xml: Depend on java-libglom 1.19 instead.
390 This is the master branch. See also the libglom-1-18 branch.
392 2011-10-11 Ben Konrath <ben@bagu.org>
394 Enable the open navigation button when the data has been set.
396 This avoids having active buttons that don't do anything when the data
399 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
401 2011-10-11 Ben Konrath <ben@bagu.org>
403 Use IsWidget interface for FlowTableItem.
405 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Change
406 FlowTableItem.getWidget() to asWidget() from the IsWidget interface.
408 2011-10-11 Ben Konrath <ben@bagu.org>
410 Remove GWT styling from open button in details view.
412 There are still some issues with how the details cell is arranged but
413 this should be made to match Glom 1.20. I'm going to leave fixing this
414 until I have Glom 1.20 up and running.
416 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Set
417 style name on open button.
418 * src/main/webapp/style.css: Move and edit details-navigation class.
419 Re-arrange some classes to make them appear in the same order as the
422 2011-10-07 Ben Konrath <ben@bagu.org>
426 * .gitignore: Ignore new cache directory.
427 * .settings/com.google.gwt.eclipse.core.prefs: Update Eclipse settting.
428 * pom.xml: Change GWT and maven plugin to 2.4.0.
429 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Update doctype for
431 * src/main/java/org/glom/web/client/ClientFactory.java:
432 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
433 * src/main/java/org/glom/web/client/OnlineGlom.java:
434 Update source for API changes.
435 * utils/build-onlineglom-war.sh: Remove cache directory before the
438 2011-10-07 Ben Konrath <ben@bagu.org>
440 Add navigation buttons in the details view.
442 This isn't finished but I thought I'd commit what I have as it's a
443 pretty good start. I still need to:
445 1. Change the style so that it fits better into the current theme
446 2. Adjust the details cell to expand as much as possible.
448 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
449 click handlers to navigation buttons in the DetailsCells. Create a
450 refreshData() method to get just the data from the server without the
452 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
453 Update the tableSelector and browser title when the table name
454 changes without using the tableSelector.
455 * src/main/java/org/glom/web/client/ui/DetailsView.java:
456 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
457 getDetailsCells() to getCells(). Update variable names.
458 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Add
459 method to set click handler on navigation button. Rename a few
460 variables. Add navigation buttons where needed.
461 * src/main/java/org/glom/web/client/ui/details/Group.java: Rename a few
462 variables and methods.
463 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Set the
464 navigation boolean and navigation table as required in the
466 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
467 variables for navigation along with getter/setter methods.
469 2011-10-07 Ben Konrath <ben@bagu.org>
471 Rename Field to DetailsCell.
473 This is a refactor-only commit. No functionality has been added or
476 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
477 Update variable and method names.
478 * src/main/java/org/glom/web/client/ui/DetailsView.java:
479 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update
480 variable and method names.
481 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
483 * src/main/java/org/glom/web/client/ui/details/Group.java: Update
484 variable and method names.
486 2011-10-07 Ben Konrath <ben@bagu.org>
488 Create separate methods for layout and data the details view.
490 This is a refactor-only commit. No functionality has been added or
493 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: New
494 private methods: setData(), createLayout().
496 2011-10-07 Ben Konrath <ben@bagu.org>
498 Don't use TableSelectorImpl implementation details in TableSelectorActivity.
500 This is part of a change to get navigation buttons in the details view
501 but it should have been done this way from the start.
503 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
504 for method name change in TableSelectionView.
505 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
506 Create TableChangeEvent and set the browser title using the
507 TableSelectionView API.
508 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
509 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
510 Change getSelectedTable() to getSelectedTableName(). Add
511 getSelectedTableTitle().
513 2011-10-07 Ben Konrath <ben@bagu.org>
515 Use primaryKeyValue naming convention in constructor of DetailsPlace.
517 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
519 2011-10-07 Ben Konrath <ben@bagu.org>
521 Update TableChangeEvent to use newTableName naming convention.
523 This makes the class more consistent with GWT naming conventions.
525 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
526 Update for method name change in TableChangeEvent.
527 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
528 for method name change in TableChangeEvent.
529 * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
530 newTableName variable and getter method. Make toDebugString()
533 2011-09-30 Ben Konrath <ben@bagu.org>
535 Disable the pager in the list tables when the data row count is less than the minimum.
537 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
538 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
540 2011-09-30 Ben Konrath <ben@bagu.org>
542 Add empty rows to the end of related list and list view tables.
544 I also extracted the cell rendering classes from the ListTable because
545 the code was becoming a little crazy with all the anonymous inner
546 classes. My plan is to use these cell rendering classes in the details
547 view as well so this refactor will be needed for that change.
549 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
550 set the row count in related list tables if the data has more rows
551 than the minimum number of rows visible.
552 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
553 row count in list view tables if the data has more rows than the
554 minimum number of rows visible.
555 * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
556 for rendering TYPE_BOOLEAN cells. The code was extracted from the
558 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
559 for rendering TYPE_NUMERIC cells. The code was extracted from the
561 * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
562 class for rendering cells with buttons in list views. The code was
563 extracted from the ListTable class.
564 * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
565 for rendering TYPE_TEXT cells. The code was extracted from the
567 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
568 Add empty rows to the end of the data if required. Implement
569 ListTable.getMinNumVisibleRows().
570 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
571 cell renderer code to public classes. Return null in
572 Column.getValue() for empty rows. Add new abstract method:
573 getMinNumVisibleRows(). Move code to set the row count of the list view
574 table to ListViewImpl.
575 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
576 empty rows to the end of the data if required. Implement
577 ListTable.getMinNumVisibleRows().
580 2011-09-27 Ben Konrath <ben@bagu.org>
582 Use GWT.log for client-side debugging statements.
584 These are optimized out when deployed so I should have used this method
585 in the first place. These statements will eventually be replaced with some sort
586 of notification in the browser.
588 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
589 * src/main/java/org/glom/web/client/activity/ListActivity.java:
590 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
591 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
592 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
594 2011-09-27 Ben Konrath <ben@bagu.org>
596 Put tableselector on the right, back to list link on right.
598 The idea is that the table selector is acting like a label for the
599 currently displayed table so it should be placed below the document title. This
600 puts the table title in a similar position to where it is in Glom.
602 * mockups/details-contacts.html:
603 * mockups/details-projects.html:
604 * mockups/listview-contacts.html:
605 * mockups/listview-projects.html:
607 Update mockups to match how the interfaces currently look.
608 * src/main/webapp/style.css: Swap positions of backlink with the table
609 selector. Add some space on the left side of the table selector to
610 line things up with the document title.
612 2011-09-27 Ben Konrath <ben@bagu.org>
614 Add field colouring to details view.
616 This change re-works how field colouring works. The colour formatting
617 information is now set to the client with the layout information instead of
618 with the data. This eliminates the need to send the same colour strings for
619 data in list view column when colour information is set.
621 In order to set an alternate colour for negative numeric values, the
622 number is now sent to client and formatted with the GWT NumberFormat class.
624 This change also fixes:
626 https://bugzilla.gnome.org/show_bug.cgi?id=659752
628 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
629 internationalization framework which is needed for client side numeric
631 * src/main/java/org/glom/web/client/Utils.java: New file for some
632 client static utility methods.
633 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
634 the DataItem object to the Field class. Use a utility method to
635 create the foreignKeyValue string.
636 * src/main/java/org/glom/web/client/ui/details/Field.java: Set
637 alignment and text colours in the constructor. Add setData(DataItem)
638 method. Remove setText(String) method.
639 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
640 colour information to GlomTextCell. Create and use GlomNumberCell for
641 rendering numbers. Use utility method to get the string for the
642 primary key of the key provider. Re-work how the horizontal alignment
644 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
645 formatting to layout information. Methods for converting the libglom
646 formatting information were moved from DBAccess.
647 * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
648 numeric formatting (it's now done on the client side). Don't set text
649 colours in DataItem. Move libglom formatting conversion methods to
651 * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
652 getters/setters for text colour information.
653 * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
654 for transferring the libglom NumericFormat information to the client.
655 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
656 and getters/setters for: GlomNumericFormat, background colour and
657 foreground colour strings.
659 2011-09-26 Ben Konrath <ben@bagu.org>
661 Simplify code that iterates through the LayoutGroup.
663 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
665 2011-09-26 Ben Konrath <ben@bagu.org>
667 Accept Eclipse formatting for OnlineGlomServiceAsync.
669 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
671 2011-09-26 Ben Konrath <ben@bagu.org>
673 Don't use the ListDBAccess classes to get the primary key layout information.
675 This was causing a bug where the wrong index for the hidden primary key
676 was being sent to the client.
678 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
679 primary key while creating the LayoutGroup DTO. Create a
680 LayoutItemField DTO for hidden primary keys. Don't use the
681 RelatedListDBAccess because it was only used for getting the primary
683 * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
684 access modifier from public to protected for getPrimaryKeyField() and
685 getPrimaryKeyLayoutItemField().
686 * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
687 abstract method getExpectedResultSize() because RelatedListDBAccess
688 doesn't have enough info to implement it.
689 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
690 Remove @Override for getExpectedResultSize().
691 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
692 Remove method getExpectedResultSize().
694 2011-09-23 Ben Konrath <ben@bagu.org>
696 Log which layout (list or details) the ignored item is from.
698 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
700 2011-09-23 Ben Konrath <ben@bagu.org>
702 Remove annotations that turn off code formatting in DataItem.
704 * src/main/java/org/glom/web/shared/DataItem.java:
706 2011-09-23 Ben Konrath <ben@bagu.org>
708 Rename GlomField to DataItem and update associated methods.
710 This is a rename-only refactor. No functionality has been added or
713 * src/main/java/org/glom/web/client/OnlineGlomService.java:
714 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
715 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
716 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
717 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
718 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
719 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
720 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
721 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
722 * src/main/java/org/glom/web/server/database/DBAccess.java:
723 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
724 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
725 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
726 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
727 * src/main/java/org/glom/web/shared/DataItem.java:
728 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
729 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
731 2011-09-23 Ben Konrath <ben@bagu.org>
733 Rename GlomDocument to DocumentInfo and update associated methods.
735 This is a rename-only refactor. No functionality has been added or
738 * src/main/java/org/glom/web/client/OnlineGlomService.java:
739 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
740 * src/main/java/org/glom/web/client/activity/ListActivity.java:
741 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
742 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
743 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
744 * src/main/java/org/glom/web/shared/DocumentInfo.java:
746 2011-09-20 Ben Konrath <ben@bagu.org>
748 Require java-libglom 1.17.3.
750 This picks up the fix for the seg fault problem with the Scenes table
751 in the Openismus Film Manager example.
755 2011-09-20 Ben Konrath <ben@bagu.org>
757 Change the way sort clause is added for primary key when no sort clause is requested.
759 The primary key is now added to the LayoutFieldVector (fieldsToGet)
760 before the sort clause is created. When a sort clause is not requested, the
761 sort clause is created by finding the primary key in the LayoutFieldVector
764 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
766 2011-09-20 Ben Konrath <ben@bagu.org>
768 Log error message if no documents are found in the configured directory.
770 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
771 Extract the glom file extension string to a private static final class
772 variable (mostly as syntactic sugar). Accept a minor formatting change.
773 * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
774 the example glom.document.directory configuration property to make it
775 more clear that it can any directory, not just the home directory.
777 2011-09-18 Ben Konrath <ben@bagu.org>
779 Add related lists to details view.
781 The related list table has support for paging and sorting just like the
782 table in the list view.
784 * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
785 SQL queries for the related list tables.
786 * src/main/java/org/glom/web/client/OnlineGlomService.java:
787 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
788 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
789 Rename getList methods to getListView and add comments. Remove
790 getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
791 it being unused. Add methods: getDetailsLayoutAndData(),
792 getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
793 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
794 Create the layout and set the data for the fields in one async call
795 instead of two. Create related lists where appropriate.
796 * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
797 for method name changes in OnlineGlomService.
798 * src/main/java/org/glom/web/client/ui/DetailsView.java:
799 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
800 addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
802 * src/main/java/org/glom/web/client/ui/ListView.java:
803 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
804 tableName from setCellTable(). Create a ListViewTable instead of
806 * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
807 represent a data field in the details view.
808 * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
809 from addDetailsCell() to Field class. Keep track of the Fields and
810 Portals in the details view.
811 * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
812 a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
813 and add a method to get it. Add method to set the contents of the
815 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
816 New class for related list tables. This class has the data provider
817 for the related list table.
818 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
819 abstract class which is the base class for the ListViewTable and the
821 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
822 New class for list view tables. This class has the data provider for
824 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
825 methods for related list tables. Add more information to the
826 LayoutItemField and LayoutItemPortal DTOs.
827 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
828 Remove debugging print statement.
829 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
830 Remove debugging print statements. Add primary key field to SQL count
832 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
833 Remove unnecessary LayoutFieldVector parameter from
834 getResultSizeOfSQLQuery() method.
835 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
836 New class for related list table database access.
837 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
838 class that is a wrapper DTO for details view layout and data.
839 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
840 new 'fromField' string to this DTO.
841 * src/main/webapp/style.css: Remove bottom margin and override top
844 2011-09-15 Ben Konrath <ben@bagu.org>
846 Breakup the OnlineGlomServiceImpl class to make it more manageable.
848 This sets things up to make it easier to add the data retrieval for
849 related lists (portals). No user noticeable changes were made with
852 * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
853 class has the code to retrieve the layouts and access the
854 database using the new database helper classes.
855 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
856 Most of the functionality has been removed from this class. This
857 class now represents the public interface for the client side
858 code. It also deals with configuring the servlet and cleaning
859 things up when the servlet is stopped.
860 * src/main/java/org/glom/web/server/Utils.java: Extract a couple
861 of static methods into this utility class.
862 * src/main/java/org/glom/web/server/database/DBAccess.java:
863 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
864 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
865 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
866 These classes have the database retrieval code. The class hierarchy
867 has been setup to make it easy to reuse code for similar
870 2011-09-06 Ben Konrath <ben@bagu.org>
872 Create separate classes for list table code and the data provider.
874 As part of this refactor, I also split up the code a bit to make it
877 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
878 table code to two new classes (below).
879 * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
880 with code from ListViewImpl.
881 * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
882 New file with code from ListViewImpl.
884 2011-09-06 Ben Konrath <ben@bagu.org>
886 Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
888 This fixes the LayoutItemPortal DTO to match the libglom layout object
891 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
893 2011-09-01 Ben Konrath <ben@bagu.org>
895 Set title of Portals in the Details View.
897 * pom.xml: Bump required version of java-libglom to 1.17.1.
898 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
899 widget creation to its own class. Add comments to constructor.
900 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
901 The code is mostly from the Group class with the title now set.
902 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
903 title of Portal. Update some comments. Fix some code formatting.
905 2011-09-01 Ben Konrath <ben@bagu.org>
907 Remove TODO comment for the flow table column width.
909 The flow table column width is working correctly and doesn't need to be
910 changed. See this mailing list post for more info:
912 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
914 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
916 2011-08-27 Ben Konrath <ben@bagu.org>
918 Add document title (database name) to top of the browser page.
920 I added the document title to the TableSelecitonView but that will
921 change if / when we add a view that doesn't require table selection.
923 * mockups/details-contacts.html:
924 * mockups/details-projects.html:
925 * mockups/listview-contacts.html:
926 * mockups/listview-projects.html:
927 * mockups/style.css: Add document title to mockups to keep things
929 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
930 sizes to account for the document title.
931 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
932 Set the document title when it has been retrieved from the server.
933 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
934 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
935 and implement setDocumentTitle(String) method.
936 * src/main/webapp/style.css: Add ID for document title style.
938 2011-08-25 Ben Konrath <ben@bagu.org>
940 Add NavigationType enum to LayoutItemPortal DTO.
942 This is the start of adding support for Portals to the Details View.
944 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
945 LayoutItem_Portal.navigation_type enum from libglom to
946 LayoutItemPortal.NavigationType enum.
947 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
948 NavigationType enum, field for storing the NavigationType and getter
951 2011-08-25 Ben Konrath <ben@bagu.org>
953 Implement the flow table layout in the Details View.
955 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
956 FlowTable to Group to account for the renamed class.
957 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
958 File. This is a container widget that implements the Glom details view
959 flow table behaviour.
960 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
961 org/glom/web/client/ui/FlowTable.java.
962 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
963 so that the size of the subgroups are a closer match to the size of
964 the Glom subgroups. This makes the flowtable layout match the layout
965 in Glom for the Music Collection example file.
967 2011-08-16 Ben Konrath <ben@bagu.org>
969 Create container element for LayoutItemPortal in Details View.
971 This will help me develop the layout for the FlowTable.
973 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
974 fieldPanel variable to detailsCell.
976 2011-08-15 Ben Konrath <ben@bagu.org>
978 Set the height of the data element in the Details View.
980 I changed the InlineLabels (text in a span element) to Labels (text in
981 a div element) so that I could set the height of the details-data
982 elements instead of the details-cell parent elements. This allows the
983 the details-data element to display the correct height if style is
984 applied that shows the height.
986 This change has the added benefit of allowing the order of the labels
987 and data elements to be changed for right-to-left languages.
989 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
990 InlineLabels to Labels.
991 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
992 InlineLabels to Labels. Set the height of the data element.
993 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
994 multiline text height in the Formatting DTO.
995 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
996 for multiline height along with getter and setter methods.
997 * src/main/webapp/style.css: Adjust style to account for the change
998 from span elements to div elements in the details cell.
1000 2011-08-15 Ben Konrath <ben@bagu.org>
1002 Make the List View appearance match the mockups.
1004 It doesn't match exactly but it's much better than it was.
1006 * mockups/listview-contacts.html: Remove unused css classes.
1007 * mockups/listview-projects.html: Remove unused css classes.
1008 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
1009 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
1010 for mainPanel instead of VerticalPanel (table). Set style name on
1011 CellTable. Set style name on Details column. Right-align Details
1013 * src/main/webapp/style.css: Adjust properties to match the mockups.
1015 2011-08-12 Ben Konrath <ben@bagu.org>
1017 Add better support for subgroups in the details view.
1019 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
1020 changed FlowTable constructor.
1021 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
1022 support for subgroups and subgroup-titles.
1023 * src/main/webapp/style.css: Add CSS class for subgroups and
1026 2011-08-12 Ben Konrath <ben@bagu.org>
1028 Return the top level LayoutGroup title.
1030 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1032 2011-08-11 Ben Konrath <ben@bagu.org>
1034 Make the TableSelector header match the mockup.
1036 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
1037 the layout panel. Properly lineup the table selection header with
1038 the list and details view.
1039 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
1040 margin around the details view.
1041 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1042 Rename listBox variable to tableSelector. Set id for the style sheet.
1043 Use a FlowPanel instead of a HorizontalPanel.
1044 * src/main/webapp/style.css: Add properties to make the TableSelector
1045 box match the mockups.
1047 2011-07-13 Ben Konrath <ben@bagu.org>
1049 Update install script for java-libglom version change.
1051 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
1054 2011-07-13 Ben Konrath <ben@bagu.org>
1056 Add support sub-group in the details view.
1058 I also removed the code that special-cased the default details view
1061 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
1063 I still have to make a proper flowtable.
1065 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1066 Don't special-case default details view layout.
1067 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
1068 addLayoutField() as I'm going to use it.
1069 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
1070 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
1072 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
1073 extracted from DetailsViewImpl.GroupPanel. Add support for
1075 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1076 column count when getting the details layout.
1078 2011-07-12 Ben Konrath <ben@bagu.org>
1080 Set browser title with database and table titles.
1082 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1083 Set the browser title when the table changes and when the activity
1085 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1086 title when retrieving document info (the GlomDocument object).
1087 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
1088 with getter and setter methods. Remove unused convenience constructor.
1089 Use default code formatting.
1091 2011-07-12 Ben Konrath <ben@bagu.org>
1093 Ignore LayoutItemPortals in the details view.
1095 I added a new DTO for the LayoutItemPortal so that I can ignore it in
1098 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
1099 LayoutItemPortal layout objects.
1100 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1101 LayoutItemPortal objects when retrieving the details layout.
1102 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
1103 file. This is an empty class and just used to get type information for
1106 2011-07-12 Ben Konrath <ben@bagu.org>
1108 Use java-libglom 1.17.0.
1112 2011-07-11 Ben Konrath <ben@bagu.org>
1114 Remove "Table:" label from table selector.
1116 This matches a recent change in the Glom UI.
1118 * mockups/details-contacts.html:
1119 * mockups/details-projects.html:
1120 * mockups/listview-contacts.html:
1121 * mockups/listview-projects.html: Remove the "Table:" label from the
1123 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1125 2011-07-11 Ben Konrath <ben@bagu.org>
1127 Add main groups to the details view.
1129 This makes things look a little nicer in the details view. The next step
1130 is to implement the flowtable.
1132 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
1133 resources from the standard gwt css theme. Standard.css is now
1134 included in OnlineGlom.html so that the online glom css rules have
1135 precedence over the gwt theme.
1136 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
1137 the whole LayoutGroup to the DetailsView instead of just the titles.
1138 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1139 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
1140 details layout with a helper class (GroupPanel). I might extract this
1141 class when I make the full flowtable.
1142 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
1143 string as default so I don't have to worry about NPEs when processing
1145 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
1146 note beside OnlineGlom.gwt.xml above).
1147 * src/main/webapp/style.css: Add default font-size to body to override
1148 the font-size set by the standard theme. Don't use h2 tags for
1149 group-title. Create new details-cell class.
1151 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1153 ConfiguredDocument: Set the port number too.
1155 * src/main/java/org/glom/web/server/ConfiguredDocument.java
1156 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
1157 Glom document. Presumably this worked sometimes so far because there is a
1158 default port number.
1160 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1162 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
1164 * src/main/java/org/glom/web/server/ConfiguredDocument.java
1165 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
1166 correct, though we should throw an exception too.
1168 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1170 Fix a addDocuemnt typo.
1172 * src/main/java/org/glom/web/shared/Documents.java
1173 (Documents.addDocuemnt): Rename to addDocument().
1174 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
1175 (OnlineGlomServiceImpl.getDocuments): Adapt.
1177 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1179 Slightly improved log output when connection fails.
1181 * src/main/java/org/glom/web/server/ConfiguredDocument.java
1182 (ConfiguredDocument.setUsernameAndPassword):
1183 We don't know for sure if it' the username/password that's wrong, so
1184 rephrase the message.
1185 Also ouput the exception message, though it's generic in this case.
1187 2011-07-08 Ben Konrath <ben@bagu.org>
1191 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
1192 added braces to a one line if statement because the Eclipse formatter
1193 was getting confused.
1195 2011-07-07 Ben Konrath <ben@bagu.org>
1197 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
1199 These should really be two separate tasks but I counldn't get things to
1200 work with GWT 2.2.0 and Eclipse 3.7.
1204 * .settings/org.eclipse.jdt.core.prefs:
1205 * .settings/org.eclipse.jdt.ui.prefs:
1206 * .settings/org.eclipse.ltk.core.refactoring.prefs:
1207 * .settings/org.eclipse.m2e.core.prefs:
1208 Add new config files. Update current files. Remove references to the
1209 webtools plugins as we're not using any of the webtools features.
1210 * .gitignore: Add logs directory which is created when running with
1212 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
1213 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
1214 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
1216 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
1218 2011-07-07 Murray Cumming <murrayc@murrayc.com>
1220 onlineglom.properties: Add explanatory comments.
1222 * src/main/resources/onlineglom.properties: Also change the default user
1223 from ben to someuser, to avoid the risk of people thinking we just
1224 stupidly hard-coded a locale path, when they see that on stderr or in a log.
1226 2011-06-28 Ben Konrath <ben@bagu.org>
1228 Use filename in Log for incorrect passwords.
1230 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
1231 getFileName(String) method to get the filename from the URI.
1233 2011-06-28 Ben Konrath <ben@bagu.org>
1235 Add the table name to the URL token for the ListPlace.
1237 This makes things consistent between the DetailsPlace and the
1238 ListPlace. It also allows the the ListPlace to be bookmarked.
1240 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1241 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1242 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1243 Remove getDefaultListLayout(). The default layout is now returned
1244 by the getListLayout() method when the table name is an empty string.
1245 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1246 Add table name field. Change to a new ListPlace when the table
1247 has been changed. Use getListLayout() for getting the default
1249 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1250 Add table name field. Set the correct table name in the list box
1251 when loading from bookmark. This corrects a problem for the
1253 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1254 Move table name to super-class (HasSelectableTable). Move document
1255 and table URL keys to super-class in HasSelectableTable.
1256 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1257 Add table name field. Add Tokenizer class with URL key common to
1258 the subclasses (DetailsPlace and ListPlace).
1259 * src/main/java/org/glom/web/client/place/ListPlace.java:
1260 Add table name. Add code to parse the URL token.
1261 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1262 Update ListPlace construction with empty table name string.
1263 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1264 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1265 Change setTableSelectedIndex(int) to setSelectedTableName(String).
1266 Update ListPlace construction with table name string.
1267 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1268 Change defaultTableName field to tableName to reflect how it's now
1269 used. Update the getter and setter methods.
1271 2011-06-28 Ben Konrath <ben@bagu.org>
1273 Enable the table selector in the DetailsView.
1275 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1276 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1277 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1278 Remove getDefaultDetailsLayout(). The default layout is now returned
1279 by the getDetailsLayout() method when the table name is an empty
1281 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
1282 event handler for table change event. Change to using
1283 getDetailsLayout() for the default details layout.
1284 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
1286 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
1287 when navigating to the details place.
1289 2011-06-27 Ben Konrath <ben@bagu.org>
1291 Use filename based unique document ID in URL and for RPC.
1293 The document ID is the glom document name with spaces (' ') replaced
1294 with pluses ('+') and without the .glom extension.
1296 This change is mostly a string substitution of 'documentTitle' for
1297 'documentID'. The only code change is the addition of a Documents DTO to get the
1298 filename to document title mappings as indicated below.
1300 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1301 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1302 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1303 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1304 Use Documents DTO to create the document links in the document
1306 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1307 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1308 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1309 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1310 * src/main/java/org/glom/web/client/place/ListPlace.java:
1311 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1312 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1313 * src/main/java/org/glom/web/client/ui/ListView.java:
1314 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1315 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1316 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1317 * src/main/java/org/glom/web/server/Log.java:
1318 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1319 getDocumentTitles() to getDocuments() and return the Documents DTO.
1320 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
1321 transferring the filename to document title mappings.
1323 2011-06-25 Ben Konrath <ben@bagu.org>
1325 Make the authentication popup work again.
1327 This bug was introduced when I extracted ConfiguredDocument to its own class.
1329 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
1330 correct success / fail status in setUsernameAndPassword().
1332 2011-06-25 Ben Konrath <ben@bagu.org>
1334 Use filename as unique key for configuring database usernames and passwords.
1336 This replaces the use of the Glom document title which could change
1337 depending on the locale. Thanks to Murray Cumming for pointing out this
1340 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1341 * src/main/resources/onlineglom.properties:
1343 2011-06-24 Ben Konrath <ben@bagu.org>
1345 Pass primary key value to DetailsView.
1347 This enables the DetailsView to load the correct data.
1349 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
1350 primary key value field and set in constructor. Pass primary key
1351 value to getDetailsData().
1352 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
1353 variables for document title and primary key value.
1354 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
1355 key value to the DetailsPlace.
1357 2011-06-24 Ben Konrath <ben@bagu.org>
1359 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
1361 This allows the primary key to be retrieved by the Details button. This
1362 functionality has not been implemented yet but it's in the works.
1364 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
1365 the LayoutGroup result to ListView.setCellTable instead of all of its
1366 fields individually.
1367 * src/main/java/org/glom/web/client/ui/ListView.java:
1368 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
1369 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
1370 get the primary key for the table.
1371 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1372 index of the primary key in the LayoutGroup accounting for hidden
1373 primary keys. Rename getJavaNumberFormat() to
1374 convertToJavaNumberFormat() for consistency. Cleanup / add some
1376 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
1377 field for primary key index and a field to indicate whether the
1378 primary key is hidden or not.
1380 2011-06-23 Ben Konrath <ben@bagu.org>
1382 Rename getTableData methods to getListData.
1384 This is a rename refactor for consistency with other methods.
1386 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1387 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1388 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1389 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1391 2011-06-23 Ben Konrath <ben@bagu.org>
1393 Extract the ConfiguredDocument innerclass into its own class.
1395 This makes the servlet code more object oriented.
1397 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
1398 from private ConfiguredDocument class in OnlineGlomServiceImpl.
1399 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
1400 new ConfiguredDocument class.
1402 2011-06-21 Ben Konrath <ben@bagu.org>
1404 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
1406 This makes things more inline with how libglom works and reduces code
1407 duplication. This refactor lays the groundwork for adding the primary key to
1408 the LayoutGroup object.
1410 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1411 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1412 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1413 Change method names to getListLayout and getDefaultListLayout for
1414 consistency. Use LayoutGroup as the DTO for the list layout instead of
1415 ColumnInfo and LayoutListTable.
1416 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
1417 new method names along with the LayoutGroup object for transferring the
1419 * src/main/java/org/glom/web/client/ui/ListView.java:
1420 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1421 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
1422 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
1424 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
1425 Replaced with LayoutGroup.
1426 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
1427 expectedResultSize and defaultTableName fields which are needed for
1429 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
1430 type field which is needed for the list layout but will also be
1431 useful for the details layout as things progress.
1432 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1433 Make class abstract. Remove the unnecessary
1434 getFormattingHorizontalAlignment method. Add setFormatting method.
1436 2011-06-16 Ben Konrath <ben@bagu.org>
1438 Add scripts for building and installing war.
1440 These will help when updating OnlineGlom but they're also good
1441 supplemental documentation of the build and deployment proceeding.
1443 * utils/build-onlineglom-war.sh: New file.
1444 * utils/install-onlineglom-war.sh: New file.
1446 2011-06-16 Ben Konrath <ben@bagu.org>
1448 Create wrapper class to create consistent log messages.
1450 I wrapped methods in the Log class of gwt-log to add the method names
1451 from the servlet and create consistent formatting of the document title
1452 and table names in the log messages.
1454 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
1455 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
1456 log methods to use methods from wrapped Log class.
1458 2011-06-16 Ben Konrath <ben@bagu.org>
1460 Remove superfluous conditional return.
1462 Thanks to Murray Cumming for pointing this out!
1464 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1466 2011-06-15 Ben Konrath <ben@bagu.org>
1468 Return an ArrayList of LayoutGroups for the Details layout.
1470 This corrects a problem with the details layout as it can have more
1471 than one top level LayoutGroup.
1473 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1474 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
1475 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
1476 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
1477 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
1478 with ArrayList of LayoutGroups for the details view layout.
1479 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1480 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
1481 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
1482 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
1483 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
1484 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
1486 2011-06-14 Ben Konrath <ben@bagu.org>
1488 Use cast_dynamic method to determine the libglom LayoutItem type.
1490 This is better than finding the LayoutItem type by using the string
1491 returned from the get_part_type_name() method.
1493 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1495 2011-06-14 Ben Konrath <ben@bagu.org>
1497 Add method names to log entries in the servlet.
1499 This helps when tracking down deployment problems.
1501 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1503 2011-06-14 Ben Konrath <ben@bagu.org>
1505 Add data to the DetailsView using a hard-coded primary key value.
1507 The layout and functionality of the DetailsView is not complete. This
1508 is just a checkpoint so the patch doesn't get too big.
1510 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1511 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1512 Add getDetailsData() servlet method.
1513 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1514 Add RPC to getDetailsData(). Change the way the LayoutGroups and
1515 LayoutFields are added to the DetailsView.
1516 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1517 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1518 Add setData() method. Change addLayoutGroup() and addLayoutField() to
1519 take the string for the title instead of the object.
1520 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1521 Add implementation getDetailsData() along with some private helper
1523 * src/main/webapp/style.css: Add padding to details-data class. Add a
1524 details-label class with the same padding as the details-data class.
1526 2011-06-03 Ben Konrath <ben@bagu.org>
1528 Use presenter.goTo() to change to the DetailsPlace.
1530 This will make things easier when we need to open the DetailsView with
1531 data specific to the row that was clicked.
1533 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1535 2011-06-02 Ben Konrath <ben@bagu.org>
1537 Add CSS file from mockups.
1539 I'm adding this now because it's going to be useful to have when
1540 developing the DetailsView. The TableSelectionView and ListView aren't
1543 * src/main/webapp/OnlineGlom.html:
1544 * src/main/webapp/style.css:
1546 2011-06-02 Ben Konrath <ben@bagu.org>
1548 Use String.isEmpty() to check for empty string.
1550 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1552 2011-06-02 Ben Konrath <ben@bagu.org>
1554 Display main layout group titles in the DetailsView.
1556 This is the start of the DetailsActivity/DetailsView implementation.
1558 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1559 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1560 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
1561 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1562 Get the layout information for the details view from the server and set
1563 the main layout group titles.
1564 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1565 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1566 Add addLayoutGroup() and addLayoutField() methods. This are just
1567 temporary methods for creating the the details view that will change
1569 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1570 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
1572 * src/main/java/org/glom/web/shared/layout/Formatting.java:
1573 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1574 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
1575 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
1576 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1577 Data Transfer Objects that mimic the libglom object structure. These are
1578 used for transferring the details layout but could also be used for
1579 transferring the list layout.
1581 2011-05-27 Ben Konrath <ben@bagu.org>
1583 Reset the AuthenticationPopup when clearing the ListView.
1585 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1587 2011-05-27 Ben Konrath <ben@bagu.org>
1589 Fix problem with onlineglom.properties file loading.
1591 The old way worked in Eclipse but not on the server. Loading the
1592 onlineglom.properties file now works in Eclipse and on the server.
1594 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1596 2011-05-24 Ben Konrath <ben@bagu.org>
1598 Update gwt-log from 3.1.0 to 3.1.2.
1600 Gwt-log 3.1.0 has been marked as depreciated.
1604 2011-05-24 Ben Konrath <ben@bagu.org>
1606 Add comment to ListActivity.goTo() method.
1608 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1610 2011-05-24 Ben Konrath <ben@bagu.org>
1612 Remove FIXME in convertGdkColorToHtmlColour()
1614 The Gdk::Color value returned by libglom is 16-bits per channel on both
1615 64 and 32-bit platforms.
1617 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1619 2011-05-19 Ben Konrath <ben@bagu.org>
1621 Improve performance of initial ListView load.
1623 I removed a round trip to the server for getting the default table name
1624 and then requesting information about that table. This also removes a potential
1625 problem with the table change handler not being setup in time to receive the
1626 table change event from the ListActivity.
1628 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1629 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1630 getDefaultLayoutListTable() method. Improve comments.
1631 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1632 getDefaultLayoutListTable() method instead of firing a table change
1633 event to get the table to load.
1634 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1635 implementation of getDefaultLayoutListTable() method.
1636 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1639 2011-05-19 Ben Konrath <ben@bagu.org>
1641 Override toDebugString() in TableChangeEvent.
1643 This is useful to have for debugging.
1645 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1647 2011-05-19 Ben Konrath <ben@bagu.org>
1649 Add a "Back to List" link when at the DetailsPlace.
1651 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1652 Populate the CellTable based on the selected table of the ListBox if
1653 it's set otherwise use the default table. This allows the "Back to
1655 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1656 Remove Place from constructors. Add a setPlace() method. Add
1657 goToPlace() method. Set class as presenter for TableSelectionView.
1658 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1659 Use the same TableSelectionActivity when switching between the List and
1661 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1662 Subclass the new HasSelectableTablePlace. This removes some duplicate
1664 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1665 New class to represent Places that display the TableSelectionView.
1666 * src/main/java/org/glom/web/client/place/ListPlace.java:
1667 Subclass the new HasSelectableTablePlace. This removes some duplicate
1669 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1670 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1671 Add Presenter interface. Add setBackLinkVisible() method. Add
1672 setBackLink() method.
1674 2011-05-18 Ben Konrath <ben@bagu.org>
1676 Enable the "Details" buttons.
1678 Right now only an empty details view is displayed.
1680 * src/main/java/org/glom/web/client/ClientFactory.java:
1681 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1682 Add DetailsView to ClientFactory.
1683 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1684 A basic activity for the details view.
1685 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1686 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
1688 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1689 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
1691 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1692 Create a new DetailsActivity when a DetailsPlace is requested. Remove
1693 unnecessary super() in constructor.
1694 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1695 Create a new TableSelectionActivity when a DetailsPlace is requested. We
1696 really shouldn't create a new TableSelectionActivity for both the ListPlace
1697 and the DetailsPlace so this should be considered a temporary solution.
1698 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1699 New file. Represents a URL for the details view.
1700 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1701 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1702 A basic details view interface and implementation.
1703 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1704 Enable the "Details" buttons.
1706 2011-05-12 Ben Konrath <ben@bagu.org>
1708 Use a LayoutPanel with multiple display areas for main layout.
1710 This is mostly a refactor in that there are no changes from the user
1711 point of view. These changes are required so that we can swap out the list view
1712 with the details view when the user clicks the "Details" button.
1714 * src/main/java/org/glom/web/client/ClientFactory.java:
1715 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1716 OnlineGlomView. Add TableSelectionView, ListView and
1717 AuthenticationPopup.
1718 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
1719 for main layout. Add display regions for main activities. Add
1720 activity manager for for main activities.
1721 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
1722 file from parts of the deleted OnlineGlomActivity.
1723 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1724 New file from parts of the deleted OnlineGlomActivity.
1725 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1726 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
1727 New files for app wide table change event.
1728 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1729 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
1730 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1731 Activity mappers for the main activities replace the deleted app-wide
1733 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
1734 Fix a spelling error in he comment.
1735 * src/main/java/org/glom/web/client/ui/ListView.java:
1736 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1737 Renamed from LayoutListView and modified for MVP. This still not a
1738 proper dumb view as prescribed by the MVP pattern but it works for now.
1739 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1740 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1741 New widget stripped out of the deleted OnlineGlomView.
1742 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1743 Remove hack that is fixed by this patch.
1745 2011-05-06 Ben Konrath <ben@bagu.org>
1747 Rename OnlineGlomPlace to ListPlace.
1749 The only change besides the rename is that url will now display #list
1750 instead of #Document.
1752 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1753 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1754 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1755 * src/main/java/org/glom/web/client/place/ListPlace.java:
1756 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1758 2011-05-06 Ben Konrath <ben@bagu.org>
1760 Use Presenter for app navigation.
1762 This is the proper way to deal with Place (URL) changes with the MVP
1765 * src/main/java/org/glom/web/client/ClientFactory.java:
1766 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1767 PlaceHistoryMapper and PlaceHistoryHandler.
1768 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
1769 PlaceHistoryMapper and PlaceHistoryHandler.
1770 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1771 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
1772 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1773 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1774 Add Presenter interface and setPresenter methods. Rename addHyperLink
1775 to addDocumentLink taking only the document title as a parameter.
1777 2011-04-14 Ben Konrath <ben@bagu.org>
1779 Prompt for db username/password if they haven't been set.
1781 This is implemented with a popup widget that is contained within the
1782 OnlineGlomView and managed by the OnlineGlomActivity.
1784 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
1785 methods for checking and setting the database username and password.
1786 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
1787 new methods for checking and setting the database username and
1789 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1790 Display authentication popup if the JDBC connection to the database
1791 has not been authenticated.
1792 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
1794 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1795 for dealing with the authentication popup.
1796 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
1797 Implement the methods for dealing with the authentication popup.
1798 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
1799 try to executed queries if the database connection hasn't been
1800 authenticated. Implement methods for checking and setting the
1801 database username and password.
1803 2011-04-12 Ben Konrath <ben@bagu.org>
1805 Make log messages a little clearer.
1807 Add a dash betweeen the document title and the table name.
1809 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1811 2011-04-12 Ben Konrath <ben@bagu.org>
1813 Protect against NPEs when cleaning up database resources.
1815 While this isn't strictly necessary because the exception is caught,
1816 not protecting against the NPEs makes it harder to find the real error
1819 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1821 2011-04-12 Ben Konrath <ben@bagu.org>
1823 Move configuration of the servlet to the constructor.
1825 The servlet will be initialized even if the database authentication
1826 information is not set or correct. I still need to add the UI for prompting
1827 the user for the authentication information when it's required.
1829 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1830 javadocs for getDocumentTitles() method.
1831 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1832 Set error message when RPC fails.
1833 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
1834 glom files directory from the configuration file. Try to set the
1835 database authentication information for the specific document if it's
1836 set and works otherwise try to use the global authentication
1837 information set for the directory.
1838 * src/main/resources/onlineglom.properties: Moved from
1839 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
1840 Added detailed comments for the new keys.
1842 2011-04-11 Ben Konrath <ben@bagu.org>
1844 Remove unnecessary @Override in DocumentSelectionViewImpl.
1846 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1848 2011-04-11 Ben Konrath <ben@bagu.org>
1850 Remove center alignment in DocumentSelectionView.
1852 The title element is still centred but the document titles and bottom
1853 sentence are both left-aligned.
1855 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1857 2011-04-11 Ben Konrath <ben@bagu.org>
1859 Change 'Demo' naming convention to 'Document'.
1861 This is just a rename refactor with no functional changes to the code.
1863 * src/main/java/org/glom/web/client/ClientFactory.java:
1864 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1865 * src/main/java/org/glom/web/client/OnlineGlom.java:
1866 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1867 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1868 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1869 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1870 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1871 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1872 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1873 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1874 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1875 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1877 2011-04-08 Ben Konrath <ben@bagu.org>
1879 Remove FIXME from safeLongToInt() method.
1881 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1884 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1886 2011-04-08 Ben Konrath <ben@bagu.org>
1888 Display an error if no glom documents are found in the specified directory.
1890 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1891 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1892 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1893 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1895 2011-04-08 Ben Konrath <ben@bagu.org>
1897 Add copyright header to one more file ... oops.
1899 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1901 2011-04-08 Ben Konrath <ben@bagu.org>
1903 Add copyright header to files without it.
1905 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1906 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1907 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1908 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1909 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1910 * src/main/java/org/glom/web/shared/GlomField.java:
1912 2011-04-08 Ben Konrath <ben@bagu.org>
1914 Add support for accessing multiple glom documents in the servlet.
1916 This completes the demo selection functionality.
1918 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1919 document title to methods.
1920 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1921 document title to methods.
1922 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1923 Set browser window title when the activity starts. Correct name of
1924 document title variable.
1925 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1926 Set browser window title when the activity starts. Set the table
1927 selector change handler after table selector has been set. Clear the
1928 OnlineGlomView when the activity has been stopped.
1929 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1930 document title as the place token. Use "#Document:" instead of
1931 "#OnlineGlomPlace:" in the URL.
1932 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1933 Change heading to "Online Glom"
1934 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1935 document title in RPC methods.
1936 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1937 setDocumentTitle() method. Add clear() method.
1938 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1939 setDocumentTitle() method. Implement clear() method which removes the
1940 change handler on the ListBox, clears the ListBox and clears the
1942 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1943 Implement methods with document title. Keep track for the configured
1944 glom documents and their corresponding JDBC configurations in a hash
1945 table. This information is retrieved using the document title as the
1946 key in the hash table.
1947 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1948 document title field as it's no longer needed.
1950 2011-04-08 Ben Konrath <ben@bagu.org>
1952 Update the Eclipse JDT configuration.
1954 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1955 methods. Automatically add the copyright header to new files.
1957 2011-04-05 Ben Konrath <ben@bagu.org>
1959 Add new page for demo selection.
1961 This patch adds all the components required to view and start an
1962 OnlineGlom demo by clicking on the desired hyperlink. The user is
1963 able to return to the demo selection page with the browser's back
1964 button. I still need to modify the servlet to work with multiple
1965 documents so all demo links will load the file defined in the
1966 OnlineGlom.properties.
1968 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1969 This is only useful during development so we don't need to save it.
1970 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1971 get a reference to the DemoSelectionView.
1972 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1973 method to get a reference to the DemoSelectionView.
1974 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1975 default view to DemoSelectionView.
1976 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1977 to get glom document titles for glom files in a hard-coded directory.
1978 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1979 method to get glom document titles for glom files in a hard-coded
1981 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1982 Presenter for DemoSelectionView.
1983 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1984 for DemoSelectionView.
1985 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1986 Update for DemoSelectionView.
1987 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1988 Basic 'Place' implementation for the DemoSelectionView.
1989 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1990 The interface for the DemoSelectionView.
1991 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1992 The implementation of the DemoSelectionView.
1993 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1994 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1995 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1996 implementation of method to get glom document titles for glom files
1997 in a hard-coded directory.
1998 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1999 on longer being used.
2000 * src/main/webapp/glom.png: Glom logo.
2002 2011-04-05 Ben Konrath <ben@bagu.org>
2004 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
2006 This is the forth and final commit of a refactor that will allow
2007 OnlineGlom to be used with multiple documents.
2009 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2010 Move RPC code from OnlineGlomViewImpl to this class.
2011 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
2013 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
2014 RPC code to the presenter class (the P in MVP).
2016 2011-04-04 Ben Konrath <ben@bagu.org>
2018 Start moving the existing OnlineGlom code to MVP.
2020 This work is based on the GWT MVP framework that is documented here:
2022 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
2024 This is the third commit of a refactor that will allow OnlineGlom to
2025 be used with multiple documents.
2027 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
2028 Interface for client factory which is used to get instances of various
2029 classes throughout the app.
2030 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
2031 Implementation of client factory.
2032 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
2033 initialize the MVP framework.
2034 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2035 New file. Activity manager for the main container widget. This is the
2037 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
2038 Maps place (URL) to its corresponding activity.
2039 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2040 New file. This is just a place holder for a generated file.
2041 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
2042 New file. Represents the URL for the main Online Glom app.
2043 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
2044 for changes in LayoutListViewImpl.
2045 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
2046 interface for View. Move code to OnlineGlomViewImpl class.
2047 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
2048 file. Implementation of OnlineGlomView.
2049 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
2050 Place resources. Use ClientFactoryImpl by default.
2052 2011-04-04 Ben Konrath <ben@bagu.org>
2054 Move View classes to their own package.
2056 This is the second commit of a refactor that will allow OnlineGlom to
2057 be used with multiple documents.
2059 * src/main/java/org/glom/web/client/OnlineGlom.java:
2060 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
2061 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
2063 2011-04-02 Ben Konrath <ben@bagu.org>
2065 Move UI code from the main module to its own class.
2067 This is the first commit of a refactor that will allow OnlineGlom to be
2068 used with multiple documents.
2070 * src/main/java/org/glom/web/client/LayoutListView.java: Update
2071 references to OnlineGlom to OnlineGlomView.
2072 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
2073 OnlineGlomView and instantiate it here.
2074 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
2075 represents the main OnlineGlomView with one document.
2077 2011-04-01 Ben Konrath <ben@bagu.org>
2079 Fix formatting of gwt.xml and add DTD.
2081 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2083 2011-03-30 Ben Konrath <ben@bagu.org>
2085 Propperly convert gdkColor string to html colour string.
2087 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2089 2011-03-28 Ben Konrath <ben@bagu.org>
2091 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
2093 This implementation matches
2094 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
2095 readable and is not tied to Swig.
2097 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2099 2011-03-28 Ben Konrath <ben@bagu.org>
2101 Use read-only checkboxes for boolean field types.
2103 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
2104 in the CellTable based on the field type. It currently only
2105 distinguishes between boolean and text columns but I'll need to add
2106 support for more types.
2107 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
2108 column type in the ColumnInfo object. Add method to convert between the
2109 glom field type enum in ColumnInfo and the glom field type in libglom.
2110 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
2112 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
2113 getting and setting booleans.
2115 2011-03-25 Ben Konrath <ben@bagu.org>
2117 Don't get the Date twice from the ResultSet.
2119 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2121 2011-03-25 Ben Konrath <ben@bagu.org>
2123 Cleanup code in the servlet.
2125 * TODO: Remove item about row count. Add item about testing row count
2126 query with large number of rows.
2127 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
2128 spelling mistakes, change method parameter to be consistent with
2131 2011-03-25 Ben Konrath <ben@bagu.org>
2133 Add server side logging with the gwt-log library.
2135 * .gitignore: Ignore the log file we're now producing.
2136 * TODO: Add a couple TODO item for logging.
2137 * pom.xml: Add gwt-log and log4j as a dependency.
2138 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2139 logging of errors, warnings and some important info.
2140 * src/main/resources/log4j.properties: New file to configure log4j.
2142 2011-03-24 Ben Konrath <ben@bagu.org>
2144 Add a disable button for the Details view.
2146 * src/main/java/org/glom/web/client/LayoutListView.java:
2148 2011-03-22 Ben Konrath <ben@bagu.org>
2150 Use a count query to get the number of rows for the list view pager.
2152 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2154 2011-03-22 Ben Konrath <ben@bagu.org>
2156 Add more TODO information about CellTable pager positioning.
2160 2011-03-19 Ben Konrath <ben@bagu.org>
2162 Add TODO item about CellTable pager positioning.
2166 2011-03-18 Ben Konrath <ben@bagu.org>
2168 Remove unneeded GlomFieldColumn class.
2170 This is just a small code cleanup.
2172 * src/main/java/org/glom/web/client/LayoutListView.java:
2174 2011-03-18 Ben Konrath <ben@bagu.org>
2176 Use cursor mode in the query that gets data for the list view.
2178 I still need to fix the potential memory problem when getting the row
2179 count for the list view.
2181 * TODO: Add note about testing memory usage with large data sets. Add
2182 item about fixing row counting with large data sets.
2183 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
2184 PostgreSQL JDBC driver into cursor mode when getting data for the
2187 2011-03-15 Ben Konrath <ben@bagu.org>
2189 Remove the GWT Container from the Eclipse build classpath.
2191 The GWT dependencies are set by Maven so this isn't needed.
2195 2011-03-15 Murray Cumming <murrayc@murrayc.com>
2197 Added some earlier mockups to git, but not to the tarball dist.
2199 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
2200 Openismus. These hopefully show how we might structure the HTML so that
2201 it can be styled easily with CSS. However, we probably need to adapt them
2202 for the CSS structure that GWT dictates for common widgets.
2204 2011-03-14 Ben Konrath <ben@bagu.org>
2206 Locate OnlineGlom.properties using the ServletContext.
2208 This is required to be able to locate the file in the deployed servlet.
2210 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2211 Configure the database and glom document in in a helper method so
2212 that the ServletContext can be used to locate OnlineGlom.properties.
2213 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
2214 src/main/webapp. This is the proper location for .properites files.
2216 2011-03-12 Ben Konrath <ben@bagu.org>
2218 Add note to README about why we're compiling down to obfuscated JavaScript.
2222 2011-03-11 Ben Konrath <ben@bagu.org>
2224 Use properties file to configure servlet.
2226 This allows people to change the glom file path, db username and db
2227 password without recompiling the code.
2229 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2230 * src/main/webapp/OnlineGlom.properties:
2232 2011-03-11 Ben Konrath <ben@bagu.org>
2234 Use table fields in layout list view if the layout list is not defined.
2236 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2237 Manually create a LayoutFieldVector for the query builder using the
2238 table fields when a layout list is not defined in the glom file.
2240 2011-03-11 Ben Konrath <ben@bagu.org>
2242 Only show FIXME string for images when there's an image.
2244 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
2245 in this change are some small code cleanups.
2247 2011-03-11 Ben Konrath <ben@bagu.org>
2249 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
2251 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2253 2011-03-11 Ben Konrath <ben@bagu.org>
2255 Correctly set the index of the default table.
2257 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2258 Correctly set the index of the default table. Add commented out example
2261 2011-03-10 Ben Konrath <ben@bagu.org>
2263 Add comment to pom.xml about the previous change.
2265 * pom.xml: Add comment about the deployment issue so that it's obvious
2266 why java-libglom is set to the provided scope.
2268 2011-03-10 Ben Konrath <ben@bagu.org>
2270 Change java-libglom dependency from compile to provided in pom.xml.
2272 Since java-libglom uses jni it can only be loaded once and therefore
2273 must be placed in $CATALINA_HOME/lib and not included in each war.
2274 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
2275 More information about this issue can be found in the Tomcat 6 release
2276 notes in the "JNI Based Applications" section:
2278 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
2280 * README: Remove note about this issue. Deployment info should really
2281 be on the wiki anyway so I'll add it right now.
2282 * pom.xml: Change java-libglom dependency from compile to provided so
2283 that it's copied in to the packaged war.
2285 2011-03-09 Ben Konrath <ben@bagu.org>
2287 Change to using a neutral locale for currency, date and time formatting.
2289 This solves the problem of currency values being represented without a
2290 space between the currency code and the number (e.g. "EUR5.89" is now
2291 represented as "EUR 5.89"). More work is required when we implement
2292 a locale preference setting.
2294 * TODO: Add note about currency formatting issues with different
2296 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2297 to using the neutral ROOT locale.
2299 2011-03-09 Ben Konrath <ben@bagu.org>
2301 Add support for currency codes that are not ISO 4217 codes.
2303 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2304 the currency code defined in the glom file when it's not 3 characters
2305 long or when Java doesn't recognize the string as an ISO 4217 code.
2307 2011-03-08 Ben Konrath <ben@bagu.org>
2309 Remove test classes, launch configurations and configuration.
2311 The test stuff was getting in the way when creating the war. To make
2312 the war file you can now do 'mvn clean package'. The packaged war file
2313 will be in the target directory.
2315 * .classpath: Remove unused classpathentry for tests and i18n.
2316 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
2317 property. Don't run test or i18n goals when packaging the war.
2318 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
2323 * OnlineGlomTest-dev.launch:
2324 * OnlineGlomTest-prod.launch:
2325 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
2326 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2328 2011-03-07 Ben Konrath <ben@bagu.org>
2330 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
2332 These fixes allow me to use 'mvn deploy' to create the war file.
2334 * .classpath: This generated config has been updated by Eclipse. This
2335 change was probably triggered by me updating from Eclipse 3.6.1 to
2337 * .gitignore: Add entry to ignore the directory
2338 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
2339 * .project: The generated config has been updated by Eclipse. This
2340 change was probably triggered by me updating from Eclipse 3.6.1 to
2342 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
2343 so that Eclipse doesn't complain
2344 * pom.xml: Update to gwt-maven-plugin 2.2.0.
2345 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
2346 'tests' directory to 'client' directory. This is the new
2347 gwt-maven-plugin convension.
2348 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
2349 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
2351 2011-03-07 Ben Konrath <ben@bagu.org>
2353 Add support for horizontal alignment in the LayoutList columns.
2355 * TODO: Remove item about horizontal alignment. Add item about
2356 improvements to ColumnInfo.
2357 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
2358 alignment on the columns. Use ColumnInfo RPC object get the column
2359 title and horizontal alignment.
2360 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2361 LayoutListView creation with ColumnInfo RPC object.
2362 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
2363 a ColumnInfo object for every LayoutList columnn. Convert the
2364 FieldFormatting.HorizontalAlignment to the correct
2365 ColumnnInfo.HorizontatlAlignment with the new
2366 getColumnInfoHorizontalAlignment helper method.
2367 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
2368 to encapsulate column information like alignment and title. This
2369 could be used to set the colour instead of on a per cell field basis.
2370 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
2371 column title storage and retrieval with ColumnInfo.
2373 2011-03-04 Ben Konrath <ben@bagu.org>
2375 Add support for column sorting.
2377 * src/main/java/org/glom/web/client/LayoutListView.java: Change
2378 AsynDataProvider to be an anonymous inner class. Use new
2379 getSortedTableData RPC method when column sort is requested. Set all
2380 columns sortable and add an AsyncHandler to activate sorting in the
2382 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
2383 method getSortedTableData(). Cleanup other method signatures.
2384 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
2385 new method getSortedTableData(). Cleanup other method signatures.
2386 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2387 Implement getSortedTableData() and getTableData() methods by using a
2388 private helper method with the appropriate parameters filled in. Use
2389 user supplied sort clause when supplied, otherwise fall back to
2390 sorting by the primary key. Move destroy() method to be underneath
2391 constructor for readability. Cleanup comments.
2393 2011-03-03 Ben Konrath <ben@bagu.org>
2395 Add support for colour text and colour backgrounds to the layout list cells.
2397 Only the cell backgrounds are coloured which leaves a gap between the
2398 cells that isn't coloured. I need to figure out a way to set
2399 'style=background-colour:' on the whole column rather than just the
2402 * TODO: Add a note about colouring the background of the whole column.
2403 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
2404 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
2405 render the coloured text and backgrounds. Use GlomField[] for the row type.
2406 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
2408 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
2409 GlomField[] for the row type.
2410 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2411 GlomField[] for the row type. Set the text, text colour and background
2412 colour in the GlomField objects as specified in the glom document. Add
2413 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
2414 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
2415 the glom field text, foreground colour and background colour.
2417 2011-03-02 Ben Konrath <ben@bagu.org>
2419 Don't display hidden tables in the combo box.
2421 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
2423 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2424 code to ignore hidden tables using ArrayLists for the table names and
2426 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
2427 tableNames to use ArrayLists instead of String[]. Update getter and setter
2430 2011-03-01 Ben Konrath <ben@bagu.org>
2432 Add support for Date and Time number types.
2434 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2435 Implement formatting for Date and Time values. Change the default glom
2436 file to small business example.
2438 2011-03-01 Ben Konrath <ben@bagu.org>
2440 Add support for formatting glom types as specified in the glom file.
2442 Formatting isn't finished yet - I still need to add support for Date
2445 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2446 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
2447 checks for null values in JDBC cleanup code and catch all exceptions
2448 instead of just SQLExceptions.
2449 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
2452 2011-03-01 Ben Konrath <ben@bagu.org>
2454 Use GWT 2.2.0 instead of 2.1.1.
2456 * pom.xml: Change GWT version numbers.
2458 2011-03-01 Ben Konrath <ben@bagu.org>
2460 A few small code cleanups.
2462 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
2464 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
2465 unnecessary object creation in constructor.
2466 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
2467 unnecessary object creation in constructor.
2469 2011-02-28 Ben Konrath <ben@bagu.org>
2471 Add file for TODO list.
2475 2011-02-18 Ben Konrath <ben@bagu.org>
2477 Enable the CellTable Pager when more than 20 rows need to be viewed.
2479 The Pager will automatically become active when the results are larger
2480 than the CellTable size which is currently set to 20 lines.
2482 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
2483 name on debug statment in RPC call in LayoutListDataProvider, add
2484 numRows parameter to LayoutListView constructor, propperly set rowCount
2486 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
2487 name on debug statment in RPC call, use LayoutListTable object in RPC
2488 calls, pass rowCount to LayoutListView.
2489 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
2490 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
2492 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
2493 interface for changes in OnlineGlomService.
2494 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2495 getLayoutListHeaders() to getLayoutListTable() and return
2496 LayoutListTable. Using this object allows me to pass other information
2497 about the LayoutList like the expected number of rows in the result set.
2498 The Connection object from the connection pool is now propperly closed.
2499 Only the requested number of lines are returned to the client in
2501 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
2502 GlomTable and add columnTitles and numRows.
2504 2011-02-18 Ben Konrath <ben@bagu.org>
2506 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
2508 This is a small performance boost. I'll use GlomTable to get the required
2509 layoutlist information.
2511 * src/main/java/org/glom/web/client/OnlineGlom.java:
2512 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2513 * src/main/java/org/glom/web/shared/GlomDocument.java:
2515 2011-02-18 Ben Konrath <ben@bagu.org>
2517 Add option to turn off formatting in JDT formatter preferences.
2519 * .settings/org.eclipse.jdt.core.prefs:
2521 2011-02-18 Ben Konrath <ben@bagu.org>
2523 Rename LayoutList to LayoutListView.
2525 I'm working towards setting things up to easily use MVP when the time
2528 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
2530 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2533 2011-02-17 Ben Konrath <ben@bagu.org>
2535 Move LayoutListDataProvider class into LayoutList.java.
2537 * src/main/java/org/glom/web/client/LayoutList.java:
2539 2011-02-17 Ben Konrath <ben@bagu.org>
2541 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
2543 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
2545 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
2546 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
2547 from LibGlomServer.java.
2548 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2549 Rename from LibGlomServiceAsync.java.
2550 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2551 Rename from LibGlomServiceImpl.java.
2552 * src/main/webapp/WEB-INF/web.xml: Update configuration.
2554 2011-02-17 Ben Konrath <ben@bagu.org>
2556 Update JDT settings.
2558 * .settings/org.eclipse.jdt.core.prefs:
2560 2011-02-17 Ben Konrath <ben@bagu.org>
2562 Move GWT-RPC objects to shared package (where they should be).
2564 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
2565 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
2566 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
2567 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
2568 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
2569 org.glom.web.shared package.
2570 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
2571 org.glom.web.shared package.
2572 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
2573 directory in compilation to javascript.
2575 2011-02-16 Ben Konrath <ben@bagu.org>
2577 Add sort clause to the sql query that grabs table information.
2579 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2580 if one of the columns is a primary key.
2582 2011-02-16 Ben Konrath <ben@bagu.org>
2584 Disable generateAsync feature of gwt-maven.
2586 The generated interface does not correctly match the methods in LibGlomService
2587 and the generated singleton Util inner-class doesn't respect the servlet
2590 * pom.xml: Turn off generateAsync feature.
2591 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2592 with singleton Util inner-class.
2594 2011-02-14 Ben Konrath <ben@bagu.org>
2596 Add LGPL v3 licence notices.
2598 Followed directions listed here:
2599 http://www.gnu.org/licenses/gpl-howto.html
2601 * COPYING: This file is a copy of the GPL v3.
2602 * COPYING.LESSER: This file is a copy of the LGPL v3.
2603 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2605 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2607 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2609 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2611 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2613 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2615 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2618 2011-02-14 Ben Konrath <ben@bagu.org>
2620 Use ArrayList instead of Array in GWT-RPC calls.
2622 Apparently this gives a slight performance boost to the compiled
2625 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2627 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2630 2011-02-14 Ben Konrath <ben@bagu.org>
2632 Access data from a postgres db rather than the example glom file.
2634 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2635 compile down to obfuscated javascript.
2636 * pom.xml: Add c3p0 and postgres JDBC libraries.
2637 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2638 using a postgres db accessed through the c3p0 connection pooling library.
2640 2011-02-14 Ben Konrath <ben@bagu.org>
2642 Update Java formatter settings.
2644 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
2646 2011-02-02 Ben Konrath <ben@bagu.org>
2648 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
2650 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
2652 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
2653 the compiled webapp directory that Eclipse uses as we're using Maven now.
2654 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
2655 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
2657 * pom.xml: Format file, change target Java version to 1.6.
2659 2011-02-02 Ben Konrath <ben@bagu.org>
2661 Add information about a deployment related issue.
2663 * README: Add Notes section with the problem outlined.
2665 2011-02-02 Ben Konrath <ben@bagu.org>
2667 Call Glom.libglom_deinit() when the servlet is shutdown.
2669 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2670 Glom.libglom_deinit() to destroy() method.
2672 2011-01-28 Ben Konrath <ben@bagu.org>
2674 Use generated Util class to get the RPC Async interface.
2676 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
2678 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
2679 getInstance() method to get a reference to the RPC Async interface.
2680 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
2681 getInstance() method to get a reference to the RPC Async interface, remove
2682 the now unused getLibGlomServiceProxy() method.
2684 2011-01-27 Ben Konrath <ben@bagu.org>
2686 Cleanup ChangeLog entry from previous commit.
2688 * ChangeLog: Group logical changes together and add comments.
2690 2011-01-25 Ben Konrath <ben@bagu.org>
2692 Convert to gwt-maven project.
2694 * .gitignore: Update for new project structure.
2695 * README: New file with a link to the online documentation.
2696 * pom.xml: The generated maven configuration file with some tweaks.
2698 Add / update Eclipse settings. These files are a merge of the files that
2699 were generated with the gwt-maven plugin and the files we were previously
2703 * .settings/.jsdtscope:
2704 * .settings/com.google.gdt.eclipse.core.prefs:
2705 * .settings/com.google.gwt.eclipse.core.prefs:
2706 * .settings/org.eclipse.jdt.core.prefs:
2707 * .settings/org.eclipse.wst.common.component:
2708 * .settings/org.eclipse.wst.common.project.facet.core.xml:
2709 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
2710 * .settings/org.maven.ide.eclipse.prefs:
2711 * OnlineGlomTest-dev.launch:
2712 * OnlineGlomTest-prod.launch:
2714 Java source files moved from the 'src' directory to the directory structure
2716 * src/main/java/org/glom/web/client/GlomDocument.java:
2717 * src/main/java/org/glom/web/client/GlomTable.java:
2718 * src/main/java/org/glom/web/client/LayoutList.java:
2719 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
2720 * src/main/java/org/glom/web/client/LibGlomService.java:
2721 * src/main/java/org/glom/web/client/OnlineGlom.java:
2722 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
2724 Non-functional property file used for translations. I included this as
2725 reminder that it's something I need to sort out.
2726 * src/main/resources/org/glom/web/client/Messages.properties:
2728 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
2729 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2731 The servlet configuration files moved from the 'war' directory.
2732 * src/main/webapp/OnlineGlom.css:
2733 * src/main/webapp/OnlineGlom.html:
2734 * src/main/webapp/WEB-INF/web.xml:
2736 Generated test files with most of the code commented out. I included these
2737 so that it's easy to add tests when we're ready for them.
2738 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
2739 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2741 2011-01-25 Ben Konrath <ben@bagu.org>
2743 Remove unused println.
2745 * src/org/glom/web/server/LibGlomServiceImpl.java:
2747 2011-01-25 Ben Konrath <ben@bagu.org>
2749 Add project specific JDT settings.
2751 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
2752 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
2754 2011-01-25 Ben Konrath <ben@bagu.org>
2756 Populate celltable with example data.
2758 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
2759 * src/org/glom/web/client/GlomTable.java: Correct formatting.
2760 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
2761 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
2762 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
2763 asynchronously gets the example data.
2764 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
2765 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
2766 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
2767 curently selected table to be retrieved by other widgets.
2768 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
2769 implement getTableData() in a hacky way. This method needs to be updated
2770 to grab information from the database when database creating is
2773 2011-01-20 Ben Konrath <ben@bagu.org>
2775 Set table headers when table dropBox changes.
2777 * src/org/glom/web/client/GlomDocument.java: Correct some method
2779 * src/org/glom/web/client/LibGlomService.java: Add method
2780 to get list layout field names.
2781 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
2782 to get list layout field names.
2783 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
2784 widget for list layout table.
2785 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
2786 the table drop box and add new updateTable() method to asynchronously
2787 get the layout list field names for the currently selected table.
2788 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
2789 implementation of getLayoutListHeaders() method.
2790 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
2792 2011-01-18 Ben Konrath <ben@bagu.org>
2794 Make a listBox with table titles instead of the flexTable demo.
2796 This is the start of something more useful.
2798 * .classpath: Exclude a bunch of packages from the JVM that are
2799 getting in the way of the Eclipse content assist.
2800 * src/org/glom/web/client/GlomDocument.java:
2801 * src/org/glom/web/client/GlomTable.java:
2802 * src/org/glom/web/client/LibGlomService.java:
2803 * src/org/glom/web/client/LibGlomServiceAsync.java:
2804 * src/org/glom/web/client/OnlineGlom.java:
2805 * src/org/glom/web/server/LibGlomServiceImpl.java:
2806 * war/OnlineGlom.html:
2807 * war/WEB-INF/web.xml:
2809 211-01-13 Ben Konrath <ben@bagu.org>
2811 Update to new java-libglom API.
2813 * .gitignore: Ignore OnlineGlom.war.
2814 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
2816 2010-12-20 Ben Konrath <ben@bagu.org>
2818 Add some basic style to the table listing.
2820 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
2821 header, print useful error message on async callback failure.
2822 * war/OnlineGlom.css: Add style for table header, remove defaults
2823 provided by the Eclipse project wizard.
2825 2010-12-20 Ben Konrath <ben@bagu.org>
2827 Load example file from installed glom dir.
2829 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
2830 provided by java-libglom to find the example file.
2832 2010-12-20 Ben Konrath <ben@bagu.org>
2834 Update Eclipse settings.
2837 * .settings/com.google.gdt.eclipse.core.prefs:
2838 * .settings/com.google.gwt.eclipse.core.prefs:
2840 2010-12-17 Ben Konrath <ben@bagu.org>
2844 * .classpath: New file.
2845 * .gitignore: New file.
2846 * .project: New file.
2847 * .settings/com.google.gdt.eclipse.core.prefs: New file.
2848 * .settings/com.google.gwt.eclipse.core.prefs: New file.
2849 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
2850 * src/org/glom/web/client/GlomTable.java: New file.
2851 * src/org/glom/web/client/OnlineGlom.java: New file.
2852 * src/org/glom/web/client/TableNameService.java: New file.
2853 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
2854 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
2855 * war/OnlineGlom.css: New file.
2856 * war/OnlineGlom.html: New file.
2857 * war/WEB-INF/web.xml: New file.
2858 * war/images/glom.png: New file.