1 2011-05-19 Ben Konrath <ben@bagu.org>
3 Improve performance of initial ListView load.
5 I removed a round trip to the server for getting the default table name
6 and then requesting information about that table. This also removes a potential
7 problem with the table change handler not being setup in time to receive the
8 table change event from the ListActivity.
10 * src/main/java/org/glom/web/client/OnlineGlomService.java:
11 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
12 getDefaultLayoutListTable() method. Improve comments.
13 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
14 getDefaultLayoutListTable() method instead of firing a table change
15 event to get the table to load.
16 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
17 implementation of getDefaultLayoutListTable() method.
18 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
21 2011-05-19 Ben Konrath <ben@bagu.org>
23 Override toDebugString() in TableChangeEvent.
25 This is useful to have for debugging.
27 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
29 2011-05-19 Ben Konrath <ben@bagu.org>
31 Add a "Back to List" link when at the DetailsPlace.
33 * src/main/java/org/glom/web/client/activity/ListActivity.java:
34 Populate the CellTable based on the selected table of the ListBox if
35 it's set otherwise use the default table. This allows the "Back to
37 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
38 Remove Place from constructors. Add a setPlace() method. Add
39 goToPlace() method. Set class as presenter for TableSelectionView.
40 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
41 Use the same TableSelectionActivity when switching between the List and
43 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
44 Subclass the new HasSelectableTablePlace. This removes some duplicate
46 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
47 New class to represent Places that display the TableSelectionView.
48 * src/main/java/org/glom/web/client/place/ListPlace.java:
49 Subclass the new HasSelectableTablePlace. This removes some duplicate
51 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
52 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
53 Add Presenter interface. Add setBackLinkVisible() method. Add
56 2011-05-18 Ben Konrath <ben@bagu.org>
58 Enable the "Details" buttons.
60 Right now only an empty details view is displayed.
62 * src/main/java/org/glom/web/client/ClientFactory.java:
63 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
64 Add DetailsView to ClientFactory.
65 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
66 A basic activity for the details view.
67 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
68 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
70 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
71 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
73 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
74 Create a new DetailsActivity when a DetailsPlace is requested. Remove
75 unnecessary super() in constructor.
76 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
77 Create a new TableSelectionActivity when a DetailsPlace is requested. We
78 really shouldn't create a new TableSelectionActivity for both the ListPlace
79 and the DetailsPlace so this should be considered a temporary solution.
80 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
81 New file. Represents a URL for the details view.
82 * src/main/java/org/glom/web/client/ui/DetailsView.java:
83 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
84 A basic details view interface and implementation.
85 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
86 Enable the "Details" buttons.
88 2011-05-12 Ben Konrath <ben@bagu.org>
90 Use a LayoutPanel with multiple display areas for main layout.
92 This is mostly a refactor in that there are no changes from the user
93 point of view. These changes are required so that we can swap out the list view
94 with the details view when the user clicks the "Details" button.
96 * src/main/java/org/glom/web/client/ClientFactory.java:
97 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
98 OnlineGlomView. Add TableSelectionView, ListView and
100 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
101 for main layout. Add display regions for main activities. Add
102 activity manager for for main activities.
103 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
104 file from parts of the deleted OnlineGlomActivity.
105 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
106 New file from parts of the deleted OnlineGlomActivity.
107 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
108 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
109 New files for app wide table change event.
110 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
111 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
112 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
113 Activity mappers for the main activities replace the deleted app-wide
115 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
116 Fix a spelling error in he comment.
117 * src/main/java/org/glom/web/client/ui/ListView.java:
118 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
119 Renamed from LayoutListView and modified for MVP. This still not a
120 proper dumb view as prescribed by the MVP pattern but it works for now.
121 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
122 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
123 New widget stripped out of the deleted OnlineGlomView.
124 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
125 Remove hack that is fixed by this patch.
127 2011-05-06 Ben Konrath <ben@bagu.org>
129 Rename OnlineGlomPlace to ListPlace.
131 The only change besides the rename is that url will now display #list
132 instead of #Document.
134 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
135 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
136 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
137 * src/main/java/org/glom/web/client/place/ListPlace.java:
138 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
140 2011-05-06 Ben Konrath <ben@bagu.org>
142 Use Presenter for app navigation.
144 This is the proper way to deal with Place (URL) changes with the MVP
147 * src/main/java/org/glom/web/client/ClientFactory.java:
148 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
149 PlaceHistoryMapper and PlaceHistoryHandler.
150 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
151 PlaceHistoryMapper and PlaceHistoryHandler.
152 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
153 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
154 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
155 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
156 Add Presenter interface and setPresenter methods. Rename addHyperLink
157 to addDocumentLink taking only the document title as a parameter.
159 2011-04-14 Ben Konrath <ben@bagu.org>
161 Prompt for db username/password if they haven't been set.
163 This is implemented with a popup widget that is contained within the
164 OnlineGlomView and managed by the OnlineGlomActivity.
166 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
167 methods for checking and setting the database username and password.
168 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
169 new methods for checking and setting the database username and
171 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
172 Display authentication popup if the JDBC connection to the database
173 has not been authenticated.
174 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
176 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
177 for dealing with the authentication popup.
178 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
179 Implement the methods for dealing with the authentication popup.
180 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
181 try to executed queries if the database connection hasn't been
182 authenticated. Implement methods for checking and setting the
183 database username and password.
185 2011-04-12 Ben Konrath <ben@bagu.org>
187 Make log messages a little clearer.
189 Add a dash betweeen the document title and the table name.
191 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
193 2011-04-12 Ben Konrath <ben@bagu.org>
195 Protect against NPEs when cleaning up database resources.
197 While this isn't strictly necessary because the exception is caught,
198 not protecting against the NPEs makes it harder to find the real error
201 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
203 2011-04-12 Ben Konrath <ben@bagu.org>
205 Move configuration of the servlet to the constructor.
207 The servlet will be initialized even if the database authentication
208 information is not set or correct. I still need to add the UI for prompting
209 the user for the authentication information when it's required.
211 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
212 javadocs for getDocumentTitles() method.
213 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
214 Set error message when RPC fails.
215 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
216 glom files directory from the configuration file. Try to set the
217 database authentication information for the specific document if it's
218 set and works otherwise try to use the global authentication
219 information set for the directory.
220 * src/main/resources/onlineglom.properties: Moved from
221 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
222 Added detailed comments for the new keys.
224 2011-04-11 Ben Konrath <ben@bagu.org>
226 Remove unnecessary @Override in DocumentSelectionViewImpl.
228 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
230 2011-04-11 Ben Konrath <ben@bagu.org>
232 Remove center alignment in DocumentSelectionView.
234 The title element is still centred but the document titles and bottom
235 sentence are both left-aligned.
237 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
239 2011-04-11 Ben Konrath <ben@bagu.org>
241 Change 'Demo' naming convention to 'Document'.
243 This is just a rename refactor with no functional changes to the code.
245 * src/main/java/org/glom/web/client/ClientFactory.java:
246 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
247 * src/main/java/org/glom/web/client/OnlineGlom.java:
248 * src/main/java/org/glom/web/client/OnlineGlomService.java:
249 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
250 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
251 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
252 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
253 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
254 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
255 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
256 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
257 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
259 2011-04-08 Ben Konrath <ben@bagu.org>
261 Remove FIXME from safeLongToInt() method.
263 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
266 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
268 2011-04-08 Ben Konrath <ben@bagu.org>
270 Display an error if no glom documents are found in the specified directory.
272 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
273 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
274 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
275 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
277 2011-04-08 Ben Konrath <ben@bagu.org>
279 Add copyright header to one more file ... oops.
281 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
283 2011-04-08 Ben Konrath <ben@bagu.org>
285 Add copyright header to files without it.
287 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
288 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
289 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
290 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
291 * src/main/java/org/glom/web/shared/ColumnInfo.java:
292 * src/main/java/org/glom/web/shared/GlomField.java:
294 2011-04-08 Ben Konrath <ben@bagu.org>
296 Add support for accessing multiple glom documents in the servlet.
298 This completes the demo selection functionality.
300 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
301 document title to methods.
302 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
303 document title to methods.
304 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
305 Set browser window title when the activity starts. Correct name of
306 document title variable.
307 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
308 Set browser window title when the activity starts. Set the table
309 selector change handler after table selector has been set. Clear the
310 OnlineGlomView when the activity has been stopped.
311 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
312 document title as the place token. Use "#Document:" instead of
313 "#OnlineGlomPlace:" in the URL.
314 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
315 Change heading to "Online Glom"
316 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
317 document title in RPC methods.
318 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
319 setDocumentTitle() method. Add clear() method.
320 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
321 setDocumentTitle() method. Implement clear() method which removes the
322 change handler on the ListBox, clears the ListBox and clears the
324 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
325 Implement methods with document title. Keep track for the configured
326 glom documents and their corresponding JDBC configurations in a hash
327 table. This information is retrieved using the document title as the
328 key in the hash table.
329 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
330 document title field as it's no longer needed.
332 2011-04-08 Ben Konrath <ben@bagu.org>
334 Update the Eclipse JDT configuration.
336 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
337 methods. Automatically add the copyright header to new files.
339 2011-04-05 Ben Konrath <ben@bagu.org>
341 Add new page for demo selection.
343 This patch adds all the components required to view and start an
344 OnlineGlom demo by clicking on the desired hyperlink. The user is
345 able to return to the demo selection page with the browser's back
346 button. I still need to modify the servlet to work with multiple
347 documents so all demo links will load the file defined in the
348 OnlineGlom.properties.
350 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
351 This is only useful during development so we don't need to save it.
352 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
353 get a reference to the DemoSelectionView.
354 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
355 method to get a reference to the DemoSelectionView.
356 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
357 default view to DemoSelectionView.
358 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
359 to get glom document titles for glom files in a hard-coded directory.
360 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
361 method to get glom document titles for glom files in a hard-coded
363 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
364 Presenter for DemoSelectionView.
365 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
366 for DemoSelectionView.
367 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
368 Update for DemoSelectionView.
369 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
370 Basic 'Place' implementation for the DemoSelectionView.
371 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
372 The interface for the DemoSelectionView.
373 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
374 The implementation of the DemoSelectionView.
375 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
376 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
377 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
378 implementation of method to get glom document titles for glom files
379 in a hard-coded directory.
380 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
381 on longer being used.
382 * src/main/webapp/glom.png: Glom logo.
384 2011-04-05 Ben Konrath <ben@bagu.org>
386 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
388 This is the forth and final commit of a refactor that will allow
389 OnlineGlom to be used with multiple documents.
391 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
392 Move RPC code from OnlineGlomViewImpl to this class.
393 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
395 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
396 RPC code to the presenter class (the P in MVP).
398 2011-04-04 Ben Konrath <ben@bagu.org>
400 Start moving the existing OnlineGlom code to MVP.
402 This work is based on the GWT MVP framework that is documented here:
404 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
406 This is the third commit of a refactor that will allow OnlineGlom to
407 be used with multiple documents.
409 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
410 Interface for client factory which is used to get instances of various
411 classes throughout the app.
412 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
413 Implementation of client factory.
414 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
415 initialize the MVP framework.
416 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
417 New file. Activity manager for the main container widget. This is the
419 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
420 Maps place (URL) to its corresponding activity.
421 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
422 New file. This is just a place holder for a generated file.
423 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
424 New file. Represents the URL for the main Online Glom app.
425 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
426 for changes in LayoutListViewImpl.
427 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
428 interface for View. Move code to OnlineGlomViewImpl class.
429 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
430 file. Implementation of OnlineGlomView.
431 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
432 Place resources. Use ClientFactoryImpl by default.
434 2011-04-04 Ben Konrath <ben@bagu.org>
436 Move View classes to their own package.
438 This is the second commit of a refactor that will allow OnlineGlom to
439 be used with multiple documents.
441 * src/main/java/org/glom/web/client/OnlineGlom.java:
442 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
443 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
445 2011-04-02 Ben Konrath <ben@bagu.org>
447 Move UI code from the main module to its own class.
449 This is the first commit of a refactor that will allow OnlineGlom to be
450 used with multiple documents.
452 * src/main/java/org/glom/web/client/LayoutListView.java: Update
453 references to OnlineGlom to OnlineGlomView.
454 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
455 OnlineGlomView and instantiate it here.
456 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
457 represents the main OnlineGlomView with one document.
459 2011-04-01 Ben Konrath <ben@bagu.org>
461 Fix formatting of gwt.xml and add DTD.
463 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
465 2011-03-30 Ben Konrath <ben@bagu.org>
467 Propperly convert gdkColor string to html colour string.
469 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
471 2011-03-28 Ben Konrath <ben@bagu.org>
473 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
475 This implementation matches
476 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
477 readable and is not tied to Swig.
479 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
481 2011-03-28 Ben Konrath <ben@bagu.org>
483 Use read-only checkboxes for boolean field types.
485 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
486 in the CellTable based on the field type. It currently only
487 distinguishes between boolean and text columns but I'll need to add
488 support for more types.
489 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
490 column type in the ColumnInfo object. Add method to convert between the
491 glom field type enum in ColumnInfo and the glom field type in libglom.
492 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
494 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
495 getting and setting booleans.
497 2011-03-25 Ben Konrath <ben@bagu.org>
499 Don't get the Date twice from the ResultSet.
501 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
503 2011-03-25 Ben Konrath <ben@bagu.org>
505 Cleanup code in the servlet.
507 * TODO: Remove item about row count. Add item about testing row count
508 query with large number of rows.
509 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
510 spelling mistakes, change method parameter to be consistent with
513 2011-03-25 Ben Konrath <ben@bagu.org>
515 Add server side logging with the gwt-log library.
517 * .gitignore: Ignore the log file we're now producing.
518 * TODO: Add a couple TODO item for logging.
519 * pom.xml: Add gwt-log and log4j as a dependency.
520 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
521 logging of errors, warnings and some important info.
522 * src/main/resources/log4j.properties: New file to configure log4j.
524 2011-03-24 Ben Konrath <ben@bagu.org>
526 Add a disable button for the Details view.
528 * src/main/java/org/glom/web/client/LayoutListView.java:
530 2011-03-22 Ben Konrath <ben@bagu.org>
532 Use a count query to get the number of rows for the list view pager.
534 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
536 2011-03-22 Ben Konrath <ben@bagu.org>
538 Add more TODO information about CellTable pager positioning.
542 2011-03-19 Ben Konrath <ben@bagu.org>
544 Add TODO item about CellTable pager positioning.
548 2011-03-18 Ben Konrath <ben@bagu.org>
550 Remove unneeded GlomFieldColumn class.
552 This is just a small code cleanup.
554 * src/main/java/org/glom/web/client/LayoutListView.java:
556 2011-03-18 Ben Konrath <ben@bagu.org>
558 Use cursor mode in the query that gets data for the list view.
560 I still need to fix the potential memory problem when getting the row
561 count for the list view.
563 * TODO: Add note about testing memory usage with large data sets. Add
564 item about fixing row counting with large data sets.
565 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
566 PostgreSQL JDBC driver into cursor mode when getting data for the
569 2011-03-15 Ben Konrath <ben@bagu.org>
571 Remove the GWT Container from the Eclipse build classpath.
573 The GWT dependencies are set by Maven so this isn't needed.
577 2011-03-15 Murray Cumming <murrayc@murrayc.com>
579 Added some earlier mockups to git, but not to the tarball dist.
581 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
582 Openismus. These hopefully show how we might structure the HTML so that
583 it can be styled easily with CSS. However, we probably need to adapt them
584 for the CSS structure that GWT dictates for common widgets.
586 2011-03-14 Ben Konrath <ben@bagu.org>
588 Locate OnlineGlom.properties using the ServletContext.
590 This is required to be able to locate the file in the deployed servlet.
592 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
593 Configure the database and glom document in in a helper method so
594 that the ServletContext can be used to locate OnlineGlom.properties.
595 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
596 src/main/webapp. This is the proper location for .properites files.
598 2011-03-12 Ben Konrath <ben@bagu.org>
600 Add note to README about why we're compiling down to obfuscated JavaScript.
604 2011-03-11 Ben Konrath <ben@bagu.org>
606 Use properties file to configure servlet.
608 This allows people to change the glom file path, db username and db
609 password without recompiling the code.
611 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
612 * src/main/webapp/OnlineGlom.properties:
614 2011-03-11 Ben Konrath <ben@bagu.org>
616 Use table fields in layout list view if the layout list is not defined.
618 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
619 Manually create a LayoutFieldVector for the query builder using the
620 table fields when a layout list is not defined in the glom file.
622 2011-03-11 Ben Konrath <ben@bagu.org>
624 Only show FIXME string for images when there's an image.
626 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
627 in this change are some small code cleanups.
629 2011-03-11 Ben Konrath <ben@bagu.org>
631 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
633 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
635 2011-03-11 Ben Konrath <ben@bagu.org>
637 Correctly set the index of the default table.
639 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
640 Correctly set the index of the default table. Add commented out example
643 2011-03-10 Ben Konrath <ben@bagu.org>
645 Add comment to pom.xml about the previous change.
647 * pom.xml: Add comment about the deployment issue so that it's obvious
648 why java-libglom is set to the provided scope.
650 2011-03-10 Ben Konrath <ben@bagu.org>
652 Change java-libglom dependency from compile to provided in pom.xml.
654 Since java-libglom uses jni it can only be loaded once and therefore
655 must be placed in $CATALINA_HOME/lib and not included in each war.
656 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
657 More information about this issue can be found in the Tomcat 6 release
658 notes in the "JNI Based Applications" section:
660 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
662 * README: Remove note about this issue. Deployment info should really
663 be on the wiki anyway so I'll add it right now.
664 * pom.xml: Change java-libglom dependency from compile to provided so
665 that it's copied in to the packaged war.
667 2011-03-09 Ben Konrath <ben@bagu.org>
669 Change to using a neutral locale for currency, date and time formatting.
671 This solves the problem of currency values being represented without a
672 space between the currency code and the number (e.g. "EUR5.89" is now
673 represented as "EUR 5.89"). More work is required when we implement
674 a locale preference setting.
676 * TODO: Add note about currency formatting issues with different
678 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
679 to using the neutral ROOT locale.
681 2011-03-09 Ben Konrath <ben@bagu.org>
683 Add support for currency codes that are not ISO 4217 codes.
685 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
686 the currency code defined in the glom file when it's not 3 characters
687 long or when Java doesn't recognize the string as an ISO 4217 code.
689 2011-03-08 Ben Konrath <ben@bagu.org>
691 Remove test classes, launch configurations and configuration.
693 The test stuff was getting in the way when creating the war. To make
694 the war file you can now do 'mvn clean package'. The packaged war file
695 will be in the target directory.
697 * .classpath: Remove unused classpathentry for tests and i18n.
698 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
699 property. Don't run test or i18n goals when packaging the war.
700 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
705 * OnlineGlomTest-dev.launch:
706 * OnlineGlomTest-prod.launch:
707 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
708 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
710 2011-03-07 Ben Konrath <ben@bagu.org>
712 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
714 These fixes allow me to use 'mvn deploy' to create the war file.
716 * .classpath: This generated config has been updated by Eclipse. This
717 change was probably triggered by me updating from Eclipse 3.6.1 to
719 * .gitignore: Add entry to ignore the directory
720 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
721 * .project: The generated config has been updated by Eclipse. This
722 change was probably triggered by me updating from Eclipse 3.6.1 to
724 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
725 so that Eclipse doesn't complain
726 * pom.xml: Update to gwt-maven-plugin 2.2.0.
727 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
728 'tests' directory to 'client' directory. This is the new
729 gwt-maven-plugin convension.
730 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
731 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
733 2011-03-07 Ben Konrath <ben@bagu.org>
735 Add support for horizontal alignment in the LayoutList columns.
737 * TODO: Remove item about horizontal alignment. Add item about
738 improvements to ColumnInfo.
739 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
740 alignment on the columns. Use ColumnInfo RPC object get the column
741 title and horizontal alignment.
742 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
743 LayoutListView creation with ColumnInfo RPC object.
744 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
745 a ColumnInfo object for every LayoutList columnn. Convert the
746 FieldFormatting.HorizontalAlignment to the correct
747 ColumnnInfo.HorizontatlAlignment with the new
748 getColumnInfoHorizontalAlignment helper method.
749 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
750 to encapsulate column information like alignment and title. This
751 could be used to set the colour instead of on a per cell field basis.
752 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
753 column title storage and retrieval with ColumnInfo.
755 2011-03-04 Ben Konrath <ben@bagu.org>
757 Add support for column sorting.
759 * src/main/java/org/glom/web/client/LayoutListView.java: Change
760 AsynDataProvider to be an anonymous inner class. Use new
761 getSortedTableData RPC method when column sort is requested. Set all
762 columns sortable and add an AsyncHandler to activate sorting in the
764 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
765 method getSortedTableData(). Cleanup other method signatures.
766 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
767 new method getSortedTableData(). Cleanup other method signatures.
768 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
769 Implement getSortedTableData() and getTableData() methods by using a
770 private helper method with the appropriate parameters filled in. Use
771 user supplied sort clause when supplied, otherwise fall back to
772 sorting by the primary key. Move destroy() method to be underneath
773 constructor for readability. Cleanup comments.
775 2011-03-03 Ben Konrath <ben@bagu.org>
777 Add support for colour text and colour backgrounds to the layout list cells.
779 Only the cell backgrounds are coloured which leaves a gap between the
780 cells that isn't coloured. I need to figure out a way to set
781 'style=background-colour:' on the whole column rather than just the
784 * TODO: Add a note about colouring the background of the whole column.
785 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
786 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
787 render the coloured text and backgrounds. Use GlomField[] for the row type.
788 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
790 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
791 GlomField[] for the row type.
792 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
793 GlomField[] for the row type. Set the text, text colour and background
794 colour in the GlomField objects as specified in the glom document. Add
795 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
796 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
797 the glom field text, foreground colour and background colour.
799 2011-03-02 Ben Konrath <ben@bagu.org>
801 Don't display hidden tables in the combo box.
803 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
805 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
806 code to ignore hidden tables using ArrayLists for the table names and
808 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
809 tableNames to use ArrayLists instead of String[]. Update getter and setter
812 2011-03-01 Ben Konrath <ben@bagu.org>
814 Add support for Date and Time number types.
816 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
817 Implement formatting for Date and Time values. Change the default glom
818 file to small business example.
820 2011-03-01 Ben Konrath <ben@bagu.org>
822 Add support for formatting glom types as specified in the glom file.
824 Formatting isn't finished yet - I still need to add support for Date
827 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
828 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
829 checks for null values in JDBC cleanup code and catch all exceptions
830 instead of just SQLExceptions.
831 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
834 2011-03-01 Ben Konrath <ben@bagu.org>
836 Use GWT 2.2.0 instead of 2.1.1.
838 * pom.xml: Change GWT version numbers.
840 2011-03-01 Ben Konrath <ben@bagu.org>
842 A few small code cleanups.
844 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
846 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
847 unnecessary object creation in constructor.
848 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
849 unnecessary object creation in constructor.
851 2011-02-28 Ben Konrath <ben@bagu.org>
853 Add file for TODO list.
857 2011-02-18 Ben Konrath <ben@bagu.org>
859 Enable the CellTable Pager when more than 20 rows need to be viewed.
861 The Pager will automatically become active when the results are larger
862 than the CellTable size which is currently set to 20 lines.
864 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
865 name on debug statment in RPC call in LayoutListDataProvider, add
866 numRows parameter to LayoutListView constructor, propperly set rowCount
868 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
869 name on debug statment in RPC call, use LayoutListTable object in RPC
870 calls, pass rowCount to LayoutListView.
871 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
872 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
874 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
875 interface for changes in OnlineGlomService.
876 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
877 getLayoutListHeaders() to getLayoutListTable() and return
878 LayoutListTable. Using this object allows me to pass other information
879 about the LayoutList like the expected number of rows in the result set.
880 The Connection object from the connection pool is now propperly closed.
881 Only the requested number of lines are returned to the client in
883 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
884 GlomTable and add columnTitles and numRows.
886 2011-02-18 Ben Konrath <ben@bagu.org>
888 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
890 This is a small performance boost. I'll use GlomTable to get the required
891 layoutlist information.
893 * src/main/java/org/glom/web/client/OnlineGlom.java:
894 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
895 * src/main/java/org/glom/web/shared/GlomDocument.java:
897 2011-02-18 Ben Konrath <ben@bagu.org>
899 Add option to turn off formatting in JDT formatter preferences.
901 * .settings/org.eclipse.jdt.core.prefs:
903 2011-02-18 Ben Konrath <ben@bagu.org>
905 Rename LayoutList to LayoutListView.
907 I'm working towards setting things up to easily use MVP when the time
910 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
912 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
915 2011-02-17 Ben Konrath <ben@bagu.org>
917 Move LayoutListDataProvider class into LayoutList.java.
919 * src/main/java/org/glom/web/client/LayoutList.java:
921 2011-02-17 Ben Konrath <ben@bagu.org>
923 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
925 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
927 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
928 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
929 from LibGlomServer.java.
930 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
931 Rename from LibGlomServiceAsync.java.
932 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
933 Rename from LibGlomServiceImpl.java.
934 * src/main/webapp/WEB-INF/web.xml: Update configuration.
936 2011-02-17 Ben Konrath <ben@bagu.org>
940 * .settings/org.eclipse.jdt.core.prefs:
942 2011-02-17 Ben Konrath <ben@bagu.org>
944 Move GWT-RPC objects to shared package (where they should be).
946 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
947 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
948 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
949 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
950 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
951 org.glom.web.shared package.
952 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
953 org.glom.web.shared package.
954 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
955 directory in compilation to javascript.
957 2011-02-16 Ben Konrath <ben@bagu.org>
959 Add sort clause to the sql query that grabs table information.
961 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
962 if one of the columns is a primary key.
964 2011-02-16 Ben Konrath <ben@bagu.org>
966 Disable generateAsync feature of gwt-maven.
968 The generated interface does not correctly match the methods in LibGlomService
969 and the generated singleton Util inner-class doesn't respect the servlet
972 * pom.xml: Turn off generateAsync feature.
973 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
974 with singleton Util inner-class.
976 2011-02-14 Ben Konrath <ben@bagu.org>
978 Add LGPL v3 licence notices.
980 Followed directions listed here:
981 http://www.gnu.org/licenses/gpl-howto.html
983 * COPYING: This file is a copy of the GPL v3.
984 * COPYING.LESSER: This file is a copy of the LGPL v3.
985 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
987 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
989 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
991 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
993 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
995 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
997 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1000 2011-02-14 Ben Konrath <ben@bagu.org>
1002 Use ArrayList instead of Array in GWT-RPC calls.
1004 Apparently this gives a slight performance boost to the compiled
1007 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1009 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1012 2011-02-14 Ben Konrath <ben@bagu.org>
1014 Access data from a postgres db rather than the example glom file.
1016 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1017 compile down to obfuscated javascript.
1018 * pom.xml: Add c3p0 and postgres JDBC libraries.
1019 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1020 using a postgres db accessed through the c3p0 connection pooling library.
1022 2011-02-14 Ben Konrath <ben@bagu.org>
1024 Update Java formatter settings.
1026 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1028 2011-02-02 Ben Konrath <ben@bagu.org>
1030 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1032 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1034 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1035 the compiled webapp directory that Eclipse uses as we're using Maven now.
1036 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1037 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1039 * pom.xml: Format file, change target Java version to 1.6.
1041 2011-02-02 Ben Konrath <ben@bagu.org>
1043 Add information about a deployment related issue.
1045 * README: Add Notes section with the problem outlined.
1047 2011-02-02 Ben Konrath <ben@bagu.org>
1049 Call Glom.libglom_deinit() when the servlet is shutdown.
1051 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1052 Glom.libglom_deinit() to destroy() method.
1054 2011-01-28 Ben Konrath <ben@bagu.org>
1056 Use generated Util class to get the RPC Async interface.
1058 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1060 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1061 getInstance() method to get a reference to the RPC Async interface.
1062 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1063 getInstance() method to get a reference to the RPC Async interface, remove
1064 the now unused getLibGlomServiceProxy() method.
1066 2011-01-27 Ben Konrath <ben@bagu.org>
1068 Cleanup ChangeLog entry from previous commit.
1070 * ChangeLog: Group logical changes together and add comments.
1072 2011-01-25 Ben Konrath <ben@bagu.org>
1074 Convert to gwt-maven project.
1076 * .gitignore: Update for new project structure.
1077 * README: New file with a link to the online documentation.
1078 * pom.xml: The generated maven configuration file with some tweaks.
1080 Add / update Eclipse settings. These files are a merge of the files that
1081 were generated with the gwt-maven plugin and the files we were previously
1085 * .settings/.jsdtscope:
1086 * .settings/com.google.gdt.eclipse.core.prefs:
1087 * .settings/com.google.gwt.eclipse.core.prefs:
1088 * .settings/org.eclipse.jdt.core.prefs:
1089 * .settings/org.eclipse.wst.common.component:
1090 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1091 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1092 * .settings/org.maven.ide.eclipse.prefs:
1093 * OnlineGlomTest-dev.launch:
1094 * OnlineGlomTest-prod.launch:
1096 Java source files moved from the 'src' directory to the directory structure
1098 * src/main/java/org/glom/web/client/GlomDocument.java:
1099 * src/main/java/org/glom/web/client/GlomTable.java:
1100 * src/main/java/org/glom/web/client/LayoutList.java:
1101 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1102 * src/main/java/org/glom/web/client/LibGlomService.java:
1103 * src/main/java/org/glom/web/client/OnlineGlom.java:
1104 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1106 Non-functional property file used for translations. I included this as
1107 reminder that it's something I need to sort out.
1108 * src/main/resources/org/glom/web/client/Messages.properties:
1110 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1111 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1113 The servlet configuration files moved from the 'war' directory.
1114 * src/main/webapp/OnlineGlom.css:
1115 * src/main/webapp/OnlineGlom.html:
1116 * src/main/webapp/WEB-INF/web.xml:
1118 Generated test files with most of the code commented out. I included these
1119 so that it's easy to add tests when we're ready for them.
1120 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1121 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1123 2011-01-25 Ben Konrath <ben@bagu.org>
1125 Remove unused println.
1127 * src/org/glom/web/server/LibGlomServiceImpl.java:
1129 2011-01-25 Ben Konrath <ben@bagu.org>
1131 Add project specific JDT settings.
1133 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1134 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1136 2011-01-25 Ben Konrath <ben@bagu.org>
1138 Populate celltable with example data.
1140 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1141 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1142 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1143 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1144 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1145 asynchronously gets the example data.
1146 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1147 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1148 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1149 curently selected table to be retrieved by other widgets.
1150 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1151 implement getTableData() in a hacky way. This method needs to be updated
1152 to grab information from the database when database creating is
1155 2011-01-20 Ben Konrath <ben@bagu.org>
1157 Set table headers when table dropBox changes.
1159 * src/org/glom/web/client/GlomDocument.java: Correct some method
1161 * src/org/glom/web/client/LibGlomService.java: Add method
1162 to get list layout field names.
1163 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1164 to get list layout field names.
1165 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1166 widget for list layout table.
1167 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1168 the table drop box and add new updateTable() method to asynchronously
1169 get the layout list field names for the currently selected table.
1170 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1171 implementation of getLayoutListHeaders() method.
1172 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1174 2011-01-18 Ben Konrath <ben@bagu.org>
1176 Make a listBox with table titles instead of the flexTable demo.
1178 This is the start of something more useful.
1180 * .classpath: Exclude a bunch of packages from the JVM that are
1181 getting in the way of the Eclipse content assist.
1182 * src/org/glom/web/client/GlomDocument.java:
1183 * src/org/glom/web/client/GlomTable.java:
1184 * src/org/glom/web/client/LibGlomService.java:
1185 * src/org/glom/web/client/LibGlomServiceAsync.java:
1186 * src/org/glom/web/client/OnlineGlom.java:
1187 * src/org/glom/web/server/LibGlomServiceImpl.java:
1188 * war/OnlineGlom.html:
1189 * war/WEB-INF/web.xml:
1191 211-01-13 Ben Konrath <ben@bagu.org>
1193 Update to new java-libglom API.
1195 * .gitignore: Ignore OnlineGlom.war.
1196 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1198 2010-12-20 Ben Konrath <ben@bagu.org>
1200 Add some basic style to the table listing.
1202 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1203 header, print useful error message on async callback failure.
1204 * war/OnlineGlom.css: Add style for table header, remove defaults
1205 provided by the Eclipse project wizard.
1207 2010-12-20 Ben Konrath <ben@bagu.org>
1209 Load example file from installed glom dir.
1211 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1212 provided by java-libglom to find the example file.
1214 2010-12-20 Ben Konrath <ben@bagu.org>
1216 Update Eclipse settings.
1219 * .settings/com.google.gdt.eclipse.core.prefs:
1220 * .settings/com.google.gwt.eclipse.core.prefs:
1222 2010-12-17 Ben Konrath <ben@bagu.org>
1226 * .classpath: New file.
1227 * .gitignore: New file.
1228 * .project: New file.
1229 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1230 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1231 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1232 * src/org/glom/web/client/GlomTable.java: New file.
1233 * src/org/glom/web/client/OnlineGlom.java: New file.
1234 * src/org/glom/web/client/TableNameService.java: New file.
1235 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1236 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1237 * war/OnlineGlom.css: New file.
1238 * war/OnlineGlom.html: New file.
1239 * war/WEB-INF/web.xml: New file.
1240 * war/images/glom.png: New file.