1 2011-09-30 Ben Konrath <ben@bagu.org>
3 Add empty rows to the end of related list and list view tables.
5 I also extracted the cell rendering classes from the ListTable because
6 the code was becoming a little crazy with all the anonymous inner
7 classes. My plan is to use these cell rendering classes in the details
8 view as well so this refactor will be needed for that change.
10 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
11 set the row count in related list tables if the data has more rows
12 than the minimum number of rows visible.
13 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
14 row count in list view tables if the data has more rows than the
15 minimum number of rows visible.
16 * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
17 for rendering TYPE_BOOLEAN cells. The code was extracted from the
19 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
20 for rendering TYPE_NUMERIC cells. The code was extracted from the
22 * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
23 class for rendering cells with buttons in list views. The code was
24 extracted from the ListTable class.
25 * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
26 for rendering TYPE_TEXT cells. The code was extracted from the
28 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
29 Add empty rows to the end of the data if required. Implement
30 ListTable.getMinNumVisibleRows().
31 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
32 cell renderer code to public classes. Return null in
33 Column.getValue() for empty rows. Add new abstract method:
34 getMinNumVisibleRows(). Move code to set the row count of the list view
35 table to ListViewImpl.
36 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
37 empty rows to the end of the data if required. Implement
38 ListTable.getMinNumVisibleRows().
41 2011-09-27 Ben Konrath <ben@bagu.org>
43 Use GWT.log for client-side debugging statements.
45 These are optimized out when deployed so I should have used this method
46 in the first place. These statements will eventually be replaced with some sort
47 of notification in the browser.
49 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
50 * src/main/java/org/glom/web/client/activity/ListActivity.java:
51 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
52 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
53 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
55 2011-09-27 Ben Konrath <ben@bagu.org>
57 Put tableselector on the right, back to list link on right.
59 The idea is that the table selector is acting like a label for the
60 currently displayed table so it should be placed below the document title. This
61 puts the table title in a similar position to where it is in Glom.
63 * mockups/details-contacts.html:
64 * mockups/details-projects.html:
65 * mockups/listview-contacts.html:
66 * mockups/listview-projects.html:
68 Update mockups to match how the interfaces currently look.
69 * src/main/webapp/style.css: Swap positions of backlink with the table
70 selector. Add some space on the left side of the table selector to
71 line things up with the document title.
73 2011-09-27 Ben Konrath <ben@bagu.org>
75 Add field colouring to details view.
77 This change re-works how field colouring works. The colour formatting
78 information is now set to the client with the layout information instead of
79 with the data. This eliminates the need to send the same colour strings for
80 data in list view column when colour information is set.
82 In order to set an alternate colour for negative numeric values, the
83 number is now sent to client and formatted with the GWT NumberFormat class.
85 This change also fixes:
87 https://bugzilla.gnome.org/show_bug.cgi?id=659752
89 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
90 internationalization framework which is needed for client side numeric
92 * src/main/java/org/glom/web/client/Utils.java: New file for some
93 client static utility methods.
94 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
95 the DataItem object to the Field class. Use a utility method to
96 create the foreignKeyValue string.
97 * src/main/java/org/glom/web/client/ui/details/Field.java: Set
98 alignment and text colours in the constructor. Add setData(DataItem)
99 method. Remove setText(String) method.
100 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
101 colour information to GlomTextCell. Create and use GlomNumberCell for
102 rendering numbers. Use utility method to get the string for the
103 primary key of the key provider. Re-work how the horizontal alignment
105 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
106 formatting to layout information. Methods for converting the libglom
107 formatting information were moved from DBAccess.
108 * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
109 numeric formatting (it's now done on the client side). Don't set text
110 colours in DataItem. Move libglom formatting conversion methods to
112 * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
113 getters/setters for text colour information.
114 * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
115 for transferring the libglom NumericFormat information to the client.
116 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
117 and getters/setters for: GlomNumericFormat, background colour and
118 foreground colour strings.
120 2011-09-26 Ben Konrath <ben@bagu.org>
122 Simplify code that iterates through the LayoutGroup.
124 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
126 2011-09-26 Ben Konrath <ben@bagu.org>
128 Accept Eclipse formatting for OnlineGlomServiceAsync.
130 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
132 2011-09-26 Ben Konrath <ben@bagu.org>
134 Don't use the ListDBAccess classes to get the primary key layout information.
136 This was causing a bug where the wrong index for the hidden primary key
137 was being sent to the client.
139 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
140 primary key while creating the LayoutGroup DTO. Create a
141 LayoutItemField DTO for hidden primary keys. Don't use the
142 RelatedListDBAccess because it was only used for getting the primary
144 * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
145 access modifier from public to protected for getPrimaryKeyField() and
146 getPrimaryKeyLayoutItemField().
147 * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
148 abstract method getExpectedResultSize() because RelatedListDBAccess
149 doesn't have enough info to implement it.
150 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
151 Remove @Override for getExpectedResultSize().
152 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
153 Remove method getExpectedResultSize().
155 2011-09-23 Ben Konrath <ben@bagu.org>
157 Log which layout (list or details) the ignored item is from.
159 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
161 2011-09-23 Ben Konrath <ben@bagu.org>
163 Remove annotations that turn off code formatting in DataItem.
165 * src/main/java/org/glom/web/shared/DataItem.java:
167 2011-09-23 Ben Konrath <ben@bagu.org>
169 Rename GlomField to DataItem and update associated methods.
171 This is a rename-only refactor. No functionality has been added or
174 * src/main/java/org/glom/web/client/OnlineGlomService.java:
175 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
176 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
177 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
178 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
179 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
180 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
181 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
182 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
183 * src/main/java/org/glom/web/server/database/DBAccess.java:
184 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
185 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
186 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
187 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
188 * src/main/java/org/glom/web/shared/DataItem.java:
189 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
190 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
192 2011-09-23 Ben Konrath <ben@bagu.org>
194 Rename GlomDocument to DocumentInfo and update associated methods.
196 This is a rename-only refactor. No functionality has been added or
199 * src/main/java/org/glom/web/client/OnlineGlomService.java:
200 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
201 * src/main/java/org/glom/web/client/activity/ListActivity.java:
202 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
203 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
204 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
205 * src/main/java/org/glom/web/shared/DocumentInfo.java:
207 2011-09-20 Ben Konrath <ben@bagu.org>
209 Require java-libglom 1.17.3.
211 This picks up the fix for the seg fault problem with the Scenes table
212 in the Openismus Film Manager example.
216 2011-09-20 Ben Konrath <ben@bagu.org>
218 Change the way sort clause is added for primary key when no sort clause is requested.
220 The primary key is now added to the LayoutFieldVector (fieldsToGet)
221 before the sort clause is created. When a sort clause is not requested, the
222 sort clause is created by finding the primary key in the LayoutFieldVector
225 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
227 2011-09-20 Ben Konrath <ben@bagu.org>
229 Log error message if no documents are found in the configured directory.
231 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
232 Extract the glom file extension string to a private static final class
233 variable (mostly as syntactic sugar). Accept a minor formatting change.
234 * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
235 the example glom.document.directory configuration property to make it
236 more clear that it can any directory, not just the home directory.
238 2011-09-18 Ben Konrath <ben@bagu.org>
240 Add related lists to details view.
242 The related list table has support for paging and sorting just like the
243 table in the list view.
245 * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
246 SQL queries for the related list tables.
247 * src/main/java/org/glom/web/client/OnlineGlomService.java:
248 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
249 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
250 Rename getList methods to getListView and add comments. Remove
251 getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
252 it being unused. Add methods: getDetailsLayoutAndData(),
253 getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
254 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
255 Create the layout and set the data for the fields in one async call
256 instead of two. Create related lists where appropriate.
257 * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
258 for method name changes in OnlineGlomService.
259 * src/main/java/org/glom/web/client/ui/DetailsView.java:
260 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
261 addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
263 * src/main/java/org/glom/web/client/ui/ListView.java:
264 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
265 tableName from setCellTable(). Create a ListViewTable instead of
267 * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
268 represent a data field in the details view.
269 * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
270 from addDetailsCell() to Field class. Keep track of the Fields and
271 Portals in the details view.
272 * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
273 a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
274 and add a method to get it. Add method to set the contents of the
276 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
277 New class for related list tables. This class has the data provider
278 for the related list table.
279 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
280 abstract class which is the base class for the ListViewTable and the
282 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
283 New class for list view tables. This class has the data provider for
285 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
286 methods for related list tables. Add more information to the
287 LayoutItemField and LayoutItemPortal DTOs.
288 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
289 Remove debugging print statement.
290 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
291 Remove debugging print statements. Add primary key field to SQL count
293 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
294 Remove unnecessary LayoutFieldVector parameter from
295 getResultSizeOfSQLQuery() method.
296 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
297 New class for related list table database access.
298 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
299 class that is a wrapper DTO for details view layout and data.
300 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
301 new 'fromField' string to this DTO.
302 * src/main/webapp/style.css: Remove bottom margin and override top
305 2011-09-15 Ben Konrath <ben@bagu.org>
307 Breakup the OnlineGlomServiceImpl class to make it more manageable.
309 This sets things up to make it easier to add the data retrieval for
310 related lists (portals). No user noticeable changes were made with
313 * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
314 class has the code to retrieve the layouts and access the
315 database using the new database helper classes.
316 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
317 Most of the functionality has been removed from this class. This
318 class now represents the public interface for the client side
319 code. It also deals with configuring the servlet and cleaning
320 things up when the servlet is stopped.
321 * src/main/java/org/glom/web/server/Utils.java: Extract a couple
322 of static methods into this utility class.
323 * src/main/java/org/glom/web/server/database/DBAccess.java:
324 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
325 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
326 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
327 These classes have the database retrieval code. The class hierarchy
328 has been setup to make it easy to reuse code for similar
331 2011-09-06 Ben Konrath <ben@bagu.org>
333 Create separate classes for list table code and the data provider.
335 As part of this refactor, I also split up the code a bit to make it
338 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
339 table code to two new classes (below).
340 * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
341 with code from ListViewImpl.
342 * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
343 New file with code from ListViewImpl.
345 2011-09-06 Ben Konrath <ben@bagu.org>
347 Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
349 This fixes the LayoutItemPortal DTO to match the libglom layout object
352 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
354 2011-09-01 Ben Konrath <ben@bagu.org>
356 Set title of Portals in the Details View.
358 * pom.xml: Bump required version of java-libglom to 1.17.1.
359 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
360 widget creation to its own class. Add comments to constructor.
361 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
362 The code is mostly from the Group class with the title now set.
363 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
364 title of Portal. Update some comments. Fix some code formatting.
366 2011-09-01 Ben Konrath <ben@bagu.org>
368 Remove TODO comment for the flow table column width.
370 The flow table column width is working correctly and doesn't need to be
371 changed. See this mailing list post for more info:
373 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
375 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
377 2011-08-27 Ben Konrath <ben@bagu.org>
379 Add document title (database name) to top of the browser page.
381 I added the document title to the TableSelecitonView but that will
382 change if / when we add a view that doesn't require table selection.
384 * mockups/details-contacts.html:
385 * mockups/details-projects.html:
386 * mockups/listview-contacts.html:
387 * mockups/listview-projects.html:
388 * mockups/style.css: Add document title to mockups to keep things
390 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
391 sizes to account for the document title.
392 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
393 Set the document title when it has been retrieved from the server.
394 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
395 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
396 and implement setDocumentTitle(String) method.
397 * src/main/webapp/style.css: Add ID for document title style.
399 2011-08-25 Ben Konrath <ben@bagu.org>
401 Add NavigationType enum to LayoutItemPortal DTO.
403 This is the start of adding support for Portals to the Details View.
405 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
406 LayoutItem_Portal.navigation_type enum from libglom to
407 LayoutItemPortal.NavigationType enum.
408 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
409 NavigationType enum, field for storing the NavigationType and getter
412 2011-08-25 Ben Konrath <ben@bagu.org>
414 Implement the flow table layout in the Details View.
416 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
417 FlowTable to Group to account for the renamed class.
418 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
419 File. This is a container widget that implements the Glom details view
420 flow table behaviour.
421 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
422 org/glom/web/client/ui/FlowTable.java.
423 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
424 so that the size of the subgroups are a closer match to the size of
425 the Glom subgroups. This makes the flowtable layout match the layout
426 in Glom for the Music Collection example file.
428 2011-08-16 Ben Konrath <ben@bagu.org>
430 Create container element for LayoutItemPortal in Details View.
432 This will help me develop the layout for the FlowTable.
434 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
435 fieldPanel variable to detailsCell.
437 2011-08-15 Ben Konrath <ben@bagu.org>
439 Set the height of the data element in the Details View.
441 I changed the InlineLabels (text in a span element) to Labels (text in
442 a div element) so that I could set the height of the details-data
443 elements instead of the details-cell parent elements. This allows the
444 the details-data element to display the correct height if style is
445 applied that shows the height.
447 This change has the added benefit of allowing the order of the labels
448 and data elements to be changed for right-to-left languages.
450 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
451 InlineLabels to Labels.
452 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
453 InlineLabels to Labels. Set the height of the data element.
454 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
455 multiline text height in the Formatting DTO.
456 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
457 for multiline height along with getter and setter methods.
458 * src/main/webapp/style.css: Adjust style to account for the change
459 from span elements to div elements in the details cell.
461 2011-08-15 Ben Konrath <ben@bagu.org>
463 Make the List View appearance match the mockups.
465 It doesn't match exactly but it's much better than it was.
467 * mockups/listview-contacts.html: Remove unused css classes.
468 * mockups/listview-projects.html: Remove unused css classes.
469 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
470 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
471 for mainPanel instead of VerticalPanel (table). Set style name on
472 CellTable. Set style name on Details column. Right-align Details
474 * src/main/webapp/style.css: Adjust properties to match the mockups.
476 2011-08-12 Ben Konrath <ben@bagu.org>
478 Add better support for subgroups in the details view.
480 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
481 changed FlowTable constructor.
482 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
483 support for subgroups and subgroup-titles.
484 * src/main/webapp/style.css: Add CSS class for subgroups and
487 2011-08-12 Ben Konrath <ben@bagu.org>
489 Return the top level LayoutGroup title.
491 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
493 2011-08-11 Ben Konrath <ben@bagu.org>
495 Make the TableSelector header match the mockup.
497 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
498 the layout panel. Properly lineup the table selection header with
499 the list and details view.
500 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
501 margin around the details view.
502 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
503 Rename listBox variable to tableSelector. Set id for the style sheet.
504 Use a FlowPanel instead of a HorizontalPanel.
505 * src/main/webapp/style.css: Add properties to make the TableSelector
506 box match the mockups.
508 2011-07-13 Ben Konrath <ben@bagu.org>
510 Update install script for java-libglom version change.
512 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
515 2011-07-13 Ben Konrath <ben@bagu.org>
517 Add support sub-group in the details view.
519 I also removed the code that special-cased the default details view
522 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
524 I still have to make a proper flowtable.
526 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
527 Don't special-case default details view layout.
528 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
529 addLayoutField() as I'm going to use it.
530 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
531 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
533 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
534 extracted from DetailsViewImpl.GroupPanel. Add support for
536 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
537 column count when getting the details layout.
539 2011-07-12 Ben Konrath <ben@bagu.org>
541 Set browser title with database and table titles.
543 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
544 Set the browser title when the table changes and when the activity
546 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
547 title when retrieving document info (the GlomDocument object).
548 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
549 with getter and setter methods. Remove unused convenience constructor.
550 Use default code formatting.
552 2011-07-12 Ben Konrath <ben@bagu.org>
554 Ignore LayoutItemPortals in the details view.
556 I added a new DTO for the LayoutItemPortal so that I can ignore it in
559 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
560 LayoutItemPortal layout objects.
561 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
562 LayoutItemPortal objects when retrieving the details layout.
563 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
564 file. This is an empty class and just used to get type information for
567 2011-07-12 Ben Konrath <ben@bagu.org>
569 Use java-libglom 1.17.0.
573 2011-07-11 Ben Konrath <ben@bagu.org>
575 Remove "Table:" label from table selector.
577 This matches a recent change in the Glom UI.
579 * mockups/details-contacts.html:
580 * mockups/details-projects.html:
581 * mockups/listview-contacts.html:
582 * mockups/listview-projects.html: Remove the "Table:" label from the
584 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
586 2011-07-11 Ben Konrath <ben@bagu.org>
588 Add main groups to the details view.
590 This makes things look a little nicer in the details view. The next step
591 is to implement the flowtable.
593 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
594 resources from the standard gwt css theme. Standard.css is now
595 included in OnlineGlom.html so that the online glom css rules have
596 precedence over the gwt theme.
597 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
598 the whole LayoutGroup to the DetailsView instead of just the titles.
599 * src/main/java/org/glom/web/client/ui/DetailsView.java:
600 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
601 details layout with a helper class (GroupPanel). I might extract this
602 class when I make the full flowtable.
603 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
604 string as default so I don't have to worry about NPEs when processing
606 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
607 note beside OnlineGlom.gwt.xml above).
608 * src/main/webapp/style.css: Add default font-size to body to override
609 the font-size set by the standard theme. Don't use h2 tags for
610 group-title. Create new details-cell class.
612 2011-07-08 Murray Cumming <murrayc@murrayc.com>
614 ConfiguredDocument: Set the port number too.
616 * src/main/java/org/glom/web/server/ConfiguredDocument.java
617 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
618 Glom document. Presumably this worked sometimes so far because there is a
621 2011-07-08 Murray Cumming <murrayc@murrayc.com>
623 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
625 * src/main/java/org/glom/web/server/ConfiguredDocument.java
626 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
627 correct, though we should throw an exception too.
629 2011-07-08 Murray Cumming <murrayc@murrayc.com>
631 Fix a addDocuemnt typo.
633 * src/main/java/org/glom/web/shared/Documents.java
634 (Documents.addDocuemnt): Rename to addDocument().
635 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
636 (OnlineGlomServiceImpl.getDocuments): Adapt.
638 2011-07-08 Murray Cumming <murrayc@murrayc.com>
640 Slightly improved log output when connection fails.
642 * src/main/java/org/glom/web/server/ConfiguredDocument.java
643 (ConfiguredDocument.setUsernameAndPassword):
644 We don't know for sure if it' the username/password that's wrong, so
645 rephrase the message.
646 Also ouput the exception message, though it's generic in this case.
648 2011-07-08 Ben Konrath <ben@bagu.org>
652 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
653 added braces to a one line if statement because the Eclipse formatter
654 was getting confused.
656 2011-07-07 Ben Konrath <ben@bagu.org>
658 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
660 These should really be two separate tasks but I counldn't get things to
661 work with GWT 2.2.0 and Eclipse 3.7.
665 * .settings/org.eclipse.jdt.core.prefs:
666 * .settings/org.eclipse.jdt.ui.prefs:
667 * .settings/org.eclipse.ltk.core.refactoring.prefs:
668 * .settings/org.eclipse.m2e.core.prefs:
669 Add new config files. Update current files. Remove references to the
670 webtools plugins as we're not using any of the webtools features.
671 * .gitignore: Add logs directory which is created when running with
673 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
674 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
675 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
677 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
679 2011-07-07 Murray Cumming <murrayc@murrayc.com>
681 onlineglom.properties: Add explanatory comments.
683 * src/main/resources/onlineglom.properties: Also change the default user
684 from ben to someuser, to avoid the risk of people thinking we just
685 stupidly hard-coded a locale path, when they see that on stderr or in a log.
687 2011-06-28 Ben Konrath <ben@bagu.org>
689 Use filename in Log for incorrect passwords.
691 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
692 getFileName(String) method to get the filename from the URI.
694 2011-06-28 Ben Konrath <ben@bagu.org>
696 Add the table name to the URL token for the ListPlace.
698 This makes things consistent between the DetailsPlace and the
699 ListPlace. It also allows the the ListPlace to be bookmarked.
701 * src/main/java/org/glom/web/client/OnlineGlomService.java:
702 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
703 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
704 Remove getDefaultListLayout(). The default layout is now returned
705 by the getListLayout() method when the table name is an empty string.
706 * src/main/java/org/glom/web/client/activity/ListActivity.java:
707 Add table name field. Change to a new ListPlace when the table
708 has been changed. Use getListLayout() for getting the default
710 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
711 Add table name field. Set the correct table name in the list box
712 when loading from bookmark. This corrects a problem for the
714 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
715 Move table name to super-class (HasSelectableTable). Move document
716 and table URL keys to super-class in HasSelectableTable.
717 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
718 Add table name field. Add Tokenizer class with URL key common to
719 the subclasses (DetailsPlace and ListPlace).
720 * src/main/java/org/glom/web/client/place/ListPlace.java:
721 Add table name. Add code to parse the URL token.
722 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
723 Update ListPlace construction with empty table name string.
724 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
725 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
726 Change setTableSelectedIndex(int) to setSelectedTableName(String).
727 Update ListPlace construction with table name string.
728 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
729 Change defaultTableName field to tableName to reflect how it's now
730 used. Update the getter and setter methods.
732 2011-06-28 Ben Konrath <ben@bagu.org>
734 Enable the table selector in the DetailsView.
736 * src/main/java/org/glom/web/client/OnlineGlomService.java:
737 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
738 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
739 Remove getDefaultDetailsLayout(). The default layout is now returned
740 by the getDetailsLayout() method when the table name is an empty
742 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
743 event handler for table change event. Change to using
744 getDetailsLayout() for the default details layout.
745 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
747 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
748 when navigating to the details place.
750 2011-06-27 Ben Konrath <ben@bagu.org>
752 Use filename based unique document ID in URL and for RPC.
754 The document ID is the glom document name with spaces (' ') replaced
755 with pluses ('+') and without the .glom extension.
757 This change is mostly a string substitution of 'documentTitle' for
758 'documentID'. The only code change is the addition of a Documents DTO to get the
759 filename to document title mappings as indicated below.
761 * src/main/java/org/glom/web/client/OnlineGlomService.java:
762 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
763 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
764 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
765 Use Documents DTO to create the document links in the document
767 * src/main/java/org/glom/web/client/activity/ListActivity.java:
768 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
769 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
770 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
771 * src/main/java/org/glom/web/client/place/ListPlace.java:
772 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
773 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
774 * src/main/java/org/glom/web/client/ui/ListView.java:
775 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
776 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
777 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
778 * src/main/java/org/glom/web/server/Log.java:
779 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
780 getDocumentTitles() to getDocuments() and return the Documents DTO.
781 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
782 transferring the filename to document title mappings.
784 2011-06-25 Ben Konrath <ben@bagu.org>
786 Make the authentication popup work again.
788 This bug was introduced when I extracted ConfiguredDocument to its own class.
790 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
791 correct success / fail status in setUsernameAndPassword().
793 2011-06-25 Ben Konrath <ben@bagu.org>
795 Use filename as unique key for configuring database usernames and passwords.
797 This replaces the use of the Glom document title which could change
798 depending on the locale. Thanks to Murray Cumming for pointing out this
801 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
802 * src/main/resources/onlineglom.properties:
804 2011-06-24 Ben Konrath <ben@bagu.org>
806 Pass primary key value to DetailsView.
808 This enables the DetailsView to load the correct data.
810 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
811 primary key value field and set in constructor. Pass primary key
812 value to getDetailsData().
813 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
814 variables for document title and primary key value.
815 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
816 key value to the DetailsPlace.
818 2011-06-24 Ben Konrath <ben@bagu.org>
820 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
822 This allows the primary key to be retrieved by the Details button. This
823 functionality has not been implemented yet but it's in the works.
825 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
826 the LayoutGroup result to ListView.setCellTable instead of all of its
828 * src/main/java/org/glom/web/client/ui/ListView.java:
829 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
830 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
831 get the primary key for the table.
832 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
833 index of the primary key in the LayoutGroup accounting for hidden
834 primary keys. Rename getJavaNumberFormat() to
835 convertToJavaNumberFormat() for consistency. Cleanup / add some
837 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
838 field for primary key index and a field to indicate whether the
839 primary key is hidden or not.
841 2011-06-23 Ben Konrath <ben@bagu.org>
843 Rename getTableData methods to getListData.
845 This is a rename refactor for consistency with other methods.
847 * src/main/java/org/glom/web/client/OnlineGlomService.java:
848 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
849 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
850 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
852 2011-06-23 Ben Konrath <ben@bagu.org>
854 Extract the ConfiguredDocument innerclass into its own class.
856 This makes the servlet code more object oriented.
858 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
859 from private ConfiguredDocument class in OnlineGlomServiceImpl.
860 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
861 new ConfiguredDocument class.
863 2011-06-21 Ben Konrath <ben@bagu.org>
865 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
867 This makes things more inline with how libglom works and reduces code
868 duplication. This refactor lays the groundwork for adding the primary key to
869 the LayoutGroup object.
871 * src/main/java/org/glom/web/client/OnlineGlomService.java:
872 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
873 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
874 Change method names to getListLayout and getDefaultListLayout for
875 consistency. Use LayoutGroup as the DTO for the list layout instead of
876 ColumnInfo and LayoutListTable.
877 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
878 new method names along with the LayoutGroup object for transferring the
880 * src/main/java/org/glom/web/client/ui/ListView.java:
881 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
882 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
883 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
885 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
886 Replaced with LayoutGroup.
887 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
888 expectedResultSize and defaultTableName fields which are needed for
890 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
891 type field which is needed for the list layout but will also be
892 useful for the details layout as things progress.
893 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
894 Make class abstract. Remove the unnecessary
895 getFormattingHorizontalAlignment method. Add setFormatting method.
897 2011-06-16 Ben Konrath <ben@bagu.org>
899 Add scripts for building and installing war.
901 These will help when updating OnlineGlom but they're also good
902 supplemental documentation of the build and deployment proceeding.
904 * utils/build-onlineglom-war.sh: New file.
905 * utils/install-onlineglom-war.sh: New file.
907 2011-06-16 Ben Konrath <ben@bagu.org>
909 Create wrapper class to create consistent log messages.
911 I wrapped methods in the Log class of gwt-log to add the method names
912 from the servlet and create consistent formatting of the document title
913 and table names in the log messages.
915 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
916 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
917 log methods to use methods from wrapped Log class.
919 2011-06-16 Ben Konrath <ben@bagu.org>
921 Remove superfluous conditional return.
923 Thanks to Murray Cumming for pointing this out!
925 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
927 2011-06-15 Ben Konrath <ben@bagu.org>
929 Return an ArrayList of LayoutGroups for the Details layout.
931 This corrects a problem with the details layout as it can have more
932 than one top level LayoutGroup.
934 * src/main/java/org/glom/web/client/OnlineGlomService.java:
935 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
936 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
937 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
938 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
939 with ArrayList of LayoutGroups for the details view layout.
940 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
941 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
942 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
943 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
944 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
945 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
947 2011-06-14 Ben Konrath <ben@bagu.org>
949 Use cast_dynamic method to determine the libglom LayoutItem type.
951 This is better than finding the LayoutItem type by using the string
952 returned from the get_part_type_name() method.
954 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
956 2011-06-14 Ben Konrath <ben@bagu.org>
958 Add method names to log entries in the servlet.
960 This helps when tracking down deployment problems.
962 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
964 2011-06-14 Ben Konrath <ben@bagu.org>
966 Add data to the DetailsView using a hard-coded primary key value.
968 The layout and functionality of the DetailsView is not complete. This
969 is just a checkpoint so the patch doesn't get too big.
971 * src/main/java/org/glom/web/client/OnlineGlomService.java:
972 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
973 Add getDetailsData() servlet method.
974 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
975 Add RPC to getDetailsData(). Change the way the LayoutGroups and
976 LayoutFields are added to the DetailsView.
977 * src/main/java/org/glom/web/client/ui/DetailsView.java:
978 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
979 Add setData() method. Change addLayoutGroup() and addLayoutField() to
980 take the string for the title instead of the object.
981 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
982 Add implementation getDetailsData() along with some private helper
984 * src/main/webapp/style.css: Add padding to details-data class. Add a
985 details-label class with the same padding as the details-data class.
987 2011-06-03 Ben Konrath <ben@bagu.org>
989 Use presenter.goTo() to change to the DetailsPlace.
991 This will make things easier when we need to open the DetailsView with
992 data specific to the row that was clicked.
994 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
996 2011-06-02 Ben Konrath <ben@bagu.org>
998 Add CSS file from mockups.
1000 I'm adding this now because it's going to be useful to have when
1001 developing the DetailsView. The TableSelectionView and ListView aren't
1004 * src/main/webapp/OnlineGlom.html:
1005 * src/main/webapp/style.css:
1007 2011-06-02 Ben Konrath <ben@bagu.org>
1009 Use String.isEmpty() to check for empty string.
1011 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1013 2011-06-02 Ben Konrath <ben@bagu.org>
1015 Display main layout group titles in the DetailsView.
1017 This is the start of the DetailsActivity/DetailsView implementation.
1019 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1020 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1021 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
1022 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1023 Get the layout information for the details view from the server and set
1024 the main layout group titles.
1025 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1026 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1027 Add addLayoutGroup() and addLayoutField() methods. This are just
1028 temporary methods for creating the the details view that will change
1030 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1031 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
1033 * src/main/java/org/glom/web/shared/layout/Formatting.java:
1034 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1035 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
1036 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
1037 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1038 Data Transfer Objects that mimic the libglom object structure. These are
1039 used for transferring the details layout but could also be used for
1040 transferring the list layout.
1042 2011-05-27 Ben Konrath <ben@bagu.org>
1044 Reset the AuthenticationPopup when clearing the ListView.
1046 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1048 2011-05-27 Ben Konrath <ben@bagu.org>
1050 Fix problem with onlineglom.properties file loading.
1052 The old way worked in Eclipse but not on the server. Loading the
1053 onlineglom.properties file now works in Eclipse and on the server.
1055 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1057 2011-05-24 Ben Konrath <ben@bagu.org>
1059 Update gwt-log from 3.1.0 to 3.1.2.
1061 Gwt-log 3.1.0 has been marked as depreciated.
1065 2011-05-24 Ben Konrath <ben@bagu.org>
1067 Add comment to ListActivity.goTo() method.
1069 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1071 2011-05-24 Ben Konrath <ben@bagu.org>
1073 Remove FIXME in convertGdkColorToHtmlColour()
1075 The Gdk::Color value returned by libglom is 16-bits per channel on both
1076 64 and 32-bit platforms.
1078 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1080 2011-05-19 Ben Konrath <ben@bagu.org>
1082 Improve performance of initial ListView load.
1084 I removed a round trip to the server for getting the default table name
1085 and then requesting information about that table. This also removes a potential
1086 problem with the table change handler not being setup in time to receive the
1087 table change event from the ListActivity.
1089 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1090 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1091 getDefaultLayoutListTable() method. Improve comments.
1092 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1093 getDefaultLayoutListTable() method instead of firing a table change
1094 event to get the table to load.
1095 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1096 implementation of getDefaultLayoutListTable() method.
1097 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1100 2011-05-19 Ben Konrath <ben@bagu.org>
1102 Override toDebugString() in TableChangeEvent.
1104 This is useful to have for debugging.
1106 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1108 2011-05-19 Ben Konrath <ben@bagu.org>
1110 Add a "Back to List" link when at the DetailsPlace.
1112 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1113 Populate the CellTable based on the selected table of the ListBox if
1114 it's set otherwise use the default table. This allows the "Back to
1116 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1117 Remove Place from constructors. Add a setPlace() method. Add
1118 goToPlace() method. Set class as presenter for TableSelectionView.
1119 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1120 Use the same TableSelectionActivity when switching between the List and
1122 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1123 Subclass the new HasSelectableTablePlace. This removes some duplicate
1125 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1126 New class to represent Places that display the TableSelectionView.
1127 * src/main/java/org/glom/web/client/place/ListPlace.java:
1128 Subclass the new HasSelectableTablePlace. This removes some duplicate
1130 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1131 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1132 Add Presenter interface. Add setBackLinkVisible() method. Add
1133 setBackLink() method.
1135 2011-05-18 Ben Konrath <ben@bagu.org>
1137 Enable the "Details" buttons.
1139 Right now only an empty details view is displayed.
1141 * src/main/java/org/glom/web/client/ClientFactory.java:
1142 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1143 Add DetailsView to ClientFactory.
1144 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1145 A basic activity for the details view.
1146 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1147 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
1149 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1150 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
1152 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1153 Create a new DetailsActivity when a DetailsPlace is requested. Remove
1154 unnecessary super() in constructor.
1155 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1156 Create a new TableSelectionActivity when a DetailsPlace is requested. We
1157 really shouldn't create a new TableSelectionActivity for both the ListPlace
1158 and the DetailsPlace so this should be considered a temporary solution.
1159 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1160 New file. Represents a URL for the details view.
1161 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1162 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1163 A basic details view interface and implementation.
1164 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1165 Enable the "Details" buttons.
1167 2011-05-12 Ben Konrath <ben@bagu.org>
1169 Use a LayoutPanel with multiple display areas for main layout.
1171 This is mostly a refactor in that there are no changes from the user
1172 point of view. These changes are required so that we can swap out the list view
1173 with the details view when the user clicks the "Details" button.
1175 * src/main/java/org/glom/web/client/ClientFactory.java:
1176 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1177 OnlineGlomView. Add TableSelectionView, ListView and
1178 AuthenticationPopup.
1179 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
1180 for main layout. Add display regions for main activities. Add
1181 activity manager for for main activities.
1182 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
1183 file from parts of the deleted OnlineGlomActivity.
1184 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1185 New file from parts of the deleted OnlineGlomActivity.
1186 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1187 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
1188 New files for app wide table change event.
1189 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1190 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
1191 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1192 Activity mappers for the main activities replace the deleted app-wide
1194 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
1195 Fix a spelling error in he comment.
1196 * src/main/java/org/glom/web/client/ui/ListView.java:
1197 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1198 Renamed from LayoutListView and modified for MVP. This still not a
1199 proper dumb view as prescribed by the MVP pattern but it works for now.
1200 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1201 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1202 New widget stripped out of the deleted OnlineGlomView.
1203 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1204 Remove hack that is fixed by this patch.
1206 2011-05-06 Ben Konrath <ben@bagu.org>
1208 Rename OnlineGlomPlace to ListPlace.
1210 The only change besides the rename is that url will now display #list
1211 instead of #Document.
1213 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1214 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1215 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1216 * src/main/java/org/glom/web/client/place/ListPlace.java:
1217 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1219 2011-05-06 Ben Konrath <ben@bagu.org>
1221 Use Presenter for app navigation.
1223 This is the proper way to deal with Place (URL) changes with the MVP
1226 * src/main/java/org/glom/web/client/ClientFactory.java:
1227 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1228 PlaceHistoryMapper and PlaceHistoryHandler.
1229 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
1230 PlaceHistoryMapper and PlaceHistoryHandler.
1231 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1232 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
1233 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1234 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1235 Add Presenter interface and setPresenter methods. Rename addHyperLink
1236 to addDocumentLink taking only the document title as a parameter.
1238 2011-04-14 Ben Konrath <ben@bagu.org>
1240 Prompt for db username/password if they haven't been set.
1242 This is implemented with a popup widget that is contained within the
1243 OnlineGlomView and managed by the OnlineGlomActivity.
1245 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
1246 methods for checking and setting the database username and password.
1247 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
1248 new methods for checking and setting the database username and
1250 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1251 Display authentication popup if the JDBC connection to the database
1252 has not been authenticated.
1253 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
1255 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1256 for dealing with the authentication popup.
1257 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
1258 Implement the methods for dealing with the authentication popup.
1259 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
1260 try to executed queries if the database connection hasn't been
1261 authenticated. Implement methods for checking and setting the
1262 database username and password.
1264 2011-04-12 Ben Konrath <ben@bagu.org>
1266 Make log messages a little clearer.
1268 Add a dash betweeen the document title and the table name.
1270 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1272 2011-04-12 Ben Konrath <ben@bagu.org>
1274 Protect against NPEs when cleaning up database resources.
1276 While this isn't strictly necessary because the exception is caught,
1277 not protecting against the NPEs makes it harder to find the real error
1280 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1282 2011-04-12 Ben Konrath <ben@bagu.org>
1284 Move configuration of the servlet to the constructor.
1286 The servlet will be initialized even if the database authentication
1287 information is not set or correct. I still need to add the UI for prompting
1288 the user for the authentication information when it's required.
1290 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1291 javadocs for getDocumentTitles() method.
1292 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1293 Set error message when RPC fails.
1294 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
1295 glom files directory from the configuration file. Try to set the
1296 database authentication information for the specific document if it's
1297 set and works otherwise try to use the global authentication
1298 information set for the directory.
1299 * src/main/resources/onlineglom.properties: Moved from
1300 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
1301 Added detailed comments for the new keys.
1303 2011-04-11 Ben Konrath <ben@bagu.org>
1305 Remove unnecessary @Override in DocumentSelectionViewImpl.
1307 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1309 2011-04-11 Ben Konrath <ben@bagu.org>
1311 Remove center alignment in DocumentSelectionView.
1313 The title element is still centred but the document titles and bottom
1314 sentence are both left-aligned.
1316 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1318 2011-04-11 Ben Konrath <ben@bagu.org>
1320 Change 'Demo' naming convention to 'Document'.
1322 This is just a rename refactor with no functional changes to the code.
1324 * src/main/java/org/glom/web/client/ClientFactory.java:
1325 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1326 * src/main/java/org/glom/web/client/OnlineGlom.java:
1327 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1328 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1329 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1330 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1331 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1332 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1333 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1334 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1335 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1336 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1338 2011-04-08 Ben Konrath <ben@bagu.org>
1340 Remove FIXME from safeLongToInt() method.
1342 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1345 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1347 2011-04-08 Ben Konrath <ben@bagu.org>
1349 Display an error if no glom documents are found in the specified directory.
1351 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1352 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1353 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1354 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1356 2011-04-08 Ben Konrath <ben@bagu.org>
1358 Add copyright header to one more file ... oops.
1360 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1362 2011-04-08 Ben Konrath <ben@bagu.org>
1364 Add copyright header to files without it.
1366 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1367 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1368 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1369 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1370 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1371 * src/main/java/org/glom/web/shared/GlomField.java:
1373 2011-04-08 Ben Konrath <ben@bagu.org>
1375 Add support for accessing multiple glom documents in the servlet.
1377 This completes the demo selection functionality.
1379 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1380 document title to methods.
1381 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1382 document title to methods.
1383 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1384 Set browser window title when the activity starts. Correct name of
1385 document title variable.
1386 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1387 Set browser window title when the activity starts. Set the table
1388 selector change handler after table selector has been set. Clear the
1389 OnlineGlomView when the activity has been stopped.
1390 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1391 document title as the place token. Use "#Document:" instead of
1392 "#OnlineGlomPlace:" in the URL.
1393 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1394 Change heading to "Online Glom"
1395 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1396 document title in RPC methods.
1397 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1398 setDocumentTitle() method. Add clear() method.
1399 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1400 setDocumentTitle() method. Implement clear() method which removes the
1401 change handler on the ListBox, clears the ListBox and clears the
1403 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1404 Implement methods with document title. Keep track for the configured
1405 glom documents and their corresponding JDBC configurations in a hash
1406 table. This information is retrieved using the document title as the
1407 key in the hash table.
1408 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1409 document title field as it's no longer needed.
1411 2011-04-08 Ben Konrath <ben@bagu.org>
1413 Update the Eclipse JDT configuration.
1415 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1416 methods. Automatically add the copyright header to new files.
1418 2011-04-05 Ben Konrath <ben@bagu.org>
1420 Add new page for demo selection.
1422 This patch adds all the components required to view and start an
1423 OnlineGlom demo by clicking on the desired hyperlink. The user is
1424 able to return to the demo selection page with the browser's back
1425 button. I still need to modify the servlet to work with multiple
1426 documents so all demo links will load the file defined in the
1427 OnlineGlom.properties.
1429 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1430 This is only useful during development so we don't need to save it.
1431 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1432 get a reference to the DemoSelectionView.
1433 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1434 method to get a reference to the DemoSelectionView.
1435 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1436 default view to DemoSelectionView.
1437 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1438 to get glom document titles for glom files in a hard-coded directory.
1439 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1440 method to get glom document titles for glom files in a hard-coded
1442 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1443 Presenter for DemoSelectionView.
1444 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1445 for DemoSelectionView.
1446 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1447 Update for DemoSelectionView.
1448 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1449 Basic 'Place' implementation for the DemoSelectionView.
1450 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1451 The interface for the DemoSelectionView.
1452 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1453 The implementation of the DemoSelectionView.
1454 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1455 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1456 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1457 implementation of method to get glom document titles for glom files
1458 in a hard-coded directory.
1459 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1460 on longer being used.
1461 * src/main/webapp/glom.png: Glom logo.
1463 2011-04-05 Ben Konrath <ben@bagu.org>
1465 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1467 This is the forth and final commit of a refactor that will allow
1468 OnlineGlom to be used with multiple documents.
1470 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1471 Move RPC code from OnlineGlomViewImpl to this class.
1472 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1474 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1475 RPC code to the presenter class (the P in MVP).
1477 2011-04-04 Ben Konrath <ben@bagu.org>
1479 Start moving the existing OnlineGlom code to MVP.
1481 This work is based on the GWT MVP framework that is documented here:
1483 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1485 This is the third commit of a refactor that will allow OnlineGlom to
1486 be used with multiple documents.
1488 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1489 Interface for client factory which is used to get instances of various
1490 classes throughout the app.
1491 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1492 Implementation of client factory.
1493 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1494 initialize the MVP framework.
1495 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1496 New file. Activity manager for the main container widget. This is the
1498 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1499 Maps place (URL) to its corresponding activity.
1500 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1501 New file. This is just a place holder for a generated file.
1502 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1503 New file. Represents the URL for the main Online Glom app.
1504 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1505 for changes in LayoutListViewImpl.
1506 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1507 interface for View. Move code to OnlineGlomViewImpl class.
1508 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1509 file. Implementation of OnlineGlomView.
1510 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1511 Place resources. Use ClientFactoryImpl by default.
1513 2011-04-04 Ben Konrath <ben@bagu.org>
1515 Move View classes to their own package.
1517 This is the second commit of a refactor that will allow OnlineGlom to
1518 be used with multiple documents.
1520 * src/main/java/org/glom/web/client/OnlineGlom.java:
1521 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1522 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1524 2011-04-02 Ben Konrath <ben@bagu.org>
1526 Move UI code from the main module to its own class.
1528 This is the first commit of a refactor that will allow OnlineGlom to be
1529 used with multiple documents.
1531 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1532 references to OnlineGlom to OnlineGlomView.
1533 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1534 OnlineGlomView and instantiate it here.
1535 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1536 represents the main OnlineGlomView with one document.
1538 2011-04-01 Ben Konrath <ben@bagu.org>
1540 Fix formatting of gwt.xml and add DTD.
1542 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1544 2011-03-30 Ben Konrath <ben@bagu.org>
1546 Propperly convert gdkColor string to html colour string.
1548 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1550 2011-03-28 Ben Konrath <ben@bagu.org>
1552 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1554 This implementation matches
1555 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1556 readable and is not tied to Swig.
1558 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1560 2011-03-28 Ben Konrath <ben@bagu.org>
1562 Use read-only checkboxes for boolean field types.
1564 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1565 in the CellTable based on the field type. It currently only
1566 distinguishes between boolean and text columns but I'll need to add
1567 support for more types.
1568 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1569 column type in the ColumnInfo object. Add method to convert between the
1570 glom field type enum in ColumnInfo and the glom field type in libglom.
1571 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1573 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1574 getting and setting booleans.
1576 2011-03-25 Ben Konrath <ben@bagu.org>
1578 Don't get the Date twice from the ResultSet.
1580 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1582 2011-03-25 Ben Konrath <ben@bagu.org>
1584 Cleanup code in the servlet.
1586 * TODO: Remove item about row count. Add item about testing row count
1587 query with large number of rows.
1588 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1589 spelling mistakes, change method parameter to be consistent with
1592 2011-03-25 Ben Konrath <ben@bagu.org>
1594 Add server side logging with the gwt-log library.
1596 * .gitignore: Ignore the log file we're now producing.
1597 * TODO: Add a couple TODO item for logging.
1598 * pom.xml: Add gwt-log and log4j as a dependency.
1599 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1600 logging of errors, warnings and some important info.
1601 * src/main/resources/log4j.properties: New file to configure log4j.
1603 2011-03-24 Ben Konrath <ben@bagu.org>
1605 Add a disable button for the Details view.
1607 * src/main/java/org/glom/web/client/LayoutListView.java:
1609 2011-03-22 Ben Konrath <ben@bagu.org>
1611 Use a count query to get the number of rows for the list view pager.
1613 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1615 2011-03-22 Ben Konrath <ben@bagu.org>
1617 Add more TODO information about CellTable pager positioning.
1621 2011-03-19 Ben Konrath <ben@bagu.org>
1623 Add TODO item about CellTable pager positioning.
1627 2011-03-18 Ben Konrath <ben@bagu.org>
1629 Remove unneeded GlomFieldColumn class.
1631 This is just a small code cleanup.
1633 * src/main/java/org/glom/web/client/LayoutListView.java:
1635 2011-03-18 Ben Konrath <ben@bagu.org>
1637 Use cursor mode in the query that gets data for the list view.
1639 I still need to fix the potential memory problem when getting the row
1640 count for the list view.
1642 * TODO: Add note about testing memory usage with large data sets. Add
1643 item about fixing row counting with large data sets.
1644 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1645 PostgreSQL JDBC driver into cursor mode when getting data for the
1648 2011-03-15 Ben Konrath <ben@bagu.org>
1650 Remove the GWT Container from the Eclipse build classpath.
1652 The GWT dependencies are set by Maven so this isn't needed.
1656 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1658 Added some earlier mockups to git, but not to the tarball dist.
1660 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1661 Openismus. These hopefully show how we might structure the HTML so that
1662 it can be styled easily with CSS. However, we probably need to adapt them
1663 for the CSS structure that GWT dictates for common widgets.
1665 2011-03-14 Ben Konrath <ben@bagu.org>
1667 Locate OnlineGlom.properties using the ServletContext.
1669 This is required to be able to locate the file in the deployed servlet.
1671 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1672 Configure the database and glom document in in a helper method so
1673 that the ServletContext can be used to locate OnlineGlom.properties.
1674 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1675 src/main/webapp. This is the proper location for .properites files.
1677 2011-03-12 Ben Konrath <ben@bagu.org>
1679 Add note to README about why we're compiling down to obfuscated JavaScript.
1683 2011-03-11 Ben Konrath <ben@bagu.org>
1685 Use properties file to configure servlet.
1687 This allows people to change the glom file path, db username and db
1688 password without recompiling the code.
1690 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1691 * src/main/webapp/OnlineGlom.properties:
1693 2011-03-11 Ben Konrath <ben@bagu.org>
1695 Use table fields in layout list view if the layout list is not defined.
1697 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1698 Manually create a LayoutFieldVector for the query builder using the
1699 table fields when a layout list is not defined in the glom file.
1701 2011-03-11 Ben Konrath <ben@bagu.org>
1703 Only show FIXME string for images when there's an image.
1705 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1706 in this change are some small code cleanups.
1708 2011-03-11 Ben Konrath <ben@bagu.org>
1710 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1712 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1714 2011-03-11 Ben Konrath <ben@bagu.org>
1716 Correctly set the index of the default table.
1718 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1719 Correctly set the index of the default table. Add commented out example
1722 2011-03-10 Ben Konrath <ben@bagu.org>
1724 Add comment to pom.xml about the previous change.
1726 * pom.xml: Add comment about the deployment issue so that it's obvious
1727 why java-libglom is set to the provided scope.
1729 2011-03-10 Ben Konrath <ben@bagu.org>
1731 Change java-libglom dependency from compile to provided in pom.xml.
1733 Since java-libglom uses jni it can only be loaded once and therefore
1734 must be placed in $CATALINA_HOME/lib and not included in each war.
1735 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1736 More information about this issue can be found in the Tomcat 6 release
1737 notes in the "JNI Based Applications" section:
1739 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1741 * README: Remove note about this issue. Deployment info should really
1742 be on the wiki anyway so I'll add it right now.
1743 * pom.xml: Change java-libglom dependency from compile to provided so
1744 that it's copied in to the packaged war.
1746 2011-03-09 Ben Konrath <ben@bagu.org>
1748 Change to using a neutral locale for currency, date and time formatting.
1750 This solves the problem of currency values being represented without a
1751 space between the currency code and the number (e.g. "EUR5.89" is now
1752 represented as "EUR 5.89"). More work is required when we implement
1753 a locale preference setting.
1755 * TODO: Add note about currency formatting issues with different
1757 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1758 to using the neutral ROOT locale.
1760 2011-03-09 Ben Konrath <ben@bagu.org>
1762 Add support for currency codes that are not ISO 4217 codes.
1764 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1765 the currency code defined in the glom file when it's not 3 characters
1766 long or when Java doesn't recognize the string as an ISO 4217 code.
1768 2011-03-08 Ben Konrath <ben@bagu.org>
1770 Remove test classes, launch configurations and configuration.
1772 The test stuff was getting in the way when creating the war. To make
1773 the war file you can now do 'mvn clean package'. The packaged war file
1774 will be in the target directory.
1776 * .classpath: Remove unused classpathentry for tests and i18n.
1777 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1778 property. Don't run test or i18n goals when packaging the war.
1779 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1784 * OnlineGlomTest-dev.launch:
1785 * OnlineGlomTest-prod.launch:
1786 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1787 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1789 2011-03-07 Ben Konrath <ben@bagu.org>
1791 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1793 These fixes allow me to use 'mvn deploy' to create the war file.
1795 * .classpath: This generated config has been updated by Eclipse. This
1796 change was probably triggered by me updating from Eclipse 3.6.1 to
1798 * .gitignore: Add entry to ignore the directory
1799 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1800 * .project: The generated config has been updated by Eclipse. This
1801 change was probably triggered by me updating from Eclipse 3.6.1 to
1803 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1804 so that Eclipse doesn't complain
1805 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1806 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1807 'tests' directory to 'client' directory. This is the new
1808 gwt-maven-plugin convension.
1809 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1810 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1812 2011-03-07 Ben Konrath <ben@bagu.org>
1814 Add support for horizontal alignment in the LayoutList columns.
1816 * TODO: Remove item about horizontal alignment. Add item about
1817 improvements to ColumnInfo.
1818 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1819 alignment on the columns. Use ColumnInfo RPC object get the column
1820 title and horizontal alignment.
1821 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1822 LayoutListView creation with ColumnInfo RPC object.
1823 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1824 a ColumnInfo object for every LayoutList columnn. Convert the
1825 FieldFormatting.HorizontalAlignment to the correct
1826 ColumnnInfo.HorizontatlAlignment with the new
1827 getColumnInfoHorizontalAlignment helper method.
1828 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1829 to encapsulate column information like alignment and title. This
1830 could be used to set the colour instead of on a per cell field basis.
1831 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1832 column title storage and retrieval with ColumnInfo.
1834 2011-03-04 Ben Konrath <ben@bagu.org>
1836 Add support for column sorting.
1838 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1839 AsynDataProvider to be an anonymous inner class. Use new
1840 getSortedTableData RPC method when column sort is requested. Set all
1841 columns sortable and add an AsyncHandler to activate sorting in the
1843 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1844 method getSortedTableData(). Cleanup other method signatures.
1845 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1846 new method getSortedTableData(). Cleanup other method signatures.
1847 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1848 Implement getSortedTableData() and getTableData() methods by using a
1849 private helper method with the appropriate parameters filled in. Use
1850 user supplied sort clause when supplied, otherwise fall back to
1851 sorting by the primary key. Move destroy() method to be underneath
1852 constructor for readability. Cleanup comments.
1854 2011-03-03 Ben Konrath <ben@bagu.org>
1856 Add support for colour text and colour backgrounds to the layout list cells.
1858 Only the cell backgrounds are coloured which leaves a gap between the
1859 cells that isn't coloured. I need to figure out a way to set
1860 'style=background-colour:' on the whole column rather than just the
1863 * TODO: Add a note about colouring the background of the whole column.
1864 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1865 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1866 render the coloured text and backgrounds. Use GlomField[] for the row type.
1867 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1869 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1870 GlomField[] for the row type.
1871 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1872 GlomField[] for the row type. Set the text, text colour and background
1873 colour in the GlomField objects as specified in the glom document. Add
1874 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1875 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1876 the glom field text, foreground colour and background colour.
1878 2011-03-02 Ben Konrath <ben@bagu.org>
1880 Don't display hidden tables in the combo box.
1882 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1884 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1885 code to ignore hidden tables using ArrayLists for the table names and
1887 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1888 tableNames to use ArrayLists instead of String[]. Update getter and setter
1891 2011-03-01 Ben Konrath <ben@bagu.org>
1893 Add support for Date and Time number types.
1895 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1896 Implement formatting for Date and Time values. Change the default glom
1897 file to small business example.
1899 2011-03-01 Ben Konrath <ben@bagu.org>
1901 Add support for formatting glom types as specified in the glom file.
1903 Formatting isn't finished yet - I still need to add support for Date
1906 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1907 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1908 checks for null values in JDBC cleanup code and catch all exceptions
1909 instead of just SQLExceptions.
1910 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1913 2011-03-01 Ben Konrath <ben@bagu.org>
1915 Use GWT 2.2.0 instead of 2.1.1.
1917 * pom.xml: Change GWT version numbers.
1919 2011-03-01 Ben Konrath <ben@bagu.org>
1921 A few small code cleanups.
1923 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1925 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1926 unnecessary object creation in constructor.
1927 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1928 unnecessary object creation in constructor.
1930 2011-02-28 Ben Konrath <ben@bagu.org>
1932 Add file for TODO list.
1936 2011-02-18 Ben Konrath <ben@bagu.org>
1938 Enable the CellTable Pager when more than 20 rows need to be viewed.
1940 The Pager will automatically become active when the results are larger
1941 than the CellTable size which is currently set to 20 lines.
1943 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1944 name on debug statment in RPC call in LayoutListDataProvider, add
1945 numRows parameter to LayoutListView constructor, propperly set rowCount
1947 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1948 name on debug statment in RPC call, use LayoutListTable object in RPC
1949 calls, pass rowCount to LayoutListView.
1950 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1951 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1953 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1954 interface for changes in OnlineGlomService.
1955 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1956 getLayoutListHeaders() to getLayoutListTable() and return
1957 LayoutListTable. Using this object allows me to pass other information
1958 about the LayoutList like the expected number of rows in the result set.
1959 The Connection object from the connection pool is now propperly closed.
1960 Only the requested number of lines are returned to the client in
1962 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1963 GlomTable and add columnTitles and numRows.
1965 2011-02-18 Ben Konrath <ben@bagu.org>
1967 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1969 This is a small performance boost. I'll use GlomTable to get the required
1970 layoutlist information.
1972 * src/main/java/org/glom/web/client/OnlineGlom.java:
1973 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1974 * src/main/java/org/glom/web/shared/GlomDocument.java:
1976 2011-02-18 Ben Konrath <ben@bagu.org>
1978 Add option to turn off formatting in JDT formatter preferences.
1980 * .settings/org.eclipse.jdt.core.prefs:
1982 2011-02-18 Ben Konrath <ben@bagu.org>
1984 Rename LayoutList to LayoutListView.
1986 I'm working towards setting things up to easily use MVP when the time
1989 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1991 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1994 2011-02-17 Ben Konrath <ben@bagu.org>
1996 Move LayoutListDataProvider class into LayoutList.java.
1998 * src/main/java/org/glom/web/client/LayoutList.java:
2000 2011-02-17 Ben Konrath <ben@bagu.org>
2002 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
2004 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
2006 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
2007 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
2008 from LibGlomServer.java.
2009 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2010 Rename from LibGlomServiceAsync.java.
2011 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2012 Rename from LibGlomServiceImpl.java.
2013 * src/main/webapp/WEB-INF/web.xml: Update configuration.
2015 2011-02-17 Ben Konrath <ben@bagu.org>
2017 Update JDT settings.
2019 * .settings/org.eclipse.jdt.core.prefs:
2021 2011-02-17 Ben Konrath <ben@bagu.org>
2023 Move GWT-RPC objects to shared package (where they should be).
2025 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
2026 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
2027 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
2028 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
2029 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
2030 org.glom.web.shared package.
2031 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
2032 org.glom.web.shared package.
2033 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
2034 directory in compilation to javascript.
2036 2011-02-16 Ben Konrath <ben@bagu.org>
2038 Add sort clause to the sql query that grabs table information.
2040 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2041 if one of the columns is a primary key.
2043 2011-02-16 Ben Konrath <ben@bagu.org>
2045 Disable generateAsync feature of gwt-maven.
2047 The generated interface does not correctly match the methods in LibGlomService
2048 and the generated singleton Util inner-class doesn't respect the servlet
2051 * pom.xml: Turn off generateAsync feature.
2052 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2053 with singleton Util inner-class.
2055 2011-02-14 Ben Konrath <ben@bagu.org>
2057 Add LGPL v3 licence notices.
2059 Followed directions listed here:
2060 http://www.gnu.org/licenses/gpl-howto.html
2062 * COPYING: This file is a copy of the GPL v3.
2063 * COPYING.LESSER: This file is a copy of the LGPL v3.
2064 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2066 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2068 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2070 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2072 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2074 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2076 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2079 2011-02-14 Ben Konrath <ben@bagu.org>
2081 Use ArrayList instead of Array in GWT-RPC calls.
2083 Apparently this gives a slight performance boost to the compiled
2086 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2088 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2091 2011-02-14 Ben Konrath <ben@bagu.org>
2093 Access data from a postgres db rather than the example glom file.
2095 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2096 compile down to obfuscated javascript.
2097 * pom.xml: Add c3p0 and postgres JDBC libraries.
2098 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2099 using a postgres db accessed through the c3p0 connection pooling library.
2101 2011-02-14 Ben Konrath <ben@bagu.org>
2103 Update Java formatter settings.
2105 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
2107 2011-02-02 Ben Konrath <ben@bagu.org>
2109 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
2111 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
2113 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
2114 the compiled webapp directory that Eclipse uses as we're using Maven now.
2115 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
2116 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
2118 * pom.xml: Format file, change target Java version to 1.6.
2120 2011-02-02 Ben Konrath <ben@bagu.org>
2122 Add information about a deployment related issue.
2124 * README: Add Notes section with the problem outlined.
2126 2011-02-02 Ben Konrath <ben@bagu.org>
2128 Call Glom.libglom_deinit() when the servlet is shutdown.
2130 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2131 Glom.libglom_deinit() to destroy() method.
2133 2011-01-28 Ben Konrath <ben@bagu.org>
2135 Use generated Util class to get the RPC Async interface.
2137 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
2139 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
2140 getInstance() method to get a reference to the RPC Async interface.
2141 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
2142 getInstance() method to get a reference to the RPC Async interface, remove
2143 the now unused getLibGlomServiceProxy() method.
2145 2011-01-27 Ben Konrath <ben@bagu.org>
2147 Cleanup ChangeLog entry from previous commit.
2149 * ChangeLog: Group logical changes together and add comments.
2151 2011-01-25 Ben Konrath <ben@bagu.org>
2153 Convert to gwt-maven project.
2155 * .gitignore: Update for new project structure.
2156 * README: New file with a link to the online documentation.
2157 * pom.xml: The generated maven configuration file with some tweaks.
2159 Add / update Eclipse settings. These files are a merge of the files that
2160 were generated with the gwt-maven plugin and the files we were previously
2164 * .settings/.jsdtscope:
2165 * .settings/com.google.gdt.eclipse.core.prefs:
2166 * .settings/com.google.gwt.eclipse.core.prefs:
2167 * .settings/org.eclipse.jdt.core.prefs:
2168 * .settings/org.eclipse.wst.common.component:
2169 * .settings/org.eclipse.wst.common.project.facet.core.xml:
2170 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
2171 * .settings/org.maven.ide.eclipse.prefs:
2172 * OnlineGlomTest-dev.launch:
2173 * OnlineGlomTest-prod.launch:
2175 Java source files moved from the 'src' directory to the directory structure
2177 * src/main/java/org/glom/web/client/GlomDocument.java:
2178 * src/main/java/org/glom/web/client/GlomTable.java:
2179 * src/main/java/org/glom/web/client/LayoutList.java:
2180 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
2181 * src/main/java/org/glom/web/client/LibGlomService.java:
2182 * src/main/java/org/glom/web/client/OnlineGlom.java:
2183 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
2185 Non-functional property file used for translations. I included this as
2186 reminder that it's something I need to sort out.
2187 * src/main/resources/org/glom/web/client/Messages.properties:
2189 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
2190 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2192 The servlet configuration files moved from the 'war' directory.
2193 * src/main/webapp/OnlineGlom.css:
2194 * src/main/webapp/OnlineGlom.html:
2195 * src/main/webapp/WEB-INF/web.xml:
2197 Generated test files with most of the code commented out. I included these
2198 so that it's easy to add tests when we're ready for them.
2199 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
2200 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2202 2011-01-25 Ben Konrath <ben@bagu.org>
2204 Remove unused println.
2206 * src/org/glom/web/server/LibGlomServiceImpl.java:
2208 2011-01-25 Ben Konrath <ben@bagu.org>
2210 Add project specific JDT settings.
2212 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
2213 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
2215 2011-01-25 Ben Konrath <ben@bagu.org>
2217 Populate celltable with example data.
2219 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
2220 * src/org/glom/web/client/GlomTable.java: Correct formatting.
2221 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
2222 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
2223 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
2224 asynchronously gets the example data.
2225 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
2226 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
2227 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
2228 curently selected table to be retrieved by other widgets.
2229 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
2230 implement getTableData() in a hacky way. This method needs to be updated
2231 to grab information from the database when database creating is
2234 2011-01-20 Ben Konrath <ben@bagu.org>
2236 Set table headers when table dropBox changes.
2238 * src/org/glom/web/client/GlomDocument.java: Correct some method
2240 * src/org/glom/web/client/LibGlomService.java: Add method
2241 to get list layout field names.
2242 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
2243 to get list layout field names.
2244 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
2245 widget for list layout table.
2246 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
2247 the table drop box and add new updateTable() method to asynchronously
2248 get the layout list field names for the currently selected table.
2249 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
2250 implementation of getLayoutListHeaders() method.
2251 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
2253 2011-01-18 Ben Konrath <ben@bagu.org>
2255 Make a listBox with table titles instead of the flexTable demo.
2257 This is the start of something more useful.
2259 * .classpath: Exclude a bunch of packages from the JVM that are
2260 getting in the way of the Eclipse content assist.
2261 * src/org/glom/web/client/GlomDocument.java:
2262 * src/org/glom/web/client/GlomTable.java:
2263 * src/org/glom/web/client/LibGlomService.java:
2264 * src/org/glom/web/client/LibGlomServiceAsync.java:
2265 * src/org/glom/web/client/OnlineGlom.java:
2266 * src/org/glom/web/server/LibGlomServiceImpl.java:
2267 * war/OnlineGlom.html:
2268 * war/WEB-INF/web.xml:
2270 211-01-13 Ben Konrath <ben@bagu.org>
2272 Update to new java-libglom API.
2274 * .gitignore: Ignore OnlineGlom.war.
2275 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
2277 2010-12-20 Ben Konrath <ben@bagu.org>
2279 Add some basic style to the table listing.
2281 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
2282 header, print useful error message on async callback failure.
2283 * war/OnlineGlom.css: Add style for table header, remove defaults
2284 provided by the Eclipse project wizard.
2286 2010-12-20 Ben Konrath <ben@bagu.org>
2288 Load example file from installed glom dir.
2290 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
2291 provided by java-libglom to find the example file.
2293 2010-12-20 Ben Konrath <ben@bagu.org>
2295 Update Eclipse settings.
2298 * .settings/com.google.gdt.eclipse.core.prefs:
2299 * .settings/com.google.gwt.eclipse.core.prefs:
2301 2010-12-17 Ben Konrath <ben@bagu.org>
2305 * .classpath: New file.
2306 * .gitignore: New file.
2307 * .project: New file.
2308 * .settings/com.google.gdt.eclipse.core.prefs: New file.
2309 * .settings/com.google.gwt.eclipse.core.prefs: New file.
2310 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
2311 * src/org/glom/web/client/GlomTable.java: New file.
2312 * src/org/glom/web/client/OnlineGlom.java: New file.
2313 * src/org/glom/web/client/TableNameService.java: New file.
2314 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
2315 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
2316 * war/OnlineGlom.css: New file.
2317 * war/OnlineGlom.html: New file.
2318 * war/WEB-INF/web.xml: New file.
2319 * war/images/glom.png: New file.