1 2011-10-07 Ben Konrath <ben@bagu.org>
3 Use primaryKeyValue naming convention in constructor of DetailsPlace.
5 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
7 2011-10-07 Ben Konrath <ben@bagu.org>
9 Update TableChangeEvent to use newTableName naming convention.
11 This makes the class more consistent with GWT naming conventions.
13 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
14 Update for method name change in TableChangeEvent.
15 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
16 for method name change in TableChangeEvent.
17 * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
18 newTableName variable and getter method. Make toDebugString()
21 2011-09-30 Ben Konrath <ben@bagu.org>
23 Disable the pager in the list tables when the data row count is less than the minimum.
25 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
26 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
28 2011-09-30 Ben Konrath <ben@bagu.org>
30 Add empty rows to the end of related list and list view tables.
32 I also extracted the cell rendering classes from the ListTable because
33 the code was becoming a little crazy with all the anonymous inner
34 classes. My plan is to use these cell rendering classes in the details
35 view as well so this refactor will be needed for that change.
37 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
38 set the row count in related list tables if the data has more rows
39 than the minimum number of rows visible.
40 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
41 row count in list view tables if the data has more rows than the
42 minimum number of rows visible.
43 * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
44 for rendering TYPE_BOOLEAN cells. The code was extracted from the
46 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
47 for rendering TYPE_NUMERIC cells. The code was extracted from the
49 * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
50 class for rendering cells with buttons in list views. The code was
51 extracted from the ListTable class.
52 * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
53 for rendering TYPE_TEXT cells. The code was extracted from the
55 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
56 Add empty rows to the end of the data if required. Implement
57 ListTable.getMinNumVisibleRows().
58 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
59 cell renderer code to public classes. Return null in
60 Column.getValue() for empty rows. Add new abstract method:
61 getMinNumVisibleRows(). Move code to set the row count of the list view
62 table to ListViewImpl.
63 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
64 empty rows to the end of the data if required. Implement
65 ListTable.getMinNumVisibleRows().
68 2011-09-27 Ben Konrath <ben@bagu.org>
70 Use GWT.log for client-side debugging statements.
72 These are optimized out when deployed so I should have used this method
73 in the first place. These statements will eventually be replaced with some sort
74 of notification in the browser.
76 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
77 * src/main/java/org/glom/web/client/activity/ListActivity.java:
78 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
79 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
80 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
82 2011-09-27 Ben Konrath <ben@bagu.org>
84 Put tableselector on the right, back to list link on right.
86 The idea is that the table selector is acting like a label for the
87 currently displayed table so it should be placed below the document title. This
88 puts the table title in a similar position to where it is in Glom.
90 * mockups/details-contacts.html:
91 * mockups/details-projects.html:
92 * mockups/listview-contacts.html:
93 * mockups/listview-projects.html:
95 Update mockups to match how the interfaces currently look.
96 * src/main/webapp/style.css: Swap positions of backlink with the table
97 selector. Add some space on the left side of the table selector to
98 line things up with the document title.
100 2011-09-27 Ben Konrath <ben@bagu.org>
102 Add field colouring to details view.
104 This change re-works how field colouring works. The colour formatting
105 information is now set to the client with the layout information instead of
106 with the data. This eliminates the need to send the same colour strings for
107 data in list view column when colour information is set.
109 In order to set an alternate colour for negative numeric values, the
110 number is now sent to client and formatted with the GWT NumberFormat class.
112 This change also fixes:
114 https://bugzilla.gnome.org/show_bug.cgi?id=659752
116 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
117 internationalization framework which is needed for client side numeric
119 * src/main/java/org/glom/web/client/Utils.java: New file for some
120 client static utility methods.
121 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
122 the DataItem object to the Field class. Use a utility method to
123 create the foreignKeyValue string.
124 * src/main/java/org/glom/web/client/ui/details/Field.java: Set
125 alignment and text colours in the constructor. Add setData(DataItem)
126 method. Remove setText(String) method.
127 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
128 colour information to GlomTextCell. Create and use GlomNumberCell for
129 rendering numbers. Use utility method to get the string for the
130 primary key of the key provider. Re-work how the horizontal alignment
132 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
133 formatting to layout information. Methods for converting the libglom
134 formatting information were moved from DBAccess.
135 * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
136 numeric formatting (it's now done on the client side). Don't set text
137 colours in DataItem. Move libglom formatting conversion methods to
139 * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
140 getters/setters for text colour information.
141 * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
142 for transferring the libglom NumericFormat information to the client.
143 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
144 and getters/setters for: GlomNumericFormat, background colour and
145 foreground colour strings.
147 2011-09-26 Ben Konrath <ben@bagu.org>
149 Simplify code that iterates through the LayoutGroup.
151 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
153 2011-09-26 Ben Konrath <ben@bagu.org>
155 Accept Eclipse formatting for OnlineGlomServiceAsync.
157 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
159 2011-09-26 Ben Konrath <ben@bagu.org>
161 Don't use the ListDBAccess classes to get the primary key layout information.
163 This was causing a bug where the wrong index for the hidden primary key
164 was being sent to the client.
166 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
167 primary key while creating the LayoutGroup DTO. Create a
168 LayoutItemField DTO for hidden primary keys. Don't use the
169 RelatedListDBAccess because it was only used for getting the primary
171 * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
172 access modifier from public to protected for getPrimaryKeyField() and
173 getPrimaryKeyLayoutItemField().
174 * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
175 abstract method getExpectedResultSize() because RelatedListDBAccess
176 doesn't have enough info to implement it.
177 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
178 Remove @Override for getExpectedResultSize().
179 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
180 Remove method getExpectedResultSize().
182 2011-09-23 Ben Konrath <ben@bagu.org>
184 Log which layout (list or details) the ignored item is from.
186 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
188 2011-09-23 Ben Konrath <ben@bagu.org>
190 Remove annotations that turn off code formatting in DataItem.
192 * src/main/java/org/glom/web/shared/DataItem.java:
194 2011-09-23 Ben Konrath <ben@bagu.org>
196 Rename GlomField to DataItem and update associated methods.
198 This is a rename-only refactor. No functionality has been added or
201 * src/main/java/org/glom/web/client/OnlineGlomService.java:
202 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
203 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
204 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
205 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
206 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
207 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
208 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
209 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
210 * src/main/java/org/glom/web/server/database/DBAccess.java:
211 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
212 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
213 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
214 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
215 * src/main/java/org/glom/web/shared/DataItem.java:
216 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
217 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
219 2011-09-23 Ben Konrath <ben@bagu.org>
221 Rename GlomDocument to DocumentInfo and update associated methods.
223 This is a rename-only refactor. No functionality has been added or
226 * src/main/java/org/glom/web/client/OnlineGlomService.java:
227 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
228 * src/main/java/org/glom/web/client/activity/ListActivity.java:
229 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
230 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
231 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
232 * src/main/java/org/glom/web/shared/DocumentInfo.java:
234 2011-09-20 Ben Konrath <ben@bagu.org>
236 Require java-libglom 1.17.3.
238 This picks up the fix for the seg fault problem with the Scenes table
239 in the Openismus Film Manager example.
243 2011-09-20 Ben Konrath <ben@bagu.org>
245 Change the way sort clause is added for primary key when no sort clause is requested.
247 The primary key is now added to the LayoutFieldVector (fieldsToGet)
248 before the sort clause is created. When a sort clause is not requested, the
249 sort clause is created by finding the primary key in the LayoutFieldVector
252 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
254 2011-09-20 Ben Konrath <ben@bagu.org>
256 Log error message if no documents are found in the configured directory.
258 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
259 Extract the glom file extension string to a private static final class
260 variable (mostly as syntactic sugar). Accept a minor formatting change.
261 * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
262 the example glom.document.directory configuration property to make it
263 more clear that it can any directory, not just the home directory.
265 2011-09-18 Ben Konrath <ben@bagu.org>
267 Add related lists to details view.
269 The related list table has support for paging and sorting just like the
270 table in the list view.
272 * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
273 SQL queries for the related list tables.
274 * src/main/java/org/glom/web/client/OnlineGlomService.java:
275 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
276 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
277 Rename getList methods to getListView and add comments. Remove
278 getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
279 it being unused. Add methods: getDetailsLayoutAndData(),
280 getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
281 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
282 Create the layout and set the data for the fields in one async call
283 instead of two. Create related lists where appropriate.
284 * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
285 for method name changes in OnlineGlomService.
286 * src/main/java/org/glom/web/client/ui/DetailsView.java:
287 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
288 addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
290 * src/main/java/org/glom/web/client/ui/ListView.java:
291 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
292 tableName from setCellTable(). Create a ListViewTable instead of
294 * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
295 represent a data field in the details view.
296 * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
297 from addDetailsCell() to Field class. Keep track of the Fields and
298 Portals in the details view.
299 * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
300 a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
301 and add a method to get it. Add method to set the contents of the
303 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
304 New class for related list tables. This class has the data provider
305 for the related list table.
306 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
307 abstract class which is the base class for the ListViewTable and the
309 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
310 New class for list view tables. This class has the data provider for
312 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
313 methods for related list tables. Add more information to the
314 LayoutItemField and LayoutItemPortal DTOs.
315 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
316 Remove debugging print statement.
317 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
318 Remove debugging print statements. Add primary key field to SQL count
320 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
321 Remove unnecessary LayoutFieldVector parameter from
322 getResultSizeOfSQLQuery() method.
323 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
324 New class for related list table database access.
325 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
326 class that is a wrapper DTO for details view layout and data.
327 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
328 new 'fromField' string to this DTO.
329 * src/main/webapp/style.css: Remove bottom margin and override top
332 2011-09-15 Ben Konrath <ben@bagu.org>
334 Breakup the OnlineGlomServiceImpl class to make it more manageable.
336 This sets things up to make it easier to add the data retrieval for
337 related lists (portals). No user noticeable changes were made with
340 * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
341 class has the code to retrieve the layouts and access the
342 database using the new database helper classes.
343 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
344 Most of the functionality has been removed from this class. This
345 class now represents the public interface for the client side
346 code. It also deals with configuring the servlet and cleaning
347 things up when the servlet is stopped.
348 * src/main/java/org/glom/web/server/Utils.java: Extract a couple
349 of static methods into this utility class.
350 * src/main/java/org/glom/web/server/database/DBAccess.java:
351 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
352 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
353 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
354 These classes have the database retrieval code. The class hierarchy
355 has been setup to make it easy to reuse code for similar
358 2011-09-06 Ben Konrath <ben@bagu.org>
360 Create separate classes for list table code and the data provider.
362 As part of this refactor, I also split up the code a bit to make it
365 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
366 table code to two new classes (below).
367 * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
368 with code from ListViewImpl.
369 * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
370 New file with code from ListViewImpl.
372 2011-09-06 Ben Konrath <ben@bagu.org>
374 Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
376 This fixes the LayoutItemPortal DTO to match the libglom layout object
379 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
381 2011-09-01 Ben Konrath <ben@bagu.org>
383 Set title of Portals in the Details View.
385 * pom.xml: Bump required version of java-libglom to 1.17.1.
386 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
387 widget creation to its own class. Add comments to constructor.
388 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
389 The code is mostly from the Group class with the title now set.
390 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
391 title of Portal. Update some comments. Fix some code formatting.
393 2011-09-01 Ben Konrath <ben@bagu.org>
395 Remove TODO comment for the flow table column width.
397 The flow table column width is working correctly and doesn't need to be
398 changed. See this mailing list post for more info:
400 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
402 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
404 2011-08-27 Ben Konrath <ben@bagu.org>
406 Add document title (database name) to top of the browser page.
408 I added the document title to the TableSelecitonView but that will
409 change if / when we add a view that doesn't require table selection.
411 * mockups/details-contacts.html:
412 * mockups/details-projects.html:
413 * mockups/listview-contacts.html:
414 * mockups/listview-projects.html:
415 * mockups/style.css: Add document title to mockups to keep things
417 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
418 sizes to account for the document title.
419 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
420 Set the document title when it has been retrieved from the server.
421 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
422 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
423 and implement setDocumentTitle(String) method.
424 * src/main/webapp/style.css: Add ID for document title style.
426 2011-08-25 Ben Konrath <ben@bagu.org>
428 Add NavigationType enum to LayoutItemPortal DTO.
430 This is the start of adding support for Portals to the Details View.
432 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
433 LayoutItem_Portal.navigation_type enum from libglom to
434 LayoutItemPortal.NavigationType enum.
435 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
436 NavigationType enum, field for storing the NavigationType and getter
439 2011-08-25 Ben Konrath <ben@bagu.org>
441 Implement the flow table layout in the Details View.
443 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
444 FlowTable to Group to account for the renamed class.
445 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
446 File. This is a container widget that implements the Glom details view
447 flow table behaviour.
448 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
449 org/glom/web/client/ui/FlowTable.java.
450 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
451 so that the size of the subgroups are a closer match to the size of
452 the Glom subgroups. This makes the flowtable layout match the layout
453 in Glom for the Music Collection example file.
455 2011-08-16 Ben Konrath <ben@bagu.org>
457 Create container element for LayoutItemPortal in Details View.
459 This will help me develop the layout for the FlowTable.
461 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
462 fieldPanel variable to detailsCell.
464 2011-08-15 Ben Konrath <ben@bagu.org>
466 Set the height of the data element in the Details View.
468 I changed the InlineLabels (text in a span element) to Labels (text in
469 a div element) so that I could set the height of the details-data
470 elements instead of the details-cell parent elements. This allows the
471 the details-data element to display the correct height if style is
472 applied that shows the height.
474 This change has the added benefit of allowing the order of the labels
475 and data elements to be changed for right-to-left languages.
477 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
478 InlineLabels to Labels.
479 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
480 InlineLabels to Labels. Set the height of the data element.
481 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
482 multiline text height in the Formatting DTO.
483 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
484 for multiline height along with getter and setter methods.
485 * src/main/webapp/style.css: Adjust style to account for the change
486 from span elements to div elements in the details cell.
488 2011-08-15 Ben Konrath <ben@bagu.org>
490 Make the List View appearance match the mockups.
492 It doesn't match exactly but it's much better than it was.
494 * mockups/listview-contacts.html: Remove unused css classes.
495 * mockups/listview-projects.html: Remove unused css classes.
496 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
497 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
498 for mainPanel instead of VerticalPanel (table). Set style name on
499 CellTable. Set style name on Details column. Right-align Details
501 * src/main/webapp/style.css: Adjust properties to match the mockups.
503 2011-08-12 Ben Konrath <ben@bagu.org>
505 Add better support for subgroups in the details view.
507 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
508 changed FlowTable constructor.
509 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
510 support for subgroups and subgroup-titles.
511 * src/main/webapp/style.css: Add CSS class for subgroups and
514 2011-08-12 Ben Konrath <ben@bagu.org>
516 Return the top level LayoutGroup title.
518 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
520 2011-08-11 Ben Konrath <ben@bagu.org>
522 Make the TableSelector header match the mockup.
524 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
525 the layout panel. Properly lineup the table selection header with
526 the list and details view.
527 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
528 margin around the details view.
529 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
530 Rename listBox variable to tableSelector. Set id for the style sheet.
531 Use a FlowPanel instead of a HorizontalPanel.
532 * src/main/webapp/style.css: Add properties to make the TableSelector
533 box match the mockups.
535 2011-07-13 Ben Konrath <ben@bagu.org>
537 Update install script for java-libglom version change.
539 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
542 2011-07-13 Ben Konrath <ben@bagu.org>
544 Add support sub-group in the details view.
546 I also removed the code that special-cased the default details view
549 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
551 I still have to make a proper flowtable.
553 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
554 Don't special-case default details view layout.
555 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
556 addLayoutField() as I'm going to use it.
557 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
558 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
560 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
561 extracted from DetailsViewImpl.GroupPanel. Add support for
563 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
564 column count when getting the details layout.
566 2011-07-12 Ben Konrath <ben@bagu.org>
568 Set browser title with database and table titles.
570 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
571 Set the browser title when the table changes and when the activity
573 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
574 title when retrieving document info (the GlomDocument object).
575 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
576 with getter and setter methods. Remove unused convenience constructor.
577 Use default code formatting.
579 2011-07-12 Ben Konrath <ben@bagu.org>
581 Ignore LayoutItemPortals in the details view.
583 I added a new DTO for the LayoutItemPortal so that I can ignore it in
586 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
587 LayoutItemPortal layout objects.
588 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
589 LayoutItemPortal objects when retrieving the details layout.
590 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
591 file. This is an empty class and just used to get type information for
594 2011-07-12 Ben Konrath <ben@bagu.org>
596 Use java-libglom 1.17.0.
600 2011-07-11 Ben Konrath <ben@bagu.org>
602 Remove "Table:" label from table selector.
604 This matches a recent change in the Glom UI.
606 * mockups/details-contacts.html:
607 * mockups/details-projects.html:
608 * mockups/listview-contacts.html:
609 * mockups/listview-projects.html: Remove the "Table:" label from the
611 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
613 2011-07-11 Ben Konrath <ben@bagu.org>
615 Add main groups to the details view.
617 This makes things look a little nicer in the details view. The next step
618 is to implement the flowtable.
620 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
621 resources from the standard gwt css theme. Standard.css is now
622 included in OnlineGlom.html so that the online glom css rules have
623 precedence over the gwt theme.
624 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
625 the whole LayoutGroup to the DetailsView instead of just the titles.
626 * src/main/java/org/glom/web/client/ui/DetailsView.java:
627 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
628 details layout with a helper class (GroupPanel). I might extract this
629 class when I make the full flowtable.
630 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
631 string as default so I don't have to worry about NPEs when processing
633 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
634 note beside OnlineGlom.gwt.xml above).
635 * src/main/webapp/style.css: Add default font-size to body to override
636 the font-size set by the standard theme. Don't use h2 tags for
637 group-title. Create new details-cell class.
639 2011-07-08 Murray Cumming <murrayc@murrayc.com>
641 ConfiguredDocument: Set the port number too.
643 * src/main/java/org/glom/web/server/ConfiguredDocument.java
644 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
645 Glom document. Presumably this worked sometimes so far because there is a
648 2011-07-08 Murray Cumming <murrayc@murrayc.com>
650 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
652 * src/main/java/org/glom/web/server/ConfiguredDocument.java
653 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
654 correct, though we should throw an exception too.
656 2011-07-08 Murray Cumming <murrayc@murrayc.com>
658 Fix a addDocuemnt typo.
660 * src/main/java/org/glom/web/shared/Documents.java
661 (Documents.addDocuemnt): Rename to addDocument().
662 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
663 (OnlineGlomServiceImpl.getDocuments): Adapt.
665 2011-07-08 Murray Cumming <murrayc@murrayc.com>
667 Slightly improved log output when connection fails.
669 * src/main/java/org/glom/web/server/ConfiguredDocument.java
670 (ConfiguredDocument.setUsernameAndPassword):
671 We don't know for sure if it' the username/password that's wrong, so
672 rephrase the message.
673 Also ouput the exception message, though it's generic in this case.
675 2011-07-08 Ben Konrath <ben@bagu.org>
679 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
680 added braces to a one line if statement because the Eclipse formatter
681 was getting confused.
683 2011-07-07 Ben Konrath <ben@bagu.org>
685 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
687 These should really be two separate tasks but I counldn't get things to
688 work with GWT 2.2.0 and Eclipse 3.7.
692 * .settings/org.eclipse.jdt.core.prefs:
693 * .settings/org.eclipse.jdt.ui.prefs:
694 * .settings/org.eclipse.ltk.core.refactoring.prefs:
695 * .settings/org.eclipse.m2e.core.prefs:
696 Add new config files. Update current files. Remove references to the
697 webtools plugins as we're not using any of the webtools features.
698 * .gitignore: Add logs directory which is created when running with
700 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
701 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
702 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
704 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
706 2011-07-07 Murray Cumming <murrayc@murrayc.com>
708 onlineglom.properties: Add explanatory comments.
710 * src/main/resources/onlineglom.properties: Also change the default user
711 from ben to someuser, to avoid the risk of people thinking we just
712 stupidly hard-coded a locale path, when they see that on stderr or in a log.
714 2011-06-28 Ben Konrath <ben@bagu.org>
716 Use filename in Log for incorrect passwords.
718 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
719 getFileName(String) method to get the filename from the URI.
721 2011-06-28 Ben Konrath <ben@bagu.org>
723 Add the table name to the URL token for the ListPlace.
725 This makes things consistent between the DetailsPlace and the
726 ListPlace. It also allows the the ListPlace to be bookmarked.
728 * src/main/java/org/glom/web/client/OnlineGlomService.java:
729 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
730 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
731 Remove getDefaultListLayout(). The default layout is now returned
732 by the getListLayout() method when the table name is an empty string.
733 * src/main/java/org/glom/web/client/activity/ListActivity.java:
734 Add table name field. Change to a new ListPlace when the table
735 has been changed. Use getListLayout() for getting the default
737 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
738 Add table name field. Set the correct table name in the list box
739 when loading from bookmark. This corrects a problem for the
741 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
742 Move table name to super-class (HasSelectableTable). Move document
743 and table URL keys to super-class in HasSelectableTable.
744 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
745 Add table name field. Add Tokenizer class with URL key common to
746 the subclasses (DetailsPlace and ListPlace).
747 * src/main/java/org/glom/web/client/place/ListPlace.java:
748 Add table name. Add code to parse the URL token.
749 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
750 Update ListPlace construction with empty table name string.
751 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
752 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
753 Change setTableSelectedIndex(int) to setSelectedTableName(String).
754 Update ListPlace construction with table name string.
755 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
756 Change defaultTableName field to tableName to reflect how it's now
757 used. Update the getter and setter methods.
759 2011-06-28 Ben Konrath <ben@bagu.org>
761 Enable the table selector in the DetailsView.
763 * src/main/java/org/glom/web/client/OnlineGlomService.java:
764 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
765 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
766 Remove getDefaultDetailsLayout(). The default layout is now returned
767 by the getDetailsLayout() method when the table name is an empty
769 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
770 event handler for table change event. Change to using
771 getDetailsLayout() for the default details layout.
772 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
774 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
775 when navigating to the details place.
777 2011-06-27 Ben Konrath <ben@bagu.org>
779 Use filename based unique document ID in URL and for RPC.
781 The document ID is the glom document name with spaces (' ') replaced
782 with pluses ('+') and without the .glom extension.
784 This change is mostly a string substitution of 'documentTitle' for
785 'documentID'. The only code change is the addition of a Documents DTO to get the
786 filename to document title mappings as indicated below.
788 * src/main/java/org/glom/web/client/OnlineGlomService.java:
789 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
790 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
791 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
792 Use Documents DTO to create the document links in the document
794 * src/main/java/org/glom/web/client/activity/ListActivity.java:
795 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
796 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
797 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
798 * src/main/java/org/glom/web/client/place/ListPlace.java:
799 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
800 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
801 * src/main/java/org/glom/web/client/ui/ListView.java:
802 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
803 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
804 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
805 * src/main/java/org/glom/web/server/Log.java:
806 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
807 getDocumentTitles() to getDocuments() and return the Documents DTO.
808 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
809 transferring the filename to document title mappings.
811 2011-06-25 Ben Konrath <ben@bagu.org>
813 Make the authentication popup work again.
815 This bug was introduced when I extracted ConfiguredDocument to its own class.
817 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
818 correct success / fail status in setUsernameAndPassword().
820 2011-06-25 Ben Konrath <ben@bagu.org>
822 Use filename as unique key for configuring database usernames and passwords.
824 This replaces the use of the Glom document title which could change
825 depending on the locale. Thanks to Murray Cumming for pointing out this
828 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
829 * src/main/resources/onlineglom.properties:
831 2011-06-24 Ben Konrath <ben@bagu.org>
833 Pass primary key value to DetailsView.
835 This enables the DetailsView to load the correct data.
837 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
838 primary key value field and set in constructor. Pass primary key
839 value to getDetailsData().
840 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
841 variables for document title and primary key value.
842 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
843 key value to the DetailsPlace.
845 2011-06-24 Ben Konrath <ben@bagu.org>
847 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
849 This allows the primary key to be retrieved by the Details button. This
850 functionality has not been implemented yet but it's in the works.
852 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
853 the LayoutGroup result to ListView.setCellTable instead of all of its
855 * src/main/java/org/glom/web/client/ui/ListView.java:
856 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
857 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
858 get the primary key for the table.
859 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
860 index of the primary key in the LayoutGroup accounting for hidden
861 primary keys. Rename getJavaNumberFormat() to
862 convertToJavaNumberFormat() for consistency. Cleanup / add some
864 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
865 field for primary key index and a field to indicate whether the
866 primary key is hidden or not.
868 2011-06-23 Ben Konrath <ben@bagu.org>
870 Rename getTableData methods to getListData.
872 This is a rename refactor for consistency with other methods.
874 * src/main/java/org/glom/web/client/OnlineGlomService.java:
875 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
876 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
877 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
879 2011-06-23 Ben Konrath <ben@bagu.org>
881 Extract the ConfiguredDocument innerclass into its own class.
883 This makes the servlet code more object oriented.
885 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
886 from private ConfiguredDocument class in OnlineGlomServiceImpl.
887 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
888 new ConfiguredDocument class.
890 2011-06-21 Ben Konrath <ben@bagu.org>
892 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
894 This makes things more inline with how libglom works and reduces code
895 duplication. This refactor lays the groundwork for adding the primary key to
896 the LayoutGroup object.
898 * src/main/java/org/glom/web/client/OnlineGlomService.java:
899 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
900 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
901 Change method names to getListLayout and getDefaultListLayout for
902 consistency. Use LayoutGroup as the DTO for the list layout instead of
903 ColumnInfo and LayoutListTable.
904 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
905 new method names along with the LayoutGroup object for transferring the
907 * src/main/java/org/glom/web/client/ui/ListView.java:
908 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
909 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
910 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
912 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
913 Replaced with LayoutGroup.
914 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
915 expectedResultSize and defaultTableName fields which are needed for
917 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
918 type field which is needed for the list layout but will also be
919 useful for the details layout as things progress.
920 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
921 Make class abstract. Remove the unnecessary
922 getFormattingHorizontalAlignment method. Add setFormatting method.
924 2011-06-16 Ben Konrath <ben@bagu.org>
926 Add scripts for building and installing war.
928 These will help when updating OnlineGlom but they're also good
929 supplemental documentation of the build and deployment proceeding.
931 * utils/build-onlineglom-war.sh: New file.
932 * utils/install-onlineglom-war.sh: New file.
934 2011-06-16 Ben Konrath <ben@bagu.org>
936 Create wrapper class to create consistent log messages.
938 I wrapped methods in the Log class of gwt-log to add the method names
939 from the servlet and create consistent formatting of the document title
940 and table names in the log messages.
942 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
943 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
944 log methods to use methods from wrapped Log class.
946 2011-06-16 Ben Konrath <ben@bagu.org>
948 Remove superfluous conditional return.
950 Thanks to Murray Cumming for pointing this out!
952 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
954 2011-06-15 Ben Konrath <ben@bagu.org>
956 Return an ArrayList of LayoutGroups for the Details layout.
958 This corrects a problem with the details layout as it can have more
959 than one top level LayoutGroup.
961 * src/main/java/org/glom/web/client/OnlineGlomService.java:
962 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
963 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
964 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
965 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
966 with ArrayList of LayoutGroups for the details view layout.
967 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
968 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
969 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
970 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
971 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
972 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
974 2011-06-14 Ben Konrath <ben@bagu.org>
976 Use cast_dynamic method to determine the libglom LayoutItem type.
978 This is better than finding the LayoutItem type by using the string
979 returned from the get_part_type_name() method.
981 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
983 2011-06-14 Ben Konrath <ben@bagu.org>
985 Add method names to log entries in the servlet.
987 This helps when tracking down deployment problems.
989 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
991 2011-06-14 Ben Konrath <ben@bagu.org>
993 Add data to the DetailsView using a hard-coded primary key value.
995 The layout and functionality of the DetailsView is not complete. This
996 is just a checkpoint so the patch doesn't get too big.
998 * src/main/java/org/glom/web/client/OnlineGlomService.java:
999 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1000 Add getDetailsData() servlet method.
1001 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1002 Add RPC to getDetailsData(). Change the way the LayoutGroups and
1003 LayoutFields are added to the DetailsView.
1004 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1005 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1006 Add setData() method. Change addLayoutGroup() and addLayoutField() to
1007 take the string for the title instead of the object.
1008 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1009 Add implementation getDetailsData() along with some private helper
1011 * src/main/webapp/style.css: Add padding to details-data class. Add a
1012 details-label class with the same padding as the details-data class.
1014 2011-06-03 Ben Konrath <ben@bagu.org>
1016 Use presenter.goTo() to change to the DetailsPlace.
1018 This will make things easier when we need to open the DetailsView with
1019 data specific to the row that was clicked.
1021 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1023 2011-06-02 Ben Konrath <ben@bagu.org>
1025 Add CSS file from mockups.
1027 I'm adding this now because it's going to be useful to have when
1028 developing the DetailsView. The TableSelectionView and ListView aren't
1031 * src/main/webapp/OnlineGlom.html:
1032 * src/main/webapp/style.css:
1034 2011-06-02 Ben Konrath <ben@bagu.org>
1036 Use String.isEmpty() to check for empty string.
1038 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1040 2011-06-02 Ben Konrath <ben@bagu.org>
1042 Display main layout group titles in the DetailsView.
1044 This is the start of the DetailsActivity/DetailsView implementation.
1046 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1047 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1048 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
1049 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1050 Get the layout information for the details view from the server and set
1051 the main layout group titles.
1052 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1053 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1054 Add addLayoutGroup() and addLayoutField() methods. This are just
1055 temporary methods for creating the the details view that will change
1057 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1058 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
1060 * src/main/java/org/glom/web/shared/layout/Formatting.java:
1061 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1062 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
1063 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
1064 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1065 Data Transfer Objects that mimic the libglom object structure. These are
1066 used for transferring the details layout but could also be used for
1067 transferring the list layout.
1069 2011-05-27 Ben Konrath <ben@bagu.org>
1071 Reset the AuthenticationPopup when clearing the ListView.
1073 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1075 2011-05-27 Ben Konrath <ben@bagu.org>
1077 Fix problem with onlineglom.properties file loading.
1079 The old way worked in Eclipse but not on the server. Loading the
1080 onlineglom.properties file now works in Eclipse and on the server.
1082 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1084 2011-05-24 Ben Konrath <ben@bagu.org>
1086 Update gwt-log from 3.1.0 to 3.1.2.
1088 Gwt-log 3.1.0 has been marked as depreciated.
1092 2011-05-24 Ben Konrath <ben@bagu.org>
1094 Add comment to ListActivity.goTo() method.
1096 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1098 2011-05-24 Ben Konrath <ben@bagu.org>
1100 Remove FIXME in convertGdkColorToHtmlColour()
1102 The Gdk::Color value returned by libglom is 16-bits per channel on both
1103 64 and 32-bit platforms.
1105 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1107 2011-05-19 Ben Konrath <ben@bagu.org>
1109 Improve performance of initial ListView load.
1111 I removed a round trip to the server for getting the default table name
1112 and then requesting information about that table. This also removes a potential
1113 problem with the table change handler not being setup in time to receive the
1114 table change event from the ListActivity.
1116 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1117 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1118 getDefaultLayoutListTable() method. Improve comments.
1119 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1120 getDefaultLayoutListTable() method instead of firing a table change
1121 event to get the table to load.
1122 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1123 implementation of getDefaultLayoutListTable() method.
1124 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1127 2011-05-19 Ben Konrath <ben@bagu.org>
1129 Override toDebugString() in TableChangeEvent.
1131 This is useful to have for debugging.
1133 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1135 2011-05-19 Ben Konrath <ben@bagu.org>
1137 Add a "Back to List" link when at the DetailsPlace.
1139 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1140 Populate the CellTable based on the selected table of the ListBox if
1141 it's set otherwise use the default table. This allows the "Back to
1143 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1144 Remove Place from constructors. Add a setPlace() method. Add
1145 goToPlace() method. Set class as presenter for TableSelectionView.
1146 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1147 Use the same TableSelectionActivity when switching between the List and
1149 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1150 Subclass the new HasSelectableTablePlace. This removes some duplicate
1152 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1153 New class to represent Places that display the TableSelectionView.
1154 * src/main/java/org/glom/web/client/place/ListPlace.java:
1155 Subclass the new HasSelectableTablePlace. This removes some duplicate
1157 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1158 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1159 Add Presenter interface. Add setBackLinkVisible() method. Add
1160 setBackLink() method.
1162 2011-05-18 Ben Konrath <ben@bagu.org>
1164 Enable the "Details" buttons.
1166 Right now only an empty details view is displayed.
1168 * src/main/java/org/glom/web/client/ClientFactory.java:
1169 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1170 Add DetailsView to ClientFactory.
1171 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1172 A basic activity for the details view.
1173 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1174 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
1176 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1177 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
1179 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1180 Create a new DetailsActivity when a DetailsPlace is requested. Remove
1181 unnecessary super() in constructor.
1182 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1183 Create a new TableSelectionActivity when a DetailsPlace is requested. We
1184 really shouldn't create a new TableSelectionActivity for both the ListPlace
1185 and the DetailsPlace so this should be considered a temporary solution.
1186 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1187 New file. Represents a URL for the details view.
1188 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1189 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1190 A basic details view interface and implementation.
1191 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1192 Enable the "Details" buttons.
1194 2011-05-12 Ben Konrath <ben@bagu.org>
1196 Use a LayoutPanel with multiple display areas for main layout.
1198 This is mostly a refactor in that there are no changes from the user
1199 point of view. These changes are required so that we can swap out the list view
1200 with the details view when the user clicks the "Details" button.
1202 * src/main/java/org/glom/web/client/ClientFactory.java:
1203 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1204 OnlineGlomView. Add TableSelectionView, ListView and
1205 AuthenticationPopup.
1206 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
1207 for main layout. Add display regions for main activities. Add
1208 activity manager for for main activities.
1209 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
1210 file from parts of the deleted OnlineGlomActivity.
1211 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1212 New file from parts of the deleted OnlineGlomActivity.
1213 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1214 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
1215 New files for app wide table change event.
1216 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1217 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
1218 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1219 Activity mappers for the main activities replace the deleted app-wide
1221 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
1222 Fix a spelling error in he comment.
1223 * src/main/java/org/glom/web/client/ui/ListView.java:
1224 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1225 Renamed from LayoutListView and modified for MVP. This still not a
1226 proper dumb view as prescribed by the MVP pattern but it works for now.
1227 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1228 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1229 New widget stripped out of the deleted OnlineGlomView.
1230 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1231 Remove hack that is fixed by this patch.
1233 2011-05-06 Ben Konrath <ben@bagu.org>
1235 Rename OnlineGlomPlace to ListPlace.
1237 The only change besides the rename is that url will now display #list
1238 instead of #Document.
1240 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1241 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1242 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1243 * src/main/java/org/glom/web/client/place/ListPlace.java:
1244 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1246 2011-05-06 Ben Konrath <ben@bagu.org>
1248 Use Presenter for app navigation.
1250 This is the proper way to deal with Place (URL) changes with the MVP
1253 * src/main/java/org/glom/web/client/ClientFactory.java:
1254 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1255 PlaceHistoryMapper and PlaceHistoryHandler.
1256 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
1257 PlaceHistoryMapper and PlaceHistoryHandler.
1258 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1259 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
1260 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1261 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1262 Add Presenter interface and setPresenter methods. Rename addHyperLink
1263 to addDocumentLink taking only the document title as a parameter.
1265 2011-04-14 Ben Konrath <ben@bagu.org>
1267 Prompt for db username/password if they haven't been set.
1269 This is implemented with a popup widget that is contained within the
1270 OnlineGlomView and managed by the OnlineGlomActivity.
1272 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
1273 methods for checking and setting the database username and password.
1274 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
1275 new methods for checking and setting the database username and
1277 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1278 Display authentication popup if the JDBC connection to the database
1279 has not been authenticated.
1280 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
1282 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1283 for dealing with the authentication popup.
1284 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
1285 Implement the methods for dealing with the authentication popup.
1286 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
1287 try to executed queries if the database connection hasn't been
1288 authenticated. Implement methods for checking and setting the
1289 database username and password.
1291 2011-04-12 Ben Konrath <ben@bagu.org>
1293 Make log messages a little clearer.
1295 Add a dash betweeen the document title and the table name.
1297 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1299 2011-04-12 Ben Konrath <ben@bagu.org>
1301 Protect against NPEs when cleaning up database resources.
1303 While this isn't strictly necessary because the exception is caught,
1304 not protecting against the NPEs makes it harder to find the real error
1307 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1309 2011-04-12 Ben Konrath <ben@bagu.org>
1311 Move configuration of the servlet to the constructor.
1313 The servlet will be initialized even if the database authentication
1314 information is not set or correct. I still need to add the UI for prompting
1315 the user for the authentication information when it's required.
1317 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1318 javadocs for getDocumentTitles() method.
1319 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1320 Set error message when RPC fails.
1321 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
1322 glom files directory from the configuration file. Try to set the
1323 database authentication information for the specific document if it's
1324 set and works otherwise try to use the global authentication
1325 information set for the directory.
1326 * src/main/resources/onlineglom.properties: Moved from
1327 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
1328 Added detailed comments for the new keys.
1330 2011-04-11 Ben Konrath <ben@bagu.org>
1332 Remove unnecessary @Override in DocumentSelectionViewImpl.
1334 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1336 2011-04-11 Ben Konrath <ben@bagu.org>
1338 Remove center alignment in DocumentSelectionView.
1340 The title element is still centred but the document titles and bottom
1341 sentence are both left-aligned.
1343 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1345 2011-04-11 Ben Konrath <ben@bagu.org>
1347 Change 'Demo' naming convention to 'Document'.
1349 This is just a rename refactor with no functional changes to the code.
1351 * src/main/java/org/glom/web/client/ClientFactory.java:
1352 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1353 * src/main/java/org/glom/web/client/OnlineGlom.java:
1354 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1355 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1356 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1357 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1358 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1359 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1360 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1361 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1362 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1363 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1365 2011-04-08 Ben Konrath <ben@bagu.org>
1367 Remove FIXME from safeLongToInt() method.
1369 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1372 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1374 2011-04-08 Ben Konrath <ben@bagu.org>
1376 Display an error if no glom documents are found in the specified directory.
1378 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1379 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1380 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1381 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1383 2011-04-08 Ben Konrath <ben@bagu.org>
1385 Add copyright header to one more file ... oops.
1387 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1389 2011-04-08 Ben Konrath <ben@bagu.org>
1391 Add copyright header to files without it.
1393 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1394 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1395 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1396 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1397 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1398 * src/main/java/org/glom/web/shared/GlomField.java:
1400 2011-04-08 Ben Konrath <ben@bagu.org>
1402 Add support for accessing multiple glom documents in the servlet.
1404 This completes the demo selection functionality.
1406 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1407 document title to methods.
1408 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1409 document title to methods.
1410 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1411 Set browser window title when the activity starts. Correct name of
1412 document title variable.
1413 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1414 Set browser window title when the activity starts. Set the table
1415 selector change handler after table selector has been set. Clear the
1416 OnlineGlomView when the activity has been stopped.
1417 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1418 document title as the place token. Use "#Document:" instead of
1419 "#OnlineGlomPlace:" in the URL.
1420 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1421 Change heading to "Online Glom"
1422 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1423 document title in RPC methods.
1424 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1425 setDocumentTitle() method. Add clear() method.
1426 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1427 setDocumentTitle() method. Implement clear() method which removes the
1428 change handler on the ListBox, clears the ListBox and clears the
1430 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1431 Implement methods with document title. Keep track for the configured
1432 glom documents and their corresponding JDBC configurations in a hash
1433 table. This information is retrieved using the document title as the
1434 key in the hash table.
1435 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1436 document title field as it's no longer needed.
1438 2011-04-08 Ben Konrath <ben@bagu.org>
1440 Update the Eclipse JDT configuration.
1442 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1443 methods. Automatically add the copyright header to new files.
1445 2011-04-05 Ben Konrath <ben@bagu.org>
1447 Add new page for demo selection.
1449 This patch adds all the components required to view and start an
1450 OnlineGlom demo by clicking on the desired hyperlink. The user is
1451 able to return to the demo selection page with the browser's back
1452 button. I still need to modify the servlet to work with multiple
1453 documents so all demo links will load the file defined in the
1454 OnlineGlom.properties.
1456 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1457 This is only useful during development so we don't need to save it.
1458 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1459 get a reference to the DemoSelectionView.
1460 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1461 method to get a reference to the DemoSelectionView.
1462 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1463 default view to DemoSelectionView.
1464 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1465 to get glom document titles for glom files in a hard-coded directory.
1466 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1467 method to get glom document titles for glom files in a hard-coded
1469 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1470 Presenter for DemoSelectionView.
1471 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1472 for DemoSelectionView.
1473 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1474 Update for DemoSelectionView.
1475 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1476 Basic 'Place' implementation for the DemoSelectionView.
1477 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1478 The interface for the DemoSelectionView.
1479 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1480 The implementation of the DemoSelectionView.
1481 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1482 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1483 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1484 implementation of method to get glom document titles for glom files
1485 in a hard-coded directory.
1486 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1487 on longer being used.
1488 * src/main/webapp/glom.png: Glom logo.
1490 2011-04-05 Ben Konrath <ben@bagu.org>
1492 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1494 This is the forth and final commit of a refactor that will allow
1495 OnlineGlom to be used with multiple documents.
1497 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1498 Move RPC code from OnlineGlomViewImpl to this class.
1499 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1501 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1502 RPC code to the presenter class (the P in MVP).
1504 2011-04-04 Ben Konrath <ben@bagu.org>
1506 Start moving the existing OnlineGlom code to MVP.
1508 This work is based on the GWT MVP framework that is documented here:
1510 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1512 This is the third commit of a refactor that will allow OnlineGlom to
1513 be used with multiple documents.
1515 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1516 Interface for client factory which is used to get instances of various
1517 classes throughout the app.
1518 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1519 Implementation of client factory.
1520 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1521 initialize the MVP framework.
1522 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1523 New file. Activity manager for the main container widget. This is the
1525 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1526 Maps place (URL) to its corresponding activity.
1527 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1528 New file. This is just a place holder for a generated file.
1529 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1530 New file. Represents the URL for the main Online Glom app.
1531 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1532 for changes in LayoutListViewImpl.
1533 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1534 interface for View. Move code to OnlineGlomViewImpl class.
1535 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1536 file. Implementation of OnlineGlomView.
1537 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1538 Place resources. Use ClientFactoryImpl by default.
1540 2011-04-04 Ben Konrath <ben@bagu.org>
1542 Move View classes to their own package.
1544 This is the second commit of a refactor that will allow OnlineGlom to
1545 be used with multiple documents.
1547 * src/main/java/org/glom/web/client/OnlineGlom.java:
1548 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1549 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1551 2011-04-02 Ben Konrath <ben@bagu.org>
1553 Move UI code from the main module to its own class.
1555 This is the first commit of a refactor that will allow OnlineGlom to be
1556 used with multiple documents.
1558 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1559 references to OnlineGlom to OnlineGlomView.
1560 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1561 OnlineGlomView and instantiate it here.
1562 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1563 represents the main OnlineGlomView with one document.
1565 2011-04-01 Ben Konrath <ben@bagu.org>
1567 Fix formatting of gwt.xml and add DTD.
1569 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1571 2011-03-30 Ben Konrath <ben@bagu.org>
1573 Propperly convert gdkColor string to html colour string.
1575 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1577 2011-03-28 Ben Konrath <ben@bagu.org>
1579 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1581 This implementation matches
1582 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1583 readable and is not tied to Swig.
1585 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1587 2011-03-28 Ben Konrath <ben@bagu.org>
1589 Use read-only checkboxes for boolean field types.
1591 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1592 in the CellTable based on the field type. It currently only
1593 distinguishes between boolean and text columns but I'll need to add
1594 support for more types.
1595 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1596 column type in the ColumnInfo object. Add method to convert between the
1597 glom field type enum in ColumnInfo and the glom field type in libglom.
1598 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1600 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1601 getting and setting booleans.
1603 2011-03-25 Ben Konrath <ben@bagu.org>
1605 Don't get the Date twice from the ResultSet.
1607 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1609 2011-03-25 Ben Konrath <ben@bagu.org>
1611 Cleanup code in the servlet.
1613 * TODO: Remove item about row count. Add item about testing row count
1614 query with large number of rows.
1615 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1616 spelling mistakes, change method parameter to be consistent with
1619 2011-03-25 Ben Konrath <ben@bagu.org>
1621 Add server side logging with the gwt-log library.
1623 * .gitignore: Ignore the log file we're now producing.
1624 * TODO: Add a couple TODO item for logging.
1625 * pom.xml: Add gwt-log and log4j as a dependency.
1626 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1627 logging of errors, warnings and some important info.
1628 * src/main/resources/log4j.properties: New file to configure log4j.
1630 2011-03-24 Ben Konrath <ben@bagu.org>
1632 Add a disable button for the Details view.
1634 * src/main/java/org/glom/web/client/LayoutListView.java:
1636 2011-03-22 Ben Konrath <ben@bagu.org>
1638 Use a count query to get the number of rows for the list view pager.
1640 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1642 2011-03-22 Ben Konrath <ben@bagu.org>
1644 Add more TODO information about CellTable pager positioning.
1648 2011-03-19 Ben Konrath <ben@bagu.org>
1650 Add TODO item about CellTable pager positioning.
1654 2011-03-18 Ben Konrath <ben@bagu.org>
1656 Remove unneeded GlomFieldColumn class.
1658 This is just a small code cleanup.
1660 * src/main/java/org/glom/web/client/LayoutListView.java:
1662 2011-03-18 Ben Konrath <ben@bagu.org>
1664 Use cursor mode in the query that gets data for the list view.
1666 I still need to fix the potential memory problem when getting the row
1667 count for the list view.
1669 * TODO: Add note about testing memory usage with large data sets. Add
1670 item about fixing row counting with large data sets.
1671 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1672 PostgreSQL JDBC driver into cursor mode when getting data for the
1675 2011-03-15 Ben Konrath <ben@bagu.org>
1677 Remove the GWT Container from the Eclipse build classpath.
1679 The GWT dependencies are set by Maven so this isn't needed.
1683 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1685 Added some earlier mockups to git, but not to the tarball dist.
1687 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1688 Openismus. These hopefully show how we might structure the HTML so that
1689 it can be styled easily with CSS. However, we probably need to adapt them
1690 for the CSS structure that GWT dictates for common widgets.
1692 2011-03-14 Ben Konrath <ben@bagu.org>
1694 Locate OnlineGlom.properties using the ServletContext.
1696 This is required to be able to locate the file in the deployed servlet.
1698 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1699 Configure the database and glom document in in a helper method so
1700 that the ServletContext can be used to locate OnlineGlom.properties.
1701 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1702 src/main/webapp. This is the proper location for .properites files.
1704 2011-03-12 Ben Konrath <ben@bagu.org>
1706 Add note to README about why we're compiling down to obfuscated JavaScript.
1710 2011-03-11 Ben Konrath <ben@bagu.org>
1712 Use properties file to configure servlet.
1714 This allows people to change the glom file path, db username and db
1715 password without recompiling the code.
1717 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1718 * src/main/webapp/OnlineGlom.properties:
1720 2011-03-11 Ben Konrath <ben@bagu.org>
1722 Use table fields in layout list view if the layout list is not defined.
1724 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1725 Manually create a LayoutFieldVector for the query builder using the
1726 table fields when a layout list is not defined in the glom file.
1728 2011-03-11 Ben Konrath <ben@bagu.org>
1730 Only show FIXME string for images when there's an image.
1732 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1733 in this change are some small code cleanups.
1735 2011-03-11 Ben Konrath <ben@bagu.org>
1737 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1739 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1741 2011-03-11 Ben Konrath <ben@bagu.org>
1743 Correctly set the index of the default table.
1745 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1746 Correctly set the index of the default table. Add commented out example
1749 2011-03-10 Ben Konrath <ben@bagu.org>
1751 Add comment to pom.xml about the previous change.
1753 * pom.xml: Add comment about the deployment issue so that it's obvious
1754 why java-libglom is set to the provided scope.
1756 2011-03-10 Ben Konrath <ben@bagu.org>
1758 Change java-libglom dependency from compile to provided in pom.xml.
1760 Since java-libglom uses jni it can only be loaded once and therefore
1761 must be placed in $CATALINA_HOME/lib and not included in each war.
1762 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1763 More information about this issue can be found in the Tomcat 6 release
1764 notes in the "JNI Based Applications" section:
1766 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1768 * README: Remove note about this issue. Deployment info should really
1769 be on the wiki anyway so I'll add it right now.
1770 * pom.xml: Change java-libglom dependency from compile to provided so
1771 that it's copied in to the packaged war.
1773 2011-03-09 Ben Konrath <ben@bagu.org>
1775 Change to using a neutral locale for currency, date and time formatting.
1777 This solves the problem of currency values being represented without a
1778 space between the currency code and the number (e.g. "EUR5.89" is now
1779 represented as "EUR 5.89"). More work is required when we implement
1780 a locale preference setting.
1782 * TODO: Add note about currency formatting issues with different
1784 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1785 to using the neutral ROOT locale.
1787 2011-03-09 Ben Konrath <ben@bagu.org>
1789 Add support for currency codes that are not ISO 4217 codes.
1791 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1792 the currency code defined in the glom file when it's not 3 characters
1793 long or when Java doesn't recognize the string as an ISO 4217 code.
1795 2011-03-08 Ben Konrath <ben@bagu.org>
1797 Remove test classes, launch configurations and configuration.
1799 The test stuff was getting in the way when creating the war. To make
1800 the war file you can now do 'mvn clean package'. The packaged war file
1801 will be in the target directory.
1803 * .classpath: Remove unused classpathentry for tests and i18n.
1804 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1805 property. Don't run test or i18n goals when packaging the war.
1806 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1811 * OnlineGlomTest-dev.launch:
1812 * OnlineGlomTest-prod.launch:
1813 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1814 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1816 2011-03-07 Ben Konrath <ben@bagu.org>
1818 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1820 These fixes allow me to use 'mvn deploy' to create the war file.
1822 * .classpath: This generated config has been updated by Eclipse. This
1823 change was probably triggered by me updating from Eclipse 3.6.1 to
1825 * .gitignore: Add entry to ignore the directory
1826 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1827 * .project: The generated config has been updated by Eclipse. This
1828 change was probably triggered by me updating from Eclipse 3.6.1 to
1830 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1831 so that Eclipse doesn't complain
1832 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1833 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1834 'tests' directory to 'client' directory. This is the new
1835 gwt-maven-plugin convension.
1836 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1837 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1839 2011-03-07 Ben Konrath <ben@bagu.org>
1841 Add support for horizontal alignment in the LayoutList columns.
1843 * TODO: Remove item about horizontal alignment. Add item about
1844 improvements to ColumnInfo.
1845 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1846 alignment on the columns. Use ColumnInfo RPC object get the column
1847 title and horizontal alignment.
1848 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1849 LayoutListView creation with ColumnInfo RPC object.
1850 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1851 a ColumnInfo object for every LayoutList columnn. Convert the
1852 FieldFormatting.HorizontalAlignment to the correct
1853 ColumnnInfo.HorizontatlAlignment with the new
1854 getColumnInfoHorizontalAlignment helper method.
1855 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1856 to encapsulate column information like alignment and title. This
1857 could be used to set the colour instead of on a per cell field basis.
1858 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1859 column title storage and retrieval with ColumnInfo.
1861 2011-03-04 Ben Konrath <ben@bagu.org>
1863 Add support for column sorting.
1865 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1866 AsynDataProvider to be an anonymous inner class. Use new
1867 getSortedTableData RPC method when column sort is requested. Set all
1868 columns sortable and add an AsyncHandler to activate sorting in the
1870 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1871 method getSortedTableData(). Cleanup other method signatures.
1872 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1873 new method getSortedTableData(). Cleanup other method signatures.
1874 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1875 Implement getSortedTableData() and getTableData() methods by using a
1876 private helper method with the appropriate parameters filled in. Use
1877 user supplied sort clause when supplied, otherwise fall back to
1878 sorting by the primary key. Move destroy() method to be underneath
1879 constructor for readability. Cleanup comments.
1881 2011-03-03 Ben Konrath <ben@bagu.org>
1883 Add support for colour text and colour backgrounds to the layout list cells.
1885 Only the cell backgrounds are coloured which leaves a gap between the
1886 cells that isn't coloured. I need to figure out a way to set
1887 'style=background-colour:' on the whole column rather than just the
1890 * TODO: Add a note about colouring the background of the whole column.
1891 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1892 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1893 render the coloured text and backgrounds. Use GlomField[] for the row type.
1894 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1896 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1897 GlomField[] for the row type.
1898 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1899 GlomField[] for the row type. Set the text, text colour and background
1900 colour in the GlomField objects as specified in the glom document. Add
1901 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1902 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1903 the glom field text, foreground colour and background colour.
1905 2011-03-02 Ben Konrath <ben@bagu.org>
1907 Don't display hidden tables in the combo box.
1909 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1911 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1912 code to ignore hidden tables using ArrayLists for the table names and
1914 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1915 tableNames to use ArrayLists instead of String[]. Update getter and setter
1918 2011-03-01 Ben Konrath <ben@bagu.org>
1920 Add support for Date and Time number types.
1922 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1923 Implement formatting for Date and Time values. Change the default glom
1924 file to small business example.
1926 2011-03-01 Ben Konrath <ben@bagu.org>
1928 Add support for formatting glom types as specified in the glom file.
1930 Formatting isn't finished yet - I still need to add support for Date
1933 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1934 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1935 checks for null values in JDBC cleanup code and catch all exceptions
1936 instead of just SQLExceptions.
1937 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1940 2011-03-01 Ben Konrath <ben@bagu.org>
1942 Use GWT 2.2.0 instead of 2.1.1.
1944 * pom.xml: Change GWT version numbers.
1946 2011-03-01 Ben Konrath <ben@bagu.org>
1948 A few small code cleanups.
1950 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1952 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1953 unnecessary object creation in constructor.
1954 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1955 unnecessary object creation in constructor.
1957 2011-02-28 Ben Konrath <ben@bagu.org>
1959 Add file for TODO list.
1963 2011-02-18 Ben Konrath <ben@bagu.org>
1965 Enable the CellTable Pager when more than 20 rows need to be viewed.
1967 The Pager will automatically become active when the results are larger
1968 than the CellTable size which is currently set to 20 lines.
1970 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1971 name on debug statment in RPC call in LayoutListDataProvider, add
1972 numRows parameter to LayoutListView constructor, propperly set rowCount
1974 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1975 name on debug statment in RPC call, use LayoutListTable object in RPC
1976 calls, pass rowCount to LayoutListView.
1977 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1978 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1980 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1981 interface for changes in OnlineGlomService.
1982 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1983 getLayoutListHeaders() to getLayoutListTable() and return
1984 LayoutListTable. Using this object allows me to pass other information
1985 about the LayoutList like the expected number of rows in the result set.
1986 The Connection object from the connection pool is now propperly closed.
1987 Only the requested number of lines are returned to the client in
1989 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1990 GlomTable and add columnTitles and numRows.
1992 2011-02-18 Ben Konrath <ben@bagu.org>
1994 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1996 This is a small performance boost. I'll use GlomTable to get the required
1997 layoutlist information.
1999 * src/main/java/org/glom/web/client/OnlineGlom.java:
2000 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2001 * src/main/java/org/glom/web/shared/GlomDocument.java:
2003 2011-02-18 Ben Konrath <ben@bagu.org>
2005 Add option to turn off formatting in JDT formatter preferences.
2007 * .settings/org.eclipse.jdt.core.prefs:
2009 2011-02-18 Ben Konrath <ben@bagu.org>
2011 Rename LayoutList to LayoutListView.
2013 I'm working towards setting things up to easily use MVP when the time
2016 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
2018 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2021 2011-02-17 Ben Konrath <ben@bagu.org>
2023 Move LayoutListDataProvider class into LayoutList.java.
2025 * src/main/java/org/glom/web/client/LayoutList.java:
2027 2011-02-17 Ben Konrath <ben@bagu.org>
2029 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
2031 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
2033 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
2034 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
2035 from LibGlomServer.java.
2036 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2037 Rename from LibGlomServiceAsync.java.
2038 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2039 Rename from LibGlomServiceImpl.java.
2040 * src/main/webapp/WEB-INF/web.xml: Update configuration.
2042 2011-02-17 Ben Konrath <ben@bagu.org>
2044 Update JDT settings.
2046 * .settings/org.eclipse.jdt.core.prefs:
2048 2011-02-17 Ben Konrath <ben@bagu.org>
2050 Move GWT-RPC objects to shared package (where they should be).
2052 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
2053 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
2054 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
2055 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
2056 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
2057 org.glom.web.shared package.
2058 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
2059 org.glom.web.shared package.
2060 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
2061 directory in compilation to javascript.
2063 2011-02-16 Ben Konrath <ben@bagu.org>
2065 Add sort clause to the sql query that grabs table information.
2067 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2068 if one of the columns is a primary key.
2070 2011-02-16 Ben Konrath <ben@bagu.org>
2072 Disable generateAsync feature of gwt-maven.
2074 The generated interface does not correctly match the methods in LibGlomService
2075 and the generated singleton Util inner-class doesn't respect the servlet
2078 * pom.xml: Turn off generateAsync feature.
2079 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2080 with singleton Util inner-class.
2082 2011-02-14 Ben Konrath <ben@bagu.org>
2084 Add LGPL v3 licence notices.
2086 Followed directions listed here:
2087 http://www.gnu.org/licenses/gpl-howto.html
2089 * COPYING: This file is a copy of the GPL v3.
2090 * COPYING.LESSER: This file is a copy of the LGPL v3.
2091 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2093 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2095 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2097 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2099 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2101 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2103 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2106 2011-02-14 Ben Konrath <ben@bagu.org>
2108 Use ArrayList instead of Array in GWT-RPC calls.
2110 Apparently this gives a slight performance boost to the compiled
2113 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2115 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2118 2011-02-14 Ben Konrath <ben@bagu.org>
2120 Access data from a postgres db rather than the example glom file.
2122 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2123 compile down to obfuscated javascript.
2124 * pom.xml: Add c3p0 and postgres JDBC libraries.
2125 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2126 using a postgres db accessed through the c3p0 connection pooling library.
2128 2011-02-14 Ben Konrath <ben@bagu.org>
2130 Update Java formatter settings.
2132 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
2134 2011-02-02 Ben Konrath <ben@bagu.org>
2136 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
2138 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
2140 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
2141 the compiled webapp directory that Eclipse uses as we're using Maven now.
2142 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
2143 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
2145 * pom.xml: Format file, change target Java version to 1.6.
2147 2011-02-02 Ben Konrath <ben@bagu.org>
2149 Add information about a deployment related issue.
2151 * README: Add Notes section with the problem outlined.
2153 2011-02-02 Ben Konrath <ben@bagu.org>
2155 Call Glom.libglom_deinit() when the servlet is shutdown.
2157 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2158 Glom.libglom_deinit() to destroy() method.
2160 2011-01-28 Ben Konrath <ben@bagu.org>
2162 Use generated Util class to get the RPC Async interface.
2164 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
2166 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
2167 getInstance() method to get a reference to the RPC Async interface.
2168 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
2169 getInstance() method to get a reference to the RPC Async interface, remove
2170 the now unused getLibGlomServiceProxy() method.
2172 2011-01-27 Ben Konrath <ben@bagu.org>
2174 Cleanup ChangeLog entry from previous commit.
2176 * ChangeLog: Group logical changes together and add comments.
2178 2011-01-25 Ben Konrath <ben@bagu.org>
2180 Convert to gwt-maven project.
2182 * .gitignore: Update for new project structure.
2183 * README: New file with a link to the online documentation.
2184 * pom.xml: The generated maven configuration file with some tweaks.
2186 Add / update Eclipse settings. These files are a merge of the files that
2187 were generated with the gwt-maven plugin and the files we were previously
2191 * .settings/.jsdtscope:
2192 * .settings/com.google.gdt.eclipse.core.prefs:
2193 * .settings/com.google.gwt.eclipse.core.prefs:
2194 * .settings/org.eclipse.jdt.core.prefs:
2195 * .settings/org.eclipse.wst.common.component:
2196 * .settings/org.eclipse.wst.common.project.facet.core.xml:
2197 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
2198 * .settings/org.maven.ide.eclipse.prefs:
2199 * OnlineGlomTest-dev.launch:
2200 * OnlineGlomTest-prod.launch:
2202 Java source files moved from the 'src' directory to the directory structure
2204 * src/main/java/org/glom/web/client/GlomDocument.java:
2205 * src/main/java/org/glom/web/client/GlomTable.java:
2206 * src/main/java/org/glom/web/client/LayoutList.java:
2207 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
2208 * src/main/java/org/glom/web/client/LibGlomService.java:
2209 * src/main/java/org/glom/web/client/OnlineGlom.java:
2210 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
2212 Non-functional property file used for translations. I included this as
2213 reminder that it's something I need to sort out.
2214 * src/main/resources/org/glom/web/client/Messages.properties:
2216 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
2217 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2219 The servlet configuration files moved from the 'war' directory.
2220 * src/main/webapp/OnlineGlom.css:
2221 * src/main/webapp/OnlineGlom.html:
2222 * src/main/webapp/WEB-INF/web.xml:
2224 Generated test files with most of the code commented out. I included these
2225 so that it's easy to add tests when we're ready for them.
2226 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
2227 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2229 2011-01-25 Ben Konrath <ben@bagu.org>
2231 Remove unused println.
2233 * src/org/glom/web/server/LibGlomServiceImpl.java:
2235 2011-01-25 Ben Konrath <ben@bagu.org>
2237 Add project specific JDT settings.
2239 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
2240 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
2242 2011-01-25 Ben Konrath <ben@bagu.org>
2244 Populate celltable with example data.
2246 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
2247 * src/org/glom/web/client/GlomTable.java: Correct formatting.
2248 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
2249 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
2250 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
2251 asynchronously gets the example data.
2252 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
2253 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
2254 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
2255 curently selected table to be retrieved by other widgets.
2256 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
2257 implement getTableData() in a hacky way. This method needs to be updated
2258 to grab information from the database when database creating is
2261 2011-01-20 Ben Konrath <ben@bagu.org>
2263 Set table headers when table dropBox changes.
2265 * src/org/glom/web/client/GlomDocument.java: Correct some method
2267 * src/org/glom/web/client/LibGlomService.java: Add method
2268 to get list layout field names.
2269 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
2270 to get list layout field names.
2271 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
2272 widget for list layout table.
2273 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
2274 the table drop box and add new updateTable() method to asynchronously
2275 get the layout list field names for the currently selected table.
2276 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
2277 implementation of getLayoutListHeaders() method.
2278 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
2280 2011-01-18 Ben Konrath <ben@bagu.org>
2282 Make a listBox with table titles instead of the flexTable demo.
2284 This is the start of something more useful.
2286 * .classpath: Exclude a bunch of packages from the JVM that are
2287 getting in the way of the Eclipse content assist.
2288 * src/org/glom/web/client/GlomDocument.java:
2289 * src/org/glom/web/client/GlomTable.java:
2290 * src/org/glom/web/client/LibGlomService.java:
2291 * src/org/glom/web/client/LibGlomServiceAsync.java:
2292 * src/org/glom/web/client/OnlineGlom.java:
2293 * src/org/glom/web/server/LibGlomServiceImpl.java:
2294 * war/OnlineGlom.html:
2295 * war/WEB-INF/web.xml:
2297 211-01-13 Ben Konrath <ben@bagu.org>
2299 Update to new java-libglom API.
2301 * .gitignore: Ignore OnlineGlom.war.
2302 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
2304 2010-12-20 Ben Konrath <ben@bagu.org>
2306 Add some basic style to the table listing.
2308 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
2309 header, print useful error message on async callback failure.
2310 * war/OnlineGlom.css: Add style for table header, remove defaults
2311 provided by the Eclipse project wizard.
2313 2010-12-20 Ben Konrath <ben@bagu.org>
2315 Load example file from installed glom dir.
2317 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
2318 provided by java-libglom to find the example file.
2320 2010-12-20 Ben Konrath <ben@bagu.org>
2322 Update Eclipse settings.
2325 * .settings/com.google.gdt.eclipse.core.prefs:
2326 * .settings/com.google.gwt.eclipse.core.prefs:
2328 2010-12-17 Ben Konrath <ben@bagu.org>
2332 * .classpath: New file.
2333 * .gitignore: New file.
2334 * .project: New file.
2335 * .settings/com.google.gdt.eclipse.core.prefs: New file.
2336 * .settings/com.google.gwt.eclipse.core.prefs: New file.
2337 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
2338 * src/org/glom/web/client/GlomTable.java: New file.
2339 * src/org/glom/web/client/OnlineGlom.java: New file.
2340 * src/org/glom/web/client/TableNameService.java: New file.
2341 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
2342 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
2343 * war/OnlineGlom.css: New file.
2344 * war/OnlineGlom.html: New file.
2345 * war/WEB-INF/web.xml: New file.
2346 * war/images/glom.png: New file.