1 2011-07-12 Ben Konrath <ben@bagu.org>
3 Ignore LayoutItemPortals in the details view.
5 I added a new DTO for the LayoutItemPortal so that I can ignore it in
8 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
9 LayoutItemPortal layout objects.
10 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
11 LayoutItemPortal objects when retrieving the details layout.
12 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
13 file. This is an empty class and just used to get type information for
16 2011-07-12 Ben Konrath <ben@bagu.org>
18 Use java-libglom 1.17.0.
22 2011-07-11 Ben Konrath <ben@bagu.org>
24 Remove "Table:" label from table selector.
26 This matches a recent change in the Glom UI.
28 * mockups/details-contacts.html:
29 * mockups/details-projects.html:
30 * mockups/listview-contacts.html:
31 * mockups/listview-projects.html: Remove the "Table:" label from the
33 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
35 2011-07-11 Ben Konrath <ben@bagu.org>
37 Add main groups to the details view.
39 This makes things look a little nicer in the details view. The next step
40 is to implement the flowtable.
42 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
43 resources from the standard gwt css theme. Standard.css is now
44 included in OnlineGlom.html so that the online glom css rules have
45 precedence over the gwt theme.
46 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
47 the whole LayoutGroup to the DetailsView instead of just the titles.
48 * src/main/java/org/glom/web/client/ui/DetailsView.java:
49 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
50 details layout with a helper class (GroupPanel). I might extract this
51 class when I make the full flowtable.
52 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
53 string as default so I don't have to worry about NPEs when processing
55 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
56 note beside OnlineGlom.gwt.xml above).
57 * src/main/webapp/style.css: Add default font-size to body to override
58 the font-size set by the standard theme. Don't use h2 tags for
59 group-title. Create new details-cell class.
61 2011-07-08 Murray Cumming <murrayc@murrayc.com>
63 ConfiguredDocument: Set the port number too.
65 * src/main/java/org/glom/web/server/ConfiguredDocument.java
66 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
67 Glom document. Presumably this worked sometimes so far because there is a
70 2011-07-08 Murray Cumming <murrayc@murrayc.com>
72 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
74 * src/main/java/org/glom/web/server/ConfiguredDocument.java
75 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
76 correct, though we should throw an exception too.
78 2011-07-08 Murray Cumming <murrayc@murrayc.com>
80 Fix a addDocuemnt typo.
82 * src/main/java/org/glom/web/shared/Documents.java
83 (Documents.addDocuemnt): Rename to addDocument().
84 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
85 (OnlineGlomServiceImpl.getDocuments): Adapt.
87 2011-07-08 Murray Cumming <murrayc@murrayc.com>
89 Slightly improved log output when connection fails.
91 * src/main/java/org/glom/web/server/ConfiguredDocument.java
92 (ConfiguredDocument.setUsernameAndPassword):
93 We don't know for sure if it' the username/password that's wrong, so
95 Also ouput the exception message, though it's generic in this case.
97 2011-07-08 Ben Konrath <ben@bagu.org>
101 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
102 added braces to a one line if statement because the Eclipse formatter
103 was getting confused.
105 2011-07-07 Ben Konrath <ben@bagu.org>
107 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
109 These should really be two separate tasks but I counldn't get things to
110 work with GWT 2.2.0 and Eclipse 3.7.
114 * .settings/org.eclipse.jdt.core.prefs:
115 * .settings/org.eclipse.jdt.ui.prefs:
116 * .settings/org.eclipse.ltk.core.refactoring.prefs:
117 * .settings/org.eclipse.m2e.core.prefs:
118 Add new config files. Update current files. Remove references to the
119 webtools plugins as we're not using any of the webtools features.
120 * .gitignore: Add logs directory which is created when running with
122 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
123 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
124 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
126 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
128 2011-07-07 Murray Cumming <murrayc@murrayc.com>
130 onlineglom.properties: Add explanatory comments.
132 * src/main/resources/onlineglom.properties: Also change the default user
133 from ben to someuser, to avoid the risk of people thinking we just
134 stupidly hard-coded a locale path, when they see that on stderr or in a log.
136 2011-06-28 Ben Konrath <ben@bagu.org>
138 Use filename in Log for incorrect passwords.
140 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
141 getFileName(String) method to get the filename from the URI.
143 2011-06-28 Ben Konrath <ben@bagu.org>
145 Add the table name to the URL token for the ListPlace.
147 This makes things consistent between the DetailsPlace and the
148 ListPlace. It also allows the the ListPlace to be bookmarked.
150 * src/main/java/org/glom/web/client/OnlineGlomService.java:
151 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
152 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
153 Remove getDefaultListLayout(). The default layout is now returned
154 by the getListLayout() method when the table name is an empty string.
155 * src/main/java/org/glom/web/client/activity/ListActivity.java:
156 Add table name field. Change to a new ListPlace when the table
157 has been changed. Use getListLayout() for getting the default
159 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
160 Add table name field. Set the correct table name in the list box
161 when loading from bookmark. This corrects a problem for the
163 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
164 Move table name to super-class (HasSelectableTable). Move document
165 and table URL keys to super-class in HasSelectableTable.
166 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
167 Add table name field. Add Tokenizer class with URL key common to
168 the subclasses (DetailsPlace and ListPlace).
169 * src/main/java/org/glom/web/client/place/ListPlace.java:
170 Add table name. Add code to parse the URL token.
171 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
172 Update ListPlace construction with empty table name string.
173 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
174 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
175 Change setTableSelectedIndex(int) to setSelectedTableName(String).
176 Update ListPlace construction with table name string.
177 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
178 Change defaultTableName field to tableName to reflect how it's now
179 used. Update the getter and setter methods.
181 2011-06-28 Ben Konrath <ben@bagu.org>
183 Enable the table selector in the DetailsView.
185 * src/main/java/org/glom/web/client/OnlineGlomService.java:
186 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
187 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
188 Remove getDefaultDetailsLayout(). The default layout is now returned
189 by the getDetailsLayout() method when the table name is an empty
191 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
192 event handler for table change event. Change to using
193 getDetailsLayout() for the default details layout.
194 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
196 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
197 when navigating to the details place.
199 2011-06-27 Ben Konrath <ben@bagu.org>
201 Use filename based unique document ID in URL and for RPC.
203 The document ID is the glom document name with spaces (' ') replaced
204 with pluses ('+') and without the .glom extension.
206 This change is mostly a string substitution of 'documentTitle' for
207 'documentID'. The only code change is the addition of a Documents DTO to get the
208 filename to document title mappings as indicated below.
210 * src/main/java/org/glom/web/client/OnlineGlomService.java:
211 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
212 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
213 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
214 Use Documents DTO to create the document links in the document
216 * src/main/java/org/glom/web/client/activity/ListActivity.java:
217 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
218 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
219 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
220 * src/main/java/org/glom/web/client/place/ListPlace.java:
221 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
222 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
223 * src/main/java/org/glom/web/client/ui/ListView.java:
224 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
225 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
226 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
227 * src/main/java/org/glom/web/server/Log.java:
228 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
229 getDocumentTitles() to getDocuments() and return the Documents DTO.
230 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
231 transferring the filename to document title mappings.
233 2011-06-25 Ben Konrath <ben@bagu.org>
235 Make the authentication popup work again.
237 This bug was introduced when I extracted ConfiguredDocument to its own class.
239 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
240 correct success / fail status in setUsernameAndPassword().
242 2011-06-25 Ben Konrath <ben@bagu.org>
244 Use filename as unique key for configuring database usernames and passwords.
246 This replaces the use of the Glom document title which could change
247 depending on the locale. Thanks to Murray Cumming for pointing out this
250 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
251 * src/main/resources/onlineglom.properties:
253 2011-06-24 Ben Konrath <ben@bagu.org>
255 Pass primary key value to DetailsView.
257 This enables the DetailsView to load the correct data.
259 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
260 primary key value field and set in constructor. Pass primary key
261 value to getDetailsData().
262 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
263 variables for document title and primary key value.
264 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
265 key value to the DetailsPlace.
267 2011-06-24 Ben Konrath <ben@bagu.org>
269 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
271 This allows the primary key to be retrieved by the Details button. This
272 functionality has not been implemented yet but it's in the works.
274 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
275 the LayoutGroup result to ListView.setCellTable instead of all of its
277 * src/main/java/org/glom/web/client/ui/ListView.java:
278 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
279 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
280 get the primary key for the table.
281 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
282 index of the primary key in the LayoutGroup accounting for hidden
283 primary keys. Rename getJavaNumberFormat() to
284 convertToJavaNumberFormat() for consistency. Cleanup / add some
286 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
287 field for primary key index and a field to indicate whether the
288 primary key is hidden or not.
290 2011-06-23 Ben Konrath <ben@bagu.org>
292 Rename getTableData methods to getListData.
294 This is a rename refactor for consistency with other methods.
296 * src/main/java/org/glom/web/client/OnlineGlomService.java:
297 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
298 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
299 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
301 2011-06-23 Ben Konrath <ben@bagu.org>
303 Extract the ConfiguredDocument innerclass into its own class.
305 This makes the servlet code more object oriented.
307 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
308 from private ConfiguredDocument class in OnlineGlomServiceImpl.
309 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
310 new ConfiguredDocument class.
312 2011-06-21 Ben Konrath <ben@bagu.org>
314 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
316 This makes things more inline with how libglom works and reduces code
317 duplication. This refactor lays the groundwork for adding the primary key to
318 the LayoutGroup object.
320 * src/main/java/org/glom/web/client/OnlineGlomService.java:
321 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
322 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
323 Change method names to getListLayout and getDefaultListLayout for
324 consistency. Use LayoutGroup as the DTO for the list layout instead of
325 ColumnInfo and LayoutListTable.
326 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
327 new method names along with the LayoutGroup object for transferring the
329 * src/main/java/org/glom/web/client/ui/ListView.java:
330 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
331 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
332 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
334 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
335 Replaced with LayoutGroup.
336 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
337 expectedResultSize and defaultTableName fields which are needed for
339 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
340 type field which is needed for the list layout but will also be
341 useful for the details layout as things progress.
342 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
343 Make class abstract. Remove the unnecessary
344 getFormattingHorizontalAlignment method. Add setFormatting method.
346 2011-06-16 Ben Konrath <ben@bagu.org>
348 Add scripts for building and installing war.
350 These will help when updating OnlineGlom but they're also good
351 supplemental documentation of the build and deployment proceeding.
353 * utils/build-onlineglom-war.sh: New file.
354 * utils/install-onlineglom-war.sh: New file.
356 2011-06-16 Ben Konrath <ben@bagu.org>
358 Create wrapper class to create consistent log messages.
360 I wrapped methods in the Log class of gwt-log to add the method names
361 from the servlet and create consistent formatting of the document title
362 and table names in the log messages.
364 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
365 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
366 log methods to use methods from wrapped Log class.
368 2011-06-16 Ben Konrath <ben@bagu.org>
370 Remove superfluous conditional return.
372 Thanks to Murray Cumming for pointing this out!
374 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
376 2011-06-15 Ben Konrath <ben@bagu.org>
378 Return an ArrayList of LayoutGroups for the Details layout.
380 This corrects a problem with the details layout as it can have more
381 than one top level LayoutGroup.
383 * src/main/java/org/glom/web/client/OnlineGlomService.java:
384 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
385 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
386 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
387 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
388 with ArrayList of LayoutGroups for the details view layout.
389 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
390 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
391 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
392 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
393 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
394 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
396 2011-06-14 Ben Konrath <ben@bagu.org>
398 Use cast_dynamic method to determine the libglom LayoutItem type.
400 This is better than finding the LayoutItem type by using the string
401 returned from the get_part_type_name() method.
403 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
405 2011-06-14 Ben Konrath <ben@bagu.org>
407 Add method names to log entries in the servlet.
409 This helps when tracking down deployment problems.
411 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
413 2011-06-14 Ben Konrath <ben@bagu.org>
415 Add data to the DetailsView using a hard-coded primary key value.
417 The layout and functionality of the DetailsView is not complete. This
418 is just a checkpoint so the patch doesn't get too big.
420 * src/main/java/org/glom/web/client/OnlineGlomService.java:
421 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
422 Add getDetailsData() servlet method.
423 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
424 Add RPC to getDetailsData(). Change the way the LayoutGroups and
425 LayoutFields are added to the DetailsView.
426 * src/main/java/org/glom/web/client/ui/DetailsView.java:
427 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
428 Add setData() method. Change addLayoutGroup() and addLayoutField() to
429 take the string for the title instead of the object.
430 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
431 Add implementation getDetailsData() along with some private helper
433 * src/main/webapp/style.css: Add padding to details-data class. Add a
434 details-label class with the same padding as the details-data class.
436 2011-06-03 Ben Konrath <ben@bagu.org>
438 Use presenter.goTo() to change to the DetailsPlace.
440 This will make things easier when we need to open the DetailsView with
441 data specific to the row that was clicked.
443 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
445 2011-06-02 Ben Konrath <ben@bagu.org>
447 Add CSS file from mockups.
449 I'm adding this now because it's going to be useful to have when
450 developing the DetailsView. The TableSelectionView and ListView aren't
453 * src/main/webapp/OnlineGlom.html:
454 * src/main/webapp/style.css:
456 2011-06-02 Ben Konrath <ben@bagu.org>
458 Use String.isEmpty() to check for empty string.
460 * src/main/java/org/glom/web/client/activity/ListActivity.java:
462 2011-06-02 Ben Konrath <ben@bagu.org>
464 Display main layout group titles in the DetailsView.
466 This is the start of the DetailsActivity/DetailsView implementation.
468 * src/main/java/org/glom/web/client/OnlineGlomService.java:
469 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
470 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
471 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
472 Get the layout information for the details view from the server and set
473 the main layout group titles.
474 * src/main/java/org/glom/web/client/ui/DetailsView.java:
475 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
476 Add addLayoutGroup() and addLayoutField() methods. This are just
477 temporary methods for creating the the details view that will change
479 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
480 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
482 * src/main/java/org/glom/web/shared/layout/Formatting.java:
483 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
484 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
485 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
486 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
487 Data Transfer Objects that mimic the libglom object structure. These are
488 used for transferring the details layout but could also be used for
489 transferring the list layout.
491 2011-05-27 Ben Konrath <ben@bagu.org>
493 Reset the AuthenticationPopup when clearing the ListView.
495 * src/main/java/org/glom/web/client/activity/ListActivity.java:
497 2011-05-27 Ben Konrath <ben@bagu.org>
499 Fix problem with onlineglom.properties file loading.
501 The old way worked in Eclipse but not on the server. Loading the
502 onlineglom.properties file now works in Eclipse and on the server.
504 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
506 2011-05-24 Ben Konrath <ben@bagu.org>
508 Update gwt-log from 3.1.0 to 3.1.2.
510 Gwt-log 3.1.0 has been marked as depreciated.
514 2011-05-24 Ben Konrath <ben@bagu.org>
516 Add comment to ListActivity.goTo() method.
518 * src/main/java/org/glom/web/client/activity/ListActivity.java:
520 2011-05-24 Ben Konrath <ben@bagu.org>
522 Remove FIXME in convertGdkColorToHtmlColour()
524 The Gdk::Color value returned by libglom is 16-bits per channel on both
525 64 and 32-bit platforms.
527 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
529 2011-05-19 Ben Konrath <ben@bagu.org>
531 Improve performance of initial ListView load.
533 I removed a round trip to the server for getting the default table name
534 and then requesting information about that table. This also removes a potential
535 problem with the table change handler not being setup in time to receive the
536 table change event from the ListActivity.
538 * src/main/java/org/glom/web/client/OnlineGlomService.java:
539 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
540 getDefaultLayoutListTable() method. Improve comments.
541 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
542 getDefaultLayoutListTable() method instead of firing a table change
543 event to get the table to load.
544 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
545 implementation of getDefaultLayoutListTable() method.
546 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
549 2011-05-19 Ben Konrath <ben@bagu.org>
551 Override toDebugString() in TableChangeEvent.
553 This is useful to have for debugging.
555 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
557 2011-05-19 Ben Konrath <ben@bagu.org>
559 Add a "Back to List" link when at the DetailsPlace.
561 * src/main/java/org/glom/web/client/activity/ListActivity.java:
562 Populate the CellTable based on the selected table of the ListBox if
563 it's set otherwise use the default table. This allows the "Back to
565 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
566 Remove Place from constructors. Add a setPlace() method. Add
567 goToPlace() method. Set class as presenter for TableSelectionView.
568 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
569 Use the same TableSelectionActivity when switching between the List and
571 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
572 Subclass the new HasSelectableTablePlace. This removes some duplicate
574 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
575 New class to represent Places that display the TableSelectionView.
576 * src/main/java/org/glom/web/client/place/ListPlace.java:
577 Subclass the new HasSelectableTablePlace. This removes some duplicate
579 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
580 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
581 Add Presenter interface. Add setBackLinkVisible() method. Add
582 setBackLink() method.
584 2011-05-18 Ben Konrath <ben@bagu.org>
586 Enable the "Details" buttons.
588 Right now only an empty details view is displayed.
590 * src/main/java/org/glom/web/client/ClientFactory.java:
591 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
592 Add DetailsView to ClientFactory.
593 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
594 A basic activity for the details view.
595 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
596 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
598 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
599 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
601 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
602 Create a new DetailsActivity when a DetailsPlace is requested. Remove
603 unnecessary super() in constructor.
604 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
605 Create a new TableSelectionActivity when a DetailsPlace is requested. We
606 really shouldn't create a new TableSelectionActivity for both the ListPlace
607 and the DetailsPlace so this should be considered a temporary solution.
608 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
609 New file. Represents a URL for the details view.
610 * src/main/java/org/glom/web/client/ui/DetailsView.java:
611 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
612 A basic details view interface and implementation.
613 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
614 Enable the "Details" buttons.
616 2011-05-12 Ben Konrath <ben@bagu.org>
618 Use a LayoutPanel with multiple display areas for main layout.
620 This is mostly a refactor in that there are no changes from the user
621 point of view. These changes are required so that we can swap out the list view
622 with the details view when the user clicks the "Details" button.
624 * src/main/java/org/glom/web/client/ClientFactory.java:
625 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
626 OnlineGlomView. Add TableSelectionView, ListView and
628 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
629 for main layout. Add display regions for main activities. Add
630 activity manager for for main activities.
631 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
632 file from parts of the deleted OnlineGlomActivity.
633 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
634 New file from parts of the deleted OnlineGlomActivity.
635 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
636 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
637 New files for app wide table change event.
638 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
639 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
640 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
641 Activity mappers for the main activities replace the deleted app-wide
643 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
644 Fix a spelling error in he comment.
645 * src/main/java/org/glom/web/client/ui/ListView.java:
646 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
647 Renamed from LayoutListView and modified for MVP. This still not a
648 proper dumb view as prescribed by the MVP pattern but it works for now.
649 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
650 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
651 New widget stripped out of the deleted OnlineGlomView.
652 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
653 Remove hack that is fixed by this patch.
655 2011-05-06 Ben Konrath <ben@bagu.org>
657 Rename OnlineGlomPlace to ListPlace.
659 The only change besides the rename is that url will now display #list
660 instead of #Document.
662 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
663 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
664 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
665 * src/main/java/org/glom/web/client/place/ListPlace.java:
666 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
668 2011-05-06 Ben Konrath <ben@bagu.org>
670 Use Presenter for app navigation.
672 This is the proper way to deal with Place (URL) changes with the MVP
675 * src/main/java/org/glom/web/client/ClientFactory.java:
676 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
677 PlaceHistoryMapper and PlaceHistoryHandler.
678 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
679 PlaceHistoryMapper and PlaceHistoryHandler.
680 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
681 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
682 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
683 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
684 Add Presenter interface and setPresenter methods. Rename addHyperLink
685 to addDocumentLink taking only the document title as a parameter.
687 2011-04-14 Ben Konrath <ben@bagu.org>
689 Prompt for db username/password if they haven't been set.
691 This is implemented with a popup widget that is contained within the
692 OnlineGlomView and managed by the OnlineGlomActivity.
694 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
695 methods for checking and setting the database username and password.
696 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
697 new methods for checking and setting the database username and
699 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
700 Display authentication popup if the JDBC connection to the database
701 has not been authenticated.
702 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
704 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
705 for dealing with the authentication popup.
706 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
707 Implement the methods for dealing with the authentication popup.
708 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
709 try to executed queries if the database connection hasn't been
710 authenticated. Implement methods for checking and setting the
711 database username and password.
713 2011-04-12 Ben Konrath <ben@bagu.org>
715 Make log messages a little clearer.
717 Add a dash betweeen the document title and the table name.
719 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
721 2011-04-12 Ben Konrath <ben@bagu.org>
723 Protect against NPEs when cleaning up database resources.
725 While this isn't strictly necessary because the exception is caught,
726 not protecting against the NPEs makes it harder to find the real error
729 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
731 2011-04-12 Ben Konrath <ben@bagu.org>
733 Move configuration of the servlet to the constructor.
735 The servlet will be initialized even if the database authentication
736 information is not set or correct. I still need to add the UI for prompting
737 the user for the authentication information when it's required.
739 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
740 javadocs for getDocumentTitles() method.
741 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
742 Set error message when RPC fails.
743 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
744 glom files directory from the configuration file. Try to set the
745 database authentication information for the specific document if it's
746 set and works otherwise try to use the global authentication
747 information set for the directory.
748 * src/main/resources/onlineglom.properties: Moved from
749 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
750 Added detailed comments for the new keys.
752 2011-04-11 Ben Konrath <ben@bagu.org>
754 Remove unnecessary @Override in DocumentSelectionViewImpl.
756 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
758 2011-04-11 Ben Konrath <ben@bagu.org>
760 Remove center alignment in DocumentSelectionView.
762 The title element is still centred but the document titles and bottom
763 sentence are both left-aligned.
765 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
767 2011-04-11 Ben Konrath <ben@bagu.org>
769 Change 'Demo' naming convention to 'Document'.
771 This is just a rename refactor with no functional changes to the code.
773 * src/main/java/org/glom/web/client/ClientFactory.java:
774 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
775 * src/main/java/org/glom/web/client/OnlineGlom.java:
776 * src/main/java/org/glom/web/client/OnlineGlomService.java:
777 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
778 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
779 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
780 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
781 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
782 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
783 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
784 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
785 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
787 2011-04-08 Ben Konrath <ben@bagu.org>
789 Remove FIXME from safeLongToInt() method.
791 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
794 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
796 2011-04-08 Ben Konrath <ben@bagu.org>
798 Display an error if no glom documents are found in the specified directory.
800 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
801 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
802 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
803 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
805 2011-04-08 Ben Konrath <ben@bagu.org>
807 Add copyright header to one more file ... oops.
809 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
811 2011-04-08 Ben Konrath <ben@bagu.org>
813 Add copyright header to files without it.
815 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
816 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
817 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
818 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
819 * src/main/java/org/glom/web/shared/ColumnInfo.java:
820 * src/main/java/org/glom/web/shared/GlomField.java:
822 2011-04-08 Ben Konrath <ben@bagu.org>
824 Add support for accessing multiple glom documents in the servlet.
826 This completes the demo selection functionality.
828 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
829 document title to methods.
830 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
831 document title to methods.
832 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
833 Set browser window title when the activity starts. Correct name of
834 document title variable.
835 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
836 Set browser window title when the activity starts. Set the table
837 selector change handler after table selector has been set. Clear the
838 OnlineGlomView when the activity has been stopped.
839 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
840 document title as the place token. Use "#Document:" instead of
841 "#OnlineGlomPlace:" in the URL.
842 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
843 Change heading to "Online Glom"
844 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
845 document title in RPC methods.
846 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
847 setDocumentTitle() method. Add clear() method.
848 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
849 setDocumentTitle() method. Implement clear() method which removes the
850 change handler on the ListBox, clears the ListBox and clears the
852 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
853 Implement methods with document title. Keep track for the configured
854 glom documents and their corresponding JDBC configurations in a hash
855 table. This information is retrieved using the document title as the
856 key in the hash table.
857 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
858 document title field as it's no longer needed.
860 2011-04-08 Ben Konrath <ben@bagu.org>
862 Update the Eclipse JDT configuration.
864 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
865 methods. Automatically add the copyright header to new files.
867 2011-04-05 Ben Konrath <ben@bagu.org>
869 Add new page for demo selection.
871 This patch adds all the components required to view and start an
872 OnlineGlom demo by clicking on the desired hyperlink. The user is
873 able to return to the demo selection page with the browser's back
874 button. I still need to modify the servlet to work with multiple
875 documents so all demo links will load the file defined in the
876 OnlineGlom.properties.
878 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
879 This is only useful during development so we don't need to save it.
880 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
881 get a reference to the DemoSelectionView.
882 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
883 method to get a reference to the DemoSelectionView.
884 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
885 default view to DemoSelectionView.
886 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
887 to get glom document titles for glom files in a hard-coded directory.
888 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
889 method to get glom document titles for glom files in a hard-coded
891 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
892 Presenter for DemoSelectionView.
893 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
894 for DemoSelectionView.
895 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
896 Update for DemoSelectionView.
897 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
898 Basic 'Place' implementation for the DemoSelectionView.
899 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
900 The interface for the DemoSelectionView.
901 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
902 The implementation of the DemoSelectionView.
903 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
904 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
905 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
906 implementation of method to get glom document titles for glom files
907 in a hard-coded directory.
908 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
909 on longer being used.
910 * src/main/webapp/glom.png: Glom logo.
912 2011-04-05 Ben Konrath <ben@bagu.org>
914 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
916 This is the forth and final commit of a refactor that will allow
917 OnlineGlom to be used with multiple documents.
919 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
920 Move RPC code from OnlineGlomViewImpl to this class.
921 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
923 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
924 RPC code to the presenter class (the P in MVP).
926 2011-04-04 Ben Konrath <ben@bagu.org>
928 Start moving the existing OnlineGlom code to MVP.
930 This work is based on the GWT MVP framework that is documented here:
932 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
934 This is the third commit of a refactor that will allow OnlineGlom to
935 be used with multiple documents.
937 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
938 Interface for client factory which is used to get instances of various
939 classes throughout the app.
940 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
941 Implementation of client factory.
942 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
943 initialize the MVP framework.
944 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
945 New file. Activity manager for the main container widget. This is the
947 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
948 Maps place (URL) to its corresponding activity.
949 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
950 New file. This is just a place holder for a generated file.
951 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
952 New file. Represents the URL for the main Online Glom app.
953 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
954 for changes in LayoutListViewImpl.
955 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
956 interface for View. Move code to OnlineGlomViewImpl class.
957 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
958 file. Implementation of OnlineGlomView.
959 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
960 Place resources. Use ClientFactoryImpl by default.
962 2011-04-04 Ben Konrath <ben@bagu.org>
964 Move View classes to their own package.
966 This is the second commit of a refactor that will allow OnlineGlom to
967 be used with multiple documents.
969 * src/main/java/org/glom/web/client/OnlineGlom.java:
970 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
971 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
973 2011-04-02 Ben Konrath <ben@bagu.org>
975 Move UI code from the main module to its own class.
977 This is the first commit of a refactor that will allow OnlineGlom to be
978 used with multiple documents.
980 * src/main/java/org/glom/web/client/LayoutListView.java: Update
981 references to OnlineGlom to OnlineGlomView.
982 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
983 OnlineGlomView and instantiate it here.
984 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
985 represents the main OnlineGlomView with one document.
987 2011-04-01 Ben Konrath <ben@bagu.org>
989 Fix formatting of gwt.xml and add DTD.
991 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
993 2011-03-30 Ben Konrath <ben@bagu.org>
995 Propperly convert gdkColor string to html colour string.
997 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
999 2011-03-28 Ben Konrath <ben@bagu.org>
1001 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1003 This implementation matches
1004 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1005 readable and is not tied to Swig.
1007 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1009 2011-03-28 Ben Konrath <ben@bagu.org>
1011 Use read-only checkboxes for boolean field types.
1013 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1014 in the CellTable based on the field type. It currently only
1015 distinguishes between boolean and text columns but I'll need to add
1016 support for more types.
1017 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1018 column type in the ColumnInfo object. Add method to convert between the
1019 glom field type enum in ColumnInfo and the glom field type in libglom.
1020 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1022 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1023 getting and setting booleans.
1025 2011-03-25 Ben Konrath <ben@bagu.org>
1027 Don't get the Date twice from the ResultSet.
1029 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1031 2011-03-25 Ben Konrath <ben@bagu.org>
1033 Cleanup code in the servlet.
1035 * TODO: Remove item about row count. Add item about testing row count
1036 query with large number of rows.
1037 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1038 spelling mistakes, change method parameter to be consistent with
1041 2011-03-25 Ben Konrath <ben@bagu.org>
1043 Add server side logging with the gwt-log library.
1045 * .gitignore: Ignore the log file we're now producing.
1046 * TODO: Add a couple TODO item for logging.
1047 * pom.xml: Add gwt-log and log4j as a dependency.
1048 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1049 logging of errors, warnings and some important info.
1050 * src/main/resources/log4j.properties: New file to configure log4j.
1052 2011-03-24 Ben Konrath <ben@bagu.org>
1054 Add a disable button for the Details view.
1056 * src/main/java/org/glom/web/client/LayoutListView.java:
1058 2011-03-22 Ben Konrath <ben@bagu.org>
1060 Use a count query to get the number of rows for the list view pager.
1062 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1064 2011-03-22 Ben Konrath <ben@bagu.org>
1066 Add more TODO information about CellTable pager positioning.
1070 2011-03-19 Ben Konrath <ben@bagu.org>
1072 Add TODO item about CellTable pager positioning.
1076 2011-03-18 Ben Konrath <ben@bagu.org>
1078 Remove unneeded GlomFieldColumn class.
1080 This is just a small code cleanup.
1082 * src/main/java/org/glom/web/client/LayoutListView.java:
1084 2011-03-18 Ben Konrath <ben@bagu.org>
1086 Use cursor mode in the query that gets data for the list view.
1088 I still need to fix the potential memory problem when getting the row
1089 count for the list view.
1091 * TODO: Add note about testing memory usage with large data sets. Add
1092 item about fixing row counting with large data sets.
1093 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1094 PostgreSQL JDBC driver into cursor mode when getting data for the
1097 2011-03-15 Ben Konrath <ben@bagu.org>
1099 Remove the GWT Container from the Eclipse build classpath.
1101 The GWT dependencies are set by Maven so this isn't needed.
1105 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1107 Added some earlier mockups to git, but not to the tarball dist.
1109 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1110 Openismus. These hopefully show how we might structure the HTML so that
1111 it can be styled easily with CSS. However, we probably need to adapt them
1112 for the CSS structure that GWT dictates for common widgets.
1114 2011-03-14 Ben Konrath <ben@bagu.org>
1116 Locate OnlineGlom.properties using the ServletContext.
1118 This is required to be able to locate the file in the deployed servlet.
1120 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1121 Configure the database and glom document in in a helper method so
1122 that the ServletContext can be used to locate OnlineGlom.properties.
1123 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1124 src/main/webapp. This is the proper location for .properites files.
1126 2011-03-12 Ben Konrath <ben@bagu.org>
1128 Add note to README about why we're compiling down to obfuscated JavaScript.
1132 2011-03-11 Ben Konrath <ben@bagu.org>
1134 Use properties file to configure servlet.
1136 This allows people to change the glom file path, db username and db
1137 password without recompiling the code.
1139 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1140 * src/main/webapp/OnlineGlom.properties:
1142 2011-03-11 Ben Konrath <ben@bagu.org>
1144 Use table fields in layout list view if the layout list is not defined.
1146 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1147 Manually create a LayoutFieldVector for the query builder using the
1148 table fields when a layout list is not defined in the glom file.
1150 2011-03-11 Ben Konrath <ben@bagu.org>
1152 Only show FIXME string for images when there's an image.
1154 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1155 in this change are some small code cleanups.
1157 2011-03-11 Ben Konrath <ben@bagu.org>
1159 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1161 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1163 2011-03-11 Ben Konrath <ben@bagu.org>
1165 Correctly set the index of the default table.
1167 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1168 Correctly set the index of the default table. Add commented out example
1171 2011-03-10 Ben Konrath <ben@bagu.org>
1173 Add comment to pom.xml about the previous change.
1175 * pom.xml: Add comment about the deployment issue so that it's obvious
1176 why java-libglom is set to the provided scope.
1178 2011-03-10 Ben Konrath <ben@bagu.org>
1180 Change java-libglom dependency from compile to provided in pom.xml.
1182 Since java-libglom uses jni it can only be loaded once and therefore
1183 must be placed in $CATALINA_HOME/lib and not included in each war.
1184 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1185 More information about this issue can be found in the Tomcat 6 release
1186 notes in the "JNI Based Applications" section:
1188 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1190 * README: Remove note about this issue. Deployment info should really
1191 be on the wiki anyway so I'll add it right now.
1192 * pom.xml: Change java-libglom dependency from compile to provided so
1193 that it's copied in to the packaged war.
1195 2011-03-09 Ben Konrath <ben@bagu.org>
1197 Change to using a neutral locale for currency, date and time formatting.
1199 This solves the problem of currency values being represented without a
1200 space between the currency code and the number (e.g. "EUR5.89" is now
1201 represented as "EUR 5.89"). More work is required when we implement
1202 a locale preference setting.
1204 * TODO: Add note about currency formatting issues with different
1206 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1207 to using the neutral ROOT locale.
1209 2011-03-09 Ben Konrath <ben@bagu.org>
1211 Add support for currency codes that are not ISO 4217 codes.
1213 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1214 the currency code defined in the glom file when it's not 3 characters
1215 long or when Java doesn't recognize the string as an ISO 4217 code.
1217 2011-03-08 Ben Konrath <ben@bagu.org>
1219 Remove test classes, launch configurations and configuration.
1221 The test stuff was getting in the way when creating the war. To make
1222 the war file you can now do 'mvn clean package'. The packaged war file
1223 will be in the target directory.
1225 * .classpath: Remove unused classpathentry for tests and i18n.
1226 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1227 property. Don't run test or i18n goals when packaging the war.
1228 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1233 * OnlineGlomTest-dev.launch:
1234 * OnlineGlomTest-prod.launch:
1235 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1236 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1238 2011-03-07 Ben Konrath <ben@bagu.org>
1240 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1242 These fixes allow me to use 'mvn deploy' to create the war file.
1244 * .classpath: This generated config has been updated by Eclipse. This
1245 change was probably triggered by me updating from Eclipse 3.6.1 to
1247 * .gitignore: Add entry to ignore the directory
1248 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1249 * .project: The generated config has been updated by Eclipse. This
1250 change was probably triggered by me updating from Eclipse 3.6.1 to
1252 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1253 so that Eclipse doesn't complain
1254 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1255 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1256 'tests' directory to 'client' directory. This is the new
1257 gwt-maven-plugin convension.
1258 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1259 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1261 2011-03-07 Ben Konrath <ben@bagu.org>
1263 Add support for horizontal alignment in the LayoutList columns.
1265 * TODO: Remove item about horizontal alignment. Add item about
1266 improvements to ColumnInfo.
1267 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1268 alignment on the columns. Use ColumnInfo RPC object get the column
1269 title and horizontal alignment.
1270 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1271 LayoutListView creation with ColumnInfo RPC object.
1272 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1273 a ColumnInfo object for every LayoutList columnn. Convert the
1274 FieldFormatting.HorizontalAlignment to the correct
1275 ColumnnInfo.HorizontatlAlignment with the new
1276 getColumnInfoHorizontalAlignment helper method.
1277 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1278 to encapsulate column information like alignment and title. This
1279 could be used to set the colour instead of on a per cell field basis.
1280 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1281 column title storage and retrieval with ColumnInfo.
1283 2011-03-04 Ben Konrath <ben@bagu.org>
1285 Add support for column sorting.
1287 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1288 AsynDataProvider to be an anonymous inner class. Use new
1289 getSortedTableData RPC method when column sort is requested. Set all
1290 columns sortable and add an AsyncHandler to activate sorting in the
1292 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1293 method getSortedTableData(). Cleanup other method signatures.
1294 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1295 new method getSortedTableData(). Cleanup other method signatures.
1296 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1297 Implement getSortedTableData() and getTableData() methods by using a
1298 private helper method with the appropriate parameters filled in. Use
1299 user supplied sort clause when supplied, otherwise fall back to
1300 sorting by the primary key. Move destroy() method to be underneath
1301 constructor for readability. Cleanup comments.
1303 2011-03-03 Ben Konrath <ben@bagu.org>
1305 Add support for colour text and colour backgrounds to the layout list cells.
1307 Only the cell backgrounds are coloured which leaves a gap between the
1308 cells that isn't coloured. I need to figure out a way to set
1309 'style=background-colour:' on the whole column rather than just the
1312 * TODO: Add a note about colouring the background of the whole column.
1313 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1314 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1315 render the coloured text and backgrounds. Use GlomField[] for the row type.
1316 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1318 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1319 GlomField[] for the row type.
1320 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1321 GlomField[] for the row type. Set the text, text colour and background
1322 colour in the GlomField objects as specified in the glom document. Add
1323 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1324 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1325 the glom field text, foreground colour and background colour.
1327 2011-03-02 Ben Konrath <ben@bagu.org>
1329 Don't display hidden tables in the combo box.
1331 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1333 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1334 code to ignore hidden tables using ArrayLists for the table names and
1336 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1337 tableNames to use ArrayLists instead of String[]. Update getter and setter
1340 2011-03-01 Ben Konrath <ben@bagu.org>
1342 Add support for Date and Time number types.
1344 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1345 Implement formatting for Date and Time values. Change the default glom
1346 file to small business example.
1348 2011-03-01 Ben Konrath <ben@bagu.org>
1350 Add support for formatting glom types as specified in the glom file.
1352 Formatting isn't finished yet - I still need to add support for Date
1355 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1356 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1357 checks for null values in JDBC cleanup code and catch all exceptions
1358 instead of just SQLExceptions.
1359 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1362 2011-03-01 Ben Konrath <ben@bagu.org>
1364 Use GWT 2.2.0 instead of 2.1.1.
1366 * pom.xml: Change GWT version numbers.
1368 2011-03-01 Ben Konrath <ben@bagu.org>
1370 A few small code cleanups.
1372 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1374 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1375 unnecessary object creation in constructor.
1376 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1377 unnecessary object creation in constructor.
1379 2011-02-28 Ben Konrath <ben@bagu.org>
1381 Add file for TODO list.
1385 2011-02-18 Ben Konrath <ben@bagu.org>
1387 Enable the CellTable Pager when more than 20 rows need to be viewed.
1389 The Pager will automatically become active when the results are larger
1390 than the CellTable size which is currently set to 20 lines.
1392 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1393 name on debug statment in RPC call in LayoutListDataProvider, add
1394 numRows parameter to LayoutListView constructor, propperly set rowCount
1396 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1397 name on debug statment in RPC call, use LayoutListTable object in RPC
1398 calls, pass rowCount to LayoutListView.
1399 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1400 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1402 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1403 interface for changes in OnlineGlomService.
1404 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1405 getLayoutListHeaders() to getLayoutListTable() and return
1406 LayoutListTable. Using this object allows me to pass other information
1407 about the LayoutList like the expected number of rows in the result set.
1408 The Connection object from the connection pool is now propperly closed.
1409 Only the requested number of lines are returned to the client in
1411 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1412 GlomTable and add columnTitles and numRows.
1414 2011-02-18 Ben Konrath <ben@bagu.org>
1416 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1418 This is a small performance boost. I'll use GlomTable to get the required
1419 layoutlist information.
1421 * src/main/java/org/glom/web/client/OnlineGlom.java:
1422 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1423 * src/main/java/org/glom/web/shared/GlomDocument.java:
1425 2011-02-18 Ben Konrath <ben@bagu.org>
1427 Add option to turn off formatting in JDT formatter preferences.
1429 * .settings/org.eclipse.jdt.core.prefs:
1431 2011-02-18 Ben Konrath <ben@bagu.org>
1433 Rename LayoutList to LayoutListView.
1435 I'm working towards setting things up to easily use MVP when the time
1438 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1440 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1443 2011-02-17 Ben Konrath <ben@bagu.org>
1445 Move LayoutListDataProvider class into LayoutList.java.
1447 * src/main/java/org/glom/web/client/LayoutList.java:
1449 2011-02-17 Ben Konrath <ben@bagu.org>
1451 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1453 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1455 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1456 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1457 from LibGlomServer.java.
1458 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1459 Rename from LibGlomServiceAsync.java.
1460 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1461 Rename from LibGlomServiceImpl.java.
1462 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1464 2011-02-17 Ben Konrath <ben@bagu.org>
1466 Update JDT settings.
1468 * .settings/org.eclipse.jdt.core.prefs:
1470 2011-02-17 Ben Konrath <ben@bagu.org>
1472 Move GWT-RPC objects to shared package (where they should be).
1474 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1475 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1476 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1477 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1478 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1479 org.glom.web.shared package.
1480 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1481 org.glom.web.shared package.
1482 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1483 directory in compilation to javascript.
1485 2011-02-16 Ben Konrath <ben@bagu.org>
1487 Add sort clause to the sql query that grabs table information.
1489 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1490 if one of the columns is a primary key.
1492 2011-02-16 Ben Konrath <ben@bagu.org>
1494 Disable generateAsync feature of gwt-maven.
1496 The generated interface does not correctly match the methods in LibGlomService
1497 and the generated singleton Util inner-class doesn't respect the servlet
1500 * pom.xml: Turn off generateAsync feature.
1501 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1502 with singleton Util inner-class.
1504 2011-02-14 Ben Konrath <ben@bagu.org>
1506 Add LGPL v3 licence notices.
1508 Followed directions listed here:
1509 http://www.gnu.org/licenses/gpl-howto.html
1511 * COPYING: This file is a copy of the GPL v3.
1512 * COPYING.LESSER: This file is a copy of the LGPL v3.
1513 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1515 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1517 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1519 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1521 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1523 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1525 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1528 2011-02-14 Ben Konrath <ben@bagu.org>
1530 Use ArrayList instead of Array in GWT-RPC calls.
1532 Apparently this gives a slight performance boost to the compiled
1535 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1537 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1540 2011-02-14 Ben Konrath <ben@bagu.org>
1542 Access data from a postgres db rather than the example glom file.
1544 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1545 compile down to obfuscated javascript.
1546 * pom.xml: Add c3p0 and postgres JDBC libraries.
1547 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1548 using a postgres db accessed through the c3p0 connection pooling library.
1550 2011-02-14 Ben Konrath <ben@bagu.org>
1552 Update Java formatter settings.
1554 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1556 2011-02-02 Ben Konrath <ben@bagu.org>
1558 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1560 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1562 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1563 the compiled webapp directory that Eclipse uses as we're using Maven now.
1564 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1565 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1567 * pom.xml: Format file, change target Java version to 1.6.
1569 2011-02-02 Ben Konrath <ben@bagu.org>
1571 Add information about a deployment related issue.
1573 * README: Add Notes section with the problem outlined.
1575 2011-02-02 Ben Konrath <ben@bagu.org>
1577 Call Glom.libglom_deinit() when the servlet is shutdown.
1579 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1580 Glom.libglom_deinit() to destroy() method.
1582 2011-01-28 Ben Konrath <ben@bagu.org>
1584 Use generated Util class to get the RPC Async interface.
1586 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1588 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1589 getInstance() method to get a reference to the RPC Async interface.
1590 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1591 getInstance() method to get a reference to the RPC Async interface, remove
1592 the now unused getLibGlomServiceProxy() method.
1594 2011-01-27 Ben Konrath <ben@bagu.org>
1596 Cleanup ChangeLog entry from previous commit.
1598 * ChangeLog: Group logical changes together and add comments.
1600 2011-01-25 Ben Konrath <ben@bagu.org>
1602 Convert to gwt-maven project.
1604 * .gitignore: Update for new project structure.
1605 * README: New file with a link to the online documentation.
1606 * pom.xml: The generated maven configuration file with some tweaks.
1608 Add / update Eclipse settings. These files are a merge of the files that
1609 were generated with the gwt-maven plugin and the files we were previously
1613 * .settings/.jsdtscope:
1614 * .settings/com.google.gdt.eclipse.core.prefs:
1615 * .settings/com.google.gwt.eclipse.core.prefs:
1616 * .settings/org.eclipse.jdt.core.prefs:
1617 * .settings/org.eclipse.wst.common.component:
1618 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1619 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1620 * .settings/org.maven.ide.eclipse.prefs:
1621 * OnlineGlomTest-dev.launch:
1622 * OnlineGlomTest-prod.launch:
1624 Java source files moved from the 'src' directory to the directory structure
1626 * src/main/java/org/glom/web/client/GlomDocument.java:
1627 * src/main/java/org/glom/web/client/GlomTable.java:
1628 * src/main/java/org/glom/web/client/LayoutList.java:
1629 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1630 * src/main/java/org/glom/web/client/LibGlomService.java:
1631 * src/main/java/org/glom/web/client/OnlineGlom.java:
1632 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1634 Non-functional property file used for translations. I included this as
1635 reminder that it's something I need to sort out.
1636 * src/main/resources/org/glom/web/client/Messages.properties:
1638 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1639 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1641 The servlet configuration files moved from the 'war' directory.
1642 * src/main/webapp/OnlineGlom.css:
1643 * src/main/webapp/OnlineGlom.html:
1644 * src/main/webapp/WEB-INF/web.xml:
1646 Generated test files with most of the code commented out. I included these
1647 so that it's easy to add tests when we're ready for them.
1648 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1649 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1651 2011-01-25 Ben Konrath <ben@bagu.org>
1653 Remove unused println.
1655 * src/org/glom/web/server/LibGlomServiceImpl.java:
1657 2011-01-25 Ben Konrath <ben@bagu.org>
1659 Add project specific JDT settings.
1661 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1662 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1664 2011-01-25 Ben Konrath <ben@bagu.org>
1666 Populate celltable with example data.
1668 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1669 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1670 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1671 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1672 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1673 asynchronously gets the example data.
1674 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1675 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1676 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1677 curently selected table to be retrieved by other widgets.
1678 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1679 implement getTableData() in a hacky way. This method needs to be updated
1680 to grab information from the database when database creating is
1683 2011-01-20 Ben Konrath <ben@bagu.org>
1685 Set table headers when table dropBox changes.
1687 * src/org/glom/web/client/GlomDocument.java: Correct some method
1689 * src/org/glom/web/client/LibGlomService.java: Add method
1690 to get list layout field names.
1691 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1692 to get list layout field names.
1693 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1694 widget for list layout table.
1695 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1696 the table drop box and add new updateTable() method to asynchronously
1697 get the layout list field names for the currently selected table.
1698 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1699 implementation of getLayoutListHeaders() method.
1700 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1702 2011-01-18 Ben Konrath <ben@bagu.org>
1704 Make a listBox with table titles instead of the flexTable demo.
1706 This is the start of something more useful.
1708 * .classpath: Exclude a bunch of packages from the JVM that are
1709 getting in the way of the Eclipse content assist.
1710 * src/org/glom/web/client/GlomDocument.java:
1711 * src/org/glom/web/client/GlomTable.java:
1712 * src/org/glom/web/client/LibGlomService.java:
1713 * src/org/glom/web/client/LibGlomServiceAsync.java:
1714 * src/org/glom/web/client/OnlineGlom.java:
1715 * src/org/glom/web/server/LibGlomServiceImpl.java:
1716 * war/OnlineGlom.html:
1717 * war/WEB-INF/web.xml:
1719 211-01-13 Ben Konrath <ben@bagu.org>
1721 Update to new java-libglom API.
1723 * .gitignore: Ignore OnlineGlom.war.
1724 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1726 2010-12-20 Ben Konrath <ben@bagu.org>
1728 Add some basic style to the table listing.
1730 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1731 header, print useful error message on async callback failure.
1732 * war/OnlineGlom.css: Add style for table header, remove defaults
1733 provided by the Eclipse project wizard.
1735 2010-12-20 Ben Konrath <ben@bagu.org>
1737 Load example file from installed glom dir.
1739 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1740 provided by java-libglom to find the example file.
1742 2010-12-20 Ben Konrath <ben@bagu.org>
1744 Update Eclipse settings.
1747 * .settings/com.google.gdt.eclipse.core.prefs:
1748 * .settings/com.google.gwt.eclipse.core.prefs:
1750 2010-12-17 Ben Konrath <ben@bagu.org>
1754 * .classpath: New file.
1755 * .gitignore: New file.
1756 * .project: New file.
1757 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1758 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1759 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1760 * src/org/glom/web/client/GlomTable.java: New file.
1761 * src/org/glom/web/client/OnlineGlom.java: New file.
1762 * src/org/glom/web/client/TableNameService.java: New file.
1763 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1764 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1765 * war/OnlineGlom.css: New file.
1766 * war/OnlineGlom.html: New file.
1767 * war/WEB-INF/web.xml: New file.
1768 * war/images/glom.png: New file.