1 2011-11-28 Ben Konrath <ben@bagu.org>
5 This should have been added with the refactor. Oops!
7 * src/main/java/org/glom/web/shared/TypedDataItem.java:
9 2011-11-28 Ben Konrath <ben@bagu.org>
11 Create primary key value from URL string using type from Glom document.
13 See this bug, comments 19 - 25:
15 https://bugzilla.gnome.org/show_bug.cgi?id=662376#c19
17 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Don't
18 create a TypeDataItem for the primary key here when loading from a
19 URL. Show the same string for the primary key value as was received
20 from the URL string (when loading from a URL).
21 * src/main/java/org/glom/web/server/Utils.java: Update method for
22 creating the Gda Value from the TypeDataItem to properly deal with
23 creating a Gda Value based on the Glom document type for the primary
24 key value string when loading from a URL.
25 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
26 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
27 * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
28 Update for changed method name.
30 2011-11-27 Ben Konrath <ben@bagu.org>
32 Rename PrimaryKeyItem to TypedDataItem.
34 The name PrimaryKeyItem suggests what the class should be used for.
35 TypedDataItem is a neutral name that describes the class better.
37 This is a rename-only refactor.
39 * src/main/java/org/glom/web/client/OnlineGlomService.java:
40 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
41 * src/main/java/org/glom/web/client/Utils.java:
42 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
43 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
44 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
45 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
46 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
47 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
48 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
49 * src/main/java/org/glom/web/server/Utils.java:
50 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
51 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
52 * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
53 * src/main/java/org/glom/web/shared/NavigationRecord.java:
55 2011-11-25 Ben Konrath <ben@bagu.org>
57 Improve Gda Value conversion from PrimaryKeyItem.
59 The value from the PrimaryKeyItem is only used if its type match the
60 type from the glom document.
62 * src/main/java/org/glom/web/server/Utils.java:
64 2011-11-25 Ben Konrath <ben@bagu.org>
66 Manually check if the java-liblgom .so is visible to the JVM.
68 It seems that Tomcat has problems when a static initializer throws an
69 exception. This check is done before the first method call into
70 java-libglom so that execution doesn't continue if the .so is not
73 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
75 2011-11-25 Ben Konrath <ben@bagu.org>
77 Improve browser configuration error messages.
81 https://bugzilla.gnome.org/show_bug.cgi?id=662792
83 * src/main/java/org/glom/web/client/OnlineGlomService.java:
84 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
85 getConfigurationErrorMessage() method.
86 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
87 Get and display a specific configuration error message when no Glom
89 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
90 Implement getConfigurationErrorMessage() method. Surround configuration
91 code in the init() method with a try/catch block. This allows the
92 errors to be caught while keeping the servlet available to retrieve the
93 configuration error message.
95 2011-11-25 Ben Konrath <ben@bagu.org>
97 Don't use Strings to hold primary key values.
99 The primary key values are now held in a new data object
100 (PrimaryKeyItem) that holds type information and the primary key value
101 using the correct type.
103 * src/main/java/org/glom/web/client/OnlineGlomService.java:
104 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
105 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
106 PrimaryKeyItem instead of String to hold the primary key value.
107 * src/main/java/org/glom/web/client/Utils.java: Remove
108 getKeyValueStringForQuery(). Add getPrimaryKeyItem() which creates a
109 PrimaryKeyItem based on the GlomFieldType and the DataItem.
110 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Use
111 PrimaryKeyItem instead of String to hold the primary key value. Load
112 document selection page when the documentID has not been set correctly.
113 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Re-work
114 DetailsPlace -> URL and URL -> DetailsPlace conversion with
116 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
117 Return empty string for URL instead of "null".
118 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
119 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
120 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
121 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
122 PrimaryKeyItem instead of String to hold primary key values.
123 * src/main/java/org/glom/web/server/Utils.java: New method to convert a
124 PrimaryKeyValue to a Gda Value.
125 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
126 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
127 * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
128 Replace temporary database access code that uses the PrimaryKeyValue to
129 Gda Value conversion.
130 * src/main/java/org/glom/web/shared/DataItem.java: Add comment.
131 * src/main/java/org/glom/web/shared/NavigationRecord.java: Use
132 PrimaryKeyItem instead of String.
133 * src/main/java/org/glom/web/shared/PrimaryKeyItem.java: New class to
134 hold primary key values.
136 2011-11-24 Ben Konrath <ben@bagu.org>
138 Use newly added java-libglom API to create queries.
140 This isn't finished. I still need to stop using Strings for primary key
141 values in the client code.
143 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Tell
144 libglom to use fake connections so that retrieving the query string will
146 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
147 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
148 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
149 * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
150 Use the newly added libglom sql methods and classes to create the
151 query. Add temporary hack to convert primary value strings to Gda
154 2011-11-23 Ben Konrath <ben@bagu.org>
156 Don't explicitly set the height of Portals.
158 See comments 6 - 10 of this bug for details:
160 https://bugzilla.gnome.org/show_bug.cgi?id=662930#c6
162 * src/main/java/org/glom/web/client/ui/details/Portal.java:
164 2011-11-23 Ben Konrath <ben@bagu.org>
166 Use an HTML table instead of CSS for the FlowTable layout.
168 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Use
169 GWT's FlexTable to implement the FlowTable.
170 * src/main/webapp/style.css: Adjust CSS for the change to FlexTable.
172 2011-11-18 Ben Konrath <ben@bagu.org>
174 Add boolean example to HTML table mockup.
176 * mockups/details-view-html-tables-text-entries.html:
178 2011-11-17 Ben Konrath <ben@bagu.org>
180 Ensure the pager buttons are always visible for related lists.
182 To accomplish this, I've turned off text wrapping in the list view and
183 related list tables for both the header and data text. The related list
184 table now has a fixed layout so the it doesn't overflow its container.
185 This is required to ensure that the cell text is clipped when it
186 overflows the cell and an ellipsis is added to the right side of the
187 cell when text is clipped.
189 A fixed table layout for the related list table in the details view
190 seems what we want for the details view anyway, so the side-effect is
193 The ellipsis will only be displayed in Firefox >= 7.
197 https://bugzilla.gnome.org/show_bug.cgi?id=662930
199 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java:
200 * src/main/java/org/glom/web/client/ui/cell/TextCell.java: Add
201 'overflow: hidden; text-overflow: ellipsis;' CSS properties to the table
203 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
204 Set the 'table-layout: fixed' CSS property to the related list table.
205 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Set the
206 'white-space: nowrap;' CSS property on both the list view and the
209 2011-11-16 Ben Konrath <ben@bagu.org>
211 Rework the fix for empty notebook tab labels.
213 Setting the empty group titles with its name caused problems for the
214 details layout. Instead of using libglom's
215 LayoutItem.get_title_or_name(), the LayoutItem name is explicitly sent
216 to the client when the title is empty. This allows the Notebook to use
217 the name when the title is empty without affecting anything else.
219 * src/main/java/org/glom/web/client/ui/details/Notebook.java:
220 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
222 2011-11-16 Ben Konrath <ben@bagu.org>
224 Set group titles with name when title is empty.
226 This fixes a problem with an empty notebook tab label in the Lesson
227 Planner document. The forth tab in the notebook should be "Internet":
229 http://bagu.org:8080/OnlineGlom/#details:document=lesson-planner&table=teachers&value=0
231 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
232 libglom's LayoutItem.get_title_or_name() to fill in the LayoutGroup
235 2011-11-16 Ben Konrath <ben@bagu.org>
237 Remove whitespace from the configured username properties.
239 This assumes that usernames won't have whitespace at the beginning
240 or end. But I think this is a reasonable assumption.
242 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
243 String.trim() to remove the whitespace from the username properties.
245 2011-11-15 Ben Konrath <ben@bagu.org>
247 Add details view mockup with HTML tables and text entries.
249 This is from the attachment on this bug:
251 https://bugzilla.gnome.org/show_bug.cgi?id=663109
253 * mockups/details-view-html-tables-text-entries.html:
255 2011-11-15 Ben Konrath <ben@bagu.org>
257 Add space between the columns of the flow table.
261 https://bugzilla.gnome.org/show_bug.cgi?id=662918
263 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Add a 1%
264 space between columns in the flow table.
266 2011-11-15 Ben Konrath <ben@bagu.org>
268 Add backup files to the .gitignore.
270 * .gitignore: Ignore files that end with ~.
272 2011-11-09 Ben Konrath <ben@bagu.org>
274 Use latest release of gwt-log.
276 Gwt-log releases are now being submitted to the maven central
277 repository so manual installation of the jar is no longer required.
279 * pom.xml: Update version and groupId of gwt-log dependency.
281 2011-10-31 Ben Konrath <ben@bagu.org>
283 Don't use GWT numeric formatting to override the glom currency formatting.
285 Currencies are now displayed like they are in Glom. See this bug:
287 https://bugzilla.gnome.org/show_bug.cgi?id=646216
289 * src/main/java/org/glom/web/client/Utils.java: Remove GWT currency
291 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: Add
292 currency code to constructor and set it when the cell is rendered.
293 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
294 currency code to the constructor of the NumericCell.
296 2011-10-27 Ben Konrath <ben@bagu.org>
298 Require the latest release of java-libglom (1.17.4).
302 2011-10-26 Ben Konrath <ben@bagu.org>
304 Add style to Notebook that matches current theme.
306 It's not the best style in the world but it's better than the default.
308 * src/main/java/org/glom/web/client/ui/details/Notebook.java: Add some
309 padding at the bottom of the child widgets.
310 * src/main/webapp/style.css: Add style for the Notebook.
312 2011-10-26 Ben Konrath <ben@bagu.org>
314 Move servlet initialization code to overridden init method.
316 This is half of the solution to getting proper error messages
317 displayed when configuration errors occur. Here's the relevant bug:
319 https://bugzilla.gnome.org/show_bug.cgi?id=662792
321 The rest of the solution involves surrounding the init method with a
322 try/catch block and setting a global variable with the error /
323 exception. A new async method should be created to retrieve and display
324 the error message / exception.
326 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Move
327 code from constructor to init method adding exceptions as needed.
329 2011-10-26 Ben Konrath <ben@bagu.org>
331 Add script to monitor and restart tomcat if required.
333 * utils/check-and-recover-tomcat.py: New file.
335 2011-10-26 Ben Konrath <ben@bagu.org>
337 Display the correct number of data items in the pager.
341 https://bugzilla.gnome.org/show_bug.cgi?id=661441
343 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
344 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
345 The implementation is the same for both tables: Keep track of the
346 number of non-empty rows and fire and RowCountChangeEvent after the data has
348 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add a
349 custom Pager class that subclasses SimplePager to handle displaying
350 the correct number when empty rows have been added.
352 2011-10-26 Ben Konrath <ben@bagu.org>
354 Correct error in previous commit.
356 * src/main/java/org/glom/web/client/activity/ListActivity.java: Remove
357 eventBus parameter from listView.setCellTable().
359 2011-10-26 Ben Konrath <ben@bagu.org>
361 Fix error in TODO comment.
363 * src/main/java/org/glom/web/client/activity/ListActivity.java:
365 2011-10-24 Ben Konrath <ben@bagu.org>
367 Create Notebook widgets to the details view.
369 This isn't finished just yet - I still need to create a reasonable
370 style to match the current theme.
372 * src/main/java/org/glom/web/client/Utils.java: Add method for
373 calculating the height of a widget. This is used in the Notebook class.
374 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
375 new constructor method in Group.
376 * src/main/java/org/glom/web/client/ui/details/Group.java: Add new
377 method for creating child widget that can be used by subclasses
378 like Notebook. New constructor that allows disabling the group
379 titles - Notebooks don't set a group title for their child groups.
380 * src/main/java/org/glom/web/client/ui/details/Notebook.java: New class
381 to make Notebooks using GWT's TabLayoutPanel.
382 * src/main/java/org/glom/web/client/ui/details/Portal.java: New
383 constructor that allows disabling the group titles.
384 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Create the
385 LayoutItemNotebook DTO.
386 * src/main/java/org/glom/web/shared/layout/LayoutItemNotebook.java: New
387 DTO for Notebooks. It's just an empty class for now but we might need
388 it to transfer some specific information in the future.
390 2011-10-21 Ben Konrath <ben@bagu.org>
392 Add navigation buttons to related list tables.
394 * src/main/java/org/glom/web/client/OnlineGlomService.java:
395 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
396 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add new
397 method getSuitableRecordToViewDetails() for getting the table name
398 and primary key value for related list navigation buttons.
399 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
400 private cell renderer class to get the navigation information for
401 related list tables from the server. Extract the navigation
402 processing code from the details cell navigation and use it for the
403 related list navigation as well.
404 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Add private
405 cell renderer class for the details open buttons. This was needed
406 because the related list navigation buttons and the list view
407 navigation buttons need to react differently when clicked.
408 * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: Remove
409 the onEnterKeyDown() method because it's now overriden in the
410 subclasses that are specific to the related list tables and the list
412 * src/main/java/org/glom/web/client/ui/details/Portal.java: Increase
413 the vertical size a little because the buttons add a bit of vertical
414 space to table. This is not a perfect solution because the vertical
415 size of with table fewer than 5 rows will be a little smaller.
416 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Update for
417 changes in how navigation buttons are handled.
418 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Implement
419 getSuitableRecordToViewDetails() using the new RelatedListNavigation
420 database access object.
421 * src/main/java/org/glom/web/server/database/DBAccess.java: Move code
422 to find the portal for a given relationship name from
423 RelatedListDBAccess. Add method to find a primary key field for a
425 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
426 Move code to find the portal for a given relationship name to
428 * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
429 New file: database access object for getting the related list
430 navigation information (the table name and the primary key value).
431 * src/main/java/org/glom/web/shared/NavigationRecord.java: New file:
432 DTO for transferring a table name to navigate to and a primary key
434 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
435 boolean and getter/setter to specifies if the related list should add
438 2011-10-24 Murray Cumming <murrayc@murrayc.com>
440 Use the master branch of java-libglom
442 * pom.xml: Depend on java-libglom 1.19 instead.
444 This is the master branch. See also the libglom-1-18 branch.
446 2011-10-11 Ben Konrath <ben@bagu.org>
448 Enable the open navigation button when the data has been set.
450 This avoids having active buttons that don't do anything when the data
453 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
455 2011-10-11 Ben Konrath <ben@bagu.org>
457 Use IsWidget interface for FlowTableItem.
459 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Change
460 FlowTableItem.getWidget() to asWidget() from the IsWidget interface.
462 2011-10-11 Ben Konrath <ben@bagu.org>
464 Remove GWT styling from open button in details view.
466 There are still some issues with how the details cell is arranged but
467 this should be made to match Glom 1.20. I'm going to leave fixing this
468 until I have Glom 1.20 up and running.
470 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Set
471 style name on open button.
472 * src/main/webapp/style.css: Move and edit details-navigation class.
473 Re-arrange some classes to make them appear in the same order as the
476 2011-10-07 Ben Konrath <ben@bagu.org>
480 * .gitignore: Ignore new cache directory.
481 * .settings/com.google.gwt.eclipse.core.prefs: Update Eclipse settting.
482 * pom.xml: Change GWT and maven plugin to 2.4.0.
483 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Update doctype for
485 * src/main/java/org/glom/web/client/ClientFactory.java:
486 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
487 * src/main/java/org/glom/web/client/OnlineGlom.java:
488 Update source for API changes.
489 * utils/build-onlineglom-war.sh: Remove cache directory before the
492 2011-10-07 Ben Konrath <ben@bagu.org>
494 Add navigation buttons in the details view.
496 This isn't finished but I thought I'd commit what I have as it's a
497 pretty good start. I still need to:
499 1. Change the style so that it fits better into the current theme
500 2. Adjust the details cell to expand as much as possible.
502 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
503 click handlers to navigation buttons in the DetailsCells. Create a
504 refreshData() method to get just the data from the server without the
506 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
507 Update the tableSelector and browser title when the table name
508 changes without using the tableSelector.
509 * src/main/java/org/glom/web/client/ui/DetailsView.java:
510 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
511 getDetailsCells() to getCells(). Update variable names.
512 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Add
513 method to set click handler on navigation button. Rename a few
514 variables. Add navigation buttons where needed.
515 * src/main/java/org/glom/web/client/ui/details/Group.java: Rename a few
516 variables and methods.
517 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Set the
518 navigation boolean and navigation table as required in the
520 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
521 variables for navigation along with getter/setter methods.
523 2011-10-07 Ben Konrath <ben@bagu.org>
525 Rename Field to DetailsCell.
527 This is a refactor-only commit. No functionality has been added or
530 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
531 Update variable and method names.
532 * src/main/java/org/glom/web/client/ui/DetailsView.java:
533 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update
534 variable and method names.
535 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
537 * src/main/java/org/glom/web/client/ui/details/Group.java: Update
538 variable and method names.
540 2011-10-07 Ben Konrath <ben@bagu.org>
542 Create separate methods for layout and data the details view.
544 This is a refactor-only commit. No functionality has been added or
547 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: New
548 private methods: setData(), createLayout().
550 2011-10-07 Ben Konrath <ben@bagu.org>
552 Don't use TableSelectorImpl implementation details in TableSelectorActivity.
554 This is part of a change to get navigation buttons in the details view
555 but it should have been done this way from the start.
557 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
558 for method name change in TableSelectionView.
559 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
560 Create TableChangeEvent and set the browser title using the
561 TableSelectionView API.
562 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
563 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
564 Change getSelectedTable() to getSelectedTableName(). Add
565 getSelectedTableTitle().
567 2011-10-07 Ben Konrath <ben@bagu.org>
569 Use primaryKeyValue naming convention in constructor of DetailsPlace.
571 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
573 2011-10-07 Ben Konrath <ben@bagu.org>
575 Update TableChangeEvent to use newTableName naming convention.
577 This makes the class more consistent with GWT naming conventions.
579 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
580 Update for method name change in TableChangeEvent.
581 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
582 for method name change in TableChangeEvent.
583 * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
584 newTableName variable and getter method. Make toDebugString()
587 2011-09-30 Ben Konrath <ben@bagu.org>
589 Disable the pager in the list tables when the data row count is less than the minimum.
591 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
592 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
594 2011-09-30 Ben Konrath <ben@bagu.org>
596 Add empty rows to the end of related list and list view tables.
598 I also extracted the cell rendering classes from the ListTable because
599 the code was becoming a little crazy with all the anonymous inner
600 classes. My plan is to use these cell rendering classes in the details
601 view as well so this refactor will be needed for that change.
603 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
604 set the row count in related list tables if the data has more rows
605 than the minimum number of rows visible.
606 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
607 row count in list view tables if the data has more rows than the
608 minimum number of rows visible.
609 * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
610 for rendering TYPE_BOOLEAN cells. The code was extracted from the
612 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
613 for rendering TYPE_NUMERIC cells. The code was extracted from the
615 * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
616 class for rendering cells with buttons in list views. The code was
617 extracted from the ListTable class.
618 * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
619 for rendering TYPE_TEXT cells. The code was extracted from the
621 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
622 Add empty rows to the end of the data if required. Implement
623 ListTable.getMinNumVisibleRows().
624 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
625 cell renderer code to public classes. Return null in
626 Column.getValue() for empty rows. Add new abstract method:
627 getMinNumVisibleRows(). Move code to set the row count of the list view
628 table to ListViewImpl.
629 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
630 empty rows to the end of the data if required. Implement
631 ListTable.getMinNumVisibleRows().
634 2011-09-27 Ben Konrath <ben@bagu.org>
636 Use GWT.log for client-side debugging statements.
638 These are optimized out when deployed so I should have used this method
639 in the first place. These statements will eventually be replaced with some sort
640 of notification in the browser.
642 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
643 * src/main/java/org/glom/web/client/activity/ListActivity.java:
644 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
645 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
646 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
648 2011-09-27 Ben Konrath <ben@bagu.org>
650 Put tableselector on the right, back to list link on right.
652 The idea is that the table selector is acting like a label for the
653 currently displayed table so it should be placed below the document title. This
654 puts the table title in a similar position to where it is in Glom.
656 * mockups/details-contacts.html:
657 * mockups/details-projects.html:
658 * mockups/listview-contacts.html:
659 * mockups/listview-projects.html:
661 Update mockups to match how the interfaces currently look.
662 * src/main/webapp/style.css: Swap positions of backlink with the table
663 selector. Add some space on the left side of the table selector to
664 line things up with the document title.
666 2011-09-27 Ben Konrath <ben@bagu.org>
668 Add field colouring to details view.
670 This change re-works how field colouring works. The colour formatting
671 information is now set to the client with the layout information instead of
672 with the data. This eliminates the need to send the same colour strings for
673 data in list view column when colour information is set.
675 In order to set an alternate colour for negative numeric values, the
676 number is now sent to client and formatted with the GWT NumberFormat class.
678 This change also fixes:
680 https://bugzilla.gnome.org/show_bug.cgi?id=659752
682 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
683 internationalization framework which is needed for client side numeric
685 * src/main/java/org/glom/web/client/Utils.java: New file for some
686 client static utility methods.
687 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
688 the DataItem object to the Field class. Use a utility method to
689 create the foreignKeyValue string.
690 * src/main/java/org/glom/web/client/ui/details/Field.java: Set
691 alignment and text colours in the constructor. Add setData(DataItem)
692 method. Remove setText(String) method.
693 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
694 colour information to GlomTextCell. Create and use GlomNumberCell for
695 rendering numbers. Use utility method to get the string for the
696 primary key of the key provider. Re-work how the horizontal alignment
698 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
699 formatting to layout information. Methods for converting the libglom
700 formatting information were moved from DBAccess.
701 * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
702 numeric formatting (it's now done on the client side). Don't set text
703 colours in DataItem. Move libglom formatting conversion methods to
705 * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
706 getters/setters for text colour information.
707 * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
708 for transferring the libglom NumericFormat information to the client.
709 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
710 and getters/setters for: GlomNumericFormat, background colour and
711 foreground colour strings.
713 2011-09-26 Ben Konrath <ben@bagu.org>
715 Simplify code that iterates through the LayoutGroup.
717 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
719 2011-09-26 Ben Konrath <ben@bagu.org>
721 Accept Eclipse formatting for OnlineGlomServiceAsync.
723 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
725 2011-09-26 Ben Konrath <ben@bagu.org>
727 Don't use the ListDBAccess classes to get the primary key layout information.
729 This was causing a bug where the wrong index for the hidden primary key
730 was being sent to the client.
732 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
733 primary key while creating the LayoutGroup DTO. Create a
734 LayoutItemField DTO for hidden primary keys. Don't use the
735 RelatedListDBAccess because it was only used for getting the primary
737 * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
738 access modifier from public to protected for getPrimaryKeyField() and
739 getPrimaryKeyLayoutItemField().
740 * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
741 abstract method getExpectedResultSize() because RelatedListDBAccess
742 doesn't have enough info to implement it.
743 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
744 Remove @Override for getExpectedResultSize().
745 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
746 Remove method getExpectedResultSize().
748 2011-09-23 Ben Konrath <ben@bagu.org>
750 Log which layout (list or details) the ignored item is from.
752 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
754 2011-09-23 Ben Konrath <ben@bagu.org>
756 Remove annotations that turn off code formatting in DataItem.
758 * src/main/java/org/glom/web/shared/DataItem.java:
760 2011-09-23 Ben Konrath <ben@bagu.org>
762 Rename GlomField to DataItem and update associated methods.
764 This is a rename-only refactor. No functionality has been added or
767 * src/main/java/org/glom/web/client/OnlineGlomService.java:
768 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
769 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
770 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
771 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
772 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
773 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
774 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
775 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
776 * src/main/java/org/glom/web/server/database/DBAccess.java:
777 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
778 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
779 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
780 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
781 * src/main/java/org/glom/web/shared/DataItem.java:
782 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
783 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
785 2011-09-23 Ben Konrath <ben@bagu.org>
787 Rename GlomDocument to DocumentInfo and update associated methods.
789 This is a rename-only refactor. No functionality has been added or
792 * src/main/java/org/glom/web/client/OnlineGlomService.java:
793 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
794 * src/main/java/org/glom/web/client/activity/ListActivity.java:
795 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
796 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
797 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
798 * src/main/java/org/glom/web/shared/DocumentInfo.java:
800 2011-09-20 Ben Konrath <ben@bagu.org>
802 Require java-libglom 1.17.3.
804 This picks up the fix for the seg fault problem with the Scenes table
805 in the Openismus Film Manager example.
809 2011-09-20 Ben Konrath <ben@bagu.org>
811 Change the way sort clause is added for primary key when no sort clause is requested.
813 The primary key is now added to the LayoutFieldVector (fieldsToGet)
814 before the sort clause is created. When a sort clause is not requested, the
815 sort clause is created by finding the primary key in the LayoutFieldVector
818 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
820 2011-09-20 Ben Konrath <ben@bagu.org>
822 Log error message if no documents are found in the configured directory.
824 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
825 Extract the glom file extension string to a private static final class
826 variable (mostly as syntactic sugar). Accept a minor formatting change.
827 * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
828 the example glom.document.directory configuration property to make it
829 more clear that it can any directory, not just the home directory.
831 2011-09-18 Ben Konrath <ben@bagu.org>
833 Add related lists to details view.
835 The related list table has support for paging and sorting just like the
836 table in the list view.
838 * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
839 SQL queries for the related list tables.
840 * src/main/java/org/glom/web/client/OnlineGlomService.java:
841 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
842 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
843 Rename getList methods to getListView and add comments. Remove
844 getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
845 it being unused. Add methods: getDetailsLayoutAndData(),
846 getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
847 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
848 Create the layout and set the data for the fields in one async call
849 instead of two. Create related lists where appropriate.
850 * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
851 for method name changes in OnlineGlomService.
852 * src/main/java/org/glom/web/client/ui/DetailsView.java:
853 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
854 addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
856 * src/main/java/org/glom/web/client/ui/ListView.java:
857 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
858 tableName from setCellTable(). Create a ListViewTable instead of
860 * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
861 represent a data field in the details view.
862 * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
863 from addDetailsCell() to Field class. Keep track of the Fields and
864 Portals in the details view.
865 * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
866 a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
867 and add a method to get it. Add method to set the contents of the
869 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
870 New class for related list tables. This class has the data provider
871 for the related list table.
872 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
873 abstract class which is the base class for the ListViewTable and the
875 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
876 New class for list view tables. This class has the data provider for
878 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
879 methods for related list tables. Add more information to the
880 LayoutItemField and LayoutItemPortal DTOs.
881 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
882 Remove debugging print statement.
883 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
884 Remove debugging print statements. Add primary key field to SQL count
886 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
887 Remove unnecessary LayoutFieldVector parameter from
888 getResultSizeOfSQLQuery() method.
889 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
890 New class for related list table database access.
891 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
892 class that is a wrapper DTO for details view layout and data.
893 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
894 new 'fromField' string to this DTO.
895 * src/main/webapp/style.css: Remove bottom margin and override top
898 2011-09-15 Ben Konrath <ben@bagu.org>
900 Breakup the OnlineGlomServiceImpl class to make it more manageable.
902 This sets things up to make it easier to add the data retrieval for
903 related lists (portals). No user noticeable changes were made with
906 * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
907 class has the code to retrieve the layouts and access the
908 database using the new database helper classes.
909 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
910 Most of the functionality has been removed from this class. This
911 class now represents the public interface for the client side
912 code. It also deals with configuring the servlet and cleaning
913 things up when the servlet is stopped.
914 * src/main/java/org/glom/web/server/Utils.java: Extract a couple
915 of static methods into this utility class.
916 * src/main/java/org/glom/web/server/database/DBAccess.java:
917 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
918 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
919 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
920 These classes have the database retrieval code. The class hierarchy
921 has been setup to make it easy to reuse code for similar
924 2011-09-06 Ben Konrath <ben@bagu.org>
926 Create separate classes for list table code and the data provider.
928 As part of this refactor, I also split up the code a bit to make it
931 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
932 table code to two new classes (below).
933 * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
934 with code from ListViewImpl.
935 * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
936 New file with code from ListViewImpl.
938 2011-09-06 Ben Konrath <ben@bagu.org>
940 Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
942 This fixes the LayoutItemPortal DTO to match the libglom layout object
945 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
947 2011-09-01 Ben Konrath <ben@bagu.org>
949 Set title of Portals in the Details View.
951 * pom.xml: Bump required version of java-libglom to 1.17.1.
952 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
953 widget creation to its own class. Add comments to constructor.
954 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
955 The code is mostly from the Group class with the title now set.
956 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
957 title of Portal. Update some comments. Fix some code formatting.
959 2011-09-01 Ben Konrath <ben@bagu.org>
961 Remove TODO comment for the flow table column width.
963 The flow table column width is working correctly and doesn't need to be
964 changed. See this mailing list post for more info:
966 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
968 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
970 2011-08-27 Ben Konrath <ben@bagu.org>
972 Add document title (database name) to top of the browser page.
974 I added the document title to the TableSelecitonView but that will
975 change if / when we add a view that doesn't require table selection.
977 * mockups/details-contacts.html:
978 * mockups/details-projects.html:
979 * mockups/listview-contacts.html:
980 * mockups/listview-projects.html:
981 * mockups/style.css: Add document title to mockups to keep things
983 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
984 sizes to account for the document title.
985 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
986 Set the document title when it has been retrieved from the server.
987 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
988 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
989 and implement setDocumentTitle(String) method.
990 * src/main/webapp/style.css: Add ID for document title style.
992 2011-08-25 Ben Konrath <ben@bagu.org>
994 Add NavigationType enum to LayoutItemPortal DTO.
996 This is the start of adding support for Portals to the Details View.
998 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
999 LayoutItem_Portal.navigation_type enum from libglom to
1000 LayoutItemPortal.NavigationType enum.
1001 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
1002 NavigationType enum, field for storing the NavigationType and getter
1005 2011-08-25 Ben Konrath <ben@bagu.org>
1007 Implement the flow table layout in the Details View.
1009 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
1010 FlowTable to Group to account for the renamed class.
1011 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
1012 File. This is a container widget that implements the Glom details view
1013 flow table behaviour.
1014 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
1015 org/glom/web/client/ui/FlowTable.java.
1016 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
1017 so that the size of the subgroups are a closer match to the size of
1018 the Glom subgroups. This makes the flowtable layout match the layout
1019 in Glom for the Music Collection example file.
1021 2011-08-16 Ben Konrath <ben@bagu.org>
1023 Create container element for LayoutItemPortal in Details View.
1025 This will help me develop the layout for the FlowTable.
1027 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
1028 fieldPanel variable to detailsCell.
1030 2011-08-15 Ben Konrath <ben@bagu.org>
1032 Set the height of the data element in the Details View.
1034 I changed the InlineLabels (text in a span element) to Labels (text in
1035 a div element) so that I could set the height of the details-data
1036 elements instead of the details-cell parent elements. This allows the
1037 the details-data element to display the correct height if style is
1038 applied that shows the height.
1040 This change has the added benefit of allowing the order of the labels
1041 and data elements to be changed for right-to-left languages.
1043 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
1044 InlineLabels to Labels.
1045 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
1046 InlineLabels to Labels. Set the height of the data element.
1047 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1048 multiline text height in the Formatting DTO.
1049 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
1050 for multiline height along with getter and setter methods.
1051 * src/main/webapp/style.css: Adjust style to account for the change
1052 from span elements to div elements in the details cell.
1054 2011-08-15 Ben Konrath <ben@bagu.org>
1056 Make the List View appearance match the mockups.
1058 It doesn't match exactly but it's much better than it was.
1060 * mockups/listview-contacts.html: Remove unused css classes.
1061 * mockups/listview-projects.html: Remove unused css classes.
1062 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
1063 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
1064 for mainPanel instead of VerticalPanel (table). Set style name on
1065 CellTable. Set style name on Details column. Right-align Details
1067 * src/main/webapp/style.css: Adjust properties to match the mockups.
1069 2011-08-12 Ben Konrath <ben@bagu.org>
1071 Add better support for subgroups in the details view.
1073 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
1074 changed FlowTable constructor.
1075 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
1076 support for subgroups and subgroup-titles.
1077 * src/main/webapp/style.css: Add CSS class for subgroups and
1080 2011-08-12 Ben Konrath <ben@bagu.org>
1082 Return the top level LayoutGroup title.
1084 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1086 2011-08-11 Ben Konrath <ben@bagu.org>
1088 Make the TableSelector header match the mockup.
1090 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
1091 the layout panel. Properly lineup the table selection header with
1092 the list and details view.
1093 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
1094 margin around the details view.
1095 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1096 Rename listBox variable to tableSelector. Set id for the style sheet.
1097 Use a FlowPanel instead of a HorizontalPanel.
1098 * src/main/webapp/style.css: Add properties to make the TableSelector
1099 box match the mockups.
1101 2011-07-13 Ben Konrath <ben@bagu.org>
1103 Update install script for java-libglom version change.
1105 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
1108 2011-07-13 Ben Konrath <ben@bagu.org>
1110 Add support sub-group in the details view.
1112 I also removed the code that special-cased the default details view
1115 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
1117 I still have to make a proper flowtable.
1119 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1120 Don't special-case default details view layout.
1121 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
1122 addLayoutField() as I'm going to use it.
1123 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
1124 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
1126 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
1127 extracted from DetailsViewImpl.GroupPanel. Add support for
1129 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1130 column count when getting the details layout.
1132 2011-07-12 Ben Konrath <ben@bagu.org>
1134 Set browser title with database and table titles.
1136 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1137 Set the browser title when the table changes and when the activity
1139 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1140 title when retrieving document info (the GlomDocument object).
1141 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
1142 with getter and setter methods. Remove unused convenience constructor.
1143 Use default code formatting.
1145 2011-07-12 Ben Konrath <ben@bagu.org>
1147 Ignore LayoutItemPortals in the details view.
1149 I added a new DTO for the LayoutItemPortal so that I can ignore it in
1152 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
1153 LayoutItemPortal layout objects.
1154 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1155 LayoutItemPortal objects when retrieving the details layout.
1156 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
1157 file. This is an empty class and just used to get type information for
1160 2011-07-12 Ben Konrath <ben@bagu.org>
1162 Use java-libglom 1.17.0.
1166 2011-07-11 Ben Konrath <ben@bagu.org>
1168 Remove "Table:" label from table selector.
1170 This matches a recent change in the Glom UI.
1172 * mockups/details-contacts.html:
1173 * mockups/details-projects.html:
1174 * mockups/listview-contacts.html:
1175 * mockups/listview-projects.html: Remove the "Table:" label from the
1177 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1179 2011-07-11 Ben Konrath <ben@bagu.org>
1181 Add main groups to the details view.
1183 This makes things look a little nicer in the details view. The next step
1184 is to implement the flowtable.
1186 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
1187 resources from the standard gwt css theme. Standard.css is now
1188 included in OnlineGlom.html so that the online glom css rules have
1189 precedence over the gwt theme.
1190 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
1191 the whole LayoutGroup to the DetailsView instead of just the titles.
1192 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1193 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
1194 details layout with a helper class (GroupPanel). I might extract this
1195 class when I make the full flowtable.
1196 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
1197 string as default so I don't have to worry about NPEs when processing
1199 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
1200 note beside OnlineGlom.gwt.xml above).
1201 * src/main/webapp/style.css: Add default font-size to body to override
1202 the font-size set by the standard theme. Don't use h2 tags for
1203 group-title. Create new details-cell class.
1205 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1207 ConfiguredDocument: Set the port number too.
1209 * src/main/java/org/glom/web/server/ConfiguredDocument.java
1210 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
1211 Glom document. Presumably this worked sometimes so far because there is a
1212 default port number.
1214 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1216 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
1218 * src/main/java/org/glom/web/server/ConfiguredDocument.java
1219 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
1220 correct, though we should throw an exception too.
1222 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1224 Fix a addDocuemnt typo.
1226 * src/main/java/org/glom/web/shared/Documents.java
1227 (Documents.addDocuemnt): Rename to addDocument().
1228 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
1229 (OnlineGlomServiceImpl.getDocuments): Adapt.
1231 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1233 Slightly improved log output when connection fails.
1235 * src/main/java/org/glom/web/server/ConfiguredDocument.java
1236 (ConfiguredDocument.setUsernameAndPassword):
1237 We don't know for sure if it' the username/password that's wrong, so
1238 rephrase the message.
1239 Also ouput the exception message, though it's generic in this case.
1241 2011-07-08 Ben Konrath <ben@bagu.org>
1245 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
1246 added braces to a one line if statement because the Eclipse formatter
1247 was getting confused.
1249 2011-07-07 Ben Konrath <ben@bagu.org>
1251 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
1253 These should really be two separate tasks but I counldn't get things to
1254 work with GWT 2.2.0 and Eclipse 3.7.
1258 * .settings/org.eclipse.jdt.core.prefs:
1259 * .settings/org.eclipse.jdt.ui.prefs:
1260 * .settings/org.eclipse.ltk.core.refactoring.prefs:
1261 * .settings/org.eclipse.m2e.core.prefs:
1262 Add new config files. Update current files. Remove references to the
1263 webtools plugins as we're not using any of the webtools features.
1264 * .gitignore: Add logs directory which is created when running with
1266 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
1267 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
1268 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
1270 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
1272 2011-07-07 Murray Cumming <murrayc@murrayc.com>
1274 onlineglom.properties: Add explanatory comments.
1276 * src/main/resources/onlineglom.properties: Also change the default user
1277 from ben to someuser, to avoid the risk of people thinking we just
1278 stupidly hard-coded a locale path, when they see that on stderr or in a log.
1280 2011-06-28 Ben Konrath <ben@bagu.org>
1282 Use filename in Log for incorrect passwords.
1284 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
1285 getFileName(String) method to get the filename from the URI.
1287 2011-06-28 Ben Konrath <ben@bagu.org>
1289 Add the table name to the URL token for the ListPlace.
1291 This makes things consistent between the DetailsPlace and the
1292 ListPlace. It also allows the the ListPlace to be bookmarked.
1294 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1295 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1296 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1297 Remove getDefaultListLayout(). The default layout is now returned
1298 by the getListLayout() method when the table name is an empty string.
1299 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1300 Add table name field. Change to a new ListPlace when the table
1301 has been changed. Use getListLayout() for getting the default
1303 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1304 Add table name field. Set the correct table name in the list box
1305 when loading from bookmark. This corrects a problem for the
1307 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1308 Move table name to super-class (HasSelectableTable). Move document
1309 and table URL keys to super-class in HasSelectableTable.
1310 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1311 Add table name field. Add Tokenizer class with URL key common to
1312 the subclasses (DetailsPlace and ListPlace).
1313 * src/main/java/org/glom/web/client/place/ListPlace.java:
1314 Add table name. Add code to parse the URL token.
1315 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1316 Update ListPlace construction with empty table name string.
1317 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1318 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1319 Change setTableSelectedIndex(int) to setSelectedTableName(String).
1320 Update ListPlace construction with table name string.
1321 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1322 Change defaultTableName field to tableName to reflect how it's now
1323 used. Update the getter and setter methods.
1325 2011-06-28 Ben Konrath <ben@bagu.org>
1327 Enable the table selector in the DetailsView.
1329 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1330 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1331 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1332 Remove getDefaultDetailsLayout(). The default layout is now returned
1333 by the getDetailsLayout() method when the table name is an empty
1335 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
1336 event handler for table change event. Change to using
1337 getDetailsLayout() for the default details layout.
1338 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
1340 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
1341 when navigating to the details place.
1343 2011-06-27 Ben Konrath <ben@bagu.org>
1345 Use filename based unique document ID in URL and for RPC.
1347 The document ID is the glom document name with spaces (' ') replaced
1348 with pluses ('+') and without the .glom extension.
1350 This change is mostly a string substitution of 'documentTitle' for
1351 'documentID'. The only code change is the addition of a Documents DTO to get the
1352 filename to document title mappings as indicated below.
1354 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1355 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1356 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1357 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1358 Use Documents DTO to create the document links in the document
1360 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1361 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1362 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1363 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1364 * src/main/java/org/glom/web/client/place/ListPlace.java:
1365 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1366 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1367 * src/main/java/org/glom/web/client/ui/ListView.java:
1368 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1369 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1370 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1371 * src/main/java/org/glom/web/server/Log.java:
1372 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1373 getDocumentTitles() to getDocuments() and return the Documents DTO.
1374 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
1375 transferring the filename to document title mappings.
1377 2011-06-25 Ben Konrath <ben@bagu.org>
1379 Make the authentication popup work again.
1381 This bug was introduced when I extracted ConfiguredDocument to its own class.
1383 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
1384 correct success / fail status in setUsernameAndPassword().
1386 2011-06-25 Ben Konrath <ben@bagu.org>
1388 Use filename as unique key for configuring database usernames and passwords.
1390 This replaces the use of the Glom document title which could change
1391 depending on the locale. Thanks to Murray Cumming for pointing out this
1394 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1395 * src/main/resources/onlineglom.properties:
1397 2011-06-24 Ben Konrath <ben@bagu.org>
1399 Pass primary key value to DetailsView.
1401 This enables the DetailsView to load the correct data.
1403 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
1404 primary key value field and set in constructor. Pass primary key
1405 value to getDetailsData().
1406 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
1407 variables for document title and primary key value.
1408 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
1409 key value to the DetailsPlace.
1411 2011-06-24 Ben Konrath <ben@bagu.org>
1413 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
1415 This allows the primary key to be retrieved by the Details button. This
1416 functionality has not been implemented yet but it's in the works.
1418 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
1419 the LayoutGroup result to ListView.setCellTable instead of all of its
1420 fields individually.
1421 * src/main/java/org/glom/web/client/ui/ListView.java:
1422 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
1423 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
1424 get the primary key for the table.
1425 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1426 index of the primary key in the LayoutGroup accounting for hidden
1427 primary keys. Rename getJavaNumberFormat() to
1428 convertToJavaNumberFormat() for consistency. Cleanup / add some
1430 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
1431 field for primary key index and a field to indicate whether the
1432 primary key is hidden or not.
1434 2011-06-23 Ben Konrath <ben@bagu.org>
1436 Rename getTableData methods to getListData.
1438 This is a rename refactor for consistency with other methods.
1440 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1441 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1442 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1443 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1445 2011-06-23 Ben Konrath <ben@bagu.org>
1447 Extract the ConfiguredDocument innerclass into its own class.
1449 This makes the servlet code more object oriented.
1451 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
1452 from private ConfiguredDocument class in OnlineGlomServiceImpl.
1453 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
1454 new ConfiguredDocument class.
1456 2011-06-21 Ben Konrath <ben@bagu.org>
1458 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
1460 This makes things more inline with how libglom works and reduces code
1461 duplication. This refactor lays the groundwork for adding the primary key to
1462 the LayoutGroup object.
1464 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1465 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1466 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1467 Change method names to getListLayout and getDefaultListLayout for
1468 consistency. Use LayoutGroup as the DTO for the list layout instead of
1469 ColumnInfo and LayoutListTable.
1470 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
1471 new method names along with the LayoutGroup object for transferring the
1473 * src/main/java/org/glom/web/client/ui/ListView.java:
1474 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1475 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
1476 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
1478 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
1479 Replaced with LayoutGroup.
1480 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
1481 expectedResultSize and defaultTableName fields which are needed for
1483 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
1484 type field which is needed for the list layout but will also be
1485 useful for the details layout as things progress.
1486 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1487 Make class abstract. Remove the unnecessary
1488 getFormattingHorizontalAlignment method. Add setFormatting method.
1490 2011-06-16 Ben Konrath <ben@bagu.org>
1492 Add scripts for building and installing war.
1494 These will help when updating OnlineGlom but they're also good
1495 supplemental documentation of the build and deployment proceeding.
1497 * utils/build-onlineglom-war.sh: New file.
1498 * utils/install-onlineglom-war.sh: New file.
1500 2011-06-16 Ben Konrath <ben@bagu.org>
1502 Create wrapper class to create consistent log messages.
1504 I wrapped methods in the Log class of gwt-log to add the method names
1505 from the servlet and create consistent formatting of the document title
1506 and table names in the log messages.
1508 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
1509 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
1510 log methods to use methods from wrapped Log class.
1512 2011-06-16 Ben Konrath <ben@bagu.org>
1514 Remove superfluous conditional return.
1516 Thanks to Murray Cumming for pointing this out!
1518 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1520 2011-06-15 Ben Konrath <ben@bagu.org>
1522 Return an ArrayList of LayoutGroups for the Details layout.
1524 This corrects a problem with the details layout as it can have more
1525 than one top level LayoutGroup.
1527 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1528 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
1529 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
1530 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
1531 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
1532 with ArrayList of LayoutGroups for the details view layout.
1533 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1534 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
1535 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
1536 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
1537 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
1538 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
1540 2011-06-14 Ben Konrath <ben@bagu.org>
1542 Use cast_dynamic method to determine the libglom LayoutItem type.
1544 This is better than finding the LayoutItem type by using the string
1545 returned from the get_part_type_name() method.
1547 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1549 2011-06-14 Ben Konrath <ben@bagu.org>
1551 Add method names to log entries in the servlet.
1553 This helps when tracking down deployment problems.
1555 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1557 2011-06-14 Ben Konrath <ben@bagu.org>
1559 Add data to the DetailsView using a hard-coded primary key value.
1561 The layout and functionality of the DetailsView is not complete. This
1562 is just a checkpoint so the patch doesn't get too big.
1564 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1565 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1566 Add getDetailsData() servlet method.
1567 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1568 Add RPC to getDetailsData(). Change the way the LayoutGroups and
1569 LayoutFields are added to the DetailsView.
1570 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1571 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1572 Add setData() method. Change addLayoutGroup() and addLayoutField() to
1573 take the string for the title instead of the object.
1574 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1575 Add implementation getDetailsData() along with some private helper
1577 * src/main/webapp/style.css: Add padding to details-data class. Add a
1578 details-label class with the same padding as the details-data class.
1580 2011-06-03 Ben Konrath <ben@bagu.org>
1582 Use presenter.goTo() to change to the DetailsPlace.
1584 This will make things easier when we need to open the DetailsView with
1585 data specific to the row that was clicked.
1587 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1589 2011-06-02 Ben Konrath <ben@bagu.org>
1591 Add CSS file from mockups.
1593 I'm adding this now because it's going to be useful to have when
1594 developing the DetailsView. The TableSelectionView and ListView aren't
1597 * src/main/webapp/OnlineGlom.html:
1598 * src/main/webapp/style.css:
1600 2011-06-02 Ben Konrath <ben@bagu.org>
1602 Use String.isEmpty() to check for empty string.
1604 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1606 2011-06-02 Ben Konrath <ben@bagu.org>
1608 Display main layout group titles in the DetailsView.
1610 This is the start of the DetailsActivity/DetailsView implementation.
1612 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1613 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1614 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
1615 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1616 Get the layout information for the details view from the server and set
1617 the main layout group titles.
1618 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1619 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1620 Add addLayoutGroup() and addLayoutField() methods. This are just
1621 temporary methods for creating the the details view that will change
1623 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1624 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
1626 * src/main/java/org/glom/web/shared/layout/Formatting.java:
1627 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1628 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
1629 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
1630 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1631 Data Transfer Objects that mimic the libglom object structure. These are
1632 used for transferring the details layout but could also be used for
1633 transferring the list layout.
1635 2011-05-27 Ben Konrath <ben@bagu.org>
1637 Reset the AuthenticationPopup when clearing the ListView.
1639 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1641 2011-05-27 Ben Konrath <ben@bagu.org>
1643 Fix problem with onlineglom.properties file loading.
1645 The old way worked in Eclipse but not on the server. Loading the
1646 onlineglom.properties file now works in Eclipse and on the server.
1648 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1650 2011-05-24 Ben Konrath <ben@bagu.org>
1652 Update gwt-log from 3.1.0 to 3.1.2.
1654 Gwt-log 3.1.0 has been marked as depreciated.
1658 2011-05-24 Ben Konrath <ben@bagu.org>
1660 Add comment to ListActivity.goTo() method.
1662 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1664 2011-05-24 Ben Konrath <ben@bagu.org>
1666 Remove FIXME in convertGdkColorToHtmlColour()
1668 The Gdk::Color value returned by libglom is 16-bits per channel on both
1669 64 and 32-bit platforms.
1671 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1673 2011-05-19 Ben Konrath <ben@bagu.org>
1675 Improve performance of initial ListView load.
1677 I removed a round trip to the server for getting the default table name
1678 and then requesting information about that table. This also removes a potential
1679 problem with the table change handler not being setup in time to receive the
1680 table change event from the ListActivity.
1682 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1683 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1684 getDefaultLayoutListTable() method. Improve comments.
1685 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1686 getDefaultLayoutListTable() method instead of firing a table change
1687 event to get the table to load.
1688 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1689 implementation of getDefaultLayoutListTable() method.
1690 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1693 2011-05-19 Ben Konrath <ben@bagu.org>
1695 Override toDebugString() in TableChangeEvent.
1697 This is useful to have for debugging.
1699 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1701 2011-05-19 Ben Konrath <ben@bagu.org>
1703 Add a "Back to List" link when at the DetailsPlace.
1705 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1706 Populate the CellTable based on the selected table of the ListBox if
1707 it's set otherwise use the default table. This allows the "Back to
1709 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1710 Remove Place from constructors. Add a setPlace() method. Add
1711 goToPlace() method. Set class as presenter for TableSelectionView.
1712 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1713 Use the same TableSelectionActivity when switching between the List and
1715 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1716 Subclass the new HasSelectableTablePlace. This removes some duplicate
1718 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1719 New class to represent Places that display the TableSelectionView.
1720 * src/main/java/org/glom/web/client/place/ListPlace.java:
1721 Subclass the new HasSelectableTablePlace. This removes some duplicate
1723 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1724 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1725 Add Presenter interface. Add setBackLinkVisible() method. Add
1726 setBackLink() method.
1728 2011-05-18 Ben Konrath <ben@bagu.org>
1730 Enable the "Details" buttons.
1732 Right now only an empty details view is displayed.
1734 * src/main/java/org/glom/web/client/ClientFactory.java:
1735 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1736 Add DetailsView to ClientFactory.
1737 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1738 A basic activity for the details view.
1739 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1740 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
1742 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1743 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
1745 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1746 Create a new DetailsActivity when a DetailsPlace is requested. Remove
1747 unnecessary super() in constructor.
1748 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1749 Create a new TableSelectionActivity when a DetailsPlace is requested. We
1750 really shouldn't create a new TableSelectionActivity for both the ListPlace
1751 and the DetailsPlace so this should be considered a temporary solution.
1752 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1753 New file. Represents a URL for the details view.
1754 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1755 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1756 A basic details view interface and implementation.
1757 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1758 Enable the "Details" buttons.
1760 2011-05-12 Ben Konrath <ben@bagu.org>
1762 Use a LayoutPanel with multiple display areas for main layout.
1764 This is mostly a refactor in that there are no changes from the user
1765 point of view. These changes are required so that we can swap out the list view
1766 with the details view when the user clicks the "Details" button.
1768 * src/main/java/org/glom/web/client/ClientFactory.java:
1769 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1770 OnlineGlomView. Add TableSelectionView, ListView and
1771 AuthenticationPopup.
1772 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
1773 for main layout. Add display regions for main activities. Add
1774 activity manager for for main activities.
1775 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
1776 file from parts of the deleted OnlineGlomActivity.
1777 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1778 New file from parts of the deleted OnlineGlomActivity.
1779 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1780 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
1781 New files for app wide table change event.
1782 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1783 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
1784 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1785 Activity mappers for the main activities replace the deleted app-wide
1787 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
1788 Fix a spelling error in he comment.
1789 * src/main/java/org/glom/web/client/ui/ListView.java:
1790 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1791 Renamed from LayoutListView and modified for MVP. This still not a
1792 proper dumb view as prescribed by the MVP pattern but it works for now.
1793 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1794 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1795 New widget stripped out of the deleted OnlineGlomView.
1796 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1797 Remove hack that is fixed by this patch.
1799 2011-05-06 Ben Konrath <ben@bagu.org>
1801 Rename OnlineGlomPlace to ListPlace.
1803 The only change besides the rename is that url will now display #list
1804 instead of #Document.
1806 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1807 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1808 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1809 * src/main/java/org/glom/web/client/place/ListPlace.java:
1810 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1812 2011-05-06 Ben Konrath <ben@bagu.org>
1814 Use Presenter for app navigation.
1816 This is the proper way to deal with Place (URL) changes with the MVP
1819 * src/main/java/org/glom/web/client/ClientFactory.java:
1820 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1821 PlaceHistoryMapper and PlaceHistoryHandler.
1822 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
1823 PlaceHistoryMapper and PlaceHistoryHandler.
1824 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1825 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
1826 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1827 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1828 Add Presenter interface and setPresenter methods. Rename addHyperLink
1829 to addDocumentLink taking only the document title as a parameter.
1831 2011-04-14 Ben Konrath <ben@bagu.org>
1833 Prompt for db username/password if they haven't been set.
1835 This is implemented with a popup widget that is contained within the
1836 OnlineGlomView and managed by the OnlineGlomActivity.
1838 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
1839 methods for checking and setting the database username and password.
1840 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
1841 new methods for checking and setting the database username and
1843 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1844 Display authentication popup if the JDBC connection to the database
1845 has not been authenticated.
1846 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
1848 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1849 for dealing with the authentication popup.
1850 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
1851 Implement the methods for dealing with the authentication popup.
1852 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
1853 try to executed queries if the database connection hasn't been
1854 authenticated. Implement methods for checking and setting the
1855 database username and password.
1857 2011-04-12 Ben Konrath <ben@bagu.org>
1859 Make log messages a little clearer.
1861 Add a dash betweeen the document title and the table name.
1863 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1865 2011-04-12 Ben Konrath <ben@bagu.org>
1867 Protect against NPEs when cleaning up database resources.
1869 While this isn't strictly necessary because the exception is caught,
1870 not protecting against the NPEs makes it harder to find the real error
1873 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1875 2011-04-12 Ben Konrath <ben@bagu.org>
1877 Move configuration of the servlet to the constructor.
1879 The servlet will be initialized even if the database authentication
1880 information is not set or correct. I still need to add the UI for prompting
1881 the user for the authentication information when it's required.
1883 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1884 javadocs for getDocumentTitles() method.
1885 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1886 Set error message when RPC fails.
1887 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
1888 glom files directory from the configuration file. Try to set the
1889 database authentication information for the specific document if it's
1890 set and works otherwise try to use the global authentication
1891 information set for the directory.
1892 * src/main/resources/onlineglom.properties: Moved from
1893 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
1894 Added detailed comments for the new keys.
1896 2011-04-11 Ben Konrath <ben@bagu.org>
1898 Remove unnecessary @Override in DocumentSelectionViewImpl.
1900 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1902 2011-04-11 Ben Konrath <ben@bagu.org>
1904 Remove center alignment in DocumentSelectionView.
1906 The title element is still centred but the document titles and bottom
1907 sentence are both left-aligned.
1909 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1911 2011-04-11 Ben Konrath <ben@bagu.org>
1913 Change 'Demo' naming convention to 'Document'.
1915 This is just a rename refactor with no functional changes to the code.
1917 * src/main/java/org/glom/web/client/ClientFactory.java:
1918 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1919 * src/main/java/org/glom/web/client/OnlineGlom.java:
1920 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1921 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1922 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1923 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1924 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1925 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1926 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1927 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1928 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1929 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1931 2011-04-08 Ben Konrath <ben@bagu.org>
1933 Remove FIXME from safeLongToInt() method.
1935 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1938 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1940 2011-04-08 Ben Konrath <ben@bagu.org>
1942 Display an error if no glom documents are found in the specified directory.
1944 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1945 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1946 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1947 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1949 2011-04-08 Ben Konrath <ben@bagu.org>
1951 Add copyright header to one more file ... oops.
1953 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1955 2011-04-08 Ben Konrath <ben@bagu.org>
1957 Add copyright header to files without it.
1959 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1960 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1961 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1962 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1963 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1964 * src/main/java/org/glom/web/shared/GlomField.java:
1966 2011-04-08 Ben Konrath <ben@bagu.org>
1968 Add support for accessing multiple glom documents in the servlet.
1970 This completes the demo selection functionality.
1972 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1973 document title to methods.
1974 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1975 document title to methods.
1976 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1977 Set browser window title when the activity starts. Correct name of
1978 document title variable.
1979 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1980 Set browser window title when the activity starts. Set the table
1981 selector change handler after table selector has been set. Clear the
1982 OnlineGlomView when the activity has been stopped.
1983 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1984 document title as the place token. Use "#Document:" instead of
1985 "#OnlineGlomPlace:" in the URL.
1986 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1987 Change heading to "Online Glom"
1988 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1989 document title in RPC methods.
1990 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1991 setDocumentTitle() method. Add clear() method.
1992 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1993 setDocumentTitle() method. Implement clear() method which removes the
1994 change handler on the ListBox, clears the ListBox and clears the
1996 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1997 Implement methods with document title. Keep track for the configured
1998 glom documents and their corresponding JDBC configurations in a hash
1999 table. This information is retrieved using the document title as the
2000 key in the hash table.
2001 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
2002 document title field as it's no longer needed.
2004 2011-04-08 Ben Konrath <ben@bagu.org>
2006 Update the Eclipse JDT configuration.
2008 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
2009 methods. Automatically add the copyright header to new files.
2011 2011-04-05 Ben Konrath <ben@bagu.org>
2013 Add new page for demo selection.
2015 This patch adds all the components required to view and start an
2016 OnlineGlom demo by clicking on the desired hyperlink. The user is
2017 able to return to the demo selection page with the browser's back
2018 button. I still need to modify the servlet to work with multiple
2019 documents so all demo links will load the file defined in the
2020 OnlineGlom.properties.
2022 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
2023 This is only useful during development so we don't need to save it.
2024 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
2025 get a reference to the DemoSelectionView.
2026 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
2027 method to get a reference to the DemoSelectionView.
2028 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
2029 default view to DemoSelectionView.
2030 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
2031 to get glom document titles for glom files in a hard-coded directory.
2032 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
2033 method to get glom document titles for glom files in a hard-coded
2035 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
2036 Presenter for DemoSelectionView.
2037 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
2038 for DemoSelectionView.
2039 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2040 Update for DemoSelectionView.
2041 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
2042 Basic 'Place' implementation for the DemoSelectionView.
2043 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
2044 The interface for the DemoSelectionView.
2045 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
2046 The implementation of the DemoSelectionView.
2047 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
2048 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
2049 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2050 implementation of method to get glom document titles for glom files
2051 in a hard-coded directory.
2052 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
2053 on longer being used.
2054 * src/main/webapp/glom.png: Glom logo.
2056 2011-04-05 Ben Konrath <ben@bagu.org>
2058 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
2060 This is the forth and final commit of a refactor that will allow
2061 OnlineGlom to be used with multiple documents.
2063 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2064 Move RPC code from OnlineGlomViewImpl to this class.
2065 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
2067 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
2068 RPC code to the presenter class (the P in MVP).
2070 2011-04-04 Ben Konrath <ben@bagu.org>
2072 Start moving the existing OnlineGlom code to MVP.
2074 This work is based on the GWT MVP framework that is documented here:
2076 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
2078 This is the third commit of a refactor that will allow OnlineGlom to
2079 be used with multiple documents.
2081 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
2082 Interface for client factory which is used to get instances of various
2083 classes throughout the app.
2084 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
2085 Implementation of client factory.
2086 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
2087 initialize the MVP framework.
2088 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2089 New file. Activity manager for the main container widget. This is the
2091 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
2092 Maps place (URL) to its corresponding activity.
2093 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2094 New file. This is just a place holder for a generated file.
2095 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
2096 New file. Represents the URL for the main Online Glom app.
2097 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
2098 for changes in LayoutListViewImpl.
2099 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
2100 interface for View. Move code to OnlineGlomViewImpl class.
2101 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
2102 file. Implementation of OnlineGlomView.
2103 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
2104 Place resources. Use ClientFactoryImpl by default.
2106 2011-04-04 Ben Konrath <ben@bagu.org>
2108 Move View classes to their own package.
2110 This is the second commit of a refactor that will allow OnlineGlom to
2111 be used with multiple documents.
2113 * src/main/java/org/glom/web/client/OnlineGlom.java:
2114 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
2115 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
2117 2011-04-02 Ben Konrath <ben@bagu.org>
2119 Move UI code from the main module to its own class.
2121 This is the first commit of a refactor that will allow OnlineGlom to be
2122 used with multiple documents.
2124 * src/main/java/org/glom/web/client/LayoutListView.java: Update
2125 references to OnlineGlom to OnlineGlomView.
2126 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
2127 OnlineGlomView and instantiate it here.
2128 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
2129 represents the main OnlineGlomView with one document.
2131 2011-04-01 Ben Konrath <ben@bagu.org>
2133 Fix formatting of gwt.xml and add DTD.
2135 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2137 2011-03-30 Ben Konrath <ben@bagu.org>
2139 Propperly convert gdkColor string to html colour string.
2141 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2143 2011-03-28 Ben Konrath <ben@bagu.org>
2145 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
2147 This implementation matches
2148 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
2149 readable and is not tied to Swig.
2151 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2153 2011-03-28 Ben Konrath <ben@bagu.org>
2155 Use read-only checkboxes for boolean field types.
2157 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
2158 in the CellTable based on the field type. It currently only
2159 distinguishes between boolean and text columns but I'll need to add
2160 support for more types.
2161 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
2162 column type in the ColumnInfo object. Add method to convert between the
2163 glom field type enum in ColumnInfo and the glom field type in libglom.
2164 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
2166 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
2167 getting and setting booleans.
2169 2011-03-25 Ben Konrath <ben@bagu.org>
2171 Don't get the Date twice from the ResultSet.
2173 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2175 2011-03-25 Ben Konrath <ben@bagu.org>
2177 Cleanup code in the servlet.
2179 * TODO: Remove item about row count. Add item about testing row count
2180 query with large number of rows.
2181 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
2182 spelling mistakes, change method parameter to be consistent with
2185 2011-03-25 Ben Konrath <ben@bagu.org>
2187 Add server side logging with the gwt-log library.
2189 * .gitignore: Ignore the log file we're now producing.
2190 * TODO: Add a couple TODO item for logging.
2191 * pom.xml: Add gwt-log and log4j as a dependency.
2192 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2193 logging of errors, warnings and some important info.
2194 * src/main/resources/log4j.properties: New file to configure log4j.
2196 2011-03-24 Ben Konrath <ben@bagu.org>
2198 Add a disable button for the Details view.
2200 * src/main/java/org/glom/web/client/LayoutListView.java:
2202 2011-03-22 Ben Konrath <ben@bagu.org>
2204 Use a count query to get the number of rows for the list view pager.
2206 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2208 2011-03-22 Ben Konrath <ben@bagu.org>
2210 Add more TODO information about CellTable pager positioning.
2214 2011-03-19 Ben Konrath <ben@bagu.org>
2216 Add TODO item about CellTable pager positioning.
2220 2011-03-18 Ben Konrath <ben@bagu.org>
2222 Remove unneeded GlomFieldColumn class.
2224 This is just a small code cleanup.
2226 * src/main/java/org/glom/web/client/LayoutListView.java:
2228 2011-03-18 Ben Konrath <ben@bagu.org>
2230 Use cursor mode in the query that gets data for the list view.
2232 I still need to fix the potential memory problem when getting the row
2233 count for the list view.
2235 * TODO: Add note about testing memory usage with large data sets. Add
2236 item about fixing row counting with large data sets.
2237 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
2238 PostgreSQL JDBC driver into cursor mode when getting data for the
2241 2011-03-15 Ben Konrath <ben@bagu.org>
2243 Remove the GWT Container from the Eclipse build classpath.
2245 The GWT dependencies are set by Maven so this isn't needed.
2249 2011-03-15 Murray Cumming <murrayc@murrayc.com>
2251 Added some earlier mockups to git, but not to the tarball dist.
2253 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
2254 Openismus. These hopefully show how we might structure the HTML so that
2255 it can be styled easily with CSS. However, we probably need to adapt them
2256 for the CSS structure that GWT dictates for common widgets.
2258 2011-03-14 Ben Konrath <ben@bagu.org>
2260 Locate OnlineGlom.properties using the ServletContext.
2262 This is required to be able to locate the file in the deployed servlet.
2264 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2265 Configure the database and glom document in in a helper method so
2266 that the ServletContext can be used to locate OnlineGlom.properties.
2267 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
2268 src/main/webapp. This is the proper location for .properites files.
2270 2011-03-12 Ben Konrath <ben@bagu.org>
2272 Add note to README about why we're compiling down to obfuscated JavaScript.
2276 2011-03-11 Ben Konrath <ben@bagu.org>
2278 Use properties file to configure servlet.
2280 This allows people to change the glom file path, db username and db
2281 password without recompiling the code.
2283 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2284 * src/main/webapp/OnlineGlom.properties:
2286 2011-03-11 Ben Konrath <ben@bagu.org>
2288 Use table fields in layout list view if the layout list is not defined.
2290 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2291 Manually create a LayoutFieldVector for the query builder using the
2292 table fields when a layout list is not defined in the glom file.
2294 2011-03-11 Ben Konrath <ben@bagu.org>
2296 Only show FIXME string for images when there's an image.
2298 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
2299 in this change are some small code cleanups.
2301 2011-03-11 Ben Konrath <ben@bagu.org>
2303 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
2305 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2307 2011-03-11 Ben Konrath <ben@bagu.org>
2309 Correctly set the index of the default table.
2311 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2312 Correctly set the index of the default table. Add commented out example
2315 2011-03-10 Ben Konrath <ben@bagu.org>
2317 Add comment to pom.xml about the previous change.
2319 * pom.xml: Add comment about the deployment issue so that it's obvious
2320 why java-libglom is set to the provided scope.
2322 2011-03-10 Ben Konrath <ben@bagu.org>
2324 Change java-libglom dependency from compile to provided in pom.xml.
2326 Since java-libglom uses jni it can only be loaded once and therefore
2327 must be placed in $CATALINA_HOME/lib and not included in each war.
2328 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
2329 More information about this issue can be found in the Tomcat 6 release
2330 notes in the "JNI Based Applications" section:
2332 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
2334 * README: Remove note about this issue. Deployment info should really
2335 be on the wiki anyway so I'll add it right now.
2336 * pom.xml: Change java-libglom dependency from compile to provided so
2337 that it's copied in to the packaged war.
2339 2011-03-09 Ben Konrath <ben@bagu.org>
2341 Change to using a neutral locale for currency, date and time formatting.
2343 This solves the problem of currency values being represented without a
2344 space between the currency code and the number (e.g. "EUR5.89" is now
2345 represented as "EUR 5.89"). More work is required when we implement
2346 a locale preference setting.
2348 * TODO: Add note about currency formatting issues with different
2350 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2351 to using the neutral ROOT locale.
2353 2011-03-09 Ben Konrath <ben@bagu.org>
2355 Add support for currency codes that are not ISO 4217 codes.
2357 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2358 the currency code defined in the glom file when it's not 3 characters
2359 long or when Java doesn't recognize the string as an ISO 4217 code.
2361 2011-03-08 Ben Konrath <ben@bagu.org>
2363 Remove test classes, launch configurations and configuration.
2365 The test stuff was getting in the way when creating the war. To make
2366 the war file you can now do 'mvn clean package'. The packaged war file
2367 will be in the target directory.
2369 * .classpath: Remove unused classpathentry for tests and i18n.
2370 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
2371 property. Don't run test or i18n goals when packaging the war.
2372 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
2377 * OnlineGlomTest-dev.launch:
2378 * OnlineGlomTest-prod.launch:
2379 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
2380 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2382 2011-03-07 Ben Konrath <ben@bagu.org>
2384 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
2386 These fixes allow me to use 'mvn deploy' to create the war file.
2388 * .classpath: This generated config has been updated by Eclipse. This
2389 change was probably triggered by me updating from Eclipse 3.6.1 to
2391 * .gitignore: Add entry to ignore the directory
2392 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
2393 * .project: The generated config has been updated by Eclipse. This
2394 change was probably triggered by me updating from Eclipse 3.6.1 to
2396 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
2397 so that Eclipse doesn't complain
2398 * pom.xml: Update to gwt-maven-plugin 2.2.0.
2399 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
2400 'tests' directory to 'client' directory. This is the new
2401 gwt-maven-plugin convension.
2402 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
2403 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
2405 2011-03-07 Ben Konrath <ben@bagu.org>
2407 Add support for horizontal alignment in the LayoutList columns.
2409 * TODO: Remove item about horizontal alignment. Add item about
2410 improvements to ColumnInfo.
2411 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
2412 alignment on the columns. Use ColumnInfo RPC object get the column
2413 title and horizontal alignment.
2414 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2415 LayoutListView creation with ColumnInfo RPC object.
2416 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
2417 a ColumnInfo object for every LayoutList columnn. Convert the
2418 FieldFormatting.HorizontalAlignment to the correct
2419 ColumnnInfo.HorizontatlAlignment with the new
2420 getColumnInfoHorizontalAlignment helper method.
2421 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
2422 to encapsulate column information like alignment and title. This
2423 could be used to set the colour instead of on a per cell field basis.
2424 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
2425 column title storage and retrieval with ColumnInfo.
2427 2011-03-04 Ben Konrath <ben@bagu.org>
2429 Add support for column sorting.
2431 * src/main/java/org/glom/web/client/LayoutListView.java: Change
2432 AsynDataProvider to be an anonymous inner class. Use new
2433 getSortedTableData RPC method when column sort is requested. Set all
2434 columns sortable and add an AsyncHandler to activate sorting in the
2436 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
2437 method getSortedTableData(). Cleanup other method signatures.
2438 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
2439 new method getSortedTableData(). Cleanup other method signatures.
2440 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2441 Implement getSortedTableData() and getTableData() methods by using a
2442 private helper method with the appropriate parameters filled in. Use
2443 user supplied sort clause when supplied, otherwise fall back to
2444 sorting by the primary key. Move destroy() method to be underneath
2445 constructor for readability. Cleanup comments.
2447 2011-03-03 Ben Konrath <ben@bagu.org>
2449 Add support for colour text and colour backgrounds to the layout list cells.
2451 Only the cell backgrounds are coloured which leaves a gap between the
2452 cells that isn't coloured. I need to figure out a way to set
2453 'style=background-colour:' on the whole column rather than just the
2456 * TODO: Add a note about colouring the background of the whole column.
2457 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
2458 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
2459 render the coloured text and backgrounds. Use GlomField[] for the row type.
2460 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
2462 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
2463 GlomField[] for the row type.
2464 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2465 GlomField[] for the row type. Set the text, text colour and background
2466 colour in the GlomField objects as specified in the glom document. Add
2467 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
2468 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
2469 the glom field text, foreground colour and background colour.
2471 2011-03-02 Ben Konrath <ben@bagu.org>
2473 Don't display hidden tables in the combo box.
2475 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
2477 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2478 code to ignore hidden tables using ArrayLists for the table names and
2480 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
2481 tableNames to use ArrayLists instead of String[]. Update getter and setter
2484 2011-03-01 Ben Konrath <ben@bagu.org>
2486 Add support for Date and Time number types.
2488 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2489 Implement formatting for Date and Time values. Change the default glom
2490 file to small business example.
2492 2011-03-01 Ben Konrath <ben@bagu.org>
2494 Add support for formatting glom types as specified in the glom file.
2496 Formatting isn't finished yet - I still need to add support for Date
2499 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2500 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
2501 checks for null values in JDBC cleanup code and catch all exceptions
2502 instead of just SQLExceptions.
2503 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
2506 2011-03-01 Ben Konrath <ben@bagu.org>
2508 Use GWT 2.2.0 instead of 2.1.1.
2510 * pom.xml: Change GWT version numbers.
2512 2011-03-01 Ben Konrath <ben@bagu.org>
2514 A few small code cleanups.
2516 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
2518 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
2519 unnecessary object creation in constructor.
2520 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
2521 unnecessary object creation in constructor.
2523 2011-02-28 Ben Konrath <ben@bagu.org>
2525 Add file for TODO list.
2529 2011-02-18 Ben Konrath <ben@bagu.org>
2531 Enable the CellTable Pager when more than 20 rows need to be viewed.
2533 The Pager will automatically become active when the results are larger
2534 than the CellTable size which is currently set to 20 lines.
2536 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
2537 name on debug statment in RPC call in LayoutListDataProvider, add
2538 numRows parameter to LayoutListView constructor, propperly set rowCount
2540 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
2541 name on debug statment in RPC call, use LayoutListTable object in RPC
2542 calls, pass rowCount to LayoutListView.
2543 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
2544 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
2546 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
2547 interface for changes in OnlineGlomService.
2548 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2549 getLayoutListHeaders() to getLayoutListTable() and return
2550 LayoutListTable. Using this object allows me to pass other information
2551 about the LayoutList like the expected number of rows in the result set.
2552 The Connection object from the connection pool is now propperly closed.
2553 Only the requested number of lines are returned to the client in
2555 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
2556 GlomTable and add columnTitles and numRows.
2558 2011-02-18 Ben Konrath <ben@bagu.org>
2560 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
2562 This is a small performance boost. I'll use GlomTable to get the required
2563 layoutlist information.
2565 * src/main/java/org/glom/web/client/OnlineGlom.java:
2566 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2567 * src/main/java/org/glom/web/shared/GlomDocument.java:
2569 2011-02-18 Ben Konrath <ben@bagu.org>
2571 Add option to turn off formatting in JDT formatter preferences.
2573 * .settings/org.eclipse.jdt.core.prefs:
2575 2011-02-18 Ben Konrath <ben@bagu.org>
2577 Rename LayoutList to LayoutListView.
2579 I'm working towards setting things up to easily use MVP when the time
2582 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
2584 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2587 2011-02-17 Ben Konrath <ben@bagu.org>
2589 Move LayoutListDataProvider class into LayoutList.java.
2591 * src/main/java/org/glom/web/client/LayoutList.java:
2593 2011-02-17 Ben Konrath <ben@bagu.org>
2595 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
2597 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
2599 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
2600 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
2601 from LibGlomServer.java.
2602 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2603 Rename from LibGlomServiceAsync.java.
2604 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2605 Rename from LibGlomServiceImpl.java.
2606 * src/main/webapp/WEB-INF/web.xml: Update configuration.
2608 2011-02-17 Ben Konrath <ben@bagu.org>
2610 Update JDT settings.
2612 * .settings/org.eclipse.jdt.core.prefs:
2614 2011-02-17 Ben Konrath <ben@bagu.org>
2616 Move GWT-RPC objects to shared package (where they should be).
2618 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
2619 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
2620 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
2621 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
2622 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
2623 org.glom.web.shared package.
2624 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
2625 org.glom.web.shared package.
2626 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
2627 directory in compilation to javascript.
2629 2011-02-16 Ben Konrath <ben@bagu.org>
2631 Add sort clause to the sql query that grabs table information.
2633 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2634 if one of the columns is a primary key.
2636 2011-02-16 Ben Konrath <ben@bagu.org>
2638 Disable generateAsync feature of gwt-maven.
2640 The generated interface does not correctly match the methods in LibGlomService
2641 and the generated singleton Util inner-class doesn't respect the servlet
2644 * pom.xml: Turn off generateAsync feature.
2645 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2646 with singleton Util inner-class.
2648 2011-02-14 Ben Konrath <ben@bagu.org>
2650 Add LGPL v3 licence notices.
2652 Followed directions listed here:
2653 http://www.gnu.org/licenses/gpl-howto.html
2655 * COPYING: This file is a copy of the GPL v3.
2656 * COPYING.LESSER: This file is a copy of the LGPL v3.
2657 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2659 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2661 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2663 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2665 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2667 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2669 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2672 2011-02-14 Ben Konrath <ben@bagu.org>
2674 Use ArrayList instead of Array in GWT-RPC calls.
2676 Apparently this gives a slight performance boost to the compiled
2679 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2681 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2684 2011-02-14 Ben Konrath <ben@bagu.org>
2686 Access data from a postgres db rather than the example glom file.
2688 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2689 compile down to obfuscated javascript.
2690 * pom.xml: Add c3p0 and postgres JDBC libraries.
2691 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2692 using a postgres db accessed through the c3p0 connection pooling library.
2694 2011-02-14 Ben Konrath <ben@bagu.org>
2696 Update Java formatter settings.
2698 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
2700 2011-02-02 Ben Konrath <ben@bagu.org>
2702 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
2704 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
2706 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
2707 the compiled webapp directory that Eclipse uses as we're using Maven now.
2708 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
2709 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
2711 * pom.xml: Format file, change target Java version to 1.6.
2713 2011-02-02 Ben Konrath <ben@bagu.org>
2715 Add information about a deployment related issue.
2717 * README: Add Notes section with the problem outlined.
2719 2011-02-02 Ben Konrath <ben@bagu.org>
2721 Call Glom.libglom_deinit() when the servlet is shutdown.
2723 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2724 Glom.libglom_deinit() to destroy() method.
2726 2011-01-28 Ben Konrath <ben@bagu.org>
2728 Use generated Util class to get the RPC Async interface.
2730 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
2732 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
2733 getInstance() method to get a reference to the RPC Async interface.
2734 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
2735 getInstance() method to get a reference to the RPC Async interface, remove
2736 the now unused getLibGlomServiceProxy() method.
2738 2011-01-27 Ben Konrath <ben@bagu.org>
2740 Cleanup ChangeLog entry from previous commit.
2742 * ChangeLog: Group logical changes together and add comments.
2744 2011-01-25 Ben Konrath <ben@bagu.org>
2746 Convert to gwt-maven project.
2748 * .gitignore: Update for new project structure.
2749 * README: New file with a link to the online documentation.
2750 * pom.xml: The generated maven configuration file with some tweaks.
2752 Add / update Eclipse settings. These files are a merge of the files that
2753 were generated with the gwt-maven plugin and the files we were previously
2757 * .settings/.jsdtscope:
2758 * .settings/com.google.gdt.eclipse.core.prefs:
2759 * .settings/com.google.gwt.eclipse.core.prefs:
2760 * .settings/org.eclipse.jdt.core.prefs:
2761 * .settings/org.eclipse.wst.common.component:
2762 * .settings/org.eclipse.wst.common.project.facet.core.xml:
2763 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
2764 * .settings/org.maven.ide.eclipse.prefs:
2765 * OnlineGlomTest-dev.launch:
2766 * OnlineGlomTest-prod.launch:
2768 Java source files moved from the 'src' directory to the directory structure
2770 * src/main/java/org/glom/web/client/GlomDocument.java:
2771 * src/main/java/org/glom/web/client/GlomTable.java:
2772 * src/main/java/org/glom/web/client/LayoutList.java:
2773 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
2774 * src/main/java/org/glom/web/client/LibGlomService.java:
2775 * src/main/java/org/glom/web/client/OnlineGlom.java:
2776 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
2778 Non-functional property file used for translations. I included this as
2779 reminder that it's something I need to sort out.
2780 * src/main/resources/org/glom/web/client/Messages.properties:
2782 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
2783 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2785 The servlet configuration files moved from the 'war' directory.
2786 * src/main/webapp/OnlineGlom.css:
2787 * src/main/webapp/OnlineGlom.html:
2788 * src/main/webapp/WEB-INF/web.xml:
2790 Generated test files with most of the code commented out. I included these
2791 so that it's easy to add tests when we're ready for them.
2792 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
2793 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2795 2011-01-25 Ben Konrath <ben@bagu.org>
2797 Remove unused println.
2799 * src/org/glom/web/server/LibGlomServiceImpl.java:
2801 2011-01-25 Ben Konrath <ben@bagu.org>
2803 Add project specific JDT settings.
2805 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
2806 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
2808 2011-01-25 Ben Konrath <ben@bagu.org>
2810 Populate celltable with example data.
2812 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
2813 * src/org/glom/web/client/GlomTable.java: Correct formatting.
2814 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
2815 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
2816 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
2817 asynchronously gets the example data.
2818 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
2819 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
2820 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
2821 curently selected table to be retrieved by other widgets.
2822 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
2823 implement getTableData() in a hacky way. This method needs to be updated
2824 to grab information from the database when database creating is
2827 2011-01-20 Ben Konrath <ben@bagu.org>
2829 Set table headers when table dropBox changes.
2831 * src/org/glom/web/client/GlomDocument.java: Correct some method
2833 * src/org/glom/web/client/LibGlomService.java: Add method
2834 to get list layout field names.
2835 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
2836 to get list layout field names.
2837 * src/org/glom/web/client/ListLayoutTable.java: New file - composite