1 2011-05-27 Ben Konrath <ben@bagu.org>
3 Reset the AuthenticationPopup when clearing the ListView.
5 * src/main/java/org/glom/web/client/activity/ListActivity.java:
7 2011-05-27 Ben Konrath <ben@bagu.org>
9 Fix problem with onlineglom.properties file loading.
11 The old way worked in Eclipse but not on the server. Loading the
12 onlineglom.properties file now works in Eclipse and on the server.
14 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
16 2011-05-24 Ben Konrath <ben@bagu.org>
18 Update gwt-log from 3.1.0 to 3.1.2.
20 Gwt-log 3.1.0 has been marked as depreciated.
24 2011-05-24 Ben Konrath <ben@bagu.org>
26 Add comment to ListActivity.goTo() method.
28 * src/main/java/org/glom/web/client/activity/ListActivity.java:
30 2011-05-24 Ben Konrath <ben@bagu.org>
32 Remove FIXME in convertGdkColorToHtmlColour()
34 The Gdk::Color value returned by libglom is 16-bits per channel on both
35 64 and 32-bit platforms.
37 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
39 2011-05-19 Ben Konrath <ben@bagu.org>
41 Improve performance of initial ListView load.
43 I removed a round trip to the server for getting the default table name
44 and then requesting information about that table. This also removes a potential
45 problem with the table change handler not being setup in time to receive the
46 table change event from the ListActivity.
48 * src/main/java/org/glom/web/client/OnlineGlomService.java:
49 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
50 getDefaultLayoutListTable() method. Improve comments.
51 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
52 getDefaultLayoutListTable() method instead of firing a table change
53 event to get the table to load.
54 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
55 implementation of getDefaultLayoutListTable() method.
56 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
59 2011-05-19 Ben Konrath <ben@bagu.org>
61 Override toDebugString() in TableChangeEvent.
63 This is useful to have for debugging.
65 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
67 2011-05-19 Ben Konrath <ben@bagu.org>
69 Add a "Back to List" link when at the DetailsPlace.
71 * src/main/java/org/glom/web/client/activity/ListActivity.java:
72 Populate the CellTable based on the selected table of the ListBox if
73 it's set otherwise use the default table. This allows the "Back to
75 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
76 Remove Place from constructors. Add a setPlace() method. Add
77 goToPlace() method. Set class as presenter for TableSelectionView.
78 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
79 Use the same TableSelectionActivity when switching between the List and
81 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
82 Subclass the new HasSelectableTablePlace. This removes some duplicate
84 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
85 New class to represent Places that display the TableSelectionView.
86 * src/main/java/org/glom/web/client/place/ListPlace.java:
87 Subclass the new HasSelectableTablePlace. This removes some duplicate
89 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
90 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
91 Add Presenter interface. Add setBackLinkVisible() method. Add
94 2011-05-18 Ben Konrath <ben@bagu.org>
96 Enable the "Details" buttons.
98 Right now only an empty details view is displayed.
100 * src/main/java/org/glom/web/client/ClientFactory.java:
101 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
102 Add DetailsView to ClientFactory.
103 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
104 A basic activity for the details view.
105 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
106 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
108 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
109 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
111 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
112 Create a new DetailsActivity when a DetailsPlace is requested. Remove
113 unnecessary super() in constructor.
114 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
115 Create a new TableSelectionActivity when a DetailsPlace is requested. We
116 really shouldn't create a new TableSelectionActivity for both the ListPlace
117 and the DetailsPlace so this should be considered a temporary solution.
118 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
119 New file. Represents a URL for the details view.
120 * src/main/java/org/glom/web/client/ui/DetailsView.java:
121 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
122 A basic details view interface and implementation.
123 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
124 Enable the "Details" buttons.
126 2011-05-12 Ben Konrath <ben@bagu.org>
128 Use a LayoutPanel with multiple display areas for main layout.
130 This is mostly a refactor in that there are no changes from the user
131 point of view. These changes are required so that we can swap out the list view
132 with the details view when the user clicks the "Details" button.
134 * src/main/java/org/glom/web/client/ClientFactory.java:
135 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
136 OnlineGlomView. Add TableSelectionView, ListView and
138 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
139 for main layout. Add display regions for main activities. Add
140 activity manager for for main activities.
141 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
142 file from parts of the deleted OnlineGlomActivity.
143 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
144 New file from parts of the deleted OnlineGlomActivity.
145 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
146 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
147 New files for app wide table change event.
148 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
149 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
150 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
151 Activity mappers for the main activities replace the deleted app-wide
153 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
154 Fix a spelling error in he comment.
155 * src/main/java/org/glom/web/client/ui/ListView.java:
156 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
157 Renamed from LayoutListView and modified for MVP. This still not a
158 proper dumb view as prescribed by the MVP pattern but it works for now.
159 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
160 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
161 New widget stripped out of the deleted OnlineGlomView.
162 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
163 Remove hack that is fixed by this patch.
165 2011-05-06 Ben Konrath <ben@bagu.org>
167 Rename OnlineGlomPlace to ListPlace.
169 The only change besides the rename is that url will now display #list
170 instead of #Document.
172 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
173 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
174 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
175 * src/main/java/org/glom/web/client/place/ListPlace.java:
176 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
178 2011-05-06 Ben Konrath <ben@bagu.org>
180 Use Presenter for app navigation.
182 This is the proper way to deal with Place (URL) changes with the MVP
185 * src/main/java/org/glom/web/client/ClientFactory.java:
186 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
187 PlaceHistoryMapper and PlaceHistoryHandler.
188 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
189 PlaceHistoryMapper and PlaceHistoryHandler.
190 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
191 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
192 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
193 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
194 Add Presenter interface and setPresenter methods. Rename addHyperLink
195 to addDocumentLink taking only the document title as a parameter.
197 2011-04-14 Ben Konrath <ben@bagu.org>
199 Prompt for db username/password if they haven't been set.
201 This is implemented with a popup widget that is contained within the
202 OnlineGlomView and managed by the OnlineGlomActivity.
204 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
205 methods for checking and setting the database username and password.
206 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
207 new methods for checking and setting the database username and
209 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
210 Display authentication popup if the JDBC connection to the database
211 has not been authenticated.
212 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
214 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
215 for dealing with the authentication popup.
216 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
217 Implement the methods for dealing with the authentication popup.
218 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
219 try to executed queries if the database connection hasn't been
220 authenticated. Implement methods for checking and setting the
221 database username and password.
223 2011-04-12 Ben Konrath <ben@bagu.org>
225 Make log messages a little clearer.
227 Add a dash betweeen the document title and the table name.
229 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
231 2011-04-12 Ben Konrath <ben@bagu.org>
233 Protect against NPEs when cleaning up database resources.
235 While this isn't strictly necessary because the exception is caught,
236 not protecting against the NPEs makes it harder to find the real error
239 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
241 2011-04-12 Ben Konrath <ben@bagu.org>
243 Move configuration of the servlet to the constructor.
245 The servlet will be initialized even if the database authentication
246 information is not set or correct. I still need to add the UI for prompting
247 the user for the authentication information when it's required.
249 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
250 javadocs for getDocumentTitles() method.
251 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
252 Set error message when RPC fails.
253 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
254 glom files directory from the configuration file. Try to set the
255 database authentication information for the specific document if it's
256 set and works otherwise try to use the global authentication
257 information set for the directory.
258 * src/main/resources/onlineglom.properties: Moved from
259 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
260 Added detailed comments for the new keys.
262 2011-04-11 Ben Konrath <ben@bagu.org>
264 Remove unnecessary @Override in DocumentSelectionViewImpl.
266 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
268 2011-04-11 Ben Konrath <ben@bagu.org>
270 Remove center alignment in DocumentSelectionView.
272 The title element is still centred but the document titles and bottom
273 sentence are both left-aligned.
275 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
277 2011-04-11 Ben Konrath <ben@bagu.org>
279 Change 'Demo' naming convention to 'Document'.
281 This is just a rename refactor with no functional changes to the code.
283 * src/main/java/org/glom/web/client/ClientFactory.java:
284 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
285 * src/main/java/org/glom/web/client/OnlineGlom.java:
286 * src/main/java/org/glom/web/client/OnlineGlomService.java:
287 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
288 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
289 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
290 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
291 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
292 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
293 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
294 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
295 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
297 2011-04-08 Ben Konrath <ben@bagu.org>
299 Remove FIXME from safeLongToInt() method.
301 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
304 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
306 2011-04-08 Ben Konrath <ben@bagu.org>
308 Display an error if no glom documents are found in the specified directory.
310 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
311 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
312 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
313 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
315 2011-04-08 Ben Konrath <ben@bagu.org>
317 Add copyright header to one more file ... oops.
319 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
321 2011-04-08 Ben Konrath <ben@bagu.org>
323 Add copyright header to files without it.
325 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
326 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
327 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
328 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
329 * src/main/java/org/glom/web/shared/ColumnInfo.java:
330 * src/main/java/org/glom/web/shared/GlomField.java:
332 2011-04-08 Ben Konrath <ben@bagu.org>
334 Add support for accessing multiple glom documents in the servlet.
336 This completes the demo selection functionality.
338 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
339 document title to methods.
340 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
341 document title to methods.
342 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
343 Set browser window title when the activity starts. Correct name of
344 document title variable.
345 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
346 Set browser window title when the activity starts. Set the table
347 selector change handler after table selector has been set. Clear the
348 OnlineGlomView when the activity has been stopped.
349 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
350 document title as the place token. Use "#Document:" instead of
351 "#OnlineGlomPlace:" in the URL.
352 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
353 Change heading to "Online Glom"
354 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
355 document title in RPC methods.
356 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
357 setDocumentTitle() method. Add clear() method.
358 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
359 setDocumentTitle() method. Implement clear() method which removes the
360 change handler on the ListBox, clears the ListBox and clears the
362 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
363 Implement methods with document title. Keep track for the configured
364 glom documents and their corresponding JDBC configurations in a hash
365 table. This information is retrieved using the document title as the
366 key in the hash table.
367 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
368 document title field as it's no longer needed.
370 2011-04-08 Ben Konrath <ben@bagu.org>
372 Update the Eclipse JDT configuration.
374 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
375 methods. Automatically add the copyright header to new files.
377 2011-04-05 Ben Konrath <ben@bagu.org>
379 Add new page for demo selection.
381 This patch adds all the components required to view and start an
382 OnlineGlom demo by clicking on the desired hyperlink. The user is
383 able to return to the demo selection page with the browser's back
384 button. I still need to modify the servlet to work with multiple
385 documents so all demo links will load the file defined in the
386 OnlineGlom.properties.
388 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
389 This is only useful during development so we don't need to save it.
390 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
391 get a reference to the DemoSelectionView.
392 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
393 method to get a reference to the DemoSelectionView.
394 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
395 default view to DemoSelectionView.
396 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
397 to get glom document titles for glom files in a hard-coded directory.
398 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
399 method to get glom document titles for glom files in a hard-coded
401 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
402 Presenter for DemoSelectionView.
403 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
404 for DemoSelectionView.
405 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
406 Update for DemoSelectionView.
407 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
408 Basic 'Place' implementation for the DemoSelectionView.
409 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
410 The interface for the DemoSelectionView.
411 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
412 The implementation of the DemoSelectionView.
413 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
414 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
415 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
416 implementation of method to get glom document titles for glom files
417 in a hard-coded directory.
418 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
419 on longer being used.
420 * src/main/webapp/glom.png: Glom logo.
422 2011-04-05 Ben Konrath <ben@bagu.org>
424 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
426 This is the forth and final commit of a refactor that will allow
427 OnlineGlom to be used with multiple documents.
429 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
430 Move RPC code from OnlineGlomViewImpl to this class.
431 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
433 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
434 RPC code to the presenter class (the P in MVP).
436 2011-04-04 Ben Konrath <ben@bagu.org>
438 Start moving the existing OnlineGlom code to MVP.
440 This work is based on the GWT MVP framework that is documented here:
442 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
444 This is the third commit of a refactor that will allow OnlineGlom to
445 be used with multiple documents.
447 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
448 Interface for client factory which is used to get instances of various
449 classes throughout the app.
450 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
451 Implementation of client factory.
452 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
453 initialize the MVP framework.
454 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
455 New file. Activity manager for the main container widget. This is the
457 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
458 Maps place (URL) to its corresponding activity.
459 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
460 New file. This is just a place holder for a generated file.
461 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
462 New file. Represents the URL for the main Online Glom app.
463 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
464 for changes in LayoutListViewImpl.
465 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
466 interface for View. Move code to OnlineGlomViewImpl class.
467 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
468 file. Implementation of OnlineGlomView.
469 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
470 Place resources. Use ClientFactoryImpl by default.
472 2011-04-04 Ben Konrath <ben@bagu.org>
474 Move View classes to their own package.
476 This is the second commit of a refactor that will allow OnlineGlom to
477 be used with multiple documents.
479 * src/main/java/org/glom/web/client/OnlineGlom.java:
480 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
481 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
483 2011-04-02 Ben Konrath <ben@bagu.org>
485 Move UI code from the main module to its own class.
487 This is the first commit of a refactor that will allow OnlineGlom to be
488 used with multiple documents.
490 * src/main/java/org/glom/web/client/LayoutListView.java: Update
491 references to OnlineGlom to OnlineGlomView.
492 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
493 OnlineGlomView and instantiate it here.
494 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
495 represents the main OnlineGlomView with one document.
497 2011-04-01 Ben Konrath <ben@bagu.org>
499 Fix formatting of gwt.xml and add DTD.
501 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
503 2011-03-30 Ben Konrath <ben@bagu.org>
505 Propperly convert gdkColor string to html colour string.
507 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
509 2011-03-28 Ben Konrath <ben@bagu.org>
511 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
513 This implementation matches
514 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
515 readable and is not tied to Swig.
517 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
519 2011-03-28 Ben Konrath <ben@bagu.org>
521 Use read-only checkboxes for boolean field types.
523 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
524 in the CellTable based on the field type. It currently only
525 distinguishes between boolean and text columns but I'll need to add
526 support for more types.
527 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
528 column type in the ColumnInfo object. Add method to convert between the
529 glom field type enum in ColumnInfo and the glom field type in libglom.
530 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
532 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
533 getting and setting booleans.
535 2011-03-25 Ben Konrath <ben@bagu.org>
537 Don't get the Date twice from the ResultSet.
539 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
541 2011-03-25 Ben Konrath <ben@bagu.org>
543 Cleanup code in the servlet.
545 * TODO: Remove item about row count. Add item about testing row count
546 query with large number of rows.
547 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
548 spelling mistakes, change method parameter to be consistent with
551 2011-03-25 Ben Konrath <ben@bagu.org>
553 Add server side logging with the gwt-log library.
555 * .gitignore: Ignore the log file we're now producing.
556 * TODO: Add a couple TODO item for logging.
557 * pom.xml: Add gwt-log and log4j as a dependency.
558 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
559 logging of errors, warnings and some important info.
560 * src/main/resources/log4j.properties: New file to configure log4j.
562 2011-03-24 Ben Konrath <ben@bagu.org>
564 Add a disable button for the Details view.
566 * src/main/java/org/glom/web/client/LayoutListView.java:
568 2011-03-22 Ben Konrath <ben@bagu.org>
570 Use a count query to get the number of rows for the list view pager.
572 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
574 2011-03-22 Ben Konrath <ben@bagu.org>
576 Add more TODO information about CellTable pager positioning.
580 2011-03-19 Ben Konrath <ben@bagu.org>
582 Add TODO item about CellTable pager positioning.
586 2011-03-18 Ben Konrath <ben@bagu.org>
588 Remove unneeded GlomFieldColumn class.
590 This is just a small code cleanup.
592 * src/main/java/org/glom/web/client/LayoutListView.java:
594 2011-03-18 Ben Konrath <ben@bagu.org>
596 Use cursor mode in the query that gets data for the list view.
598 I still need to fix the potential memory problem when getting the row
599 count for the list view.
601 * TODO: Add note about testing memory usage with large data sets. Add
602 item about fixing row counting with large data sets.
603 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
604 PostgreSQL JDBC driver into cursor mode when getting data for the
607 2011-03-15 Ben Konrath <ben@bagu.org>
609 Remove the GWT Container from the Eclipse build classpath.
611 The GWT dependencies are set by Maven so this isn't needed.
615 2011-03-15 Murray Cumming <murrayc@murrayc.com>
617 Added some earlier mockups to git, but not to the tarball dist.
619 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
620 Openismus. These hopefully show how we might structure the HTML so that
621 it can be styled easily with CSS. However, we probably need to adapt them
622 for the CSS structure that GWT dictates for common widgets.
624 2011-03-14 Ben Konrath <ben@bagu.org>
626 Locate OnlineGlom.properties using the ServletContext.
628 This is required to be able to locate the file in the deployed servlet.
630 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
631 Configure the database and glom document in in a helper method so
632 that the ServletContext can be used to locate OnlineGlom.properties.
633 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
634 src/main/webapp. This is the proper location for .properites files.
636 2011-03-12 Ben Konrath <ben@bagu.org>
638 Add note to README about why we're compiling down to obfuscated JavaScript.
642 2011-03-11 Ben Konrath <ben@bagu.org>
644 Use properties file to configure servlet.
646 This allows people to change the glom file path, db username and db
647 password without recompiling the code.
649 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
650 * src/main/webapp/OnlineGlom.properties:
652 2011-03-11 Ben Konrath <ben@bagu.org>
654 Use table fields in layout list view if the layout list is not defined.
656 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
657 Manually create a LayoutFieldVector for the query builder using the
658 table fields when a layout list is not defined in the glom file.
660 2011-03-11 Ben Konrath <ben@bagu.org>
662 Only show FIXME string for images when there's an image.
664 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
665 in this change are some small code cleanups.
667 2011-03-11 Ben Konrath <ben@bagu.org>
669 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
671 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
673 2011-03-11 Ben Konrath <ben@bagu.org>
675 Correctly set the index of the default table.
677 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
678 Correctly set the index of the default table. Add commented out example
681 2011-03-10 Ben Konrath <ben@bagu.org>
683 Add comment to pom.xml about the previous change.
685 * pom.xml: Add comment about the deployment issue so that it's obvious
686 why java-libglom is set to the provided scope.
688 2011-03-10 Ben Konrath <ben@bagu.org>
690 Change java-libglom dependency from compile to provided in pom.xml.
692 Since java-libglom uses jni it can only be loaded once and therefore
693 must be placed in $CATALINA_HOME/lib and not included in each war.
694 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
695 More information about this issue can be found in the Tomcat 6 release
696 notes in the "JNI Based Applications" section:
698 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
700 * README: Remove note about this issue. Deployment info should really
701 be on the wiki anyway so I'll add it right now.
702 * pom.xml: Change java-libglom dependency from compile to provided so
703 that it's copied in to the packaged war.
705 2011-03-09 Ben Konrath <ben@bagu.org>
707 Change to using a neutral locale for currency, date and time formatting.
709 This solves the problem of currency values being represented without a
710 space between the currency code and the number (e.g. "EUR5.89" is now
711 represented as "EUR 5.89"). More work is required when we implement
712 a locale preference setting.
714 * TODO: Add note about currency formatting issues with different
716 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
717 to using the neutral ROOT locale.
719 2011-03-09 Ben Konrath <ben@bagu.org>
721 Add support for currency codes that are not ISO 4217 codes.
723 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
724 the currency code defined in the glom file when it's not 3 characters
725 long or when Java doesn't recognize the string as an ISO 4217 code.
727 2011-03-08 Ben Konrath <ben@bagu.org>
729 Remove test classes, launch configurations and configuration.
731 The test stuff was getting in the way when creating the war. To make
732 the war file you can now do 'mvn clean package'. The packaged war file
733 will be in the target directory.
735 * .classpath: Remove unused classpathentry for tests and i18n.
736 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
737 property. Don't run test or i18n goals when packaging the war.
738 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
743 * OnlineGlomTest-dev.launch:
744 * OnlineGlomTest-prod.launch:
745 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
746 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
748 2011-03-07 Ben Konrath <ben@bagu.org>
750 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
752 These fixes allow me to use 'mvn deploy' to create the war file.
754 * .classpath: This generated config has been updated by Eclipse. This
755 change was probably triggered by me updating from Eclipse 3.6.1 to
757 * .gitignore: Add entry to ignore the directory
758 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
759 * .project: The generated config has been updated by Eclipse. This
760 change was probably triggered by me updating from Eclipse 3.6.1 to
762 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
763 so that Eclipse doesn't complain
764 * pom.xml: Update to gwt-maven-plugin 2.2.0.
765 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
766 'tests' directory to 'client' directory. This is the new
767 gwt-maven-plugin convension.
768 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
769 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
771 2011-03-07 Ben Konrath <ben@bagu.org>
773 Add support for horizontal alignment in the LayoutList columns.
775 * TODO: Remove item about horizontal alignment. Add item about
776 improvements to ColumnInfo.
777 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
778 alignment on the columns. Use ColumnInfo RPC object get the column
779 title and horizontal alignment.
780 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
781 LayoutListView creation with ColumnInfo RPC object.
782 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
783 a ColumnInfo object for every LayoutList columnn. Convert the
784 FieldFormatting.HorizontalAlignment to the correct
785 ColumnnInfo.HorizontatlAlignment with the new
786 getColumnInfoHorizontalAlignment helper method.
787 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
788 to encapsulate column information like alignment and title. This
789 could be used to set the colour instead of on a per cell field basis.
790 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
791 column title storage and retrieval with ColumnInfo.
793 2011-03-04 Ben Konrath <ben@bagu.org>
795 Add support for column sorting.
797 * src/main/java/org/glom/web/client/LayoutListView.java: Change
798 AsynDataProvider to be an anonymous inner class. Use new
799 getSortedTableData RPC method when column sort is requested. Set all
800 columns sortable and add an AsyncHandler to activate sorting in the
802 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
803 method getSortedTableData(). Cleanup other method signatures.
804 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
805 new method getSortedTableData(). Cleanup other method signatures.
806 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
807 Implement getSortedTableData() and getTableData() methods by using a
808 private helper method with the appropriate parameters filled in. Use
809 user supplied sort clause when supplied, otherwise fall back to
810 sorting by the primary key. Move destroy() method to be underneath
811 constructor for readability. Cleanup comments.
813 2011-03-03 Ben Konrath <ben@bagu.org>
815 Add support for colour text and colour backgrounds to the layout list cells.
817 Only the cell backgrounds are coloured which leaves a gap between the
818 cells that isn't coloured. I need to figure out a way to set
819 'style=background-colour:' on the whole column rather than just the
822 * TODO: Add a note about colouring the background of the whole column.
823 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
824 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
825 render the coloured text and backgrounds. Use GlomField[] for the row type.
826 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
828 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
829 GlomField[] for the row type.
830 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
831 GlomField[] for the row type. Set the text, text colour and background
832 colour in the GlomField objects as specified in the glom document. Add
833 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
834 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
835 the glom field text, foreground colour and background colour.
837 2011-03-02 Ben Konrath <ben@bagu.org>
839 Don't display hidden tables in the combo box.
841 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
843 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
844 code to ignore hidden tables using ArrayLists for the table names and
846 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
847 tableNames to use ArrayLists instead of String[]. Update getter and setter
850 2011-03-01 Ben Konrath <ben@bagu.org>
852 Add support for Date and Time number types.
854 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
855 Implement formatting for Date and Time values. Change the default glom
856 file to small business example.
858 2011-03-01 Ben Konrath <ben@bagu.org>
860 Add support for formatting glom types as specified in the glom file.
862 Formatting isn't finished yet - I still need to add support for Date
865 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
866 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
867 checks for null values in JDBC cleanup code and catch all exceptions
868 instead of just SQLExceptions.
869 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
872 2011-03-01 Ben Konrath <ben@bagu.org>
874 Use GWT 2.2.0 instead of 2.1.1.
876 * pom.xml: Change GWT version numbers.
878 2011-03-01 Ben Konrath <ben@bagu.org>
880 A few small code cleanups.
882 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
884 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
885 unnecessary object creation in constructor.
886 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
887 unnecessary object creation in constructor.
889 2011-02-28 Ben Konrath <ben@bagu.org>
891 Add file for TODO list.
895 2011-02-18 Ben Konrath <ben@bagu.org>
897 Enable the CellTable Pager when more than 20 rows need to be viewed.
899 The Pager will automatically become active when the results are larger
900 than the CellTable size which is currently set to 20 lines.
902 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
903 name on debug statment in RPC call in LayoutListDataProvider, add
904 numRows parameter to LayoutListView constructor, propperly set rowCount
906 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
907 name on debug statment in RPC call, use LayoutListTable object in RPC
908 calls, pass rowCount to LayoutListView.
909 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
910 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
912 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
913 interface for changes in OnlineGlomService.
914 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
915 getLayoutListHeaders() to getLayoutListTable() and return
916 LayoutListTable. Using this object allows me to pass other information
917 about the LayoutList like the expected number of rows in the result set.
918 The Connection object from the connection pool is now propperly closed.
919 Only the requested number of lines are returned to the client in
921 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
922 GlomTable and add columnTitles and numRows.
924 2011-02-18 Ben Konrath <ben@bagu.org>
926 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
928 This is a small performance boost. I'll use GlomTable to get the required
929 layoutlist information.
931 * src/main/java/org/glom/web/client/OnlineGlom.java:
932 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
933 * src/main/java/org/glom/web/shared/GlomDocument.java:
935 2011-02-18 Ben Konrath <ben@bagu.org>
937 Add option to turn off formatting in JDT formatter preferences.
939 * .settings/org.eclipse.jdt.core.prefs:
941 2011-02-18 Ben Konrath <ben@bagu.org>
943 Rename LayoutList to LayoutListView.
945 I'm working towards setting things up to easily use MVP when the time
948 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
950 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
953 2011-02-17 Ben Konrath <ben@bagu.org>
955 Move LayoutListDataProvider class into LayoutList.java.
957 * src/main/java/org/glom/web/client/LayoutList.java:
959 2011-02-17 Ben Konrath <ben@bagu.org>
961 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
963 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
965 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
966 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
967 from LibGlomServer.java.
968 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
969 Rename from LibGlomServiceAsync.java.
970 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
971 Rename from LibGlomServiceImpl.java.
972 * src/main/webapp/WEB-INF/web.xml: Update configuration.
974 2011-02-17 Ben Konrath <ben@bagu.org>
978 * .settings/org.eclipse.jdt.core.prefs:
980 2011-02-17 Ben Konrath <ben@bagu.org>
982 Move GWT-RPC objects to shared package (where they should be).
984 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
985 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
986 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
987 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
988 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
989 org.glom.web.shared package.
990 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
991 org.glom.web.shared package.
992 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
993 directory in compilation to javascript.
995 2011-02-16 Ben Konrath <ben@bagu.org>
997 Add sort clause to the sql query that grabs table information.
999 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1000 if one of the columns is a primary key.
1002 2011-02-16 Ben Konrath <ben@bagu.org>
1004 Disable generateAsync feature of gwt-maven.
1006 The generated interface does not correctly match the methods in LibGlomService
1007 and the generated singleton Util inner-class doesn't respect the servlet
1010 * pom.xml: Turn off generateAsync feature.
1011 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1012 with singleton Util inner-class.
1014 2011-02-14 Ben Konrath <ben@bagu.org>
1016 Add LGPL v3 licence notices.
1018 Followed directions listed here:
1019 http://www.gnu.org/licenses/gpl-howto.html
1021 * COPYING: This file is a copy of the GPL v3.
1022 * COPYING.LESSER: This file is a copy of the LGPL v3.
1023 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1025 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1027 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1029 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1031 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1033 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1035 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1038 2011-02-14 Ben Konrath <ben@bagu.org>
1040 Use ArrayList instead of Array in GWT-RPC calls.
1042 Apparently this gives a slight performance boost to the compiled
1045 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1047 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1050 2011-02-14 Ben Konrath <ben@bagu.org>
1052 Access data from a postgres db rather than the example glom file.
1054 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1055 compile down to obfuscated javascript.
1056 * pom.xml: Add c3p0 and postgres JDBC libraries.
1057 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1058 using a postgres db accessed through the c3p0 connection pooling library.
1060 2011-02-14 Ben Konrath <ben@bagu.org>
1062 Update Java formatter settings.
1064 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1066 2011-02-02 Ben Konrath <ben@bagu.org>
1068 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1070 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1072 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1073 the compiled webapp directory that Eclipse uses as we're using Maven now.
1074 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1075 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1077 * pom.xml: Format file, change target Java version to 1.6.
1079 2011-02-02 Ben Konrath <ben@bagu.org>
1081 Add information about a deployment related issue.
1083 * README: Add Notes section with the problem outlined.
1085 2011-02-02 Ben Konrath <ben@bagu.org>
1087 Call Glom.libglom_deinit() when the servlet is shutdown.
1089 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1090 Glom.libglom_deinit() to destroy() method.
1092 2011-01-28 Ben Konrath <ben@bagu.org>
1094 Use generated Util class to get the RPC Async interface.
1096 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1098 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1099 getInstance() method to get a reference to the RPC Async interface.
1100 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1101 getInstance() method to get a reference to the RPC Async interface, remove
1102 the now unused getLibGlomServiceProxy() method.
1104 2011-01-27 Ben Konrath <ben@bagu.org>
1106 Cleanup ChangeLog entry from previous commit.
1108 * ChangeLog: Group logical changes together and add comments.
1110 2011-01-25 Ben Konrath <ben@bagu.org>
1112 Convert to gwt-maven project.
1114 * .gitignore: Update for new project structure.
1115 * README: New file with a link to the online documentation.
1116 * pom.xml: The generated maven configuration file with some tweaks.
1118 Add / update Eclipse settings. These files are a merge of the files that
1119 were generated with the gwt-maven plugin and the files we were previously
1123 * .settings/.jsdtscope:
1124 * .settings/com.google.gdt.eclipse.core.prefs:
1125 * .settings/com.google.gwt.eclipse.core.prefs:
1126 * .settings/org.eclipse.jdt.core.prefs:
1127 * .settings/org.eclipse.wst.common.component:
1128 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1129 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1130 * .settings/org.maven.ide.eclipse.prefs:
1131 * OnlineGlomTest-dev.launch:
1132 * OnlineGlomTest-prod.launch:
1134 Java source files moved from the 'src' directory to the directory structure
1136 * src/main/java/org/glom/web/client/GlomDocument.java:
1137 * src/main/java/org/glom/web/client/GlomTable.java:
1138 * src/main/java/org/glom/web/client/LayoutList.java:
1139 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1140 * src/main/java/org/glom/web/client/LibGlomService.java:
1141 * src/main/java/org/glom/web/client/OnlineGlom.java:
1142 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1144 Non-functional property file used for translations. I included this as
1145 reminder that it's something I need to sort out.
1146 * src/main/resources/org/glom/web/client/Messages.properties:
1148 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1149 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1151 The servlet configuration files moved from the 'war' directory.
1152 * src/main/webapp/OnlineGlom.css:
1153 * src/main/webapp/OnlineGlom.html:
1154 * src/main/webapp/WEB-INF/web.xml:
1156 Generated test files with most of the code commented out. I included these
1157 so that it's easy to add tests when we're ready for them.
1158 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1159 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1161 2011-01-25 Ben Konrath <ben@bagu.org>
1163 Remove unused println.
1165 * src/org/glom/web/server/LibGlomServiceImpl.java:
1167 2011-01-25 Ben Konrath <ben@bagu.org>
1169 Add project specific JDT settings.
1171 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1172 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1174 2011-01-25 Ben Konrath <ben@bagu.org>
1176 Populate celltable with example data.
1178 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1179 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1180 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1181 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1182 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1183 asynchronously gets the example data.
1184 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1185 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1186 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1187 curently selected table to be retrieved by other widgets.
1188 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1189 implement getTableData() in a hacky way. This method needs to be updated
1190 to grab information from the database when database creating is
1193 2011-01-20 Ben Konrath <ben@bagu.org>
1195 Set table headers when table dropBox changes.
1197 * src/org/glom/web/client/GlomDocument.java: Correct some method
1199 * src/org/glom/web/client/LibGlomService.java: Add method
1200 to get list layout field names.
1201 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1202 to get list layout field names.
1203 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1204 widget for list layout table.
1205 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1206 the table drop box and add new updateTable() method to asynchronously
1207 get the layout list field names for the currently selected table.
1208 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1209 implementation of getLayoutListHeaders() method.
1210 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1212 2011-01-18 Ben Konrath <ben@bagu.org>
1214 Make a listBox with table titles instead of the flexTable demo.
1216 This is the start of something more useful.
1218 * .classpath: Exclude a bunch of packages from the JVM that are
1219 getting in the way of the Eclipse content assist.
1220 * src/org/glom/web/client/GlomDocument.java:
1221 * src/org/glom/web/client/GlomTable.java:
1222 * src/org/glom/web/client/LibGlomService.java:
1223 * src/org/glom/web/client/LibGlomServiceAsync.java:
1224 * src/org/glom/web/client/OnlineGlom.java:
1225 * src/org/glom/web/server/LibGlomServiceImpl.java:
1226 * war/OnlineGlom.html:
1227 * war/WEB-INF/web.xml:
1229 211-01-13 Ben Konrath <ben@bagu.org>
1231 Update to new java-libglom API.
1233 * .gitignore: Ignore OnlineGlom.war.
1234 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1236 2010-12-20 Ben Konrath <ben@bagu.org>
1238 Add some basic style to the table listing.
1240 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1241 header, print useful error message on async callback failure.
1242 * war/OnlineGlom.css: Add style for table header, remove defaults
1243 provided by the Eclipse project wizard.
1245 2010-12-20 Ben Konrath <ben@bagu.org>
1247 Load example file from installed glom dir.
1249 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1250 provided by java-libglom to find the example file.
1252 2010-12-20 Ben Konrath <ben@bagu.org>
1254 Update Eclipse settings.
1257 * .settings/com.google.gdt.eclipse.core.prefs:
1258 * .settings/com.google.gwt.eclipse.core.prefs:
1260 2010-12-17 Ben Konrath <ben@bagu.org>
1264 * .classpath: New file.
1265 * .gitignore: New file.
1266 * .project: New file.
1267 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1268 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1269 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1270 * src/org/glom/web/client/GlomTable.java: New file.
1271 * src/org/glom/web/client/OnlineGlom.java: New file.
1272 * src/org/glom/web/client/TableNameService.java: New file.
1273 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1274 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1275 * war/OnlineGlom.css: New file.
1276 * war/OnlineGlom.html: New file.
1277 * war/WEB-INF/web.xml: New file.
1278 * war/images/glom.png: New file.