1 2011-09-27 Ben Konrath <ben@bagu.org>
3 Add field colouring to details view.
5 This change re-works how field colouring works. The colour formatting
6 information is now set to the client with the layout information instead of
7 with the data. This eliminates the need to send the same colour strings for
8 data in list view column when colour information is set.
10 In order to set an alternate colour for negative numeric values, the
11 number is now sent to client and formatted with the GWT NumberFormat class.
13 This change also fixes:
15 https://bugzilla.gnome.org/show_bug.cgi?id=659752
17 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
18 internationalization framework which is needed for client side numeric
20 * src/main/java/org/glom/web/client/Utils.java: New file for some
21 client static utility methods.
22 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
23 the DataItem object to the Field class. Use a utility method to
24 create the foreignKeyValue string.
25 * src/main/java/org/glom/web/client/ui/details/Field.java: Set
26 alignment and text colours in the constructor. Add setData(DataItem)
27 method. Remove setText(String) method.
28 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
29 colour information to GlomTextCell. Create and use GlomNumberCell for
30 rendering numbers. Use utility method to get the string for the
31 primary key of the key provider. Re-work how the horizontal alignment
33 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
34 formatting to layout information. Methods for converting the libglom
35 formatting information were moved from DBAccess.
36 * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
37 numeric formatting (it's now done on the client side). Don't set text
38 colours in DataItem. Move libglom formatting conversion methods to
40 * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
41 getters/setters for text colour information.
42 * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
43 for transferring the libglom NumericFormat information to the client.
44 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
45 and getters/setters for: GlomNumericFormat, background colour and
46 foreground colour strings.
48 2011-09-26 Ben Konrath <ben@bagu.org>
50 Simplify code that iterates through the LayoutGroup.
52 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
54 2011-09-26 Ben Konrath <ben@bagu.org>
56 Accept Eclipse formatting for OnlineGlomServiceAsync.
58 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
60 2011-09-26 Ben Konrath <ben@bagu.org>
62 Don't use the ListDBAccess classes to get the primary key layout information.
64 This was causing a bug where the wrong index for the hidden primary key
65 was being sent to the client.
67 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
68 primary key while creating the LayoutGroup DTO. Create a
69 LayoutItemField DTO for hidden primary keys. Don't use the
70 RelatedListDBAccess because it was only used for getting the primary
72 * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
73 access modifier from public to protected for getPrimaryKeyField() and
74 getPrimaryKeyLayoutItemField().
75 * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
76 abstract method getExpectedResultSize() because RelatedListDBAccess
77 doesn't have enough info to implement it.
78 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
79 Remove @Override for getExpectedResultSize().
80 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
81 Remove method getExpectedResultSize().
83 2011-09-23 Ben Konrath <ben@bagu.org>
85 Log which layout (list or details) the ignored item is from.
87 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
89 2011-09-23 Ben Konrath <ben@bagu.org>
91 Remove annotations that turn off code formatting in DataItem.
93 * src/main/java/org/glom/web/shared/DataItem.java:
95 2011-09-23 Ben Konrath <ben@bagu.org>
97 Rename GlomField to DataItem and update associated methods.
99 This is a rename-only refactor. No functionality has been added or
102 * src/main/java/org/glom/web/client/OnlineGlomService.java:
103 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
104 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
105 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
106 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
107 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
108 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
109 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
110 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
111 * src/main/java/org/glom/web/server/database/DBAccess.java:
112 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
113 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
114 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
115 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
116 * src/main/java/org/glom/web/shared/DataItem.java:
117 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
118 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
120 2011-09-23 Ben Konrath <ben@bagu.org>
122 Rename GlomDocument to DocumentInfo and update associated methods.
124 This is a rename-only refactor. No functionality has been added or
127 * src/main/java/org/glom/web/client/OnlineGlomService.java:
128 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
129 * src/main/java/org/glom/web/client/activity/ListActivity.java:
130 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
131 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
132 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
133 * src/main/java/org/glom/web/shared/DocumentInfo.java:
135 2011-09-20 Ben Konrath <ben@bagu.org>
137 Require java-libglom 1.17.3.
139 This picks up the fix for the seg fault problem with the Scenes table
140 in the Openismus Film Manager example.
144 2011-09-20 Ben Konrath <ben@bagu.org>
146 Change the way sort clause is added for primary key when no sort clause is requested.
148 The primary key is now added to the LayoutFieldVector (fieldsToGet)
149 before the sort clause is created. When a sort clause is not requested, the
150 sort clause is created by finding the primary key in the LayoutFieldVector
153 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
155 2011-09-20 Ben Konrath <ben@bagu.org>
157 Log error message if no documents are found in the configured directory.
159 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
160 Extract the glom file extension string to a private static final class
161 variable (mostly as syntactic sugar). Accept a minor formatting change.
162 * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
163 the example glom.document.directory configuration property to make it
164 more clear that it can any directory, not just the home directory.
166 2011-09-18 Ben Konrath <ben@bagu.org>
168 Add related lists to details view.
170 The related list table has support for paging and sorting just like the
171 table in the list view.
173 * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
174 SQL queries for the related list tables.
175 * src/main/java/org/glom/web/client/OnlineGlomService.java:
176 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
177 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
178 Rename getList methods to getListView and add comments. Remove
179 getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
180 it being unused. Add methods: getDetailsLayoutAndData(),
181 getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
182 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
183 Create the layout and set the data for the fields in one async call
184 instead of two. Create related lists where appropriate.
185 * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
186 for method name changes in OnlineGlomService.
187 * src/main/java/org/glom/web/client/ui/DetailsView.java:
188 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
189 addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
191 * src/main/java/org/glom/web/client/ui/ListView.java:
192 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
193 tableName from setCellTable(). Create a ListViewTable instead of
195 * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
196 represent a data field in the details view.
197 * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
198 from addDetailsCell() to Field class. Keep track of the Fields and
199 Portals in the details view.
200 * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
201 a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
202 and add a method to get it. Add method to set the contents of the
204 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
205 New class for related list tables. This class has the data provider
206 for the related list table.
207 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
208 abstract class which is the base class for the ListViewTable and the
210 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
211 New class for list view tables. This class has the data provider for
213 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
214 methods for related list tables. Add more information to the
215 LayoutItemField and LayoutItemPortal DTOs.
216 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
217 Remove debugging print statement.
218 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
219 Remove debugging print statements. Add primary key field to SQL count
221 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
222 Remove unnecessary LayoutFieldVector parameter from
223 getResultSizeOfSQLQuery() method.
224 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
225 New class for related list table database access.
226 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
227 class that is a wrapper DTO for details view layout and data.
228 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
229 new 'fromField' string to this DTO.
230 * src/main/webapp/style.css: Remove bottom margin and override top
233 2011-09-15 Ben Konrath <ben@bagu.org>
235 Breakup the OnlineGlomServiceImpl class to make it more manageable.
237 This sets things up to make it easier to add the data retrieval for
238 related lists (portals). No user noticeable changes were made with
241 * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
242 class has the code to retrieve the layouts and access the
243 database using the new database helper classes.
244 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
245 Most of the functionality has been removed from this class. This
246 class now represents the public interface for the client side
247 code. It also deals with configuring the servlet and cleaning
248 things up when the servlet is stopped.
249 * src/main/java/org/glom/web/server/Utils.java: Extract a couple
250 of static methods into this utility class.
251 * src/main/java/org/glom/web/server/database/DBAccess.java:
252 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
253 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
254 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
255 These classes have the database retrieval code. The class hierarchy
256 has been setup to make it easy to reuse code for similar
259 2011-09-06 Ben Konrath <ben@bagu.org>
261 Create separate classes for list table code and the data provider.
263 As part of this refactor, I also split up the code a bit to make it
266 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
267 table code to two new classes (below).
268 * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
269 with code from ListViewImpl.
270 * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
271 New file with code from ListViewImpl.
273 2011-09-06 Ben Konrath <ben@bagu.org>
275 Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
277 This fixes the LayoutItemPortal DTO to match the libglom layout object
280 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
282 2011-09-01 Ben Konrath <ben@bagu.org>
284 Set title of Portals in the Details View.
286 * pom.xml: Bump required version of java-libglom to 1.17.1.
287 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
288 widget creation to its own class. Add comments to constructor.
289 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
290 The code is mostly from the Group class with the title now set.
291 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
292 title of Portal. Update some comments. Fix some code formatting.
294 2011-09-01 Ben Konrath <ben@bagu.org>
296 Remove TODO comment for the flow table column width.
298 The flow table column width is working correctly and doesn't need to be
299 changed. See this mailing list post for more info:
301 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
303 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
305 2011-08-27 Ben Konrath <ben@bagu.org>
307 Add document title (database name) to top of the browser page.
309 I added the document title to the TableSelecitonView but that will
310 change if / when we add a view that doesn't require table selection.
312 * mockups/details-contacts.html:
313 * mockups/details-projects.html:
314 * mockups/listview-contacts.html:
315 * mockups/listview-projects.html:
316 * mockups/style.css: Add document title to mockups to keep things
318 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
319 sizes to account for the document title.
320 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
321 Set the document title when it has been retrieved from the server.
322 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
323 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
324 and implement setDocumentTitle(String) method.
325 * src/main/webapp/style.css: Add ID for document title style.
327 2011-08-25 Ben Konrath <ben@bagu.org>
329 Add NavigationType enum to LayoutItemPortal DTO.
331 This is the start of adding support for Portals to the Details View.
333 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
334 LayoutItem_Portal.navigation_type enum from libglom to
335 LayoutItemPortal.NavigationType enum.
336 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
337 NavigationType enum, field for storing the NavigationType and getter
340 2011-08-25 Ben Konrath <ben@bagu.org>
342 Implement the flow table layout in the Details View.
344 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
345 FlowTable to Group to account for the renamed class.
346 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
347 File. This is a container widget that implements the Glom details view
348 flow table behaviour.
349 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
350 org/glom/web/client/ui/FlowTable.java.
351 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
352 so that the size of the subgroups are a closer match to the size of
353 the Glom subgroups. This makes the flowtable layout match the layout
354 in Glom for the Music Collection example file.
356 2011-08-16 Ben Konrath <ben@bagu.org>
358 Create container element for LayoutItemPortal in Details View.
360 This will help me develop the layout for the FlowTable.
362 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
363 fieldPanel variable to detailsCell.
365 2011-08-15 Ben Konrath <ben@bagu.org>
367 Set the height of the data element in the Details View.
369 I changed the InlineLabels (text in a span element) to Labels (text in
370 a div element) so that I could set the height of the details-data
371 elements instead of the details-cell parent elements. This allows the
372 the details-data element to display the correct height if style is
373 applied that shows the height.
375 This change has the added benefit of allowing the order of the labels
376 and data elements to be changed for right-to-left languages.
378 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
379 InlineLabels to Labels.
380 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
381 InlineLabels to Labels. Set the height of the data element.
382 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
383 multiline text height in the Formatting DTO.
384 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
385 for multiline height along with getter and setter methods.
386 * src/main/webapp/style.css: Adjust style to account for the change
387 from span elements to div elements in the details cell.
389 2011-08-15 Ben Konrath <ben@bagu.org>
391 Make the List View appearance match the mockups.
393 It doesn't match exactly but it's much better than it was.
395 * mockups/listview-contacts.html: Remove unused css classes.
396 * mockups/listview-projects.html: Remove unused css classes.
397 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
398 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
399 for mainPanel instead of VerticalPanel (table). Set style name on
400 CellTable. Set style name on Details column. Right-align Details
402 * src/main/webapp/style.css: Adjust properties to match the mockups.
404 2011-08-12 Ben Konrath <ben@bagu.org>
406 Add better support for subgroups in the details view.
408 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
409 changed FlowTable constructor.
410 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
411 support for subgroups and subgroup-titles.
412 * src/main/webapp/style.css: Add CSS class for subgroups and
415 2011-08-12 Ben Konrath <ben@bagu.org>
417 Return the top level LayoutGroup title.
419 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
421 2011-08-11 Ben Konrath <ben@bagu.org>
423 Make the TableSelector header match the mockup.
425 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
426 the layout panel. Properly lineup the table selection header with
427 the list and details view.
428 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
429 margin around the details view.
430 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
431 Rename listBox variable to tableSelector. Set id for the style sheet.
432 Use a FlowPanel instead of a HorizontalPanel.
433 * src/main/webapp/style.css: Add properties to make the TableSelector
434 box match the mockups.
436 2011-07-13 Ben Konrath <ben@bagu.org>
438 Update install script for java-libglom version change.
440 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
443 2011-07-13 Ben Konrath <ben@bagu.org>
445 Add support sub-group in the details view.
447 I also removed the code that special-cased the default details view
450 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
452 I still have to make a proper flowtable.
454 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
455 Don't special-case default details view layout.
456 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
457 addLayoutField() as I'm going to use it.
458 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
459 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
461 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
462 extracted from DetailsViewImpl.GroupPanel. Add support for
464 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
465 column count when getting the details layout.
467 2011-07-12 Ben Konrath <ben@bagu.org>
469 Set browser title with database and table titles.
471 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
472 Set the browser title when the table changes and when the activity
474 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
475 title when retrieving document info (the GlomDocument object).
476 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
477 with getter and setter methods. Remove unused convenience constructor.
478 Use default code formatting.
480 2011-07-12 Ben Konrath <ben@bagu.org>
482 Ignore LayoutItemPortals in the details view.
484 I added a new DTO for the LayoutItemPortal so that I can ignore it in
487 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
488 LayoutItemPortal layout objects.
489 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
490 LayoutItemPortal objects when retrieving the details layout.
491 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
492 file. This is an empty class and just used to get type information for
495 2011-07-12 Ben Konrath <ben@bagu.org>
497 Use java-libglom 1.17.0.
501 2011-07-11 Ben Konrath <ben@bagu.org>
503 Remove "Table:" label from table selector.
505 This matches a recent change in the Glom UI.
507 * mockups/details-contacts.html:
508 * mockups/details-projects.html:
509 * mockups/listview-contacts.html:
510 * mockups/listview-projects.html: Remove the "Table:" label from the
512 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
514 2011-07-11 Ben Konrath <ben@bagu.org>
516 Add main groups to the details view.
518 This makes things look a little nicer in the details view. The next step
519 is to implement the flowtable.
521 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
522 resources from the standard gwt css theme. Standard.css is now
523 included in OnlineGlom.html so that the online glom css rules have
524 precedence over the gwt theme.
525 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
526 the whole LayoutGroup to the DetailsView instead of just the titles.
527 * src/main/java/org/glom/web/client/ui/DetailsView.java:
528 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
529 details layout with a helper class (GroupPanel). I might extract this
530 class when I make the full flowtable.
531 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
532 string as default so I don't have to worry about NPEs when processing
534 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
535 note beside OnlineGlom.gwt.xml above).
536 * src/main/webapp/style.css: Add default font-size to body to override
537 the font-size set by the standard theme. Don't use h2 tags for
538 group-title. Create new details-cell class.
540 2011-07-08 Murray Cumming <murrayc@murrayc.com>
542 ConfiguredDocument: Set the port number too.
544 * src/main/java/org/glom/web/server/ConfiguredDocument.java
545 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
546 Glom document. Presumably this worked sometimes so far because there is a
549 2011-07-08 Murray Cumming <murrayc@murrayc.com>
551 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
553 * src/main/java/org/glom/web/server/ConfiguredDocument.java
554 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
555 correct, though we should throw an exception too.
557 2011-07-08 Murray Cumming <murrayc@murrayc.com>
559 Fix a addDocuemnt typo.
561 * src/main/java/org/glom/web/shared/Documents.java
562 (Documents.addDocuemnt): Rename to addDocument().
563 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
564 (OnlineGlomServiceImpl.getDocuments): Adapt.
566 2011-07-08 Murray Cumming <murrayc@murrayc.com>
568 Slightly improved log output when connection fails.
570 * src/main/java/org/glom/web/server/ConfiguredDocument.java
571 (ConfiguredDocument.setUsernameAndPassword):
572 We don't know for sure if it' the username/password that's wrong, so
573 rephrase the message.
574 Also ouput the exception message, though it's generic in this case.
576 2011-07-08 Ben Konrath <ben@bagu.org>
580 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
581 added braces to a one line if statement because the Eclipse formatter
582 was getting confused.
584 2011-07-07 Ben Konrath <ben@bagu.org>
586 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
588 These should really be two separate tasks but I counldn't get things to
589 work with GWT 2.2.0 and Eclipse 3.7.
593 * .settings/org.eclipse.jdt.core.prefs:
594 * .settings/org.eclipse.jdt.ui.prefs:
595 * .settings/org.eclipse.ltk.core.refactoring.prefs:
596 * .settings/org.eclipse.m2e.core.prefs:
597 Add new config files. Update current files. Remove references to the
598 webtools plugins as we're not using any of the webtools features.
599 * .gitignore: Add logs directory which is created when running with
601 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
602 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
603 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
605 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
607 2011-07-07 Murray Cumming <murrayc@murrayc.com>
609 onlineglom.properties: Add explanatory comments.
611 * src/main/resources/onlineglom.properties: Also change the default user
612 from ben to someuser, to avoid the risk of people thinking we just
613 stupidly hard-coded a locale path, when they see that on stderr or in a log.
615 2011-06-28 Ben Konrath <ben@bagu.org>
617 Use filename in Log for incorrect passwords.
619 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
620 getFileName(String) method to get the filename from the URI.
622 2011-06-28 Ben Konrath <ben@bagu.org>
624 Add the table name to the URL token for the ListPlace.
626 This makes things consistent between the DetailsPlace and the
627 ListPlace. It also allows the the ListPlace to be bookmarked.
629 * src/main/java/org/glom/web/client/OnlineGlomService.java:
630 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
631 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
632 Remove getDefaultListLayout(). The default layout is now returned
633 by the getListLayout() method when the table name is an empty string.
634 * src/main/java/org/glom/web/client/activity/ListActivity.java:
635 Add table name field. Change to a new ListPlace when the table
636 has been changed. Use getListLayout() for getting the default
638 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
639 Add table name field. Set the correct table name in the list box
640 when loading from bookmark. This corrects a problem for the
642 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
643 Move table name to super-class (HasSelectableTable). Move document
644 and table URL keys to super-class in HasSelectableTable.
645 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
646 Add table name field. Add Tokenizer class with URL key common to
647 the subclasses (DetailsPlace and ListPlace).
648 * src/main/java/org/glom/web/client/place/ListPlace.java:
649 Add table name. Add code to parse the URL token.
650 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
651 Update ListPlace construction with empty table name string.
652 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
653 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
654 Change setTableSelectedIndex(int) to setSelectedTableName(String).
655 Update ListPlace construction with table name string.
656 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
657 Change defaultTableName field to tableName to reflect how it's now
658 used. Update the getter and setter methods.
660 2011-06-28 Ben Konrath <ben@bagu.org>
662 Enable the table selector in the DetailsView.
664 * src/main/java/org/glom/web/client/OnlineGlomService.java:
665 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
666 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
667 Remove getDefaultDetailsLayout(). The default layout is now returned
668 by the getDetailsLayout() method when the table name is an empty
670 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
671 event handler for table change event. Change to using
672 getDetailsLayout() for the default details layout.
673 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
675 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
676 when navigating to the details place.
678 2011-06-27 Ben Konrath <ben@bagu.org>
680 Use filename based unique document ID in URL and for RPC.
682 The document ID is the glom document name with spaces (' ') replaced
683 with pluses ('+') and without the .glom extension.
685 This change is mostly a string substitution of 'documentTitle' for
686 'documentID'. The only code change is the addition of a Documents DTO to get the
687 filename to document title mappings as indicated below.
689 * src/main/java/org/glom/web/client/OnlineGlomService.java:
690 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
691 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
692 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
693 Use Documents DTO to create the document links in the document
695 * src/main/java/org/glom/web/client/activity/ListActivity.java:
696 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
697 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
698 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
699 * src/main/java/org/glom/web/client/place/ListPlace.java:
700 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
701 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
702 * src/main/java/org/glom/web/client/ui/ListView.java:
703 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
704 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
705 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
706 * src/main/java/org/glom/web/server/Log.java:
707 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
708 getDocumentTitles() to getDocuments() and return the Documents DTO.
709 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
710 transferring the filename to document title mappings.
712 2011-06-25 Ben Konrath <ben@bagu.org>
714 Make the authentication popup work again.
716 This bug was introduced when I extracted ConfiguredDocument to its own class.
718 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
719 correct success / fail status in setUsernameAndPassword().
721 2011-06-25 Ben Konrath <ben@bagu.org>
723 Use filename as unique key for configuring database usernames and passwords.
725 This replaces the use of the Glom document title which could change
726 depending on the locale. Thanks to Murray Cumming for pointing out this
729 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
730 * src/main/resources/onlineglom.properties:
732 2011-06-24 Ben Konrath <ben@bagu.org>
734 Pass primary key value to DetailsView.
736 This enables the DetailsView to load the correct data.
738 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
739 primary key value field and set in constructor. Pass primary key
740 value to getDetailsData().
741 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
742 variables for document title and primary key value.
743 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
744 key value to the DetailsPlace.
746 2011-06-24 Ben Konrath <ben@bagu.org>
748 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
750 This allows the primary key to be retrieved by the Details button. This
751 functionality has not been implemented yet but it's in the works.
753 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
754 the LayoutGroup result to ListView.setCellTable instead of all of its
756 * src/main/java/org/glom/web/client/ui/ListView.java:
757 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
758 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
759 get the primary key for the table.
760 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
761 index of the primary key in the LayoutGroup accounting for hidden
762 primary keys. Rename getJavaNumberFormat() to
763 convertToJavaNumberFormat() for consistency. Cleanup / add some
765 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
766 field for primary key index and a field to indicate whether the
767 primary key is hidden or not.
769 2011-06-23 Ben Konrath <ben@bagu.org>
771 Rename getTableData methods to getListData.
773 This is a rename refactor for consistency with other methods.
775 * src/main/java/org/glom/web/client/OnlineGlomService.java:
776 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
777 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
778 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
780 2011-06-23 Ben Konrath <ben@bagu.org>
782 Extract the ConfiguredDocument innerclass into its own class.
784 This makes the servlet code more object oriented.
786 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
787 from private ConfiguredDocument class in OnlineGlomServiceImpl.
788 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
789 new ConfiguredDocument class.
791 2011-06-21 Ben Konrath <ben@bagu.org>
793 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
795 This makes things more inline with how libglom works and reduces code
796 duplication. This refactor lays the groundwork for adding the primary key to
797 the LayoutGroup object.
799 * src/main/java/org/glom/web/client/OnlineGlomService.java:
800 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
801 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
802 Change method names to getListLayout and getDefaultListLayout for
803 consistency. Use LayoutGroup as the DTO for the list layout instead of
804 ColumnInfo and LayoutListTable.
805 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
806 new method names along with the LayoutGroup object for transferring the
808 * src/main/java/org/glom/web/client/ui/ListView.java:
809 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
810 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
811 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
813 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
814 Replaced with LayoutGroup.
815 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
816 expectedResultSize and defaultTableName fields which are needed for
818 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
819 type field which is needed for the list layout but will also be
820 useful for the details layout as things progress.
821 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
822 Make class abstract. Remove the unnecessary
823 getFormattingHorizontalAlignment method. Add setFormatting method.
825 2011-06-16 Ben Konrath <ben@bagu.org>
827 Add scripts for building and installing war.
829 These will help when updating OnlineGlom but they're also good
830 supplemental documentation of the build and deployment proceeding.
832 * utils/build-onlineglom-war.sh: New file.
833 * utils/install-onlineglom-war.sh: New file.
835 2011-06-16 Ben Konrath <ben@bagu.org>
837 Create wrapper class to create consistent log messages.
839 I wrapped methods in the Log class of gwt-log to add the method names
840 from the servlet and create consistent formatting of the document title
841 and table names in the log messages.
843 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
844 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
845 log methods to use methods from wrapped Log class.
847 2011-06-16 Ben Konrath <ben@bagu.org>
849 Remove superfluous conditional return.
851 Thanks to Murray Cumming for pointing this out!
853 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
855 2011-06-15 Ben Konrath <ben@bagu.org>
857 Return an ArrayList of LayoutGroups for the Details layout.
859 This corrects a problem with the details layout as it can have more
860 than one top level LayoutGroup.
862 * src/main/java/org/glom/web/client/OnlineGlomService.java:
863 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
864 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
865 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
866 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
867 with ArrayList of LayoutGroups for the details view layout.
868 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
869 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
870 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
871 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
872 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
873 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
875 2011-06-14 Ben Konrath <ben@bagu.org>
877 Use cast_dynamic method to determine the libglom LayoutItem type.
879 This is better than finding the LayoutItem type by using the string
880 returned from the get_part_type_name() method.
882 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
884 2011-06-14 Ben Konrath <ben@bagu.org>
886 Add method names to log entries in the servlet.
888 This helps when tracking down deployment problems.
890 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
892 2011-06-14 Ben Konrath <ben@bagu.org>
894 Add data to the DetailsView using a hard-coded primary key value.
896 The layout and functionality of the DetailsView is not complete. This
897 is just a checkpoint so the patch doesn't get too big.
899 * src/main/java/org/glom/web/client/OnlineGlomService.java:
900 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
901 Add getDetailsData() servlet method.
902 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
903 Add RPC to getDetailsData(). Change the way the LayoutGroups and
904 LayoutFields are added to the DetailsView.
905 * src/main/java/org/glom/web/client/ui/DetailsView.java:
906 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
907 Add setData() method. Change addLayoutGroup() and addLayoutField() to
908 take the string for the title instead of the object.
909 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
910 Add implementation getDetailsData() along with some private helper
912 * src/main/webapp/style.css: Add padding to details-data class. Add a
913 details-label class with the same padding as the details-data class.
915 2011-06-03 Ben Konrath <ben@bagu.org>
917 Use presenter.goTo() to change to the DetailsPlace.
919 This will make things easier when we need to open the DetailsView with
920 data specific to the row that was clicked.
922 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
924 2011-06-02 Ben Konrath <ben@bagu.org>
926 Add CSS file from mockups.
928 I'm adding this now because it's going to be useful to have when
929 developing the DetailsView. The TableSelectionView and ListView aren't
932 * src/main/webapp/OnlineGlom.html:
933 * src/main/webapp/style.css:
935 2011-06-02 Ben Konrath <ben@bagu.org>
937 Use String.isEmpty() to check for empty string.
939 * src/main/java/org/glom/web/client/activity/ListActivity.java:
941 2011-06-02 Ben Konrath <ben@bagu.org>
943 Display main layout group titles in the DetailsView.
945 This is the start of the DetailsActivity/DetailsView implementation.
947 * src/main/java/org/glom/web/client/OnlineGlomService.java:
948 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
949 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
950 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
951 Get the layout information for the details view from the server and set
952 the main layout group titles.
953 * src/main/java/org/glom/web/client/ui/DetailsView.java:
954 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
955 Add addLayoutGroup() and addLayoutField() methods. This are just
956 temporary methods for creating the the details view that will change
958 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
959 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
961 * src/main/java/org/glom/web/shared/layout/Formatting.java:
962 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
963 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
964 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
965 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
966 Data Transfer Objects that mimic the libglom object structure. These are
967 used for transferring the details layout but could also be used for
968 transferring the list layout.
970 2011-05-27 Ben Konrath <ben@bagu.org>
972 Reset the AuthenticationPopup when clearing the ListView.
974 * src/main/java/org/glom/web/client/activity/ListActivity.java:
976 2011-05-27 Ben Konrath <ben@bagu.org>
978 Fix problem with onlineglom.properties file loading.
980 The old way worked in Eclipse but not on the server. Loading the
981 onlineglom.properties file now works in Eclipse and on the server.
983 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
985 2011-05-24 Ben Konrath <ben@bagu.org>
987 Update gwt-log from 3.1.0 to 3.1.2.
989 Gwt-log 3.1.0 has been marked as depreciated.
993 2011-05-24 Ben Konrath <ben@bagu.org>
995 Add comment to ListActivity.goTo() method.
997 * src/main/java/org/glom/web/client/activity/ListActivity.java:
999 2011-05-24 Ben Konrath <ben@bagu.org>
1001 Remove FIXME in convertGdkColorToHtmlColour()
1003 The Gdk::Color value returned by libglom is 16-bits per channel on both
1004 64 and 32-bit platforms.
1006 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1008 2011-05-19 Ben Konrath <ben@bagu.org>
1010 Improve performance of initial ListView load.
1012 I removed a round trip to the server for getting the default table name
1013 and then requesting information about that table. This also removes a potential
1014 problem with the table change handler not being setup in time to receive the
1015 table change event from the ListActivity.
1017 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1018 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1019 getDefaultLayoutListTable() method. Improve comments.
1020 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1021 getDefaultLayoutListTable() method instead of firing a table change
1022 event to get the table to load.
1023 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1024 implementation of getDefaultLayoutListTable() method.
1025 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1028 2011-05-19 Ben Konrath <ben@bagu.org>
1030 Override toDebugString() in TableChangeEvent.
1032 This is useful to have for debugging.
1034 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1036 2011-05-19 Ben Konrath <ben@bagu.org>
1038 Add a "Back to List" link when at the DetailsPlace.
1040 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1041 Populate the CellTable based on the selected table of the ListBox if
1042 it's set otherwise use the default table. This allows the "Back to
1044 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1045 Remove Place from constructors. Add a setPlace() method. Add
1046 goToPlace() method. Set class as presenter for TableSelectionView.
1047 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1048 Use the same TableSelectionActivity when switching between the List and
1050 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1051 Subclass the new HasSelectableTablePlace. This removes some duplicate
1053 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1054 New class to represent Places that display the TableSelectionView.
1055 * src/main/java/org/glom/web/client/place/ListPlace.java:
1056 Subclass the new HasSelectableTablePlace. This removes some duplicate
1058 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1059 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1060 Add Presenter interface. Add setBackLinkVisible() method. Add
1061 setBackLink() method.
1063 2011-05-18 Ben Konrath <ben@bagu.org>
1065 Enable the "Details" buttons.
1067 Right now only an empty details view is displayed.
1069 * src/main/java/org/glom/web/client/ClientFactory.java:
1070 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1071 Add DetailsView to ClientFactory.
1072 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1073 A basic activity for the details view.
1074 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1075 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
1077 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1078 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
1080 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1081 Create a new DetailsActivity when a DetailsPlace is requested. Remove
1082 unnecessary super() in constructor.
1083 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1084 Create a new TableSelectionActivity when a DetailsPlace is requested. We
1085 really shouldn't create a new TableSelectionActivity for both the ListPlace
1086 and the DetailsPlace so this should be considered a temporary solution.
1087 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1088 New file. Represents a URL for the details view.
1089 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1090 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1091 A basic details view interface and implementation.
1092 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1093 Enable the "Details" buttons.
1095 2011-05-12 Ben Konrath <ben@bagu.org>
1097 Use a LayoutPanel with multiple display areas for main layout.
1099 This is mostly a refactor in that there are no changes from the user
1100 point of view. These changes are required so that we can swap out the list view
1101 with the details view when the user clicks the "Details" button.
1103 * src/main/java/org/glom/web/client/ClientFactory.java:
1104 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1105 OnlineGlomView. Add TableSelectionView, ListView and
1106 AuthenticationPopup.
1107 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
1108 for main layout. Add display regions for main activities. Add
1109 activity manager for for main activities.
1110 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
1111 file from parts of the deleted OnlineGlomActivity.
1112 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1113 New file from parts of the deleted OnlineGlomActivity.
1114 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1115 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
1116 New files for app wide table change event.
1117 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1118 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
1119 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1120 Activity mappers for the main activities replace the deleted app-wide
1122 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
1123 Fix a spelling error in he comment.
1124 * src/main/java/org/glom/web/client/ui/ListView.java:
1125 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1126 Renamed from LayoutListView and modified for MVP. This still not a
1127 proper dumb view as prescribed by the MVP pattern but it works for now.
1128 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1129 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1130 New widget stripped out of the deleted OnlineGlomView.
1131 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1132 Remove hack that is fixed by this patch.
1134 2011-05-06 Ben Konrath <ben@bagu.org>
1136 Rename OnlineGlomPlace to ListPlace.
1138 The only change besides the rename is that url will now display #list
1139 instead of #Document.
1141 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1142 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1143 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1144 * src/main/java/org/glom/web/client/place/ListPlace.java:
1145 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1147 2011-05-06 Ben Konrath <ben@bagu.org>
1149 Use Presenter for app navigation.
1151 This is the proper way to deal with Place (URL) changes with the MVP
1154 * src/main/java/org/glom/web/client/ClientFactory.java:
1155 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1156 PlaceHistoryMapper and PlaceHistoryHandler.
1157 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
1158 PlaceHistoryMapper and PlaceHistoryHandler.
1159 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1160 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
1161 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1162 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1163 Add Presenter interface and setPresenter methods. Rename addHyperLink
1164 to addDocumentLink taking only the document title as a parameter.
1166 2011-04-14 Ben Konrath <ben@bagu.org>
1168 Prompt for db username/password if they haven't been set.
1170 This is implemented with a popup widget that is contained within the
1171 OnlineGlomView and managed by the OnlineGlomActivity.
1173 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
1174 methods for checking and setting the database username and password.
1175 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
1176 new methods for checking and setting the database username and
1178 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1179 Display authentication popup if the JDBC connection to the database
1180 has not been authenticated.
1181 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
1183 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1184 for dealing with the authentication popup.
1185 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
1186 Implement the methods for dealing with the authentication popup.
1187 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
1188 try to executed queries if the database connection hasn't been
1189 authenticated. Implement methods for checking and setting the
1190 database username and password.
1192 2011-04-12 Ben Konrath <ben@bagu.org>
1194 Make log messages a little clearer.
1196 Add a dash betweeen the document title and the table name.
1198 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1200 2011-04-12 Ben Konrath <ben@bagu.org>
1202 Protect against NPEs when cleaning up database resources.
1204 While this isn't strictly necessary because the exception is caught,
1205 not protecting against the NPEs makes it harder to find the real error
1208 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1210 2011-04-12 Ben Konrath <ben@bagu.org>
1212 Move configuration of the servlet to the constructor.
1214 The servlet will be initialized even if the database authentication
1215 information is not set or correct. I still need to add the UI for prompting
1216 the user for the authentication information when it's required.
1218 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1219 javadocs for getDocumentTitles() method.
1220 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1221 Set error message when RPC fails.
1222 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
1223 glom files directory from the configuration file. Try to set the
1224 database authentication information for the specific document if it's
1225 set and works otherwise try to use the global authentication
1226 information set for the directory.
1227 * src/main/resources/onlineglom.properties: Moved from
1228 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
1229 Added detailed comments for the new keys.
1231 2011-04-11 Ben Konrath <ben@bagu.org>
1233 Remove unnecessary @Override in DocumentSelectionViewImpl.
1235 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1237 2011-04-11 Ben Konrath <ben@bagu.org>
1239 Remove center alignment in DocumentSelectionView.
1241 The title element is still centred but the document titles and bottom
1242 sentence are both left-aligned.
1244 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1246 2011-04-11 Ben Konrath <ben@bagu.org>
1248 Change 'Demo' naming convention to 'Document'.
1250 This is just a rename refactor with no functional changes to the code.
1252 * src/main/java/org/glom/web/client/ClientFactory.java:
1253 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1254 * src/main/java/org/glom/web/client/OnlineGlom.java:
1255 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1256 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1257 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1258 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1259 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1260 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1261 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1262 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1263 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1264 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1266 2011-04-08 Ben Konrath <ben@bagu.org>
1268 Remove FIXME from safeLongToInt() method.
1270 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1273 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1275 2011-04-08 Ben Konrath <ben@bagu.org>
1277 Display an error if no glom documents are found in the specified directory.
1279 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1280 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1281 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1282 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1284 2011-04-08 Ben Konrath <ben@bagu.org>
1286 Add copyright header to one more file ... oops.
1288 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1290 2011-04-08 Ben Konrath <ben@bagu.org>
1292 Add copyright header to files without it.
1294 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1295 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1296 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1297 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1298 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1299 * src/main/java/org/glom/web/shared/GlomField.java:
1301 2011-04-08 Ben Konrath <ben@bagu.org>
1303 Add support for accessing multiple glom documents in the servlet.
1305 This completes the demo selection functionality.
1307 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1308 document title to methods.
1309 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1310 document title to methods.
1311 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1312 Set browser window title when the activity starts. Correct name of
1313 document title variable.
1314 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1315 Set browser window title when the activity starts. Set the table
1316 selector change handler after table selector has been set. Clear the
1317 OnlineGlomView when the activity has been stopped.
1318 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1319 document title as the place token. Use "#Document:" instead of
1320 "#OnlineGlomPlace:" in the URL.
1321 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1322 Change heading to "Online Glom"
1323 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1324 document title in RPC methods.
1325 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1326 setDocumentTitle() method. Add clear() method.
1327 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1328 setDocumentTitle() method. Implement clear() method which removes the
1329 change handler on the ListBox, clears the ListBox and clears the
1331 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1332 Implement methods with document title. Keep track for the configured
1333 glom documents and their corresponding JDBC configurations in a hash
1334 table. This information is retrieved using the document title as the
1335 key in the hash table.
1336 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1337 document title field as it's no longer needed.
1339 2011-04-08 Ben Konrath <ben@bagu.org>
1341 Update the Eclipse JDT configuration.
1343 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1344 methods. Automatically add the copyright header to new files.
1346 2011-04-05 Ben Konrath <ben@bagu.org>
1348 Add new page for demo selection.
1350 This patch adds all the components required to view and start an
1351 OnlineGlom demo by clicking on the desired hyperlink. The user is
1352 able to return to the demo selection page with the browser's back
1353 button. I still need to modify the servlet to work with multiple
1354 documents so all demo links will load the file defined in the
1355 OnlineGlom.properties.
1357 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1358 This is only useful during development so we don't need to save it.
1359 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1360 get a reference to the DemoSelectionView.
1361 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1362 method to get a reference to the DemoSelectionView.
1363 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1364 default view to DemoSelectionView.
1365 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1366 to get glom document titles for glom files in a hard-coded directory.
1367 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1368 method to get glom document titles for glom files in a hard-coded
1370 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1371 Presenter for DemoSelectionView.
1372 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1373 for DemoSelectionView.
1374 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1375 Update for DemoSelectionView.
1376 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1377 Basic 'Place' implementation for the DemoSelectionView.
1378 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1379 The interface for the DemoSelectionView.
1380 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1381 The implementation of the DemoSelectionView.
1382 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1383 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1384 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1385 implementation of method to get glom document titles for glom files
1386 in a hard-coded directory.
1387 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1388 on longer being used.
1389 * src/main/webapp/glom.png: Glom logo.
1391 2011-04-05 Ben Konrath <ben@bagu.org>
1393 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1395 This is the forth and final commit of a refactor that will allow
1396 OnlineGlom to be used with multiple documents.
1398 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1399 Move RPC code from OnlineGlomViewImpl to this class.
1400 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1402 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1403 RPC code to the presenter class (the P in MVP).
1405 2011-04-04 Ben Konrath <ben@bagu.org>
1407 Start moving the existing OnlineGlom code to MVP.
1409 This work is based on the GWT MVP framework that is documented here:
1411 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1413 This is the third commit of a refactor that will allow OnlineGlom to
1414 be used with multiple documents.
1416 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1417 Interface for client factory which is used to get instances of various
1418 classes throughout the app.
1419 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1420 Implementation of client factory.
1421 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1422 initialize the MVP framework.
1423 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1424 New file. Activity manager for the main container widget. This is the
1426 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1427 Maps place (URL) to its corresponding activity.
1428 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1429 New file. This is just a place holder for a generated file.
1430 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1431 New file. Represents the URL for the main Online Glom app.
1432 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1433 for changes in LayoutListViewImpl.
1434 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1435 interface for View. Move code to OnlineGlomViewImpl class.
1436 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1437 file. Implementation of OnlineGlomView.
1438 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1439 Place resources. Use ClientFactoryImpl by default.
1441 2011-04-04 Ben Konrath <ben@bagu.org>
1443 Move View classes to their own package.
1445 This is the second commit of a refactor that will allow OnlineGlom to
1446 be used with multiple documents.
1448 * src/main/java/org/glom/web/client/OnlineGlom.java:
1449 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1450 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1452 2011-04-02 Ben Konrath <ben@bagu.org>
1454 Move UI code from the main module to its own class.
1456 This is the first commit of a refactor that will allow OnlineGlom to be
1457 used with multiple documents.
1459 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1460 references to OnlineGlom to OnlineGlomView.
1461 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1462 OnlineGlomView and instantiate it here.
1463 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1464 represents the main OnlineGlomView with one document.
1466 2011-04-01 Ben Konrath <ben@bagu.org>
1468 Fix formatting of gwt.xml and add DTD.
1470 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1472 2011-03-30 Ben Konrath <ben@bagu.org>
1474 Propperly convert gdkColor string to html colour string.
1476 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1478 2011-03-28 Ben Konrath <ben@bagu.org>
1480 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1482 This implementation matches
1483 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1484 readable and is not tied to Swig.
1486 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1488 2011-03-28 Ben Konrath <ben@bagu.org>
1490 Use read-only checkboxes for boolean field types.
1492 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1493 in the CellTable based on the field type. It currently only
1494 distinguishes between boolean and text columns but I'll need to add
1495 support for more types.
1496 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1497 column type in the ColumnInfo object. Add method to convert between the
1498 glom field type enum in ColumnInfo and the glom field type in libglom.
1499 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1501 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1502 getting and setting booleans.
1504 2011-03-25 Ben Konrath <ben@bagu.org>
1506 Don't get the Date twice from the ResultSet.
1508 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1510 2011-03-25 Ben Konrath <ben@bagu.org>
1512 Cleanup code in the servlet.
1514 * TODO: Remove item about row count. Add item about testing row count
1515 query with large number of rows.
1516 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1517 spelling mistakes, change method parameter to be consistent with
1520 2011-03-25 Ben Konrath <ben@bagu.org>
1522 Add server side logging with the gwt-log library.
1524 * .gitignore: Ignore the log file we're now producing.
1525 * TODO: Add a couple TODO item for logging.
1526 * pom.xml: Add gwt-log and log4j as a dependency.
1527 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1528 logging of errors, warnings and some important info.
1529 * src/main/resources/log4j.properties: New file to configure log4j.
1531 2011-03-24 Ben Konrath <ben@bagu.org>
1533 Add a disable button for the Details view.
1535 * src/main/java/org/glom/web/client/LayoutListView.java:
1537 2011-03-22 Ben Konrath <ben@bagu.org>
1539 Use a count query to get the number of rows for the list view pager.
1541 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1543 2011-03-22 Ben Konrath <ben@bagu.org>
1545 Add more TODO information about CellTable pager positioning.
1549 2011-03-19 Ben Konrath <ben@bagu.org>
1551 Add TODO item about CellTable pager positioning.
1555 2011-03-18 Ben Konrath <ben@bagu.org>
1557 Remove unneeded GlomFieldColumn class.
1559 This is just a small code cleanup.
1561 * src/main/java/org/glom/web/client/LayoutListView.java:
1563 2011-03-18 Ben Konrath <ben@bagu.org>
1565 Use cursor mode in the query that gets data for the list view.
1567 I still need to fix the potential memory problem when getting the row
1568 count for the list view.
1570 * TODO: Add note about testing memory usage with large data sets. Add
1571 item about fixing row counting with large data sets.
1572 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1573 PostgreSQL JDBC driver into cursor mode when getting data for the
1576 2011-03-15 Ben Konrath <ben@bagu.org>
1578 Remove the GWT Container from the Eclipse build classpath.
1580 The GWT dependencies are set by Maven so this isn't needed.
1584 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1586 Added some earlier mockups to git, but not to the tarball dist.
1588 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1589 Openismus. These hopefully show how we might structure the HTML so that
1590 it can be styled easily with CSS. However, we probably need to adapt them
1591 for the CSS structure that GWT dictates for common widgets.
1593 2011-03-14 Ben Konrath <ben@bagu.org>
1595 Locate OnlineGlom.properties using the ServletContext.
1597 This is required to be able to locate the file in the deployed servlet.
1599 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1600 Configure the database and glom document in in a helper method so
1601 that the ServletContext can be used to locate OnlineGlom.properties.
1602 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1603 src/main/webapp. This is the proper location for .properites files.
1605 2011-03-12 Ben Konrath <ben@bagu.org>
1607 Add note to README about why we're compiling down to obfuscated JavaScript.
1611 2011-03-11 Ben Konrath <ben@bagu.org>
1613 Use properties file to configure servlet.
1615 This allows people to change the glom file path, db username and db
1616 password without recompiling the code.
1618 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1619 * src/main/webapp/OnlineGlom.properties:
1621 2011-03-11 Ben Konrath <ben@bagu.org>
1623 Use table fields in layout list view if the layout list is not defined.
1625 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1626 Manually create a LayoutFieldVector for the query builder using the
1627 table fields when a layout list is not defined in the glom file.
1629 2011-03-11 Ben Konrath <ben@bagu.org>
1631 Only show FIXME string for images when there's an image.
1633 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1634 in this change are some small code cleanups.
1636 2011-03-11 Ben Konrath <ben@bagu.org>
1638 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1640 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1642 2011-03-11 Ben Konrath <ben@bagu.org>
1644 Correctly set the index of the default table.
1646 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1647 Correctly set the index of the default table. Add commented out example
1650 2011-03-10 Ben Konrath <ben@bagu.org>
1652 Add comment to pom.xml about the previous change.
1654 * pom.xml: Add comment about the deployment issue so that it's obvious
1655 why java-libglom is set to the provided scope.
1657 2011-03-10 Ben Konrath <ben@bagu.org>
1659 Change java-libglom dependency from compile to provided in pom.xml.
1661 Since java-libglom uses jni it can only be loaded once and therefore
1662 must be placed in $CATALINA_HOME/lib and not included in each war.
1663 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1664 More information about this issue can be found in the Tomcat 6 release
1665 notes in the "JNI Based Applications" section:
1667 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1669 * README: Remove note about this issue. Deployment info should really
1670 be on the wiki anyway so I'll add it right now.
1671 * pom.xml: Change java-libglom dependency from compile to provided so
1672 that it's copied in to the packaged war.
1674 2011-03-09 Ben Konrath <ben@bagu.org>
1676 Change to using a neutral locale for currency, date and time formatting.
1678 This solves the problem of currency values being represented without a
1679 space between the currency code and the number (e.g. "EUR5.89" is now
1680 represented as "EUR 5.89"). More work is required when we implement
1681 a locale preference setting.
1683 * TODO: Add note about currency formatting issues with different
1685 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1686 to using the neutral ROOT locale.
1688 2011-03-09 Ben Konrath <ben@bagu.org>
1690 Add support for currency codes that are not ISO 4217 codes.
1692 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1693 the currency code defined in the glom file when it's not 3 characters
1694 long or when Java doesn't recognize the string as an ISO 4217 code.
1696 2011-03-08 Ben Konrath <ben@bagu.org>
1698 Remove test classes, launch configurations and configuration.
1700 The test stuff was getting in the way when creating the war. To make
1701 the war file you can now do 'mvn clean package'. The packaged war file
1702 will be in the target directory.
1704 * .classpath: Remove unused classpathentry for tests and i18n.
1705 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1706 property. Don't run test or i18n goals when packaging the war.
1707 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1712 * OnlineGlomTest-dev.launch:
1713 * OnlineGlomTest-prod.launch:
1714 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1715 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1717 2011-03-07 Ben Konrath <ben@bagu.org>
1719 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1721 These fixes allow me to use 'mvn deploy' to create the war file.
1723 * .classpath: This generated config has been updated by Eclipse. This
1724 change was probably triggered by me updating from Eclipse 3.6.1 to
1726 * .gitignore: Add entry to ignore the directory
1727 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1728 * .project: The generated config has been updated by Eclipse. This
1729 change was probably triggered by me updating from Eclipse 3.6.1 to
1731 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1732 so that Eclipse doesn't complain
1733 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1734 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1735 'tests' directory to 'client' directory. This is the new
1736 gwt-maven-plugin convension.
1737 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1738 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1740 2011-03-07 Ben Konrath <ben@bagu.org>
1742 Add support for horizontal alignment in the LayoutList columns.
1744 * TODO: Remove item about horizontal alignment. Add item about
1745 improvements to ColumnInfo.
1746 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1747 alignment on the columns. Use ColumnInfo RPC object get the column
1748 title and horizontal alignment.
1749 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1750 LayoutListView creation with ColumnInfo RPC object.
1751 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1752 a ColumnInfo object for every LayoutList columnn. Convert the
1753 FieldFormatting.HorizontalAlignment to the correct
1754 ColumnnInfo.HorizontatlAlignment with the new
1755 getColumnInfoHorizontalAlignment helper method.
1756 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1757 to encapsulate column information like alignment and title. This
1758 could be used to set the colour instead of on a per cell field basis.
1759 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1760 column title storage and retrieval with ColumnInfo.
1762 2011-03-04 Ben Konrath <ben@bagu.org>
1764 Add support for column sorting.
1766 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1767 AsynDataProvider to be an anonymous inner class. Use new
1768 getSortedTableData RPC method when column sort is requested. Set all
1769 columns sortable and add an AsyncHandler to activate sorting in the
1771 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1772 method getSortedTableData(). Cleanup other method signatures.
1773 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1774 new method getSortedTableData(). Cleanup other method signatures.
1775 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1776 Implement getSortedTableData() and getTableData() methods by using a
1777 private helper method with the appropriate parameters filled in. Use
1778 user supplied sort clause when supplied, otherwise fall back to
1779 sorting by the primary key. Move destroy() method to be underneath
1780 constructor for readability. Cleanup comments.
1782 2011-03-03 Ben Konrath <ben@bagu.org>
1784 Add support for colour text and colour backgrounds to the layout list cells.
1786 Only the cell backgrounds are coloured which leaves a gap between the
1787 cells that isn't coloured. I need to figure out a way to set
1788 'style=background-colour:' on the whole column rather than just the
1791 * TODO: Add a note about colouring the background of the whole column.
1792 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1793 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1794 render the coloured text and backgrounds. Use GlomField[] for the row type.
1795 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1797 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1798 GlomField[] for the row type.
1799 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1800 GlomField[] for the row type. Set the text, text colour and background
1801 colour in the GlomField objects as specified in the glom document. Add
1802 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1803 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1804 the glom field text, foreground colour and background colour.
1806 2011-03-02 Ben Konrath <ben@bagu.org>
1808 Don't display hidden tables in the combo box.
1810 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1812 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1813 code to ignore hidden tables using ArrayLists for the table names and
1815 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1816 tableNames to use ArrayLists instead of String[]. Update getter and setter
1819 2011-03-01 Ben Konrath <ben@bagu.org>
1821 Add support for Date and Time number types.
1823 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1824 Implement formatting for Date and Time values. Change the default glom
1825 file to small business example.
1827 2011-03-01 Ben Konrath <ben@bagu.org>
1829 Add support for formatting glom types as specified in the glom file.
1831 Formatting isn't finished yet - I still need to add support for Date
1834 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1835 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1836 checks for null values in JDBC cleanup code and catch all exceptions
1837 instead of just SQLExceptions.
1838 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1841 2011-03-01 Ben Konrath <ben@bagu.org>
1843 Use GWT 2.2.0 instead of 2.1.1.
1845 * pom.xml: Change GWT version numbers.
1847 2011-03-01 Ben Konrath <ben@bagu.org>
1849 A few small code cleanups.
1851 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1853 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1854 unnecessary object creation in constructor.
1855 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1856 unnecessary object creation in constructor.
1858 2011-02-28 Ben Konrath <ben@bagu.org>
1860 Add file for TODO list.
1864 2011-02-18 Ben Konrath <ben@bagu.org>
1866 Enable the CellTable Pager when more than 20 rows need to be viewed.
1868 The Pager will automatically become active when the results are larger
1869 than the CellTable size which is currently set to 20 lines.
1871 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1872 name on debug statment in RPC call in LayoutListDataProvider, add
1873 numRows parameter to LayoutListView constructor, propperly set rowCount
1875 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1876 name on debug statment in RPC call, use LayoutListTable object in RPC
1877 calls, pass rowCount to LayoutListView.
1878 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1879 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1881 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1882 interface for changes in OnlineGlomService.
1883 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1884 getLayoutListHeaders() to getLayoutListTable() and return
1885 LayoutListTable. Using this object allows me to pass other information
1886 about the LayoutList like the expected number of rows in the result set.
1887 The Connection object from the connection pool is now propperly closed.
1888 Only the requested number of lines are returned to the client in
1890 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1891 GlomTable and add columnTitles and numRows.
1893 2011-02-18 Ben Konrath <ben@bagu.org>
1895 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1897 This is a small performance boost. I'll use GlomTable to get the required
1898 layoutlist information.
1900 * src/main/java/org/glom/web/client/OnlineGlom.java:
1901 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1902 * src/main/java/org/glom/web/shared/GlomDocument.java:
1904 2011-02-18 Ben Konrath <ben@bagu.org>
1906 Add option to turn off formatting in JDT formatter preferences.
1908 * .settings/org.eclipse.jdt.core.prefs:
1910 2011-02-18 Ben Konrath <ben@bagu.org>
1912 Rename LayoutList to LayoutListView.
1914 I'm working towards setting things up to easily use MVP when the time
1917 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1919 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1922 2011-02-17 Ben Konrath <ben@bagu.org>
1924 Move LayoutListDataProvider class into LayoutList.java.
1926 * src/main/java/org/glom/web/client/LayoutList.java:
1928 2011-02-17 Ben Konrath <ben@bagu.org>
1930 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1932 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1934 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1935 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1936 from LibGlomServer.java.
1937 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1938 Rename from LibGlomServiceAsync.java.
1939 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1940 Rename from LibGlomServiceImpl.java.
1941 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1943 2011-02-17 Ben Konrath <ben@bagu.org>
1945 Update JDT settings.
1947 * .settings/org.eclipse.jdt.core.prefs:
1949 2011-02-17 Ben Konrath <ben@bagu.org>
1951 Move GWT-RPC objects to shared package (where they should be).
1953 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1954 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1955 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1956 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1957 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1958 org.glom.web.shared package.
1959 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1960 org.glom.web.shared package.
1961 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1962 directory in compilation to javascript.
1964 2011-02-16 Ben Konrath <ben@bagu.org>
1966 Add sort clause to the sql query that grabs table information.
1968 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1969 if one of the columns is a primary key.
1971 2011-02-16 Ben Konrath <ben@bagu.org>
1973 Disable generateAsync feature of gwt-maven.
1975 The generated interface does not correctly match the methods in LibGlomService
1976 and the generated singleton Util inner-class doesn't respect the servlet
1979 * pom.xml: Turn off generateAsync feature.
1980 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1981 with singleton Util inner-class.
1983 2011-02-14 Ben Konrath <ben@bagu.org>
1985 Add LGPL v3 licence notices.
1987 Followed directions listed here:
1988 http://www.gnu.org/licenses/gpl-howto.html
1990 * COPYING: This file is a copy of the GPL v3.
1991 * COPYING.LESSER: This file is a copy of the LGPL v3.
1992 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1994 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1996 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1998 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2000 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2002 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2004 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2007 2011-02-14 Ben Konrath <ben@bagu.org>
2009 Use ArrayList instead of Array in GWT-RPC calls.
2011 Apparently this gives a slight performance boost to the compiled
2014 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2016 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2019 2011-02-14 Ben Konrath <ben@bagu.org>
2021 Access data from a postgres db rather than the example glom file.
2023 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2024 compile down to obfuscated javascript.
2025 * pom.xml: Add c3p0 and postgres JDBC libraries.
2026 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2027 using a postgres db accessed through the c3p0 connection pooling library.
2029 2011-02-14 Ben Konrath <ben@bagu.org>
2031 Update Java formatter settings.
2033 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
2035 2011-02-02 Ben Konrath <ben@bagu.org>
2037 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
2039 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
2041 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
2042 the compiled webapp directory that Eclipse uses as we're using Maven now.
2043 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
2044 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
2046 * pom.xml: Format file, change target Java version to 1.6.
2048 2011-02-02 Ben Konrath <ben@bagu.org>
2050 Add information about a deployment related issue.
2052 * README: Add Notes section with the problem outlined.
2054 2011-02-02 Ben Konrath <ben@bagu.org>
2056 Call Glom.libglom_deinit() when the servlet is shutdown.
2058 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2059 Glom.libglom_deinit() to destroy() method.
2061 2011-01-28 Ben Konrath <ben@bagu.org>
2063 Use generated Util class to get the RPC Async interface.
2065 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
2067 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
2068 getInstance() method to get a reference to the RPC Async interface.
2069 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
2070 getInstance() method to get a reference to the RPC Async interface, remove
2071 the now unused getLibGlomServiceProxy() method.
2073 2011-01-27 Ben Konrath <ben@bagu.org>
2075 Cleanup ChangeLog entry from previous commit.
2077 * ChangeLog: Group logical changes together and add comments.
2079 2011-01-25 Ben Konrath <ben@bagu.org>
2081 Convert to gwt-maven project.
2083 * .gitignore: Update for new project structure.
2084 * README: New file with a link to the online documentation.
2085 * pom.xml: The generated maven configuration file with some tweaks.
2087 Add / update Eclipse settings. These files are a merge of the files that
2088 were generated with the gwt-maven plugin and the files we were previously
2092 * .settings/.jsdtscope:
2093 * .settings/com.google.gdt.eclipse.core.prefs:
2094 * .settings/com.google.gwt.eclipse.core.prefs:
2095 * .settings/org.eclipse.jdt.core.prefs:
2096 * .settings/org.eclipse.wst.common.component:
2097 * .settings/org.eclipse.wst.common.project.facet.core.xml:
2098 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
2099 * .settings/org.maven.ide.eclipse.prefs:
2100 * OnlineGlomTest-dev.launch:
2101 * OnlineGlomTest-prod.launch:
2103 Java source files moved from the 'src' directory to the directory structure
2105 * src/main/java/org/glom/web/client/GlomDocument.java:
2106 * src/main/java/org/glom/web/client/GlomTable.java:
2107 * src/main/java/org/glom/web/client/LayoutList.java:
2108 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
2109 * src/main/java/org/glom/web/client/LibGlomService.java:
2110 * src/main/java/org/glom/web/client/OnlineGlom.java:
2111 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
2113 Non-functional property file used for translations. I included this as
2114 reminder that it's something I need to sort out.
2115 * src/main/resources/org/glom/web/client/Messages.properties:
2117 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
2118 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2120 The servlet configuration files moved from the 'war' directory.
2121 * src/main/webapp/OnlineGlom.css:
2122 * src/main/webapp/OnlineGlom.html:
2123 * src/main/webapp/WEB-INF/web.xml:
2125 Generated test files with most of the code commented out. I included these
2126 so that it's easy to add tests when we're ready for them.
2127 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
2128 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2130 2011-01-25 Ben Konrath <ben@bagu.org>
2132 Remove unused println.
2134 * src/org/glom/web/server/LibGlomServiceImpl.java:
2136 2011-01-25 Ben Konrath <ben@bagu.org>
2138 Add project specific JDT settings.
2140 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
2141 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
2143 2011-01-25 Ben Konrath <ben@bagu.org>
2145 Populate celltable with example data.
2147 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
2148 * src/org/glom/web/client/GlomTable.java: Correct formatting.
2149 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
2150 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
2151 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
2152 asynchronously gets the example data.
2153 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
2154 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
2155 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
2156 curently selected table to be retrieved by other widgets.
2157 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
2158 implement getTableData() in a hacky way. This method needs to be updated
2159 to grab information from the database when database creating is
2162 2011-01-20 Ben Konrath <ben@bagu.org>
2164 Set table headers when table dropBox changes.
2166 * src/org/glom/web/client/GlomDocument.java: Correct some method
2168 * src/org/glom/web/client/LibGlomService.java: Add method
2169 to get list layout field names.
2170 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
2171 to get list layout field names.
2172 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
2173 widget for list layout table.
2174 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
2175 the table drop box and add new updateTable() method to asynchronously
2176 get the layout list field names for the currently selected table.
2177 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
2178 implementation of getLayoutListHeaders() method.
2179 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
2181 2011-01-18 Ben Konrath <ben@bagu.org>
2183 Make a listBox with table titles instead of the flexTable demo.
2185 This is the start of something more useful.
2187 * .classpath: Exclude a bunch of packages from the JVM that are
2188 getting in the way of the Eclipse content assist.
2189 * src/org/glom/web/client/GlomDocument.java:
2190 * src/org/glom/web/client/GlomTable.java:
2191 * src/org/glom/web/client/LibGlomService.java:
2192 * src/org/glom/web/client/LibGlomServiceAsync.java:
2193 * src/org/glom/web/client/OnlineGlom.java:
2194 * src/org/glom/web/server/LibGlomServiceImpl.java:
2195 * war/OnlineGlom.html:
2196 * war/WEB-INF/web.xml:
2198 211-01-13 Ben Konrath <ben@bagu.org>
2200 Update to new java-libglom API.
2202 * .gitignore: Ignore OnlineGlom.war.
2203 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
2205 2010-12-20 Ben Konrath <ben@bagu.org>
2207 Add some basic style to the table listing.
2209 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
2210 header, print useful error message on async callback failure.
2211 * war/OnlineGlom.css: Add style for table header, remove defaults
2212 provided by the Eclipse project wizard.
2214 2010-12-20 Ben Konrath <ben@bagu.org>
2216 Load example file from installed glom dir.
2218 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
2219 provided by java-libglom to find the example file.
2221 2010-12-20 Ben Konrath <ben@bagu.org>
2223 Update Eclipse settings.
2226 * .settings/com.google.gdt.eclipse.core.prefs:
2227 * .settings/com.google.gwt.eclipse.core.prefs:
2229 2010-12-17 Ben Konrath <ben@bagu.org>
2233 * .classpath: New file.
2234 * .gitignore: New file.
2235 * .project: New file.
2236 * .settings/com.google.gdt.eclipse.core.prefs: New file.
2237 * .settings/com.google.gwt.eclipse.core.prefs: New file.
2238 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
2239 * src/org/glom/web/client/GlomTable.java: New file.
2240 * src/org/glom/web/client/OnlineGlom.java: New file.
2241 * src/org/glom/web/client/TableNameService.java: New file.
2242 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
2243 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
2244 * war/OnlineGlom.css: New file.
2245 * war/OnlineGlom.html: New file.
2246 * war/WEB-INF/web.xml: New file.
2247 * war/images/glom.png: New file.