1 2011-10-07 Ben Konrath <ben@bagu.org>
3 Don't use TableSelectorImpl implementation details in TableSelectorActivity.
5 This is part of a change to get navigation buttons in the details view
6 but it should have been done this way from the start.
8 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
9 for method name change in TableSelectionView.
10 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
11 Create TableChangeEvent and set the browser title using the
12 TableSelectionView API.
13 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
14 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
15 Change getSelectedTable() to getSelectedTableName(). Add
16 getSelectedTableTitle().
18 2011-10-07 Ben Konrath <ben@bagu.org>
20 Use primaryKeyValue naming convention in constructor of DetailsPlace.
22 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
24 2011-10-07 Ben Konrath <ben@bagu.org>
26 Update TableChangeEvent to use newTableName naming convention.
28 This makes the class more consistent with GWT naming conventions.
30 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
31 Update for method name change in TableChangeEvent.
32 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
33 for method name change in TableChangeEvent.
34 * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
35 newTableName variable and getter method. Make toDebugString()
38 2011-09-30 Ben Konrath <ben@bagu.org>
40 Disable the pager in the list tables when the data row count is less than the minimum.
42 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
43 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
45 2011-09-30 Ben Konrath <ben@bagu.org>
47 Add empty rows to the end of related list and list view tables.
49 I also extracted the cell rendering classes from the ListTable because
50 the code was becoming a little crazy with all the anonymous inner
51 classes. My plan is to use these cell rendering classes in the details
52 view as well so this refactor will be needed for that change.
54 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
55 set the row count in related list tables if the data has more rows
56 than the minimum number of rows visible.
57 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
58 row count in list view tables if the data has more rows than the
59 minimum number of rows visible.
60 * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
61 for rendering TYPE_BOOLEAN cells. The code was extracted from the
63 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
64 for rendering TYPE_NUMERIC cells. The code was extracted from the
66 * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
67 class for rendering cells with buttons in list views. The code was
68 extracted from the ListTable class.
69 * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
70 for rendering TYPE_TEXT cells. The code was extracted from the
72 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
73 Add empty rows to the end of the data if required. Implement
74 ListTable.getMinNumVisibleRows().
75 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
76 cell renderer code to public classes. Return null in
77 Column.getValue() for empty rows. Add new abstract method:
78 getMinNumVisibleRows(). Move code to set the row count of the list view
79 table to ListViewImpl.
80 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
81 empty rows to the end of the data if required. Implement
82 ListTable.getMinNumVisibleRows().
85 2011-09-27 Ben Konrath <ben@bagu.org>
87 Use GWT.log for client-side debugging statements.
89 These are optimized out when deployed so I should have used this method
90 in the first place. These statements will eventually be replaced with some sort
91 of notification in the browser.
93 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
94 * src/main/java/org/glom/web/client/activity/ListActivity.java:
95 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
96 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
97 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
99 2011-09-27 Ben Konrath <ben@bagu.org>
101 Put tableselector on the right, back to list link on right.
103 The idea is that the table selector is acting like a label for the
104 currently displayed table so it should be placed below the document title. This
105 puts the table title in a similar position to where it is in Glom.
107 * mockups/details-contacts.html:
108 * mockups/details-projects.html:
109 * mockups/listview-contacts.html:
110 * mockups/listview-projects.html:
112 Update mockups to match how the interfaces currently look.
113 * src/main/webapp/style.css: Swap positions of backlink with the table
114 selector. Add some space on the left side of the table selector to
115 line things up with the document title.
117 2011-09-27 Ben Konrath <ben@bagu.org>
119 Add field colouring to details view.
121 This change re-works how field colouring works. The colour formatting
122 information is now set to the client with the layout information instead of
123 with the data. This eliminates the need to send the same colour strings for
124 data in list view column when colour information is set.
126 In order to set an alternate colour for negative numeric values, the
127 number is now sent to client and formatted with the GWT NumberFormat class.
129 This change also fixes:
131 https://bugzilla.gnome.org/show_bug.cgi?id=659752
133 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
134 internationalization framework which is needed for client side numeric
136 * src/main/java/org/glom/web/client/Utils.java: New file for some
137 client static utility methods.
138 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
139 the DataItem object to the Field class. Use a utility method to
140 create the foreignKeyValue string.
141 * src/main/java/org/glom/web/client/ui/details/Field.java: Set
142 alignment and text colours in the constructor. Add setData(DataItem)
143 method. Remove setText(String) method.
144 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
145 colour information to GlomTextCell. Create and use GlomNumberCell for
146 rendering numbers. Use utility method to get the string for the
147 primary key of the key provider. Re-work how the horizontal alignment
149 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
150 formatting to layout information. Methods for converting the libglom
151 formatting information were moved from DBAccess.
152 * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
153 numeric formatting (it's now done on the client side). Don't set text
154 colours in DataItem. Move libglom formatting conversion methods to
156 * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
157 getters/setters for text colour information.
158 * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
159 for transferring the libglom NumericFormat information to the client.
160 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
161 and getters/setters for: GlomNumericFormat, background colour and
162 foreground colour strings.
164 2011-09-26 Ben Konrath <ben@bagu.org>
166 Simplify code that iterates through the LayoutGroup.
168 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
170 2011-09-26 Ben Konrath <ben@bagu.org>
172 Accept Eclipse formatting for OnlineGlomServiceAsync.
174 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
176 2011-09-26 Ben Konrath <ben@bagu.org>
178 Don't use the ListDBAccess classes to get the primary key layout information.
180 This was causing a bug where the wrong index for the hidden primary key
181 was being sent to the client.
183 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
184 primary key while creating the LayoutGroup DTO. Create a
185 LayoutItemField DTO for hidden primary keys. Don't use the
186 RelatedListDBAccess because it was only used for getting the primary
188 * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
189 access modifier from public to protected for getPrimaryKeyField() and
190 getPrimaryKeyLayoutItemField().
191 * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
192 abstract method getExpectedResultSize() because RelatedListDBAccess
193 doesn't have enough info to implement it.
194 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
195 Remove @Override for getExpectedResultSize().
196 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
197 Remove method getExpectedResultSize().
199 2011-09-23 Ben Konrath <ben@bagu.org>
201 Log which layout (list or details) the ignored item is from.
203 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
205 2011-09-23 Ben Konrath <ben@bagu.org>
207 Remove annotations that turn off code formatting in DataItem.
209 * src/main/java/org/glom/web/shared/DataItem.java:
211 2011-09-23 Ben Konrath <ben@bagu.org>
213 Rename GlomField to DataItem and update associated methods.
215 This is a rename-only refactor. No functionality has been added or
218 * src/main/java/org/glom/web/client/OnlineGlomService.java:
219 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
220 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
221 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
222 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
223 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
224 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
225 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
226 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
227 * src/main/java/org/glom/web/server/database/DBAccess.java:
228 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
229 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
230 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
231 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
232 * src/main/java/org/glom/web/shared/DataItem.java:
233 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
234 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
236 2011-09-23 Ben Konrath <ben@bagu.org>
238 Rename GlomDocument to DocumentInfo and update associated methods.
240 This is a rename-only refactor. No functionality has been added or
243 * src/main/java/org/glom/web/client/OnlineGlomService.java:
244 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
245 * src/main/java/org/glom/web/client/activity/ListActivity.java:
246 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
247 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
248 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
249 * src/main/java/org/glom/web/shared/DocumentInfo.java:
251 2011-09-20 Ben Konrath <ben@bagu.org>
253 Require java-libglom 1.17.3.
255 This picks up the fix for the seg fault problem with the Scenes table
256 in the Openismus Film Manager example.
260 2011-09-20 Ben Konrath <ben@bagu.org>
262 Change the way sort clause is added for primary key when no sort clause is requested.
264 The primary key is now added to the LayoutFieldVector (fieldsToGet)
265 before the sort clause is created. When a sort clause is not requested, the
266 sort clause is created by finding the primary key in the LayoutFieldVector
269 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
271 2011-09-20 Ben Konrath <ben@bagu.org>
273 Log error message if no documents are found in the configured directory.
275 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
276 Extract the glom file extension string to a private static final class
277 variable (mostly as syntactic sugar). Accept a minor formatting change.
278 * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
279 the example glom.document.directory configuration property to make it
280 more clear that it can any directory, not just the home directory.
282 2011-09-18 Ben Konrath <ben@bagu.org>
284 Add related lists to details view.
286 The related list table has support for paging and sorting just like the
287 table in the list view.
289 * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
290 SQL queries for the related list tables.
291 * src/main/java/org/glom/web/client/OnlineGlomService.java:
292 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
293 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
294 Rename getList methods to getListView and add comments. Remove
295 getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
296 it being unused. Add methods: getDetailsLayoutAndData(),
297 getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
298 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
299 Create the layout and set the data for the fields in one async call
300 instead of two. Create related lists where appropriate.
301 * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
302 for method name changes in OnlineGlomService.
303 * src/main/java/org/glom/web/client/ui/DetailsView.java:
304 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
305 addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
307 * src/main/java/org/glom/web/client/ui/ListView.java:
308 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
309 tableName from setCellTable(). Create a ListViewTable instead of
311 * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
312 represent a data field in the details view.
313 * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
314 from addDetailsCell() to Field class. Keep track of the Fields and
315 Portals in the details view.
316 * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
317 a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
318 and add a method to get it. Add method to set the contents of the
320 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
321 New class for related list tables. This class has the data provider
322 for the related list table.
323 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
324 abstract class which is the base class for the ListViewTable and the
326 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
327 New class for list view tables. This class has the data provider for
329 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
330 methods for related list tables. Add more information to the
331 LayoutItemField and LayoutItemPortal DTOs.
332 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
333 Remove debugging print statement.
334 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
335 Remove debugging print statements. Add primary key field to SQL count
337 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
338 Remove unnecessary LayoutFieldVector parameter from
339 getResultSizeOfSQLQuery() method.
340 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
341 New class for related list table database access.
342 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
343 class that is a wrapper DTO for details view layout and data.
344 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
345 new 'fromField' string to this DTO.
346 * src/main/webapp/style.css: Remove bottom margin and override top
349 2011-09-15 Ben Konrath <ben@bagu.org>
351 Breakup the OnlineGlomServiceImpl class to make it more manageable.
353 This sets things up to make it easier to add the data retrieval for
354 related lists (portals). No user noticeable changes were made with
357 * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
358 class has the code to retrieve the layouts and access the
359 database using the new database helper classes.
360 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
361 Most of the functionality has been removed from this class. This
362 class now represents the public interface for the client side
363 code. It also deals with configuring the servlet and cleaning
364 things up when the servlet is stopped.
365 * src/main/java/org/glom/web/server/Utils.java: Extract a couple
366 of static methods into this utility class.
367 * src/main/java/org/glom/web/server/database/DBAccess.java:
368 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
369 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
370 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
371 These classes have the database retrieval code. The class hierarchy
372 has been setup to make it easy to reuse code for similar
375 2011-09-06 Ben Konrath <ben@bagu.org>
377 Create separate classes for list table code and the data provider.
379 As part of this refactor, I also split up the code a bit to make it
382 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
383 table code to two new classes (below).
384 * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
385 with code from ListViewImpl.
386 * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
387 New file with code from ListViewImpl.
389 2011-09-06 Ben Konrath <ben@bagu.org>
391 Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
393 This fixes the LayoutItemPortal DTO to match the libglom layout object
396 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
398 2011-09-01 Ben Konrath <ben@bagu.org>
400 Set title of Portals in the Details View.
402 * pom.xml: Bump required version of java-libglom to 1.17.1.
403 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
404 widget creation to its own class. Add comments to constructor.
405 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
406 The code is mostly from the Group class with the title now set.
407 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
408 title of Portal. Update some comments. Fix some code formatting.
410 2011-09-01 Ben Konrath <ben@bagu.org>
412 Remove TODO comment for the flow table column width.
414 The flow table column width is working correctly and doesn't need to be
415 changed. See this mailing list post for more info:
417 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
419 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
421 2011-08-27 Ben Konrath <ben@bagu.org>
423 Add document title (database name) to top of the browser page.
425 I added the document title to the TableSelecitonView but that will
426 change if / when we add a view that doesn't require table selection.
428 * mockups/details-contacts.html:
429 * mockups/details-projects.html:
430 * mockups/listview-contacts.html:
431 * mockups/listview-projects.html:
432 * mockups/style.css: Add document title to mockups to keep things
434 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
435 sizes to account for the document title.
436 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
437 Set the document title when it has been retrieved from the server.
438 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
439 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
440 and implement setDocumentTitle(String) method.
441 * src/main/webapp/style.css: Add ID for document title style.
443 2011-08-25 Ben Konrath <ben@bagu.org>
445 Add NavigationType enum to LayoutItemPortal DTO.
447 This is the start of adding support for Portals to the Details View.
449 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
450 LayoutItem_Portal.navigation_type enum from libglom to
451 LayoutItemPortal.NavigationType enum.
452 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
453 NavigationType enum, field for storing the NavigationType and getter
456 2011-08-25 Ben Konrath <ben@bagu.org>
458 Implement the flow table layout in the Details View.
460 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
461 FlowTable to Group to account for the renamed class.
462 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
463 File. This is a container widget that implements the Glom details view
464 flow table behaviour.
465 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
466 org/glom/web/client/ui/FlowTable.java.
467 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
468 so that the size of the subgroups are a closer match to the size of
469 the Glom subgroups. This makes the flowtable layout match the layout
470 in Glom for the Music Collection example file.
472 2011-08-16 Ben Konrath <ben@bagu.org>
474 Create container element for LayoutItemPortal in Details View.
476 This will help me develop the layout for the FlowTable.
478 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
479 fieldPanel variable to detailsCell.
481 2011-08-15 Ben Konrath <ben@bagu.org>
483 Set the height of the data element in the Details View.
485 I changed the InlineLabels (text in a span element) to Labels (text in
486 a div element) so that I could set the height of the details-data
487 elements instead of the details-cell parent elements. This allows the
488 the details-data element to display the correct height if style is
489 applied that shows the height.
491 This change has the added benefit of allowing the order of the labels
492 and data elements to be changed for right-to-left languages.
494 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
495 InlineLabels to Labels.
496 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
497 InlineLabels to Labels. Set the height of the data element.
498 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
499 multiline text height in the Formatting DTO.
500 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
501 for multiline height along with getter and setter methods.
502 * src/main/webapp/style.css: Adjust style to account for the change
503 from span elements to div elements in the details cell.
505 2011-08-15 Ben Konrath <ben@bagu.org>
507 Make the List View appearance match the mockups.
509 It doesn't match exactly but it's much better than it was.
511 * mockups/listview-contacts.html: Remove unused css classes.
512 * mockups/listview-projects.html: Remove unused css classes.
513 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
514 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
515 for mainPanel instead of VerticalPanel (table). Set style name on
516 CellTable. Set style name on Details column. Right-align Details
518 * src/main/webapp/style.css: Adjust properties to match the mockups.
520 2011-08-12 Ben Konrath <ben@bagu.org>
522 Add better support for subgroups in the details view.
524 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
525 changed FlowTable constructor.
526 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
527 support for subgroups and subgroup-titles.
528 * src/main/webapp/style.css: Add CSS class for subgroups and
531 2011-08-12 Ben Konrath <ben@bagu.org>
533 Return the top level LayoutGroup title.
535 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
537 2011-08-11 Ben Konrath <ben@bagu.org>
539 Make the TableSelector header match the mockup.
541 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
542 the layout panel. Properly lineup the table selection header with
543 the list and details view.
544 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
545 margin around the details view.
546 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
547 Rename listBox variable to tableSelector. Set id for the style sheet.
548 Use a FlowPanel instead of a HorizontalPanel.
549 * src/main/webapp/style.css: Add properties to make the TableSelector
550 box match the mockups.
552 2011-07-13 Ben Konrath <ben@bagu.org>
554 Update install script for java-libglom version change.
556 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
559 2011-07-13 Ben Konrath <ben@bagu.org>
561 Add support sub-group in the details view.
563 I also removed the code that special-cased the default details view
566 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
568 I still have to make a proper flowtable.
570 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
571 Don't special-case default details view layout.
572 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
573 addLayoutField() as I'm going to use it.
574 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
575 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
577 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
578 extracted from DetailsViewImpl.GroupPanel. Add support for
580 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
581 column count when getting the details layout.
583 2011-07-12 Ben Konrath <ben@bagu.org>
585 Set browser title with database and table titles.
587 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
588 Set the browser title when the table changes and when the activity
590 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
591 title when retrieving document info (the GlomDocument object).
592 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
593 with getter and setter methods. Remove unused convenience constructor.
594 Use default code formatting.
596 2011-07-12 Ben Konrath <ben@bagu.org>
598 Ignore LayoutItemPortals in the details view.
600 I added a new DTO for the LayoutItemPortal so that I can ignore it in
603 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
604 LayoutItemPortal layout objects.
605 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
606 LayoutItemPortal objects when retrieving the details layout.
607 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
608 file. This is an empty class and just used to get type information for
611 2011-07-12 Ben Konrath <ben@bagu.org>
613 Use java-libglom 1.17.0.
617 2011-07-11 Ben Konrath <ben@bagu.org>
619 Remove "Table:" label from table selector.
621 This matches a recent change in the Glom UI.
623 * mockups/details-contacts.html:
624 * mockups/details-projects.html:
625 * mockups/listview-contacts.html:
626 * mockups/listview-projects.html: Remove the "Table:" label from the
628 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
630 2011-07-11 Ben Konrath <ben@bagu.org>
632 Add main groups to the details view.
634 This makes things look a little nicer in the details view. The next step
635 is to implement the flowtable.
637 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
638 resources from the standard gwt css theme. Standard.css is now
639 included in OnlineGlom.html so that the online glom css rules have
640 precedence over the gwt theme.
641 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
642 the whole LayoutGroup to the DetailsView instead of just the titles.
643 * src/main/java/org/glom/web/client/ui/DetailsView.java:
644 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
645 details layout with a helper class (GroupPanel). I might extract this
646 class when I make the full flowtable.
647 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
648 string as default so I don't have to worry about NPEs when processing
650 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
651 note beside OnlineGlom.gwt.xml above).
652 * src/main/webapp/style.css: Add default font-size to body to override
653 the font-size set by the standard theme. Don't use h2 tags for
654 group-title. Create new details-cell class.
656 2011-07-08 Murray Cumming <murrayc@murrayc.com>
658 ConfiguredDocument: Set the port number too.
660 * src/main/java/org/glom/web/server/ConfiguredDocument.java
661 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
662 Glom document. Presumably this worked sometimes so far because there is a
665 2011-07-08 Murray Cumming <murrayc@murrayc.com>
667 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
669 * src/main/java/org/glom/web/server/ConfiguredDocument.java
670 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
671 correct, though we should throw an exception too.
673 2011-07-08 Murray Cumming <murrayc@murrayc.com>
675 Fix a addDocuemnt typo.
677 * src/main/java/org/glom/web/shared/Documents.java
678 (Documents.addDocuemnt): Rename to addDocument().
679 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
680 (OnlineGlomServiceImpl.getDocuments): Adapt.
682 2011-07-08 Murray Cumming <murrayc@murrayc.com>
684 Slightly improved log output when connection fails.
686 * src/main/java/org/glom/web/server/ConfiguredDocument.java
687 (ConfiguredDocument.setUsernameAndPassword):
688 We don't know for sure if it' the username/password that's wrong, so
689 rephrase the message.
690 Also ouput the exception message, though it's generic in this case.
692 2011-07-08 Ben Konrath <ben@bagu.org>
696 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
697 added braces to a one line if statement because the Eclipse formatter
698 was getting confused.
700 2011-07-07 Ben Konrath <ben@bagu.org>
702 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
704 These should really be two separate tasks but I counldn't get things to
705 work with GWT 2.2.0 and Eclipse 3.7.
709 * .settings/org.eclipse.jdt.core.prefs:
710 * .settings/org.eclipse.jdt.ui.prefs:
711 * .settings/org.eclipse.ltk.core.refactoring.prefs:
712 * .settings/org.eclipse.m2e.core.prefs:
713 Add new config files. Update current files. Remove references to the
714 webtools plugins as we're not using any of the webtools features.
715 * .gitignore: Add logs directory which is created when running with
717 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
718 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
719 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
721 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
723 2011-07-07 Murray Cumming <murrayc@murrayc.com>
725 onlineglom.properties: Add explanatory comments.
727 * src/main/resources/onlineglom.properties: Also change the default user
728 from ben to someuser, to avoid the risk of people thinking we just
729 stupidly hard-coded a locale path, when they see that on stderr or in a log.
731 2011-06-28 Ben Konrath <ben@bagu.org>
733 Use filename in Log for incorrect passwords.
735 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
736 getFileName(String) method to get the filename from the URI.
738 2011-06-28 Ben Konrath <ben@bagu.org>
740 Add the table name to the URL token for the ListPlace.
742 This makes things consistent between the DetailsPlace and the
743 ListPlace. It also allows the the ListPlace to be bookmarked.
745 * src/main/java/org/glom/web/client/OnlineGlomService.java:
746 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
747 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
748 Remove getDefaultListLayout(). The default layout is now returned
749 by the getListLayout() method when the table name is an empty string.
750 * src/main/java/org/glom/web/client/activity/ListActivity.java:
751 Add table name field. Change to a new ListPlace when the table
752 has been changed. Use getListLayout() for getting the default
754 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
755 Add table name field. Set the correct table name in the list box
756 when loading from bookmark. This corrects a problem for the
758 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
759 Move table name to super-class (HasSelectableTable). Move document
760 and table URL keys to super-class in HasSelectableTable.
761 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
762 Add table name field. Add Tokenizer class with URL key common to
763 the subclasses (DetailsPlace and ListPlace).
764 * src/main/java/org/glom/web/client/place/ListPlace.java:
765 Add table name. Add code to parse the URL token.
766 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
767 Update ListPlace construction with empty table name string.
768 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
769 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
770 Change setTableSelectedIndex(int) to setSelectedTableName(String).
771 Update ListPlace construction with table name string.
772 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
773 Change defaultTableName field to tableName to reflect how it's now
774 used. Update the getter and setter methods.
776 2011-06-28 Ben Konrath <ben@bagu.org>
778 Enable the table selector in the DetailsView.
780 * src/main/java/org/glom/web/client/OnlineGlomService.java:
781 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
782 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
783 Remove getDefaultDetailsLayout(). The default layout is now returned
784 by the getDetailsLayout() method when the table name is an empty
786 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
787 event handler for table change event. Change to using
788 getDetailsLayout() for the default details layout.
789 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
791 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
792 when navigating to the details place.
794 2011-06-27 Ben Konrath <ben@bagu.org>
796 Use filename based unique document ID in URL and for RPC.
798 The document ID is the glom document name with spaces (' ') replaced
799 with pluses ('+') and without the .glom extension.
801 This change is mostly a string substitution of 'documentTitle' for
802 'documentID'. The only code change is the addition of a Documents DTO to get the
803 filename to document title mappings as indicated below.
805 * src/main/java/org/glom/web/client/OnlineGlomService.java:
806 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
807 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
808 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
809 Use Documents DTO to create the document links in the document
811 * src/main/java/org/glom/web/client/activity/ListActivity.java:
812 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
813 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
814 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
815 * src/main/java/org/glom/web/client/place/ListPlace.java:
816 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
817 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
818 * src/main/java/org/glom/web/client/ui/ListView.java:
819 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
820 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
821 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
822 * src/main/java/org/glom/web/server/Log.java:
823 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
824 getDocumentTitles() to getDocuments() and return the Documents DTO.
825 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
826 transferring the filename to document title mappings.
828 2011-06-25 Ben Konrath <ben@bagu.org>
830 Make the authentication popup work again.
832 This bug was introduced when I extracted ConfiguredDocument to its own class.
834 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
835 correct success / fail status in setUsernameAndPassword().
837 2011-06-25 Ben Konrath <ben@bagu.org>
839 Use filename as unique key for configuring database usernames and passwords.
841 This replaces the use of the Glom document title which could change
842 depending on the locale. Thanks to Murray Cumming for pointing out this
845 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
846 * src/main/resources/onlineglom.properties:
848 2011-06-24 Ben Konrath <ben@bagu.org>
850 Pass primary key value to DetailsView.
852 This enables the DetailsView to load the correct data.
854 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
855 primary key value field and set in constructor. Pass primary key
856 value to getDetailsData().
857 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
858 variables for document title and primary key value.
859 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
860 key value to the DetailsPlace.
862 2011-06-24 Ben Konrath <ben@bagu.org>
864 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
866 This allows the primary key to be retrieved by the Details button. This
867 functionality has not been implemented yet but it's in the works.
869 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
870 the LayoutGroup result to ListView.setCellTable instead of all of its
872 * src/main/java/org/glom/web/client/ui/ListView.java:
873 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
874 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
875 get the primary key for the table.
876 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
877 index of the primary key in the LayoutGroup accounting for hidden
878 primary keys. Rename getJavaNumberFormat() to
879 convertToJavaNumberFormat() for consistency. Cleanup / add some
881 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
882 field for primary key index and a field to indicate whether the
883 primary key is hidden or not.
885 2011-06-23 Ben Konrath <ben@bagu.org>
887 Rename getTableData methods to getListData.
889 This is a rename refactor for consistency with other methods.
891 * src/main/java/org/glom/web/client/OnlineGlomService.java:
892 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
893 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
894 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
896 2011-06-23 Ben Konrath <ben@bagu.org>
898 Extract the ConfiguredDocument innerclass into its own class.
900 This makes the servlet code more object oriented.
902 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
903 from private ConfiguredDocument class in OnlineGlomServiceImpl.
904 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
905 new ConfiguredDocument class.
907 2011-06-21 Ben Konrath <ben@bagu.org>
909 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
911 This makes things more inline with how libglom works and reduces code
912 duplication. This refactor lays the groundwork for adding the primary key to
913 the LayoutGroup object.
915 * src/main/java/org/glom/web/client/OnlineGlomService.java:
916 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
917 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
918 Change method names to getListLayout and getDefaultListLayout for
919 consistency. Use LayoutGroup as the DTO for the list layout instead of
920 ColumnInfo and LayoutListTable.
921 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
922 new method names along with the LayoutGroup object for transferring the
924 * src/main/java/org/glom/web/client/ui/ListView.java:
925 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
926 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
927 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
929 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
930 Replaced with LayoutGroup.
931 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
932 expectedResultSize and defaultTableName fields which are needed for
934 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
935 type field which is needed for the list layout but will also be
936 useful for the details layout as things progress.
937 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
938 Make class abstract. Remove the unnecessary
939 getFormattingHorizontalAlignment method. Add setFormatting method.
941 2011-06-16 Ben Konrath <ben@bagu.org>
943 Add scripts for building and installing war.
945 These will help when updating OnlineGlom but they're also good
946 supplemental documentation of the build and deployment proceeding.
948 * utils/build-onlineglom-war.sh: New file.
949 * utils/install-onlineglom-war.sh: New file.
951 2011-06-16 Ben Konrath <ben@bagu.org>
953 Create wrapper class to create consistent log messages.
955 I wrapped methods in the Log class of gwt-log to add the method names
956 from the servlet and create consistent formatting of the document title
957 and table names in the log messages.
959 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
960 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
961 log methods to use methods from wrapped Log class.
963 2011-06-16 Ben Konrath <ben@bagu.org>
965 Remove superfluous conditional return.
967 Thanks to Murray Cumming for pointing this out!
969 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
971 2011-06-15 Ben Konrath <ben@bagu.org>
973 Return an ArrayList of LayoutGroups for the Details layout.
975 This corrects a problem with the details layout as it can have more
976 than one top level LayoutGroup.
978 * src/main/java/org/glom/web/client/OnlineGlomService.java:
979 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
980 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
981 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
982 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
983 with ArrayList of LayoutGroups for the details view layout.
984 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
985 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
986 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
987 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
988 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
989 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
991 2011-06-14 Ben Konrath <ben@bagu.org>
993 Use cast_dynamic method to determine the libglom LayoutItem type.
995 This is better than finding the LayoutItem type by using the string
996 returned from the get_part_type_name() method.
998 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1000 2011-06-14 Ben Konrath <ben@bagu.org>
1002 Add method names to log entries in the servlet.
1004 This helps when tracking down deployment problems.
1006 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1008 2011-06-14 Ben Konrath <ben@bagu.org>
1010 Add data to the DetailsView using a hard-coded primary key value.
1012 The layout and functionality of the DetailsView is not complete. This
1013 is just a checkpoint so the patch doesn't get too big.
1015 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1016 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1017 Add getDetailsData() servlet method.
1018 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1019 Add RPC to getDetailsData(). Change the way the LayoutGroups and
1020 LayoutFields are added to the DetailsView.
1021 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1022 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1023 Add setData() method. Change addLayoutGroup() and addLayoutField() to
1024 take the string for the title instead of the object.
1025 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1026 Add implementation getDetailsData() along with some private helper
1028 * src/main/webapp/style.css: Add padding to details-data class. Add a
1029 details-label class with the same padding as the details-data class.
1031 2011-06-03 Ben Konrath <ben@bagu.org>
1033 Use presenter.goTo() to change to the DetailsPlace.
1035 This will make things easier when we need to open the DetailsView with
1036 data specific to the row that was clicked.
1038 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1040 2011-06-02 Ben Konrath <ben@bagu.org>
1042 Add CSS file from mockups.
1044 I'm adding this now because it's going to be useful to have when
1045 developing the DetailsView. The TableSelectionView and ListView aren't
1048 * src/main/webapp/OnlineGlom.html:
1049 * src/main/webapp/style.css:
1051 2011-06-02 Ben Konrath <ben@bagu.org>
1053 Use String.isEmpty() to check for empty string.
1055 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1057 2011-06-02 Ben Konrath <ben@bagu.org>
1059 Display main layout group titles in the DetailsView.
1061 This is the start of the DetailsActivity/DetailsView implementation.
1063 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1064 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1065 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
1066 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1067 Get the layout information for the details view from the server and set
1068 the main layout group titles.
1069 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1070 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1071 Add addLayoutGroup() and addLayoutField() methods. This are just
1072 temporary methods for creating the the details view that will change
1074 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1075 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
1077 * src/main/java/org/glom/web/shared/layout/Formatting.java:
1078 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1079 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
1080 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
1081 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1082 Data Transfer Objects that mimic the libglom object structure. These are
1083 used for transferring the details layout but could also be used for
1084 transferring the list layout.
1086 2011-05-27 Ben Konrath <ben@bagu.org>
1088 Reset the AuthenticationPopup when clearing the ListView.
1090 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1092 2011-05-27 Ben Konrath <ben@bagu.org>
1094 Fix problem with onlineglom.properties file loading.
1096 The old way worked in Eclipse but not on the server. Loading the
1097 onlineglom.properties file now works in Eclipse and on the server.
1099 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1101 2011-05-24 Ben Konrath <ben@bagu.org>
1103 Update gwt-log from 3.1.0 to 3.1.2.
1105 Gwt-log 3.1.0 has been marked as depreciated.
1109 2011-05-24 Ben Konrath <ben@bagu.org>
1111 Add comment to ListActivity.goTo() method.
1113 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1115 2011-05-24 Ben Konrath <ben@bagu.org>
1117 Remove FIXME in convertGdkColorToHtmlColour()
1119 The Gdk::Color value returned by libglom is 16-bits per channel on both
1120 64 and 32-bit platforms.
1122 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1124 2011-05-19 Ben Konrath <ben@bagu.org>
1126 Improve performance of initial ListView load.
1128 I removed a round trip to the server for getting the default table name
1129 and then requesting information about that table. This also removes a potential
1130 problem with the table change handler not being setup in time to receive the
1131 table change event from the ListActivity.
1133 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1134 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1135 getDefaultLayoutListTable() method. Improve comments.
1136 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1137 getDefaultLayoutListTable() method instead of firing a table change
1138 event to get the table to load.
1139 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1140 implementation of getDefaultLayoutListTable() method.
1141 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1144 2011-05-19 Ben Konrath <ben@bagu.org>
1146 Override toDebugString() in TableChangeEvent.
1148 This is useful to have for debugging.
1150 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1152 2011-05-19 Ben Konrath <ben@bagu.org>
1154 Add a "Back to List" link when at the DetailsPlace.
1156 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1157 Populate the CellTable based on the selected table of the ListBox if
1158 it's set otherwise use the default table. This allows the "Back to
1160 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1161 Remove Place from constructors. Add a setPlace() method. Add
1162 goToPlace() method. Set class as presenter for TableSelectionView.
1163 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1164 Use the same TableSelectionActivity when switching between the List and
1166 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1167 Subclass the new HasSelectableTablePlace. This removes some duplicate
1169 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1170 New class to represent Places that display the TableSelectionView.
1171 * src/main/java/org/glom/web/client/place/ListPlace.java:
1172 Subclass the new HasSelectableTablePlace. This removes some duplicate
1174 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1175 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1176 Add Presenter interface. Add setBackLinkVisible() method. Add
1177 setBackLink() method.
1179 2011-05-18 Ben Konrath <ben@bagu.org>
1181 Enable the "Details" buttons.
1183 Right now only an empty details view is displayed.
1185 * src/main/java/org/glom/web/client/ClientFactory.java:
1186 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1187 Add DetailsView to ClientFactory.
1188 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1189 A basic activity for the details view.
1190 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1191 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
1193 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1194 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
1196 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1197 Create a new DetailsActivity when a DetailsPlace is requested. Remove
1198 unnecessary super() in constructor.
1199 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1200 Create a new TableSelectionActivity when a DetailsPlace is requested. We
1201 really shouldn't create a new TableSelectionActivity for both the ListPlace
1202 and the DetailsPlace so this should be considered a temporary solution.
1203 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1204 New file. Represents a URL for the details view.
1205 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1206 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1207 A basic details view interface and implementation.
1208 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1209 Enable the "Details" buttons.
1211 2011-05-12 Ben Konrath <ben@bagu.org>
1213 Use a LayoutPanel with multiple display areas for main layout.
1215 This is mostly a refactor in that there are no changes from the user
1216 point of view. These changes are required so that we can swap out the list view
1217 with the details view when the user clicks the "Details" button.
1219 * src/main/java/org/glom/web/client/ClientFactory.java:
1220 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1221 OnlineGlomView. Add TableSelectionView, ListView and
1222 AuthenticationPopup.
1223 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
1224 for main layout. Add display regions for main activities. Add
1225 activity manager for for main activities.
1226 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
1227 file from parts of the deleted OnlineGlomActivity.
1228 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1229 New file from parts of the deleted OnlineGlomActivity.
1230 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1231 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
1232 New files for app wide table change event.
1233 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1234 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
1235 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1236 Activity mappers for the main activities replace the deleted app-wide
1238 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
1239 Fix a spelling error in he comment.
1240 * src/main/java/org/glom/web/client/ui/ListView.java:
1241 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1242 Renamed from LayoutListView and modified for MVP. This still not a
1243 proper dumb view as prescribed by the MVP pattern but it works for now.
1244 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1245 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1246 New widget stripped out of the deleted OnlineGlomView.
1247 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1248 Remove hack that is fixed by this patch.
1250 2011-05-06 Ben Konrath <ben@bagu.org>
1252 Rename OnlineGlomPlace to ListPlace.
1254 The only change besides the rename is that url will now display #list
1255 instead of #Document.
1257 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.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/ListPlace.java:
1261 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1263 2011-05-06 Ben Konrath <ben@bagu.org>
1265 Use Presenter for app navigation.
1267 This is the proper way to deal with Place (URL) changes with the MVP
1270 * src/main/java/org/glom/web/client/ClientFactory.java:
1271 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1272 PlaceHistoryMapper and PlaceHistoryHandler.
1273 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
1274 PlaceHistoryMapper and PlaceHistoryHandler.
1275 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1276 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
1277 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1278 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1279 Add Presenter interface and setPresenter methods. Rename addHyperLink
1280 to addDocumentLink taking only the document title as a parameter.
1282 2011-04-14 Ben Konrath <ben@bagu.org>
1284 Prompt for db username/password if they haven't been set.
1286 This is implemented with a popup widget that is contained within the
1287 OnlineGlomView and managed by the OnlineGlomActivity.
1289 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
1290 methods for checking and setting the database username and password.
1291 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
1292 new methods for checking and setting the database username and
1294 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1295 Display authentication popup if the JDBC connection to the database
1296 has not been authenticated.
1297 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
1299 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1300 for dealing with the authentication popup.
1301 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
1302 Implement the methods for dealing with the authentication popup.
1303 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
1304 try to executed queries if the database connection hasn't been
1305 authenticated. Implement methods for checking and setting the
1306 database username and password.
1308 2011-04-12 Ben Konrath <ben@bagu.org>
1310 Make log messages a little clearer.
1312 Add a dash betweeen the document title and the table name.
1314 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1316 2011-04-12 Ben Konrath <ben@bagu.org>
1318 Protect against NPEs when cleaning up database resources.
1320 While this isn't strictly necessary because the exception is caught,
1321 not protecting against the NPEs makes it harder to find the real error
1324 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1326 2011-04-12 Ben Konrath <ben@bagu.org>
1328 Move configuration of the servlet to the constructor.
1330 The servlet will be initialized even if the database authentication
1331 information is not set or correct. I still need to add the UI for prompting
1332 the user for the authentication information when it's required.
1334 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1335 javadocs for getDocumentTitles() method.
1336 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1337 Set error message when RPC fails.
1338 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
1339 glom files directory from the configuration file. Try to set the
1340 database authentication information for the specific document if it's
1341 set and works otherwise try to use the global authentication
1342 information set for the directory.
1343 * src/main/resources/onlineglom.properties: Moved from
1344 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
1345 Added detailed comments for the new keys.
1347 2011-04-11 Ben Konrath <ben@bagu.org>
1349 Remove unnecessary @Override in DocumentSelectionViewImpl.
1351 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1353 2011-04-11 Ben Konrath <ben@bagu.org>
1355 Remove center alignment in DocumentSelectionView.
1357 The title element is still centred but the document titles and bottom
1358 sentence are both left-aligned.
1360 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1362 2011-04-11 Ben Konrath <ben@bagu.org>
1364 Change 'Demo' naming convention to 'Document'.
1366 This is just a rename refactor with no functional changes to the code.
1368 * src/main/java/org/glom/web/client/ClientFactory.java:
1369 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1370 * src/main/java/org/glom/web/client/OnlineGlom.java:
1371 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1372 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1373 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1374 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1375 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1376 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1377 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1378 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1379 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1380 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1382 2011-04-08 Ben Konrath <ben@bagu.org>
1384 Remove FIXME from safeLongToInt() method.
1386 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1389 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1391 2011-04-08 Ben Konrath <ben@bagu.org>
1393 Display an error if no glom documents are found in the specified directory.
1395 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1396 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1397 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1398 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1400 2011-04-08 Ben Konrath <ben@bagu.org>
1402 Add copyright header to one more file ... oops.
1404 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1406 2011-04-08 Ben Konrath <ben@bagu.org>
1408 Add copyright header to files without it.
1410 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1411 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1412 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1413 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1414 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1415 * src/main/java/org/glom/web/shared/GlomField.java:
1417 2011-04-08 Ben Konrath <ben@bagu.org>
1419 Add support for accessing multiple glom documents in the servlet.
1421 This completes the demo selection functionality.
1423 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1424 document title to methods.
1425 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1426 document title to methods.
1427 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1428 Set browser window title when the activity starts. Correct name of
1429 document title variable.
1430 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1431 Set browser window title when the activity starts. Set the table
1432 selector change handler after table selector has been set. Clear the
1433 OnlineGlomView when the activity has been stopped.
1434 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1435 document title as the place token. Use "#Document:" instead of
1436 "#OnlineGlomPlace:" in the URL.
1437 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1438 Change heading to "Online Glom"
1439 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1440 document title in RPC methods.
1441 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1442 setDocumentTitle() method. Add clear() method.
1443 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1444 setDocumentTitle() method. Implement clear() method which removes the
1445 change handler on the ListBox, clears the ListBox and clears the
1447 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1448 Implement methods with document title. Keep track for the configured
1449 glom documents and their corresponding JDBC configurations in a hash
1450 table. This information is retrieved using the document title as the
1451 key in the hash table.
1452 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1453 document title field as it's no longer needed.
1455 2011-04-08 Ben Konrath <ben@bagu.org>
1457 Update the Eclipse JDT configuration.
1459 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1460 methods. Automatically add the copyright header to new files.
1462 2011-04-05 Ben Konrath <ben@bagu.org>
1464 Add new page for demo selection.
1466 This patch adds all the components required to view and start an
1467 OnlineGlom demo by clicking on the desired hyperlink. The user is
1468 able to return to the demo selection page with the browser's back
1469 button. I still need to modify the servlet to work with multiple
1470 documents so all demo links will load the file defined in the
1471 OnlineGlom.properties.
1473 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1474 This is only useful during development so we don't need to save it.
1475 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1476 get a reference to the DemoSelectionView.
1477 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1478 method to get a reference to the DemoSelectionView.
1479 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1480 default view to DemoSelectionView.
1481 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1482 to get glom document titles for glom files in a hard-coded directory.
1483 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1484 method to get glom document titles for glom files in a hard-coded
1486 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1487 Presenter for DemoSelectionView.
1488 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1489 for DemoSelectionView.
1490 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1491 Update for DemoSelectionView.
1492 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1493 Basic 'Place' implementation for the DemoSelectionView.
1494 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1495 The interface for the DemoSelectionView.
1496 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1497 The implementation of the DemoSelectionView.
1498 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1499 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1500 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1501 implementation of method to get glom document titles for glom files
1502 in a hard-coded directory.
1503 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1504 on longer being used.
1505 * src/main/webapp/glom.png: Glom logo.
1507 2011-04-05 Ben Konrath <ben@bagu.org>
1509 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1511 This is the forth and final commit of a refactor that will allow
1512 OnlineGlom to be used with multiple documents.
1514 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1515 Move RPC code from OnlineGlomViewImpl to this class.
1516 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1518 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1519 RPC code to the presenter class (the P in MVP).
1521 2011-04-04 Ben Konrath <ben@bagu.org>
1523 Start moving the existing OnlineGlom code to MVP.
1525 This work is based on the GWT MVP framework that is documented here:
1527 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1529 This is the third commit of a refactor that will allow OnlineGlom to
1530 be used with multiple documents.
1532 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1533 Interface for client factory which is used to get instances of various
1534 classes throughout the app.
1535 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1536 Implementation of client factory.
1537 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1538 initialize the MVP framework.
1539 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1540 New file. Activity manager for the main container widget. This is the
1542 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1543 Maps place (URL) to its corresponding activity.
1544 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1545 New file. This is just a place holder for a generated file.
1546 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1547 New file. Represents the URL for the main Online Glom app.
1548 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1549 for changes in LayoutListViewImpl.
1550 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1551 interface for View. Move code to OnlineGlomViewImpl class.
1552 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1553 file. Implementation of OnlineGlomView.
1554 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1555 Place resources. Use ClientFactoryImpl by default.
1557 2011-04-04 Ben Konrath <ben@bagu.org>
1559 Move View classes to their own package.
1561 This is the second commit of a refactor that will allow OnlineGlom to
1562 be used with multiple documents.
1564 * src/main/java/org/glom/web/client/OnlineGlom.java:
1565 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1566 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1568 2011-04-02 Ben Konrath <ben@bagu.org>
1570 Move UI code from the main module to its own class.
1572 This is the first commit of a refactor that will allow OnlineGlom to be
1573 used with multiple documents.
1575 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1576 references to OnlineGlom to OnlineGlomView.
1577 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1578 OnlineGlomView and instantiate it here.
1579 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1580 represents the main OnlineGlomView with one document.
1582 2011-04-01 Ben Konrath <ben@bagu.org>
1584 Fix formatting of gwt.xml and add DTD.
1586 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1588 2011-03-30 Ben Konrath <ben@bagu.org>
1590 Propperly convert gdkColor string to html colour string.
1592 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1594 2011-03-28 Ben Konrath <ben@bagu.org>
1596 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1598 This implementation matches
1599 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1600 readable and is not tied to Swig.
1602 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1604 2011-03-28 Ben Konrath <ben@bagu.org>
1606 Use read-only checkboxes for boolean field types.
1608 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1609 in the CellTable based on the field type. It currently only
1610 distinguishes between boolean and text columns but I'll need to add
1611 support for more types.
1612 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1613 column type in the ColumnInfo object. Add method to convert between the
1614 glom field type enum in ColumnInfo and the glom field type in libglom.
1615 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1617 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1618 getting and setting booleans.
1620 2011-03-25 Ben Konrath <ben@bagu.org>
1622 Don't get the Date twice from the ResultSet.
1624 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1626 2011-03-25 Ben Konrath <ben@bagu.org>
1628 Cleanup code in the servlet.
1630 * TODO: Remove item about row count. Add item about testing row count
1631 query with large number of rows.
1632 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1633 spelling mistakes, change method parameter to be consistent with
1636 2011-03-25 Ben Konrath <ben@bagu.org>
1638 Add server side logging with the gwt-log library.
1640 * .gitignore: Ignore the log file we're now producing.
1641 * TODO: Add a couple TODO item for logging.
1642 * pom.xml: Add gwt-log and log4j as a dependency.
1643 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1644 logging of errors, warnings and some important info.
1645 * src/main/resources/log4j.properties: New file to configure log4j.
1647 2011-03-24 Ben Konrath <ben@bagu.org>
1649 Add a disable button for the Details view.
1651 * src/main/java/org/glom/web/client/LayoutListView.java:
1653 2011-03-22 Ben Konrath <ben@bagu.org>
1655 Use a count query to get the number of rows for the list view pager.
1657 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1659 2011-03-22 Ben Konrath <ben@bagu.org>
1661 Add more TODO information about CellTable pager positioning.
1665 2011-03-19 Ben Konrath <ben@bagu.org>
1667 Add TODO item about CellTable pager positioning.
1671 2011-03-18 Ben Konrath <ben@bagu.org>
1673 Remove unneeded GlomFieldColumn class.
1675 This is just a small code cleanup.
1677 * src/main/java/org/glom/web/client/LayoutListView.java:
1679 2011-03-18 Ben Konrath <ben@bagu.org>
1681 Use cursor mode in the query that gets data for the list view.
1683 I still need to fix the potential memory problem when getting the row
1684 count for the list view.
1686 * TODO: Add note about testing memory usage with large data sets. Add
1687 item about fixing row counting with large data sets.
1688 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1689 PostgreSQL JDBC driver into cursor mode when getting data for the
1692 2011-03-15 Ben Konrath <ben@bagu.org>
1694 Remove the GWT Container from the Eclipse build classpath.
1696 The GWT dependencies are set by Maven so this isn't needed.
1700 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1702 Added some earlier mockups to git, but not to the tarball dist.
1704 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1705 Openismus. These hopefully show how we might structure the HTML so that
1706 it can be styled easily with CSS. However, we probably need to adapt them
1707 for the CSS structure that GWT dictates for common widgets.
1709 2011-03-14 Ben Konrath <ben@bagu.org>
1711 Locate OnlineGlom.properties using the ServletContext.
1713 This is required to be able to locate the file in the deployed servlet.
1715 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1716 Configure the database and glom document in in a helper method so
1717 that the ServletContext can be used to locate OnlineGlom.properties.
1718 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1719 src/main/webapp. This is the proper location for .properites files.
1721 2011-03-12 Ben Konrath <ben@bagu.org>
1723 Add note to README about why we're compiling down to obfuscated JavaScript.
1727 2011-03-11 Ben Konrath <ben@bagu.org>
1729 Use properties file to configure servlet.
1731 This allows people to change the glom file path, db username and db
1732 password without recompiling the code.
1734 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1735 * src/main/webapp/OnlineGlom.properties:
1737 2011-03-11 Ben Konrath <ben@bagu.org>
1739 Use table fields in layout list view if the layout list is not defined.
1741 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1742 Manually create a LayoutFieldVector for the query builder using the
1743 table fields when a layout list is not defined in the glom file.
1745 2011-03-11 Ben Konrath <ben@bagu.org>
1747 Only show FIXME string for images when there's an image.
1749 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1750 in this change are some small code cleanups.
1752 2011-03-11 Ben Konrath <ben@bagu.org>
1754 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1756 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1758 2011-03-11 Ben Konrath <ben@bagu.org>
1760 Correctly set the index of the default table.
1762 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1763 Correctly set the index of the default table. Add commented out example
1766 2011-03-10 Ben Konrath <ben@bagu.org>
1768 Add comment to pom.xml about the previous change.
1770 * pom.xml: Add comment about the deployment issue so that it's obvious
1771 why java-libglom is set to the provided scope.
1773 2011-03-10 Ben Konrath <ben@bagu.org>
1775 Change java-libglom dependency from compile to provided in pom.xml.
1777 Since java-libglom uses jni it can only be loaded once and therefore
1778 must be placed in $CATALINA_HOME/lib and not included in each war.
1779 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1780 More information about this issue can be found in the Tomcat 6 release
1781 notes in the "JNI Based Applications" section:
1783 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1785 * README: Remove note about this issue. Deployment info should really
1786 be on the wiki anyway so I'll add it right now.
1787 * pom.xml: Change java-libglom dependency from compile to provided so
1788 that it's copied in to the packaged war.
1790 2011-03-09 Ben Konrath <ben@bagu.org>
1792 Change to using a neutral locale for currency, date and time formatting.
1794 This solves the problem of currency values being represented without a
1795 space between the currency code and the number (e.g. "EUR5.89" is now
1796 represented as "EUR 5.89"). More work is required when we implement
1797 a locale preference setting.
1799 * TODO: Add note about currency formatting issues with different
1801 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1802 to using the neutral ROOT locale.
1804 2011-03-09 Ben Konrath <ben@bagu.org>
1806 Add support for currency codes that are not ISO 4217 codes.
1808 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1809 the currency code defined in the glom file when it's not 3 characters
1810 long or when Java doesn't recognize the string as an ISO 4217 code.
1812 2011-03-08 Ben Konrath <ben@bagu.org>
1814 Remove test classes, launch configurations and configuration.
1816 The test stuff was getting in the way when creating the war. To make
1817 the war file you can now do 'mvn clean package'. The packaged war file
1818 will be in the target directory.
1820 * .classpath: Remove unused classpathentry for tests and i18n.
1821 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1822 property. Don't run test or i18n goals when packaging the war.
1823 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1828 * OnlineGlomTest-dev.launch:
1829 * OnlineGlomTest-prod.launch:
1830 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1831 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1833 2011-03-07 Ben Konrath <ben@bagu.org>
1835 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1837 These fixes allow me to use 'mvn deploy' to create the war file.
1839 * .classpath: This generated config has been updated by Eclipse. This
1840 change was probably triggered by me updating from Eclipse 3.6.1 to
1842 * .gitignore: Add entry to ignore the directory
1843 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1844 * .project: The generated config has been updated by Eclipse. This
1845 change was probably triggered by me updating from Eclipse 3.6.1 to
1847 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1848 so that Eclipse doesn't complain
1849 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1850 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1851 'tests' directory to 'client' directory. This is the new
1852 gwt-maven-plugin convension.
1853 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1854 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1856 2011-03-07 Ben Konrath <ben@bagu.org>
1858 Add support for horizontal alignment in the LayoutList columns.
1860 * TODO: Remove item about horizontal alignment. Add item about
1861 improvements to ColumnInfo.
1862 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1863 alignment on the columns. Use ColumnInfo RPC object get the column
1864 title and horizontal alignment.
1865 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1866 LayoutListView creation with ColumnInfo RPC object.
1867 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1868 a ColumnInfo object for every LayoutList columnn. Convert the
1869 FieldFormatting.HorizontalAlignment to the correct
1870 ColumnnInfo.HorizontatlAlignment with the new
1871 getColumnInfoHorizontalAlignment helper method.
1872 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1873 to encapsulate column information like alignment and title. This
1874 could be used to set the colour instead of on a per cell field basis.
1875 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1876 column title storage and retrieval with ColumnInfo.
1878 2011-03-04 Ben Konrath <ben@bagu.org>
1880 Add support for column sorting.
1882 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1883 AsynDataProvider to be an anonymous inner class. Use new
1884 getSortedTableData RPC method when column sort is requested. Set all
1885 columns sortable and add an AsyncHandler to activate sorting in the
1887 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1888 method getSortedTableData(). Cleanup other method signatures.
1889 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1890 new method getSortedTableData(). Cleanup other method signatures.
1891 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1892 Implement getSortedTableData() and getTableData() methods by using a
1893 private helper method with the appropriate parameters filled in. Use
1894 user supplied sort clause when supplied, otherwise fall back to
1895 sorting by the primary key. Move destroy() method to be underneath
1896 constructor for readability. Cleanup comments.
1898 2011-03-03 Ben Konrath <ben@bagu.org>
1900 Add support for colour text and colour backgrounds to the layout list cells.
1902 Only the cell backgrounds are coloured which leaves a gap between the
1903 cells that isn't coloured. I need to figure out a way to set
1904 'style=background-colour:' on the whole column rather than just the
1907 * TODO: Add a note about colouring the background of the whole column.
1908 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1909 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1910 render the coloured text and backgrounds. Use GlomField[] for the row type.
1911 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1913 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1914 GlomField[] for the row type.
1915 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1916 GlomField[] for the row type. Set the text, text colour and background
1917 colour in the GlomField objects as specified in the glom document. Add
1918 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1919 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1920 the glom field text, foreground colour and background colour.
1922 2011-03-02 Ben Konrath <ben@bagu.org>
1924 Don't display hidden tables in the combo box.
1926 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1928 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1929 code to ignore hidden tables using ArrayLists for the table names and
1931 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1932 tableNames to use ArrayLists instead of String[]. Update getter and setter
1935 2011-03-01 Ben Konrath <ben@bagu.org>
1937 Add support for Date and Time number types.
1939 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1940 Implement formatting for Date and Time values. Change the default glom
1941 file to small business example.
1943 2011-03-01 Ben Konrath <ben@bagu.org>
1945 Add support for formatting glom types as specified in the glom file.
1947 Formatting isn't finished yet - I still need to add support for Date
1950 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1951 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1952 checks for null values in JDBC cleanup code and catch all exceptions
1953 instead of just SQLExceptions.
1954 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1957 2011-03-01 Ben Konrath <ben@bagu.org>
1959 Use GWT 2.2.0 instead of 2.1.1.
1961 * pom.xml: Change GWT version numbers.
1963 2011-03-01 Ben Konrath <ben@bagu.org>
1965 A few small code cleanups.
1967 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1969 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1970 unnecessary object creation in constructor.
1971 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1972 unnecessary object creation in constructor.
1974 2011-02-28 Ben Konrath <ben@bagu.org>
1976 Add file for TODO list.
1980 2011-02-18 Ben Konrath <ben@bagu.org>
1982 Enable the CellTable Pager when more than 20 rows need to be viewed.
1984 The Pager will automatically become active when the results are larger
1985 than the CellTable size which is currently set to 20 lines.
1987 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1988 name on debug statment in RPC call in LayoutListDataProvider, add
1989 numRows parameter to LayoutListView constructor, propperly set rowCount
1991 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1992 name on debug statment in RPC call, use LayoutListTable object in RPC
1993 calls, pass rowCount to LayoutListView.
1994 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1995 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1997 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1998 interface for changes in OnlineGlomService.
1999 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2000 getLayoutListHeaders() to getLayoutListTable() and return
2001 LayoutListTable. Using this object allows me to pass other information
2002 about the LayoutList like the expected number of rows in the result set.
2003 The Connection object from the connection pool is now propperly closed.
2004 Only the requested number of lines are returned to the client in
2006 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
2007 GlomTable and add columnTitles and numRows.
2009 2011-02-18 Ben Konrath <ben@bagu.org>
2011 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
2013 This is a small performance boost. I'll use GlomTable to get the required
2014 layoutlist information.
2016 * src/main/java/org/glom/web/client/OnlineGlom.java:
2017 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2018 * src/main/java/org/glom/web/shared/GlomDocument.java:
2020 2011-02-18 Ben Konrath <ben@bagu.org>
2022 Add option to turn off formatting in JDT formatter preferences.
2024 * .settings/org.eclipse.jdt.core.prefs:
2026 2011-02-18 Ben Konrath <ben@bagu.org>
2028 Rename LayoutList to LayoutListView.
2030 I'm working towards setting things up to easily use MVP when the time
2033 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
2035 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2038 2011-02-17 Ben Konrath <ben@bagu.org>
2040 Move LayoutListDataProvider class into LayoutList.java.
2042 * src/main/java/org/glom/web/client/LayoutList.java:
2044 2011-02-17 Ben Konrath <ben@bagu.org>
2046 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
2048 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
2050 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
2051 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
2052 from LibGlomServer.java.
2053 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2054 Rename from LibGlomServiceAsync.java.
2055 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2056 Rename from LibGlomServiceImpl.java.
2057 * src/main/webapp/WEB-INF/web.xml: Update configuration.
2059 2011-02-17 Ben Konrath <ben@bagu.org>
2061 Update JDT settings.
2063 * .settings/org.eclipse.jdt.core.prefs:
2065 2011-02-17 Ben Konrath <ben@bagu.org>
2067 Move GWT-RPC objects to shared package (where they should be).
2069 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
2070 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
2071 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
2072 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
2073 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
2074 org.glom.web.shared package.
2075 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
2076 org.glom.web.shared package.
2077 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
2078 directory in compilation to javascript.
2080 2011-02-16 Ben Konrath <ben@bagu.org>
2082 Add sort clause to the sql query that grabs table information.
2084 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2085 if one of the columns is a primary key.
2087 2011-02-16 Ben Konrath <ben@bagu.org>
2089 Disable generateAsync feature of gwt-maven.
2091 The generated interface does not correctly match the methods in LibGlomService
2092 and the generated singleton Util inner-class doesn't respect the servlet
2095 * pom.xml: Turn off generateAsync feature.
2096 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2097 with singleton Util inner-class.
2099 2011-02-14 Ben Konrath <ben@bagu.org>
2101 Add LGPL v3 licence notices.
2103 Followed directions listed here:
2104 http://www.gnu.org/licenses/gpl-howto.html
2106 * COPYING: This file is a copy of the GPL v3.
2107 * COPYING.LESSER: This file is a copy of the LGPL v3.
2108 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2110 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2112 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2114 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2116 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2118 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2120 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2123 2011-02-14 Ben Konrath <ben@bagu.org>
2125 Use ArrayList instead of Array in GWT-RPC calls.
2127 Apparently this gives a slight performance boost to the compiled
2130 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2132 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2135 2011-02-14 Ben Konrath <ben@bagu.org>
2137 Access data from a postgres db rather than the example glom file.
2139 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2140 compile down to obfuscated javascript.
2141 * pom.xml: Add c3p0 and postgres JDBC libraries.
2142 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2143 using a postgres db accessed through the c3p0 connection pooling library.
2145 2011-02-14 Ben Konrath <ben@bagu.org>
2147 Update Java formatter settings.
2149 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
2151 2011-02-02 Ben Konrath <ben@bagu.org>
2153 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
2155 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
2157 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
2158 the compiled webapp directory that Eclipse uses as we're using Maven now.
2159 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
2160 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
2162 * pom.xml: Format file, change target Java version to 1.6.
2164 2011-02-02 Ben Konrath <ben@bagu.org>
2166 Add information about a deployment related issue.
2168 * README: Add Notes section with the problem outlined.
2170 2011-02-02 Ben Konrath <ben@bagu.org>
2172 Call Glom.libglom_deinit() when the servlet is shutdown.
2174 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2175 Glom.libglom_deinit() to destroy() method.
2177 2011-01-28 Ben Konrath <ben@bagu.org>
2179 Use generated Util class to get the RPC Async interface.
2181 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
2183 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
2184 getInstance() method to get a reference to the RPC Async interface.
2185 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
2186 getInstance() method to get a reference to the RPC Async interface, remove
2187 the now unused getLibGlomServiceProxy() method.
2189 2011-01-27 Ben Konrath <ben@bagu.org>
2191 Cleanup ChangeLog entry from previous commit.
2193 * ChangeLog: Group logical changes together and add comments.
2195 2011-01-25 Ben Konrath <ben@bagu.org>
2197 Convert to gwt-maven project.
2199 * .gitignore: Update for new project structure.
2200 * README: New file with a link to the online documentation.
2201 * pom.xml: The generated maven configuration file with some tweaks.
2203 Add / update Eclipse settings. These files are a merge of the files that
2204 were generated with the gwt-maven plugin and the files we were previously
2208 * .settings/.jsdtscope:
2209 * .settings/com.google.gdt.eclipse.core.prefs:
2210 * .settings/com.google.gwt.eclipse.core.prefs:
2211 * .settings/org.eclipse.jdt.core.prefs:
2212 * .settings/org.eclipse.wst.common.component:
2213 * .settings/org.eclipse.wst.common.project.facet.core.xml:
2214 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
2215 * .settings/org.maven.ide.eclipse.prefs:
2216 * OnlineGlomTest-dev.launch:
2217 * OnlineGlomTest-prod.launch:
2219 Java source files moved from the 'src' directory to the directory structure
2221 * src/main/java/org/glom/web/client/GlomDocument.java:
2222 * src/main/java/org/glom/web/client/GlomTable.java:
2223 * src/main/java/org/glom/web/client/LayoutList.java:
2224 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
2225 * src/main/java/org/glom/web/client/LibGlomService.java:
2226 * src/main/java/org/glom/web/client/OnlineGlom.java:
2227 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
2229 Non-functional property file used for translations. I included this as
2230 reminder that it's something I need to sort out.
2231 * src/main/resources/org/glom/web/client/Messages.properties:
2233 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
2234 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2236 The servlet configuration files moved from the 'war' directory.
2237 * src/main/webapp/OnlineGlom.css:
2238 * src/main/webapp/OnlineGlom.html:
2239 * src/main/webapp/WEB-INF/web.xml:
2241 Generated test files with most of the code commented out. I included these
2242 so that it's easy to add tests when we're ready for them.
2243 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
2244 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2246 2011-01-25 Ben Konrath <ben@bagu.org>
2248 Remove unused println.
2250 * src/org/glom/web/server/LibGlomServiceImpl.java:
2252 2011-01-25 Ben Konrath <ben@bagu.org>
2254 Add project specific JDT settings.
2256 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
2257 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
2259 2011-01-25 Ben Konrath <ben@bagu.org>
2261 Populate celltable with example data.
2263 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
2264 * src/org/glom/web/client/GlomTable.java: Correct formatting.
2265 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
2266 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
2267 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
2268 asynchronously gets the example data.
2269 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
2270 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
2271 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
2272 curently selected table to be retrieved by other widgets.
2273 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
2274 implement getTableData() in a hacky way. This method needs to be updated
2275 to grab information from the database when database creating is
2278 2011-01-20 Ben Konrath <ben@bagu.org>
2280 Set table headers when table dropBox changes.
2282 * src/org/glom/web/client/GlomDocument.java: Correct some method
2284 * src/org/glom/web/client/LibGlomService.java: Add method
2285 to get list layout field names.
2286 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
2287 to get list layout field names.
2288 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
2289 widget for list layout table.
2290 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
2291 the table drop box and add new updateTable() method to asynchronously
2292 get the layout list field names for the currently selected table.
2293 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
2294 implementation of getLayoutListHeaders() method.
2295 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
2297 2011-01-18 Ben Konrath <ben@bagu.org>
2299 Make a listBox with table titles instead of the flexTable demo.
2301 This is the start of something more useful.
2303 * .classpath: Exclude a bunch of packages from the JVM that are
2304 getting in the way of the Eclipse content assist.
2305 * src/org/glom/web/client/GlomDocument.java:
2306 * src/org/glom/web/client/GlomTable.java:
2307 * src/org/glom/web/client/LibGlomService.java:
2308 * src/org/glom/web/client/LibGlomServiceAsync.java:
2309 * src/org/glom/web/client/OnlineGlom.java:
2310 * src/org/glom/web/server/LibGlomServiceImpl.java:
2311 * war/OnlineGlom.html:
2312 * war/WEB-INF/web.xml:
2314 211-01-13 Ben Konrath <ben@bagu.org>
2316 Update to new java-libglom API.
2318 * .gitignore: Ignore OnlineGlom.war.
2319 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
2321 2010-12-20 Ben Konrath <ben@bagu.org>
2323 Add some basic style to the table listing.
2325 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
2326 header, print useful error message on async callback failure.
2327 * war/OnlineGlom.css: Add style for table header, remove defaults
2328 provided by the Eclipse project wizard.
2330 2010-12-20 Ben Konrath <ben@bagu.org>
2332 Load example file from installed glom dir.
2334 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
2335 provided by java-libglom to find the example file.
2337 2010-12-20 Ben Konrath <ben@bagu.org>
2339 Update Eclipse settings.
2342 * .settings/com.google.gdt.eclipse.core.prefs:
2343 * .settings/com.google.gwt.eclipse.core.prefs:
2345 2010-12-17 Ben Konrath <ben@bagu.org>
2349 * .classpath: New file.
2350 * .gitignore: New file.
2351 * .project: New file.
2352 * .settings/com.google.gdt.eclipse.core.prefs: New file.
2353 * .settings/com.google.gwt.eclipse.core.prefs: New file.
2354 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
2355 * src/org/glom/web/client/GlomTable.java: New file.
2356 * src/org/glom/web/client/OnlineGlom.java: New file.
2357 * src/org/glom/web/client/TableNameService.java: New file.
2358 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
2359 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
2360 * war/OnlineGlom.css: New file.
2361 * war/OnlineGlom.html: New file.
2362 * war/WEB-INF/web.xml: New file.
2363 * war/images/glom.png: New file.