Use the latest java-libglom version.
[online-glom:gwt-glom.git] / ChangeLog
1 2012-04-12  Murray Cumming  <murrayc@murrayc.com>
2
3         Use the latest java-libglom version.
4
5         * pom.xml: Use java-libglom 1.21.8.
6
7 2012-03-15  Murray Cumming  <murrayc@murrayc.com>
8
9         Adapt to the java-libglom 1.21.7 API. 
10
11         * src/main/java/org/glom/web/server/ReportGenerator.java:
12         addToReport(): get_group_secondary_fields() is now
13         get_secondary_fields().
14
15 2012-03-15  Murray Cumming  <murrayc@murrayc.com>
16
17         Use the latest java-libglom version.
18
19         * pom.xml: Use java-libglom 1.21.7.
20
21 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
22
23         ReportGenerator: Do not show nulls.
24
25 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
26
27         ReportGenerator: Make the title font larger.
28
29 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
30
31         ReportGenerator: Put field titles inside groups, if there are groups.
32
33 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
34
35         ReportGenerator: Take the Report itself instead of the name and group.
36
37         * src/main/java/org/glom/web/server/ConfiguredDocument.java
38         Remove getReportLayoutGroup().
39         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
40         getReportHTML(): Pass the report instead
41         of its name and layout group.
42         * src/main/java/org/glom/web/server/ReportGenerator.java
43         generateReport(): Use the report object to use the title 
44         instead of the name.
45
46 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
47
48         ReportGenerator: Remove designBand parameters.
49
50         * src/main/java/org/glom/web/server/ReportGenerator.java:
51         Make designBand a class member instead of passing it to all
52         methods.
53
54 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
55
56         ReportGenerator: Add lines, a bit like in the desktop version.
57
58         * src/main/java/org/glom/web/server/ReportGenerator.java
59         addToReport(): Use JRDesignLine.
60
61 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
62
63         ReportGenerator: Correct the title positions and use some bold style.
64
65         * src/main/java/org/glom/web/server/ReportGenerator.java:
66         Break the code up into reusable functions, correct the placement of 
67         titles, and use normal/bold styles as in the reports in the desktop 
68         version.
69
70 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
71
72         ReportGenerator: Add a header band to show the field titles.
73
74         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
75         getReportHTML(): Pass the localeId to the ReportGenerator 
76         constructor.
77         * src/main/java/org/glom/web/server/ReportGenerator.java
78         constructor: Take the localeID so we can get translated field
79         titles.
80         generateReport(), addToReport(), addFieldToBand(): Add field 
81         titles in a column header band.
82
83 2012-03-05  Murray Cumming  <murrayc@murrayc.com>
84
85         Reports drop-down list: Some improvement.
86
87         * src/main/java/org/glom/web/client/ui/TableSelectionView.java
88         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
89         Adedd setSelectedReport(),
90         setReportList(): Add a blank line so that the user can select the 
91         first one.
92         * src/main/java/org/glom/web/client/activity/ReportActivity.java
93         start(): Show the current report by calling setSelectedReport().
94         This does not seem to work yet.
95
96 2012-03-05  Murray Cumming  <murrayc@murrayc.com>
97
98         DetailsActivity, ListActivity: Move some variables into a base class.
99
100         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
101         * src/main/java/org/glom/web/client/activity/HasTableActivity.java:
102         * src/main/java/org/glom/web/client/activity/ListActivity.java: Move 
103         the clientFactory, documentID, tableName and authenticationPopup into
104         a base class, to avoid duplication.
105
106 2012-03-05  Murray Cumming  <murrayc@murrayc.com>
107
108         Translate the Reports label.
109
110         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java
111         Get the "Reports" label string from the constants.
112         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants.pro
113         perties: Add Reports to the constants.
114
115 2012-03-03  Ben Konrath  <ben@bagu.org>
116
117         Display date and time in details view.
118
119         https://bugzilla.gnome.org/show_bug.cgi?id=671257
120
121         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
122
123 2012-03-05  Murray Cumming  <murrayc@murrayc.com>
124
125         Require the latest java-libglom.
126
127         * pom.xml: java-libglom 1.21.5 has LayoutItem_GroupBy.
128
129 2012-03-05  Murray Cumming  <murrayc@murrayc.com>
130
131         Reports: Implement grouping.
132
133         * src/main/java/org/glom/web/server/ReportGenerator.java:
134         Handle LayoutItem_GroupBy items and try to do the right thing
135         with JRDesignGroup. It seems to work.
136
137 2012-03-04  Murray Cumming  <murrayc@murrayc.com>
138
139         Actually show some data with JasperReports.
140
141         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: 
142         getReportHTML(): Move most code into a ReportGenerator class.
143         * src/main/java/org/glom/web/server/ReportGenerator.java:
144         Recurse into sub-groups, adding fields to the JasperDesign's details
145         band. Note that we must set an arbitrary width and height, or it just
146         will not show any data.
147
148 2012-03-04  Murray Cumming  <murrayc@murrayc.com>
149
150         Reports Chooser: Show the titles, not the names.
151
152         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java
153         (TableSelectionViewImpl.setReportList): Show the titles in the UI,
154         and the names as the values.
155         * src/main/java/org/glom/web/server/ConfiguredDocument.java
156         (ConfiguredDocument.getReportLayoutGroup): Do not return a default
157         group now that we provide the report name, so it should always 
158         succeed.
159
160 2012-03-04  Murray Cumming  <murrayc@murrayc.com>
161
162         ListViewDbAccess.getSelectQuery(): Avoid using empty quickfind strings.
163
164         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java
165         ListViewDBAccess.getSelectQuery(): Do not create a where clause for 
166         an empty quickfind string. I also corrected libglom to create only 
167         empty where clauses for empty quickfind strings, but this avoids the
168         need for that fix.
169
170 2012-02-24  Ben Konrath  <ben@bagu.org>
171
172         Improve the tabs in the Notebook widget.
173
174         Bug #670728
175
176 2012-02-15  Murray Cumming  <murrayc@murrayc.com>
177
178         Depend on jasperreports.
179
180         * pom.xml: Add the dependency. My plan is to use this on the 
181         server side.
182
183 2012-01-31  Murray Cumming  <murrayc@murrayc.com>
184
185         Implement navigation to report places.
186
187         * src/main/java/org/glom/web/client/activity/ReportActivity.java
188         start(): Do not bother to handle all events here.
189         * src/main/java/org/glom/web/client/ui/TableSelectionView.java
190         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
191         Added getSelectedReport().
192         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
193         .java: start(): When handling a change to the reports chooser,
194         call getSelectedReport() and goTo() its ReportPlace.
195         * src/main/java/org/glom/web/client/ui/ReportView.java
196         * src/main/java/org/glom/web/client/ui/ReportViewImpl.java:
197         Added setReportHTML() which puts the html in a gwt HTML widget.
198         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
199         getReportHTML(): Return "TODO" just to show that this works.
200
201 2012-01-31  Murray Cumming  <murrayc@murrayc.com>
202
203         Make ReportPlace usable.
204
205         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
206         Mention ReportPlace.
207         * src/main/java/org/glom/web/client/place/ReportPlace.java:
208         Correct the @prefix annotation.
209
210 2012-01-31  Murray Cumming  <murrayc@murrayc.com>
211
212         OnlineGlomService: Return report HTML rather than the LayoutGroup.
213
214         * src/main/java/org/glom/web/client/OnlineGlomService.java:
215         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
216         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
217         Change getReportLayout() to getReportHMTL() because we will not need to 
218         parse or render the report layout on the client side.
219         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
220         getReportLayout(): Return the libglom LayoutGroup type because we will
221         not need to convert to a shared type, because this will not be used on
222         the client side.
223         * src/main/java/org/glom/web/client/activity/ReportActivity.java:
224         Adapted.
225
226         Note that there is still no implementation for this.
227
228 2012-01-30  Murray Cumming  <murrayc@murrayc.com>
229
230         Translations: Try to translate the strings.
231
232         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_cs.properties:
233         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_de.properties:
234         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_es.properties:
235         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_sl.properties:
236         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_zh_CN.properties:
237         Take the Open translation from GTK+'s .po files.
238         Take the Details translation from Glom's po files.
239         I have added the other strings to Glom so we can get translations that way:
240         http://git.gnome.org/browse/glom/commit/?id=c3cefe607428a84bdf8de1b04e8bef6f70b04564
241         
242 2012-01-27  Murray Cumming  <murrayc@murrayc.com>
243
244         Add a (empty) Report Place, View, and Activity.
245
246         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
247         Rename to:
248         * src/main/java/org/glom/web/client/place/HasTablePlace.java
249         * src/main/java/org/glom/web/client/place/ListPlace.java: Move some of
250         this into a superclass:
251         * src/main/java/org/glom/web/client/place/HasRecordsPlace.java
252         and also use it as the base of this new ReportPlace:
253         * src/main/java/org/glom/web/client/place/ReportPlace.java
254
255         * src/main/java/org/glom/web/client/ui/ReportView.java
256         * src/main/java/org/glom/web/client/ui/ReportViewImpl.java
257         * src/main/java/org/glom/web/client/activity/ReportActivity.java:
258         Add these, containing mostly boiler-plate for now.
259
260         * src/main/java/org/glom/web/client/OnlineGlomService.java
261         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java
262         * src/main/java/org/glom/web/server/ConfiguredDocument.java
263         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
264         Add API to get the LayoutGroup for the report.
265
266 2012-01-27  Murray Cumming  <murrayc@murrayc.com>
267
268         TableSelectionViewImpl: Put the search label and entry in a div.
269
270         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
271         Put the search widgets in a FlowTable so that the CSS can be used to
272         style them while keeping them together.
273         * src/main/webapp/style.css: Mention the new div.
274
275 2012-01-27  Murray Cumming  <murrayc@murrayc.com>
276
277         Translate more strings in more locales.
278
279         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants.properties:
280         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
281         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
282         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
283         Translate the "Details" and "Open" string too.
284
285         * src/main/java/org/glom/web/OnlineGlom.gwt.xml:
286         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants.properties:
287         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_cs.properties:
288         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_es.properties:
289         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_sl.properties:
290         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_zh_CN.properties:
291         Add these new locales as placeholders though they currently contain English.
292
293 2012-01-27  Murray Cumming  <murrayc@murrayc.com>
294
295         OnlineGlomServiceImpl: Avoid (unlikely) null object dereferences.
296
297         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: get*():
298         Check the ConfiguredDocument* for null before using it.
299
300 2012-01-26  Murray Cumming  <murrayc@murrayc.com>
301
302         Tell Eclipse about the generated java files.
303
304         * .classpath: This lets it find OnlineGlomConstants.java.
305         It would be nice if Eclipse just used the maven build files.
306
307 2012-01-26  Murray Cumming  <murrayc@murrayc.com>
308
309         Prevent a crash when no locale is specified in the URL.
310
311         * src/main/java/org/glom/web/client/Utils.java: getCurrentLocaleID():
312         Avoid returning a null string, obtained from 
313         Window.Location.getParameter(). This caused a crash when it was
314         later passed to libglom's API.
315         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
316         init(), getDocumentInfo(), getListViewLayout(), getDocuments(),
317         getDetailsLayoutAndData(): Use StringUtils.defaultString() to
318         guard against future null strings.
319
320 2012-01-26  Murray Cumming  <murrayc@murrayc.com>
321
322         Use the ?locale= query param instead of the &lang= token param. 
323
324         * src/main/java/org/glom/web/client/place/ListPlace.java
325         * src/main/java/org/glom/web/client/place/DetailsPlace.java
326         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java
327         Remove the lang token key and value.
328         
329         * src/main/java/org/glom/web/client/ui/TableSelectionView.java
330         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
331         When the user selects a different locale from the chooser, use 
332         Window.Location.assign() to change the URL, which then causes a reload.
333         
334         * src/main/java/org/glom/web/client/Utils.java: Added getCurrentLocaleID().
335         * src/main/java/org/glom/web/client/activity/DetailsActivity.java
336         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java
337         * src/main/java/org/glom/web/client/activity/ListActivity.java
338         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
339         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java
340         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
341         * src/main/java/org/glom/web/client/ui/ListView.java:
342         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
343
344         Remove localeID member variables and method/constructor parameters, instead
345         using Utils.getCurrentLocaleID() when we need a localID to pass to 
346         OnlineGlomService.
347
348 2012-01-26  Murray Cumming  <murrayc@murrayc.com>
349
350         Internationalize the UI strings.
351
352         * pom.xml: gwt-maven-plugin: Add the i18n goal and specify a 
353         <i18nConstantsBundle>, removing the unused <i18nMessagesBundle>.
354         * src/main/resources/org/glom/web/client/Messages.properties: Remove this
355         because it is unused. Messages are apparently strings that can have 
356         parameters, but we do not need that yet, so Contants will be enough for now.
357         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add extend-property lines
358         to say that we support the en and de locales.
359         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants.properties:
360         The original English strings.
361         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_de.properties:
362         Some German translations of the English strings.
363         The i18n goal then uses the .properties file to generate an 
364         OnlineGlomConstants.java file in target/ and somehow GWT.create() magically
365         returns an implementation that returns the translated strings.
366         The documentation suggests putting these in src/java/*/client/, but it seems
367         best to put it in src/resources/*/client/.
368         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
369         Instantiate OnlineGlomConstants via GWT.create() and use it to get the strings
370         instead of hard-coding them.
371         Note that we cannot import OnlineGlomConstants because it does not exist yet,
372         but that does not seem to stop the build, though it confuses Eclipse.
373         
374         You can see the translated string by adding ?locale=de to the URL, like so:
375         http://127.0.0.1:8888/OnlineGlom.html?gwt.codesvr=127.0.0.1:9997?locale=de#list:document=film_manager
376
377 2012-01-24  Murray Cumming  <murrayc@murrayc.com>
378
379         Improve null/empty String checks. 
380
381         * pom.xml: Add a dependency on commons-lang, to use
382         org.apache.commons.lang.StringUtils.
383         * src/main/java/org/glom/web/server/ConfiguredDocument.java
384         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
385         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java
386         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
387         Use StringUtils.isEmpty().
388
389         * src/main/java/org/glom/web/client/StringUtils.java: Add a tiny
390         StringUtils class with a static isEmpty() function because we 
391         cannot use org.apache.commons.lang.StringUtils in client-side
392         GWT code because it (apparently) cannot be compiled to javascript.
393         * src/main/java/org/glom/web/client/activity/DetailsActivity.java
394         * src/main/java/org/glom/web/client/activity/ListActivity.java
395         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java
396         * src/main/java/org/glom/web/client/place/DetailsPlace.java
397         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java
398         * src/main/java/org/glom/web/client/place/ListPlace.java
399         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java
400         * src/main/java/org/glom/web/client/ui/cell/TextCell.java
401         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java
402         * src/main/java/org/glom/web/client/ui/details/Group.java
403         * src/main/java/org/glom/web/client/ui/details/Notebook.java: Use 
404         our StringUtils.isEmpty() function.
405
406 2012-01-24  Murray Cumming  <murrayc@murrayc.com>
407
408         Update to the latest java-libglom API.
409
410         * pom.xml: Require java-libglom 1.21.4.
411         * src/main/java/org/glom/web/server/ConfiguredDocument.java
412         getDocumentInfo(), getListViewLayoutGroup():
413         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
414         getDocuments():
415         * src/main/java/org/glom/web/server/database/DBAccess.java
416         getFieldsToShowForSQLQueryAddGroup(),
417         getPrimaryKeyLayoutItemField(): Replace get_database_title()
418         with either get_database_title_original() or 
419         get_database_title(localeID).
420
421 2012-01-24  Murray Cumming  <murrayc@murrayc.com>
422
423         ConfiguredDocument: Avoid a null pointer exception.
424
425         * src/main/java/org/glom/web/server/ConfiguredDocument.java
426         Initialize localeID to "" to avoid returning a null String which 
427         causes a crash in java-libglom's swing-generated code.
428
429 2012-01-23  Murray Cumming  <murrayc@murrayc.com>
430
431         Some simple renaming.
432
433         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java
434         * src/main/webapp/style.css: Rename, tableChooser to tablesChooser. Likewise
435         for localeChooser. This seems more appropriate and is less ambiguous 
436         particularly in the .css file.
437
438 2012-01-23  Murray Cumming  <murrayc@murrayc.com>
439
440         ConfiguredDocument: Rename the localedID private member variable.
441
442 2012-01-23  Murray Cumming  <murrayc@murrayc.com>
443
444         Adapt to the latest java-libglom API from git master.
445
446         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
447         libglom now uses only Vector instead of List, which uses add() instead of
448         addLast(). 
449
450 2012-01-23  Murray Cumming  <murrayc@murrayc.com>
451
452         Add and fill a Reports drop-down list box.
453
454         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
455         Aded getReports():
456         * src/main/java/org/glom/web/client/OnlineGlomService.java:
457         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
458         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
459         Added getReports(document, table, localeID), calling 
460         ConfiguredDocument.getReports().
461         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
462         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
463         Added setReportsList() and a list widget.
464         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
465         .java (TableSelectionActivity.fillView(): Fill the view's reports list.
466
467 2012-01-22  Murray Cumming  <murrayc@murrayc.com>
468
469         ConfiguredDocument: Rename the localedID private member variable.
470
471 2012-01-20  Murray Cumming  <murrayc@murrayc.com>
472
473         Build a source tarball with mvn assembly:single
474
475         * assembly.xml: Add this file.
476         * pom.xml: Use the maven-assembly-plugin and tell it to use 
477         our assembly.xml file.
478
479 2012-01-19  Murray Cumming  <murrayc@murrayc.com>
480
481         OnlineGlomServiceImpl: Get .glom files recursively.
482
483         * pom.xml: Depend on commons-io from org.apache.commons.
484         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
485         init(): Use org.apache.commons.io.FileUtils.listFiles() to get the 
486         files recursively, and with the easier filter for the extension.
487         Use org.apache.commons.io.FilenameUtils.removeExtension() to 
488         simplify that code too.
489
490 2012-01-19  Murray Cumming  <murrayc@murrayc.com>
491
492         README: Mention that you must install java-libglom packages separately.
493
494         But then it works, because java-libglom is now in the central maven 
495         repository.
496
497 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
498
499         locales drop-down: Show the correct selected locale when the URL changes.
500
501         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
502         .java: setPlace(): Move some code into fillView().
503
504 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
505
506         locales drop-down: Do not lose the primary key.
507
508         * src/main/java/org/glom/web/client/activity/DetailsActivity.java
509         start(): onLocaleChange(): Pass the current primary key value, 
510         instead of an empty value.
511
512 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
513
514         locales drop-down: Do not lose the drop-down selection.
515
516         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
517         .java (TableSelectionActivity.fillView): Set the selected locale
518         after changing the drop-down items (though we do not really need
519         to change them just because the locale changes.)
520
521 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
522
523         locales drop-down: Change the tables list when this changes.
524
525         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
526         .java: TableSelectionActivity.start(): Move the async table titles
527         retrieval into a private fillView() method and also call this when 
528         the chosen locale changes.
529         Note that the document title is not actually translatable yet, but
530         that is a problem that I should fix soon in libglom.
531
532 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
533
534         Improve the placement of the locales drop-down.
535
536         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java
537         Put the title and locales drop-down in a div (gwt.FlowTable).
538         * src/main/webapp/style.css: Add magic css properties to make this work.
539         Also remove the left margin from the title so that it lines up with the 
540         headerbox below it.
541
542 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
543
544         locales selector: Show human-readable locale titles.
545
546         * src/main/java/org/glom/web/server/ConfiguredDocument.java
547         getDocumentInfo(): Use java.util.Locale to show a real title of 
548         each locale, in the locale's own language.
549
550 2012-01-17  Murray Cumming  <murrayc@murrayc.com>
551
552         Add a language/locale selector drop-down.
553
554         * src/main/java/org/glom/web/shared/DocumentInfo.java:
555         Add getLocaleIDs(), setLocaleIDs(), getLocaleTitles(), setLocaleTitles().
556         * /src/main/java/org/glom/web/server/ConfiguredDocument.java:
557         getDocumentInfo(): Store the available Locales in the DocumentInfo.
558         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
559         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
560         Add a ListBox to show the available locales. Add getLocaleSelector(),
561         setLocaleList(), getSelectedLocale(), setSelectedLocale().
562         * src/main/java/org/glom/web/client/event/LocaleChangeEvent.java
563         * src/main/java/org/glom/web/client/event/LocaleChangeEventHandler.
564         java: Add these classes.
565         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
566         start(): Fill the locales ListBox. Handle its change event, firing a 
567         LocaleChangeEvent.
568         setPlace(): Show the selected locale as specified by the URL token.
569         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
570         * src/main/java/org/glom/web/client/activity/ListActivity.java:
571         Handle LocaleChangeEvent, going to a new *Place with that locale.
572
573         The placement of the ListBox is not pretty, and it currently uses the ID
574         as a title, instead of "English", "Deutsch", "Espanola", etc, but it 
575         is a start.
576
577
578 2012-01-17  Murray Cumming  <murrayc@murrayc.com>
579
580         Search box: Show the search text from the URL token.
581
582         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
583         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
584         Add setQuickFindText().
585         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
586         .java: setPlace(): Store the queryText if the place is a ListPlace, 
587         and call TableSelectionView.setQuickFindText().
588
589 2012-01-17  Murray Cumming  <murrayc@murrayc.com>
590
591         Allow use of translations via, for instance, &lang=de in the URL.
592
593         * pom.xml: Use the unstable java-libglom 1.21 version.
594
595         * src/main/java/org/glom/web/client/OnlineGlomService.java:
596         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java
597         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
598         init(): Instead of calling TranslatableItem.set_current_locale() 
599         (now removed), call ConfiguredDocument.setDefaultLocaleID().
600         However, this is only for default locales, which are not needed to 
601         change the locale in the URL.
602         getDocumentInfo(), getListViewLayout(), getSortedListViewData(),
603         getDetailsData(), getDetailsLayoutAndData(), getRelatedListData(),
604         getSortedRelatedListData(): Add a localeID parameter, so we can get the 
605         layout for a particular locale.
606         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
607         Add get/setDefaultLocaleID().
608         getDocumentInfo(), getListViewData(), getRelatedListData(),
609         getDetailsLayoutGroup(), getListViewLayoutGroup(),
610         createLayoutItemPortalDTO(), convertToGWTGlomLayoutItemField(): Add a 
611         localeID parameter, so we can get the layout for a particular locale.
612
613         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
614         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
615         * src/main/java/org/glom/web/client/place/ListPlace.java:
616         Parse and construct a lang parameter too.
617
618         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
619         start(): Pass the defaultLocaleID to addDocumentLink(). It is then
620         passed to subsequent methods and constructors.
621         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
622         * src/main/java/org/glom/web/client/activity/ListActivity.java:
623         Store the localeID from the *Place and pass it to other constructors
624         and methods, such as OnlineGlomServiceAsync.getDetailsLayoutAndData().
625
626         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
627         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
628         * src/main/java/org/glom/web/client/ui/TableSelectionView.java
629         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java
630         * src/main/java/org/glom/web/client/ui/ListView.java:
631         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
632         Take localeID parameters and pass them to subsequent constructors and 
633         methods, so that the layout is always retrieved for that locale.
634
635         This is rather repetitive.
636
637         Note that "" means the original (default) locale of the Glom document,
638         which is usually English.       
639
640 2012-01-17  Murray Cumming  <murrayc@murrayc.com>
641
642         Documents: Remove final keyword to fix startup configuration.
643
644         * src/main/java/org/glom/web/shared/Documents.java: Remove the
645         final keywords on the private member variables because that breaks
646         the startup, apparently (there are warnings) because it stops them
647         from being serialized. I added these in the previous commit.
648
649 2012-01-13  Murray Cumming  <murrayc@murrayc.com>
650
651         Documents: Add some final keywords.
652
653         * src/main/java/org/glom/web/shared/Documents.java: Eclipse suggested
654         this.
655
656 2012-01-13  Murray Cumming  <murrayc@murrayc.com>
657
658         OnlineGlomServiceImpl: Add to overview comments.
659
660         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
661         Note that this is where all the document are loaded. They are not 
662         loaded freshly for each page.
663
664 2012-01-12  Murray Cumming  <murrayc@murrayc.com>
665
666         Add a search box.
667
668         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
669         Add a TextBox for the text of a quick find.
670         Add getQuickFindBox(), to get the widget, and getQuickFindText() to 
671         get the text.
672         setBackLink(): Add a String quickFind parameter.
673         * src/main/java/org/glom/web/client/ui/TableSelectionView.java
674         (TableSelectionView): Add getQuickFindBox() and getQuickFindText()
675         to the base interface, because that is how TableSelectionViewImpl is used.
676         * src/main/webapp/style.css: Add style for the search box and its label.
677
678         * src/main/java/org/glom/web/client/event/QuickFindChangeEvent.java:
679         * src/main/java/org/glom/web/client/event/QuickFindChangeEventHandler.java:
680         Add these files, based on the existing TableChangeEvent and 
681         TableChangeEventHandlers.
682         * src/main/java/org/glom/web/client/activity/DetailsActivity.java
683         start(): Handle QuickFindChangeEvent, passing its quickFind text to
684         a ListPlace() that the user should be taken to.
685         * src/main/java/org/glom/web/client/activity/ListActivity.java
686         start(): Handle it here too and adapt the TableChangeEvent handler to 
687         pass the extra "" quickFind parameter to ListPlace.
688         * src/main/java/org/glom/web/client/place/ListPlace.java: 
689         Constructor: Take an extra String quickFind parameter and store it, 
690         returning it from a new  getQuickFind() method.
691         getToken(): Put the quickFind text in the URL token.
692         getPlace(): Parse the quickFind text from the URL token.
693         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ja
694         va: addDocumentLink(): Pass an extra "" quickFind parameter to the 
695         ListPlace constructor.
696         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
697         .java: start(): Add a Change handler for the TableSelectionView's
698         TextBox (via its base HasChangeHandlers interface), firing the new 
699         QuickFindChangeEvent.
700         setPlace(): Adapt the call to TableSelectionView.setbackLink(), to 
701         pass the extra "" quickFind parameter.
702
703         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
704         setCellTable(): Add a String quickFind parameter and pass it to 
705         the ListViewTable() constructor.
706         * src/main/java/org/glom/web/client/ui/ListView.java: Change 
707         setCellTable() in the base interface, because that is how ListViewImpl
708         is used.
709
710         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
711         Add a String quickFind member variable.
712         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
713         Constructor: Add a String quickFind parameter, storing it in the
714         base ListTable's member variable.
715         onRangeChanged(): Pass quickFind to the 
716         OnlineGlomServiceAsync.getSortedListViewData() and 
717         OnlineGlomServiceAsync.getListViewData() methods.
718
719         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
720         getListViewData(), getSortedListViewData(): Add a String quickFind 
721         parameter, passing it to ConfiguredDocument.getListViewData().
722         * src/main/java/org/glom/web/client/OnlineGlomService.java:
723         Change getListViewData(), getSortedListViewData() in the base interface,
724         because that is how OnlineGlomServiceImpl is used, via this:
725         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
726         Change getListViewData(), getSortedListViewData() here too.
727         This class can apparently be used to asynchronously call methods on 
728         OnlineGlomService, and GWT seems to implement that after recognizing 
729         just the *Async name convention and the extra AsyncCallback parameters.
730
731         * src/main/java/org/glom/web/server/ConfiguredDocument.java
732         getListViewData(): Add a String quickFind parameter, and pass it to 
733         ListViewDBAccess.getData().
734         * src/main/java/org/glom/web/server/database/ListDBAccess.java
735         getListData(): Add a String quickFind parameter and pass it to 
736         getSelectQuery().
737         getSelectQuery(): Add a String quickFind parameter.
738         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java
739         getSelectQuery(): Add a String quickFind parameter and use it with 
740         Glom.get_find_where_clause_quick() to pass a where_clause to 
741         Glom.build_sql_select_with_where_clause(), to actually filter the 
742         list view results.
743         getData(): Add a String quickFind parameter, passing it to getListData().
744         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.ja
745         va: getData(): Pass an empty string to getListData() for the 
746         quickFind parameter.
747
748 2012-01-12  Murray Cumming  <murrayc@murrayc.com>
749
750         ListTable: Minor change.
751
752         * src/main/java/org/glom/web/client/ui/list/ListTable.java
753         createCellTable(): Make this protected instead of public.
754
755 2012-01-12  Murray Cumming  <murrayc@murrayc.com>
756
757         Many files: Use final for the parameters and use the @override attribute.
758
759 2012-01-22  Ben Konrath <ben@bagu.org>
760
761         Add anchor links for single line text that starts with http, ftp and www.
762
763         Bug #667269
764
765 2012-01-22  Ben Konrath <ben@bagu.org>
766
767         Add ellipsis to single line text in details view.
768
769         Bug #667269
770
771 2012-01-04  Murray Cumming  <murrayc@murrayc.com>
772
773         Remove all javadoc author tags.
774
775         Because they are awkward and meaningless when many people touch
776         many files.
777         See https://gitorious.org/online-glom/gwt-glom/commit/7628b732cb90cbc6d5635420a75568504e8b3655#comment_81164
778  
779 2012-01-04  Murray Cumming  <murrayc@murrayc.com>
780
781         Revert the COPYING.LESSER to COPYING rename.
782
783         Apparently both should be there if it is LGPL.
784
785 2012-01-03  Murray Cumming  <murrayc@murrayc.com>
786
787         *View: Remove unused imports.
788
789         * src/main/java/org/glom/web/client/ui/DetailsView.java:
790         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java
791         * src/main/java/org/glom/web/client/ui/ListView.java:
792         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
793         Remove unused imports, as suggested by Eclipse.
794
795 2012-01-02  Murray Cumming  <murrayc@murrayc.com>
796
797         Move the *View::Presenter types, and some API into one base View.
798
799         * src/main/java/org/glom/web/client/ui/DetailsView.java:
800         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
801         * src/main/java/org/glom/web/client/ui/ListView.java:
802         * src/main/java/org/glom/web/client/ui/TableSelectionView.java: Move
803         Presenter, setPresenter() and clear() into a shared base interface,
804         to avoid the unnecessary duplicate Presenter types and to more clearly
805         show how the *Views share the same structure, even if they are not 
806         used polymorphically.
807
808         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
809         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ja
810         va:
811         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
812         * src/main/java/org/glom/web/client/activity/ListActivity.java:
813         * src/main/java/org/glom/web/client/activity/DocumentSelectionActiv
814         ity.java:
815         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
816         .java: Adapt.
817
818         Feel free to revert this if there is a good reason for the duplicate
819         types.
820
821 2012-01-02  Murray Cumming  <murrayc@murrayc.com>
822
823         OnlineGlom: Make clientFactory a (protected) member, and test it a bit.
824
825         * src/main/java/org/glom/web/client/OnlineGlom.java: Make clientFactory
826         a class member instead of a local variable in the method.
827         This lets us use it to get the view instances, for use in tests.
828         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
829         beforeOnlineGlom(): Test some more details of the initial view.
830         Again, this is not very useful.
831
832         To really test gwt-glom we will need to start a local postgresql 
833         instance with local data, like the Glom tests in C++.
834
835 2012-01-02  Murray Cumming  <murrayc@murrayc.com>
836
837         pom.xml: Mention the LGPL license.
838
839         * pom.xml: Add a licenses section.
840         * COPYING.LESSER: Move this to COPYING, which
841         previously contained the GPL. But gwt-glom is all LGPL.
842
843 2012-01-02  Murray Cumming  <murrayc@murrayc.com>
844
845         Add project information to README and pom.xml.
846
847         * README: Add a brief description and mention some mvn
848         commands.
849         * pom.xml: This extra information shows up in mvn site
850         generated pages.
851
852 2011-01-02  Murray Cumming  <murrayc@murrayc.com>
853
854         Use the latest java-libglom version.
855
856         * pom.xml: Use java-libglom 1.19.2 instead of 1.19.1.
857
858 2012-01-01  Murray Cumming  <murrayc@murrayc.com>
859
860         GwtTestOnlineGlom: Test a little more.
861
862         * src/main/java/org/glom/web/client/OnlineGlom.java: Make the panels
863         protected rather than private, as suggested by the gwt-test-utils
864         maintianer here:
865         http://stackoverflow.com/questions/7931724/gwt-testcase-simulating-clicking-a-button-on-my-page
866         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java
867         Test the initial visibility of the panels.
868
869         However, this is not a very useful test.
870         And I wonder how we should generally test using this idea for an
871         activity/places app like ours where the real changes happen implicitly
872         based on the history token/URL.
873
874 2012-01-01  Murray Cumming  <murrayc@murrayc.com>
875
876         Slight modification to *Mapper comments.
877
878         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java
879         (DataActivityMapper)
880         * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMa
881         pper.java
882         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMappe
883         r.java
884         Remove comments mentioning GIN because they are just copied from 
885         the example code and are apparently not helpful:
886         http://groups.google.com/group/google-web-toolkit/msg/82f0098b20669a73
887         Also change the mention of a class that is only in the example code.
888
889 2012-01-01  Murray Cumming  <murrayc@murrayc.com>
890
891         GwtTestOnlineGlom test: Minor changes.
892
893         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
894         Avoid the long qualified class name and modify the comment 
895         because it is now obvious to me that the mocked class is the only
896         custom one created via GWT.create().
897
898 2012-01-01  Murray Cumming  <murrayc@murrayc.com>
899
900         Tests: Added the beginnings of a test using gwt-test-utils.
901
902         * pom.xml: Add dependencies on gwt-test-utils and easymock.
903         * src/test/resources/META-INF/gwt-test-utils.properties: Add this file
904         which tells gwt-test-utils what class will be tested.
905         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
906         Add a simple (but empty) test case. One class, used by the OnlineGlom
907         class, is mocked so that it can be created. However, I am not sure 
908         why only this class needs to be mocked.
909
910         Note that mockito seems more popular, and clearer, than easymock,
911         but I have not got that working yet. It might be a matter of the 
912         mockito version.
913
914         This test is run during mvn integration-test.
915
916 2011-12-31  Murray Cumming  <murrayc@murrayc.com>
917
918         Tests: Use junit4-style syntax instead of junit3-style.
919
920         * src/test/java/org/glom/web/client/place/DetailsPlaceTest.java:
921         * src/test/java/org/glom/web/client/place/ListPlaceTest.java:
922         * src/test/java/org/glom/web/shared/DataItemTest.java:
923         Use the @Test annotation rather than relying on the test*() prefix.
924         Also no longer implement TestCase, to avoid triggering support for 
925         the junit3-way, which stops the annotations from working.
926         Change the imports from import junit.framework.* to 
927         import org.junit.*, which is apparently the new way.
928
929 2011-12-31  Murray Cumming  <murrayc@murrayc.com>
930
931         Added a test for ListPlace token parsing and creation.
932
933         * src/test/java/org/glom/web/client/place/ListPlaceTest.java:
934         This is much the same as DetailsPlaceTest.
935
936         I wonder how we could test the other parts of the *Place API.
937
938 2011-12-30  Murray Cumming  <murrayc@murrayc.com>
939
940         DetailsPlace test: Also test getToken() and recreation via getPlace().
941
942         * src/test/java/org/glom/web/client/place/DetailsPlaceTest.java:
943         testGetPlaceParameters(): Get the tokens from the DetailsPlace and 
944         recreate it, testing the recreated DetailsPlace for the same parameter
945         values.
946
947 2011-12-30  Murray Cumming  <murrayc@murrayc.com>
948
949         Use the surefire-report plugin.
950
951         * pom.xml: This generates a HTML report about the tests in 
952         target/site/surefire-report.html
953         when you do mvn surefire-report:report. It seems to be popular/normal.
954
955 2011-12-30  Murray Cumming  <murrayc@murrayc.com>
956
957         Added a test for DetailsPlace.
958
959         * src/test/java/org/glom/web/client/place/DetailsPlaceTest.java:
960         Test the getPlace() token parsing.
961
962 2011-12-30  Murray Cumming  <murrayc@murrayc.com>
963
964         Added a first unit test.
965
966         * pom.xml: Add a test goal, and a dependency on junit in that scope.
967         * src/test/java/org/glom/web/shared/DataItemTest.java:
968         This is a silly test but it is just to get things started. Note that
969         maven/junit finds the test because it looks in src/test by default.
970
971 2011-12-22  Ben Konrath  <ben@bagu.org>
972
973         Change charsetName to "UTF-8" when replacing line breaks.
974
975         JavaScript requires the charsetName to be "UTF-8". CharsetName values
976         that work in Java (such as "UTF8") will not work when compiled to
977         JavaScript.
978
979         This fixes a problem with multi-line details view fields that have hard
980         line breaks. The "License Text" field on this page demonstrates the
981         problem:
982
983         http://onlineglom.openismus.com/OnlineGlom/#details:document=debian_repository_analyzer&table=licenses&value=197
984
985         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
986
987 2011-12-22  Ben Konrath  <ben@bagu.org>
988
989         Fix another bug with related list navigation.
990
991         I've tested all the navigation buttons in all of the related lists
992         so things should be good now.
993
994         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
995
996 2011-12-22  Ben Konrath  <ben@bagu.org>
997
998         Fix a crasher when refreshing the list view with the default table.
999
1000         This crash will also happen when loading the list view with the default
1001         table from a link or bookmark.
1002
1003         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Go
1004         to the main document selection page when the document id hasn't been
1005         set.
1006         * src/main/java/org/glom/web/client/activity/ListActivity.java: Go to
1007         the main document selection page when the document id hasn't been
1008         set.
1009         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Use empty
1010         values for the details place when the document id hasn't been set.
1011         * src/main/java/org/glom/web/client/place/ListPlace.java: Use empty
1012         values for the list place when the document id hasn't been set.
1013
1014 2011-12-21  Ben Konrath  <ben@bagu.org>
1015
1016         Protect against NPE when glom.document.locale is not in config.
1017
1018         This patch protects against an NPE when glom.document.locale is not in
1019         the config file. This NPE will also happen if glom.document.locale is
1020         commented out.
1021
1022         The patch also updates the error message to display the class name when
1023         the getMessage() returns null. This was happening when the NPE was
1024         thrown and I had "Configuration Error: null". If an NPE is encountered
1025         with this patch, "Configuration Error: NullPointerException " will be
1026         displayed.
1027
1028         This commit closes this bug:
1029
1030         https://bugzilla.gnome.org/show_bug.cgi?id=666669
1031
1032         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1033
1034 2011-12-20  Murray Cumming  <murrayc@murrayc.com>
1035
1036         Rename onlineglom.properties to onlineglom.properties.sample.
1037
1038         * src/main/resources/onlineglom.properties: Rename to:
1039         * src/main/resources/onlineglom.properties.sample:
1040         * src/main/resources/README: And add this file explaining that people
1041         should rename it back when deploying.
1042
1043 2011-12-20  Murray Cumming  <murrayc@murrayc.com>
1044
1045         Allow choosing the translation in the .properties file.
1046
1047         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
1048         init(): Read a glom.document.locale value from the configuration file 
1049         and call Glom's TransatableItem::set_current_locale() method.
1050         * src/main/resources/onlineglom.properties: Add a commented-out 
1051         example of this new setting.
1052
1053         It would be better to add &lang=de_DE to the URL, but the current 
1054         libglom API does not allow us to do this easily. I am working on that.
1055
1056 2011-12-19  Murray Cumming  <murrayc@murrayc.com>
1057
1058         Avoid a crash in parsing of token parameters.
1059
1060         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.j
1061         ava: getTokenParams(): Do not crash if a parameter has a key but no 
1062         value, and ignore parameters with neither.
1063
1064 2011-12-17  Murray Cumming  <murrayc@murayc.com>
1065
1066         History token building/handling: Improve use of token parameters.
1067
1068         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java 
1069         (HasSelectableTablePlace.Tokenizer): Add getTokenParams(String)
1070         and buildParamsToken(HashMap), for use by derived classes.
1071         Make the separator private because it is no longer be needed.
1072         * src/main/java/org/glom/web/client/place/DetailsPlace.java
1073         (DetailsPlace.Tokenizer.getToken): Use buildParamsToken()
1074         instead of manual string concatenation.
1075         (DetailsPlace.Tokenizer.getPlace): Use getTokenParams() instead 
1076         of hardcoded indices and awkward splitting code.
1077         * src/main/java/org/glom/web/client/place/ListPlace.java
1078         (ListPlace.Tokenizer.getToken): Use buildParamsToken()
1079         instead of manual string concatenation.
1080         (ListPlace.Tokenizer.getPlace): Use getTokenParams() instead 
1081         of hardcoded indices and awkward splitting code.
1082         This should fix bug #666420
1083
1084 2011-12-16  Murray Cumming  <murrayc@murrayc.com>
1085
1086         Fix a Navgiation->Navigation typo in the code.
1087
1088         * src/main/java/org/glom/web/client/activity/DetailsActivity.java
1089         Rename processNavgiation() to processNavigation().
1090
1091 2011-12-16  Murray Cumming  <murrayc@murrayc.com>
1092
1093         Fix a seperator->separator typo in the code.
1094
1095         * src/main/java/org/glom/web/client/place/DetailsPlace.java
1096         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java
1097         * src/main/java/org/glom/web/client/place/ListPlace.java: Just a 
1098         misspelling.
1099
1100 2011-12-15  Ben Konrath <ben@bagu.org>
1101
1102         Cleanup some comments.
1103
1104         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1105
1106 2011-12-14  Ben Konrath <ben@bagu.org>
1107
1108         Replace \n with <br/> for multiline text in the details view.
1109
1110         Vertical scrollbars are added when needed as well.
1111
1112         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
1113
1114 2011-12-14  Ben Konrath <ben@bagu.org>
1115
1116         Specify the font for document selection links.
1117
1118         * src/main/webapp/style.css:
1119
1120 2011-12-14  Ben Konrath <ben@bagu.org>
1121
1122         Fix bouncy CellTable while paging.
1123
1124         This doesn't currently work with related list tables in unselected
1125         Notebook tabs.
1126
1127         * src/main/java/org/glom/web/client/ui/list/ListTable.java
1128
1129 2011-12-14  Ben Konrath <ben@bagu.org>
1130
1131         Revamp the appearance of the document selection page.
1132
1133         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1134         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1135         * src/main/webapp/style.css:
1136
1137 2011-12-13  Ben Konrath <ben@bagu.org>
1138
1139         Set navigation button column to the smallest size possible.
1140
1141         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1142
1143 2011-12-13  Ben Konrath <ben@bagu.org>
1144
1145         Change OpenButton nomenclature to NavigationButton.
1146
1147         Using NavigtionButton makes things more generic. Classes, methods and
1148         variables have been changed.
1149
1150         This is a rename-only refactor.
1151
1152         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1153         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1154         * src/main/java/org/glom/web/client/ui/cell/NavigationButtonCell.java:
1155         Renamed from OpenButtonCell.
1156         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1157         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1158         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1159
1160 2011-12-12  Ben Konrath <ben@bagu.org>
1161
1162         Remove unnecessary String argument in RelatedListTable and ListViewTable.
1163
1164         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1165         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1166         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1167         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1168
1169 2011-12-12  Ben Konrath <ben@bagu.org>
1170
1171         Update variable names and comments.
1172
1173         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1174         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1175
1176 2011-12-12  Ben Konrath <ben@bagu.org>
1177
1178         Properly initialize numNonEmptyRows variable to zero.
1179
1180         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1181         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1182
1183 2011-12-05  Ben Konrath  <ben@bagu.org>
1184
1185         Add latest mockup with HTML tables.
1186
1187         Features of this mockup:
1188
1189         -> HTML table for flowtable
1190         -> HTML table for flowtable column
1191         -> Example of how related lists would look
1192         -> Not using text entries for data items
1193
1194         The current version of Online Glom doesn't use HTML tables for the
1195         flowtable columns.
1196
1197         This mockup has been sent to the glom-devel mailing list but it's good
1198         to have it here as well.
1199
1200         * mockups/details-view-html-tables.html:
1201
1202 2011-12-05  Ben Konrath  <ben@bagu.org>
1203
1204         Remove unnecessary getPrimaryKeyField() method.
1205
1206         getPrimaryKeyFieldForTable(String) has been renamed to
1207         getPrimaryKeyField(String).
1208
1209         * src/main/java/org/glom/web/server/database/DBAccess.java:
1210         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1211         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1212
1213 2011-12-05  Ben Konrath  <ben@bagu.org>
1214
1215         Add string representation of TypedDataItem value to conversion error message.
1216
1217         * src/main/java/org/glom/web/server/Utils.java: Logging the error
1218         message was extracted into its own method to avoid duplication.
1219
1220 2011-12-05  Ben Konrath  <ben@bagu.org>
1221
1222         Add type checking to navigation primary key value creation.
1223
1224         Create navigation primary key only if the expected type from the Glom
1225         document matches the type returned by the SQL query.
1226
1227         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1228
1229 2011-12-05  Ben Konrath  <ben@bagu.org>
1230
1231         Rename a couple of variables in RelatedListNavigation.
1232
1233         This is a rename-only refactor.
1234
1235         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1236
1237 2011-12-05  Ben Konrath  <ben@bagu.org>
1238
1239         Move getListLayoutGroup() into getListViewLayoutGroup().
1240
1241         This removes getListLayoutGroup(). It was only being called by
1242         getListViewLayoutGroup().
1243
1244         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1245
1246 2011-12-05  Ben Konrath  <ben@bagu.org>
1247
1248         Remove check for LayoutItem_Portal in list table method.
1249
1250         This check is no longer necessary because the method isn't being used
1251         to create the LayoutItemPortal DTO.
1252
1253         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1254
1255 2011-12-05  Ben Konrath  <ben@bagu.org>
1256
1257         Properly support related list navigation.
1258
1259         Navigation from the "Repository Analyzer -> Package Scans ->
1260         Dependencies" related table wasn't working because the primary key for
1261         related tables wasn't being set properly. This commit fixes the
1262         problem.
1263
1264         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Don't use
1265         getListLayoutGroup() to create the LayoutItemPortal DTO. This method
1266         doesn't set the primary key properly for related list tables.
1267         * src/main/java/org/glom/web/server/database/DBAccess.java: Add table
1268         name parameter to getPrimaryKeyLayoutItemField(). This makes the method
1269         useful for getting the primary key for list view tables and for related
1270         list tables.
1271         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
1272         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
1273         Move code to set the primary key for the table from the abstract
1274         ListDBAccess class to ListViewDBAccess as it's only correct for list
1275         view tables.
1276         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1277         Properly add primary key to related list tables.
1278
1279 2011-12-02  Ben Konrath  <ben@bagu.org>
1280
1281         Properly set the horizontal alignment of fields.
1282
1283         This fix is for both the list tables and the details view.
1284
1285         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
1286         LayoutItem_WithFormatting.get_formatting_used_horizontal_alignment(boolean)
1287         to set the horizontal alignment of fields.
1288
1289 2011-12-02  Ben Konrath  <ben@bagu.org>
1290
1291         Display currency codes in the details view.
1292
1293         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
1294
1295 2011-12-02  Ben Konrath  <ben@bagu.org>
1296
1297         Avoid duplicate JNI call.
1298
1299         JNI is not as efficient as pure Java and this is an easy (and small)
1300         optimization.
1301
1302         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1303         Use previously retrieved value for whereClauseToTableName instead of
1304         getting it again.
1305
1306 2011-12-02  Ben Konrath  <ben@bagu.org>
1307
1308         Rename a couple of variables in RelatedListNavigation.
1309
1310         This is a rename-only refactor.
1311
1312         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1313
1314 2011-12-02  Ben Konrath  <ben@bagu.org>
1315
1316         Indicate clearly that a mismatched primary key type is a bug.
1317
1318         * src/main/java/org/glom/web/server/Utils.java: Change log level from
1319         warning to error. Add 'This is a bug.' to message.
1320
1321 2011-12-02  Ben Konrath  <ben@bagu.org>
1322
1323         Update / fix some comments.
1324
1325         * src/main/java/org/glom/web/client/OnlineGlomService.java: Remove old
1326         comments.
1327         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Fix
1328         comment.
1329         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1330         Fix comments. Add some TODOs.
1331
1332 2011-12-02  Ben Konrath  <ben@bagu.org>
1333
1334         Enable navigation to details view with string primary key from related list.
1335
1336         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1337         Create a text primary key value when return type of result is
1338         java.sql.Types.VARCHAR.
1339
1340 2011-12-02  Ben Konrath  <ben@bagu.org>
1341
1342         Use checkboxes for booleans in the details view.
1343
1344         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
1345
1346 2011-12-01  Ben Konrath  <ben@bagu.org>
1347
1348         Improve performance of related list height calculation.
1349
1350         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1351         Put code to calculate the expected height in a static initializer so
1352         that that it's only called once.
1353
1354 2011-12-01  Ben Konrath  <ben@bagu.org>
1355
1356         Show related list tables in notebooks (again).
1357
1358         Calculate the height of the related list tables so the Notebook can be
1359         set the correct height. The height of the related list table is also needed by
1360         FlowTable to be able decide how to create the layout.
1361
1362         * src/main/java/org/glom/web/client/ui/details/Portal.java: Calculate
1363         and set the Portal height based on the height of the related list
1364         table and the Portal container.
1365         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1366         Add method to calculate the height of the related list tables.
1367         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1368         * src/main/webapp/style.css: Add css class for Pager. This is needed to
1369         calculate the height of the Pager widget.
1370
1371 2011-12-01  Ben Konrath  <ben@bagu.org>
1372
1373         Use CellTable API for table property instead of setting style on Element.
1374
1375         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1376
1377 2011-12-01  Ben Konrath  <ben@bagu.org>
1378
1379         Make ListViewTable and RelatedListTable a consistent height.
1380
1381         The tables are now a consistent height regardless of the contents of
1382         the table. A hidden button is added to empty rows to ensure that the
1383         height of these rows will match the height of rows with data.
1384
1385         A navigation button column is now added to every table. The width of
1386         the navigation column is set to 0px when a RelatedListTable shouldn't
1387         have navigation buttons. This maintains the a consistent row height in
1388         tables that don't show the navigation buttons.
1389
1390         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Hide
1391         navigation column when not needed.
1392         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move method
1393         arguments for navigation button to constructor of ListViewTable.
1394         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: Render
1395         hidden button for empty data rows.
1396         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java: Add method
1397         arguments for navigation button to constructor.
1398         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Always
1399         create navigation buttons. Add hideNavigationButtons() method.
1400         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add method
1401         arguments for navigation button to constructor.
1402
1403 2011-12-01  Ben Konrath  <ben@bagu.org>
1404
1405         Use 'visibility: hidden' in Utils.getWidgetHeight().
1406
1407         This is better choice because hidden elements are invisible, don't
1408         respond to events and are not part of the tab order. They will,
1409         however, take up space which is required to be able to calculate the
1410         height of the widget.
1411
1412         * src/main/java/org/glom/web/client/Utils.java:
1413
1414 2011-12-01  Ben Konrath  <ben@bagu.org>
1415
1416         Use Utils.getWidgetHeight() in FlowTable.
1417
1418         * src/main/java/org/glom/web/client/Utils.java: Remove TODO item about
1419         this.
1420         * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
1421
1422 2011-12-01  Ben Konrath  <ben@bagu.org>
1423
1424         Put the details css class name on the correct table column.
1425
1426         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1427
1428 2011-11-30  Ben Konrath  <ben@bagu.org>
1429
1430         Update for java-libglom API change.
1431
1432         The getters and setters on FieldFormatting and NumericFormat were
1433         changed to remove the 'M'.
1434
1435         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1436
1437 2011-11-29  Ben Konrath  <ben@bagu.org>
1438
1439         Only allow RelatedListTables in Portals.
1440
1441         * src/main/java/org/glom/web/client/ui/details/Portal.java:
1442
1443 2011-11-29  Ben Konrath  <ben@bagu.org>
1444
1445         Only create a contents panel for Portals when title is being set.
1446
1447         * src/main/java/org/glom/web/client/ui/details/Portal.java:
1448
1449 2011-11-29  Ben Konrath  <ben@bagu.org>
1450
1451         Set TabLayoutPanel height based on calculated height its widgets.
1452
1453         This is a potential fix for this bug:
1454
1455         https://bugzilla.gnome.org/show_bug.cgi?id=665133
1456
1457         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
1458
1459 2011-11-29  Ben Konrath  <ben@bagu.org>
1460
1461         Align details field labels and data with the Open buttons.
1462
1463         * src/main/webapp/style.css:
1464
1465 2011-11-29  Ben Konrath  <ben@bagu.org>
1466
1467         Remove unnecessary <div> in the Notebook widget.
1468
1469         * src/main/java/org/glom/web/client/ui/details/Group.java: Remove
1470         method to get container FlowPanel (<div>).
1471         * src/main/java/org/glom/web/client/ui/details/Notebook.java: Run the
1472         initWidget() method directly on the TabLayoutPanel widget instead of
1473         Group's container widget.
1474
1475 2011-11-29  Ben Konrath  <ben@bagu.org>
1476
1477         Don't add group titles for Portals in Notebooks.
1478
1479         This reverts the previous patch and fixes a bug I introduced with
1480         commit b1753fd27bd2c4ea189c4c353e0ece92dcc66c2c .
1481
1482         * src/main/java/org/glom/web/client/ui/details/Group.java:
1483         * src/main/java/org/glom/web/client/ui/details/Portal.java:
1484
1485 2011-11-28  Ben Konrath  <ben@bagu.org>
1486
1487         Remove unused boolean argument in Portal constructor.
1488
1489         Just a code cleanup.
1490
1491         * src/main/java/org/glom/web/client/ui/details/Group.java:
1492         * src/main/java/org/glom/web/client/ui/details/Portal.java:
1493
1494 2011-11-28  Ben Konrath  <ben@bagu.org>
1495
1496         Remove hack for glom 1.18 style glom files.
1497
1498         * src/main/java/org/glom/web/client/ui/details/Group.java:
1499         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
1500         * src/main/java/org/glom/web/client/ui/details/Portal.java:
1501
1502 2011-11-28  Ben Konrath  <ben@bagu.org>
1503
1504         Use Gda Value version of primary key to log result too large error.
1505
1506         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1507
1508 2011-11-28  Ben Konrath  <ben@bagu.org>
1509
1510         Don't use TypedDataItem.getText() for Unknown types from the URL.
1511
1512         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1513         * src/main/java/org/glom/web/server/Utils.java: Use getUnknown()
1514         instead of getText().
1515         * src/main/java/org/glom/web/shared/TypedDataItem.java: Add unknown
1516         String field and getUnknown() method.
1517
1518 2011-11-28  Ben Konrath  <ben@bagu.org>
1519
1520         Log an error message when the java-libglom .so is not present.
1521
1522         The error message was being set in the exception but not logged.
1523
1524         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1525
1526 2011-11-28  Ben Konrath  <ben@bagu.org>
1527
1528         Ignore LayoutItem_CalendarPortals.
1529
1530         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Don't
1531         create the LayoutItemPortal DTO for LayoutItem_CanendarPortals.
1532
1533 2011-11-28  Ben Konrath  <ben@bagu.org>
1534
1535         Extract method for creating the LayoutItemPortal DTO.
1536
1537         Just breaking the code up into smaller chunks.
1538
1539         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1540
1541 2011-11-28  Ben Konrath  <ben@bagu.org>
1542
1543         Add TypedDataItem.
1544
1545         This should have been added with the refactor. Oops!
1546
1547         * src/main/java/org/glom/web/shared/TypedDataItem.java:
1548
1549 2011-11-28  Ben Konrath  <ben@bagu.org>
1550
1551         Create primary key value from URL string using type from Glom document.
1552
1553         See this bug, comments 19 - 25:
1554
1555         https://bugzilla.gnome.org/show_bug.cgi?id=662376#c19
1556
1557         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Don't
1558         create a TypeDataItem for the primary key here when loading from a
1559         URL. Show the same string for the primary key value as was received
1560         from the URL string (when loading from a URL).
1561         * src/main/java/org/glom/web/server/Utils.java: Update method for
1562         creating the Gda Value from the TypeDataItem to properly deal with
1563         creating a Gda Value based on the Glom document type for the primary
1564         key value string when loading from a URL.
1565         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1566         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1567         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1568         Update for changed method name.
1569
1570 2011-11-27  Ben Konrath  <ben@bagu.org>
1571
1572         Rename PrimaryKeyItem to TypedDataItem.
1573
1574         The name PrimaryKeyItem suggests what the class should be used for.
1575         TypedDataItem is a neutral name that describes the class better.
1576
1577         This is a rename-only refactor.
1578
1579         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1580         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1581         * src/main/java/org/glom/web/client/Utils.java:
1582         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1583         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1584         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1585         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1586         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1587         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1588         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1589         * src/main/java/org/glom/web/server/Utils.java:
1590         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1591         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1592         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1593         * src/main/java/org/glom/web/shared/NavigationRecord.java:
1594
1595 2011-11-25  Ben Konrath  <ben@bagu.org>
1596
1597         Improve Gda Value conversion from PrimaryKeyItem.
1598
1599         The value from the PrimaryKeyItem is only used if its type match the
1600         type from the glom document.
1601
1602         * src/main/java/org/glom/web/server/Utils.java:
1603
1604 2011-11-25  Ben Konrath  <ben@bagu.org>
1605
1606         Manually check if the java-liblgom .so is visible to the JVM.
1607
1608         It seems that Tomcat has problems when a static initializer throws an
1609         exception. This check is done before the first method call into
1610         java-libglom so that execution doesn't continue if the .so is not
1611         found.
1612
1613         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1614
1615 2011-11-25  Ben Konrath  <ben@bagu.org>
1616
1617         Improve browser configuration error messages.
1618
1619         This fixes:
1620
1621         https://bugzilla.gnome.org/show_bug.cgi?id=662792
1622
1623         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1624         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1625         getConfigurationErrorMessage() method.
1626         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1627         Get and display a specific configuration error message when no Glom
1628         documents are found.
1629         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1630         Implement getConfigurationErrorMessage() method. Surround configuration
1631         code in the init() method with a try/catch block. This allows the
1632         errors to be caught while keeping the servlet available to retrieve the
1633         configuration error message.
1634
1635 2011-11-25  Ben Konrath  <ben@bagu.org>
1636
1637         Don't use Strings to hold primary key values.
1638
1639         The primary key values are now held in a new data object
1640         (PrimaryKeyItem) that holds type information and the primary key value
1641         using the correct type.
1642
1643         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1644         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1645         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1646         PrimaryKeyItem instead of String to hold the primary key value.
1647         * src/main/java/org/glom/web/client/Utils.java: Remove
1648         getKeyValueStringForQuery(). Add getPrimaryKeyItem() which creates a
1649         PrimaryKeyItem based on the GlomFieldType and the DataItem.
1650         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Use
1651         PrimaryKeyItem instead of String to hold the primary key value. Load
1652         document selection page when the documentID has not been set correctly.
1653         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Re-work
1654         DetailsPlace -> URL and URL -> DetailsPlace conversion with
1655         PrimaryKeyItem.
1656         * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1657         Return empty string for URL instead of "null".
1658         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1659         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1660         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1661         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
1662         PrimaryKeyItem instead of String to hold primary key values.
1663         * src/main/java/org/glom/web/server/Utils.java: New method to convert a
1664         PrimaryKeyValue to a Gda Value.
1665         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1666         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1667         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1668         Replace temporary database access code that uses the PrimaryKeyValue to
1669         Gda Value conversion.
1670         * src/main/java/org/glom/web/shared/DataItem.java: Add comment.
1671         * src/main/java/org/glom/web/shared/NavigationRecord.java: Use
1672         PrimaryKeyItem instead of String.
1673         * src/main/java/org/glom/web/shared/PrimaryKeyItem.java: New class to
1674         hold primary key values.
1675
1676 2011-11-24  Ben Konrath  <ben@bagu.org>
1677
1678         Use newly added java-libglom API to create queries.
1679
1680         This isn't finished. I still need to stop using Strings for primary key
1681         values in the client code.
1682
1683         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Tell
1684         libglom to use fake connections so that retrieving the query string will
1685         work.
1686         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1687         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
1688         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1689         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1690         Use the newly added libglom sql methods and classes to create the
1691         query. Add temporary hack to convert primary value strings to Gda
1692         Value.
1693
1694 2011-11-23  Ben Konrath  <ben@bagu.org>
1695
1696         Don't explicitly set the height of Portals.
1697
1698         See comments 6 - 10 of this bug for details:
1699
1700         https://bugzilla.gnome.org/show_bug.cgi?id=662930#c6
1701
1702         * src/main/java/org/glom/web/client/ui/details/Portal.java:
1703
1704 2011-11-23  Ben Konrath  <ben@bagu.org>
1705
1706         Use an HTML table instead of CSS for the FlowTable layout.
1707
1708         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Use
1709         GWT's FlexTable to implement the FlowTable.
1710         * src/main/webapp/style.css: Adjust CSS for the change to FlexTable.
1711
1712 2011-11-18  Ben Konrath  <ben@bagu.org>
1713
1714         Add boolean example to HTML table mockup.
1715
1716         * mockups/details-view-html-tables-text-entries.html:
1717
1718 2011-11-17  Ben Konrath  <ben@bagu.org>
1719
1720         Ensure the pager buttons are always visible for related lists.
1721
1722         To accomplish this, I've turned off text wrapping in the list view and
1723         related list tables for both the header and data text. The related list
1724         table now has a fixed layout so the it doesn't overflow its container.
1725         This is required to ensure that the cell text is clipped when it
1726         overflows the cell and an ellipsis is added to the right side of the
1727         cell when text is clipped.
1728
1729         A fixed table layout for the related list table in the details view
1730         seems what we want for the details view anyway, so the side-effect is
1731         desirable.
1732
1733         The ellipsis will only be displayed in Firefox >= 7.
1734
1735         This fixes bug:
1736
1737         https://bugzilla.gnome.org/show_bug.cgi?id=662930
1738
1739         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java:
1740         * src/main/java/org/glom/web/client/ui/cell/TextCell.java: Add
1741         'overflow: hidden; text-overflow: ellipsis;' CSS properties to the table
1742         cell text.
1743         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1744         Set the 'table-layout: fixed' CSS property to the related list table.
1745         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Set the
1746         'white-space: nowrap;' CSS property on both the list view and the
1747         related list tables.
1748
1749 2011-11-16  Ben Konrath  <ben@bagu.org>
1750
1751         Rework the fix for empty notebook tab labels.
1752
1753         Setting the empty group titles with its name caused problems for the
1754         details layout. Instead of using libglom's
1755         LayoutItem.get_title_or_name(), the LayoutItem name is explicitly sent
1756         to the client when the title is empty. This allows the Notebook to use
1757         the name when the title is empty without affecting anything else.
1758
1759         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
1760         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1761
1762 2011-11-16  Ben Konrath  <ben@bagu.org>
1763
1764         Set group titles with name when title is empty.
1765
1766         This fixes a problem with an empty notebook tab label in the Lesson
1767         Planner document. The forth tab in the notebook should be "Internet":
1768
1769         http://bagu.org:8080/OnlineGlom/#details:document=lesson-planner&table=teachers&value=0
1770
1771         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
1772         libglom's LayoutItem.get_title_or_name() to fill in the LayoutGroup
1773         DTO title.
1774
1775 2011-11-16  Ben Konrath  <ben@bagu.org>
1776
1777         Remove whitespace from the configured username properties.
1778
1779         This assumes that usernames won't have whitespace at the beginning
1780         or end. But I think this is a reasonable assumption.
1781
1782         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1783         String.trim() to remove the whitespace from the username properties.
1784
1785 2011-11-15  Ben Konrath  <ben@bagu.org>
1786
1787         Add details view mockup with HTML tables and text entries.
1788
1789         This is from the attachment on this bug:
1790
1791         https://bugzilla.gnome.org/show_bug.cgi?id=663109
1792
1793         * mockups/details-view-html-tables-text-entries.html:
1794
1795 2011-11-15  Ben Konrath  <ben@bagu.org>
1796
1797         Add space between the columns of the flow table.
1798
1799         This fixes:
1800
1801         https://bugzilla.gnome.org/show_bug.cgi?id=662918
1802
1803         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Add a 1%
1804         space between columns in the flow table.
1805
1806 2011-11-15  Ben Konrath  <ben@bagu.org>
1807
1808         Add backup files to the .gitignore.
1809
1810         * .gitignore: Ignore files that end with ~.
1811
1812 2011-11-09  Ben Konrath  <ben@bagu.org>
1813
1814         Use latest release of gwt-log.
1815
1816         Gwt-log releases are now being submitted to the maven central
1817         repository so manual installation of the jar is no longer required.
1818
1819         * pom.xml: Update version and groupId of gwt-log dependency.
1820
1821 2011-10-31  Ben Konrath  <ben@bagu.org>
1822
1823         Don't use GWT numeric formatting to override the glom currency formatting.
1824
1825         Currencies are now displayed like they are in Glom. See this bug:
1826
1827         https://bugzilla.gnome.org/show_bug.cgi?id=646216
1828
1829         * src/main/java/org/glom/web/client/Utils.java: Remove GWT currency
1830         formatting.
1831         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: Add
1832         currency code to constructor and set it when the cell is rendered.
1833         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
1834         currency code to the constructor of the NumericCell.
1835
1836 2011-10-27  Ben Konrath  <ben@bagu.org>
1837
1838         Require the latest release of java-libglom (1.17.4).
1839
1840         * pom.xml:
1841
1842 2011-10-26  Ben Konrath  <ben@bagu.org>
1843
1844         Add style to Notebook that matches current theme.
1845
1846         It's not the best style in the world but it's better than the default.
1847
1848         * src/main/java/org/glom/web/client/ui/details/Notebook.java: Add some
1849         padding at the bottom of the child widgets.
1850         * src/main/webapp/style.css: Add style for the Notebook.
1851
1852 2011-10-26  Ben Konrath  <ben@bagu.org>
1853
1854         Move servlet initialization code to overridden init method.
1855
1856         This is half of the solution to getting proper error messages
1857         displayed when configuration errors occur. Here's the relevant bug:
1858
1859         https://bugzilla.gnome.org/show_bug.cgi?id=662792
1860
1861         The rest of the solution involves surrounding the init method with a
1862         try/catch block and setting a global variable with the error /
1863         exception. A new async method should be created to retrieve and display
1864         the error message / exception.
1865
1866         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Move
1867         code from constructor to init method adding exceptions as needed.
1868
1869 2011-10-26  Ben Konrath  <ben@bagu.org>
1870
1871         Add script to monitor and restart tomcat if required.
1872
1873         * utils/check-and-recover-tomcat.py: New file.
1874
1875 2011-10-26  Ben Konrath  <ben@bagu.org>
1876
1877         Display the correct number of data items in the pager.
1878
1879         This commit fixes:
1880
1881         https://bugzilla.gnome.org/show_bug.cgi?id=661441
1882
1883         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1884         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1885         The implementation is the same for both tables: Keep track of the
1886         number of non-empty rows and fire and RowCountChangeEvent after the data has
1887         been updated.
1888         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add a
1889         custom Pager class that subclasses SimplePager to handle displaying
1890         the correct number when empty rows have been added.
1891
1892 2011-10-26  Ben Konrath  <ben@bagu.org>
1893
1894         Correct error in previous commit.
1895
1896         * src/main/java/org/glom/web/client/activity/ListActivity.java: Remove
1897         eventBus parameter from listView.setCellTable().
1898
1899 2011-10-26  Ben Konrath  <ben@bagu.org>
1900
1901         Fix error in TODO comment.
1902
1903         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1904
1905 2011-10-24  Ben Konrath  <ben@bagu.org>
1906
1907         Create Notebook widgets to the details view.
1908
1909         This isn't finished just yet - I still need to create a reasonable
1910         style to match the current theme.
1911
1912         * src/main/java/org/glom/web/client/Utils.java: Add method for
1913         calculating the height of a widget. This is used in the Notebook class.
1914         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
1915         new constructor method in Group.
1916         * src/main/java/org/glom/web/client/ui/details/Group.java: Add new
1917         method for creating child widget that can be used by subclasses
1918         like Notebook. New constructor that allows disabling the group
1919         titles - Notebooks don't set a group title for their child groups.
1920         * src/main/java/org/glom/web/client/ui/details/Notebook.java: New class
1921         to make Notebooks using GWT's TabLayoutPanel.
1922         * src/main/java/org/glom/web/client/ui/details/Portal.java: New
1923         constructor that allows disabling the group titles.
1924         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Create the
1925         LayoutItemNotebook DTO.
1926         * src/main/java/org/glom/web/shared/layout/LayoutItemNotebook.java: New
1927         DTO for Notebooks. It's just an empty class for now but we might need
1928         it to transfer some specific information in the future.
1929
1930 2011-10-21  Ben Konrath  <ben@bagu.org>
1931
1932         Add navigation buttons to related list tables.
1933
1934         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1935         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1936         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add new
1937         method getSuitableRecordToViewDetails() for getting the table name
1938         and primary key value for related list navigation buttons.
1939         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
1940         private cell renderer class to get the navigation information for
1941         related list tables from the server. Extract the navigation
1942         processing code from the details cell navigation and use it for the
1943         related list navigation as well.
1944         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Add private
1945         cell renderer class for the details open buttons. This was needed
1946         because the related list navigation buttons and the list view
1947         navigation buttons need to react differently when clicked.
1948         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: Remove
1949         the onEnterKeyDown() method because it's now overriden in the
1950         subclasses that are specific to the related list tables and the list
1951         view tables.
1952         * src/main/java/org/glom/web/client/ui/details/Portal.java: Increase
1953         the vertical size a little because the buttons add a bit of vertical
1954         space to table. This is not a perfect solution because the vertical
1955         size of with table fewer than 5 rows will be a little smaller.
1956         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Update for
1957         changes in how navigation buttons are handled.
1958         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Implement
1959         getSuitableRecordToViewDetails() using the new RelatedListNavigation
1960         database access object.
1961         * src/main/java/org/glom/web/server/database/DBAccess.java: Move code
1962         to find the portal for a given relationship name from
1963         RelatedListDBAccess. Add method to find a primary key field for a
1964         given table.
1965         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1966         Move code to find the portal for a given relationship name to
1967         DBAccess.
1968         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1969         New file: database access object for getting the related list
1970         navigation information (the table name and the primary key value).
1971         * src/main/java/org/glom/web/shared/NavigationRecord.java: New file:
1972         DTO for transferring a table name to navigate to and a primary key
1973         value.
1974         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
1975         boolean and getter/setter to specifies if the related list should add
1976         navigation buttons.
1977
1978 2011-10-24  Murray Cumming  <murrayc@murrayc.com>
1979
1980         Use the master branch of java-libglom
1981
1982         * pom.xml: Depend on java-libglom 1.19 instead.
1983         
1984         This is the master branch. See also the libglom-1-18 branch.
1985
1986 2011-10-11  Ben Konrath  <ben@bagu.org>
1987
1988         Enable the open navigation button when the data has been set.
1989
1990         This avoids having active buttons that don't do anything when the data
1991         has not been set.
1992
1993         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
1994
1995 2011-10-11  Ben Konrath  <ben@bagu.org>
1996
1997         Use IsWidget interface for FlowTableItem.
1998
1999         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Change
2000         FlowTableItem.getWidget() to asWidget() from the IsWidget interface.
2001
2002 2011-10-11  Ben Konrath  <ben@bagu.org>
2003
2004         Remove GWT styling from open button in details view.
2005
2006         There are still some issues with how the details cell is arranged but
2007         this should be made to match Glom 1.20. I'm going to leave fixing this
2008         until I have Glom 1.20 up and running.
2009
2010         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Set
2011         style name on open button.
2012         * src/main/webapp/style.css: Move and edit details-navigation class.
2013         Re-arrange some classes to make them appear in the same order as the
2014         UI.
2015
2016 2011-10-07  Ben Konrath  <ben@bagu.org>
2017
2018         Update to GWT 2.4.0.
2019
2020         * .gitignore: Ignore new cache directory.
2021         * .settings/com.google.gwt.eclipse.core.prefs: Update Eclipse settting.
2022         * pom.xml: Change GWT and maven plugin to 2.4.0.
2023         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Update doctype for
2024         2.4.0.
2025         * src/main/java/org/glom/web/client/ClientFactory.java:
2026         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
2027         * src/main/java/org/glom/web/client/OnlineGlom.java:
2028         Update source for API changes.
2029         * utils/build-onlineglom-war.sh: Remove cache directory before the
2030         build.
2031
2032 2011-10-07  Ben Konrath  <ben@bagu.org>
2033
2034         Add navigation buttons in the details view.
2035
2036         This isn't finished but I thought I'd commit what I have as it's a
2037         pretty good start. I still need to:
2038
2039         1. Change the style so that it fits better into the current theme
2040         2. Adjust the details cell to expand as much as possible.
2041
2042         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
2043         click handlers to navigation buttons in the DetailsCells. Create a
2044         refreshData() method to get just the data from the server without the
2045         layout.
2046         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2047         Update the tableSelector and browser title when the table name
2048         changes without using the tableSelector.
2049         * src/main/java/org/glom/web/client/ui/DetailsView.java:
2050         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
2051         getDetailsCells() to getCells(). Update variable names.
2052         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Add
2053         method to set click handler on navigation button. Rename a few
2054         variables. Add navigation buttons where needed.
2055         * src/main/java/org/glom/web/client/ui/details/Group.java: Rename a few
2056         variables and methods.
2057         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Set the
2058         navigation boolean and navigation table as required in the
2059         LayoutItemField DTO.
2060         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
2061         variables for navigation along with getter/setter methods.
2062
2063 2011-10-07  Ben Konrath  <ben@bagu.org>
2064
2065         Rename Field to DetailsCell.
2066
2067         This is a refactor-only commit. No functionality has been added or
2068         removed.
2069
2070         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2071         Update variable and method names.
2072         * src/main/java/org/glom/web/client/ui/DetailsView.java:
2073         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update
2074         variable and method names.
2075         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
2076         Renamed from Field.
2077         * src/main/java/org/glom/web/client/ui/details/Group.java: Update
2078         variable and method names.
2079
2080 2011-10-07  Ben Konrath  <ben@bagu.org>
2081
2082         Create separate methods for layout and data the details view.
2083
2084         This is a refactor-only commit. No functionality has been added or
2085         removed.
2086
2087         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: New
2088         private methods: setData(), createLayout().
2089
2090 2011-10-07  Ben Konrath  <ben@bagu.org>
2091
2092         Don't use TableSelectorImpl implementation details in TableSelectorActivity.
2093
2094         This is part of a change to get navigation buttons in the details view
2095         but it should have been done this way from the start.
2096
2097         * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
2098         for method name change in TableSelectionView.
2099         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2100         Create TableChangeEvent and set the browser title using the
2101         TableSelectionView API.
2102         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
2103         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
2104         Change getSelectedTable() to getSelectedTableName(). Add
2105         getSelectedTableTitle().
2106
2107 2011-10-07  Ben Konrath  <ben@bagu.org>
2108
2109         Use primaryKeyValue naming convention in constructor of DetailsPlace.
2110
2111         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
2112
2113 2011-10-07  Ben Konrath  <ben@bagu.org>
2114
2115         Update TableChangeEvent to use newTableName naming convention.
2116
2117         This makes the class more consistent with GWT naming conventions.
2118
2119         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2120         Update for method name change in TableChangeEvent.
2121         * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
2122         for method name change in TableChangeEvent.
2123         * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
2124         newTableName variable and getter method. Make toDebugString()
2125         actually work.
2126
2127 2011-09-30  Ben Konrath  <ben@bagu.org>
2128
2129         Disable the pager in the list tables when the data row count is less than the minimum.
2130
2131         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2132         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2133
2134 2011-09-30  Ben Konrath  <ben@bagu.org>
2135
2136         Add empty rows to the end of related list and list view tables.
2137
2138         I also extracted the cell rendering classes from the ListTable because
2139         the code was becoming a little crazy with all the anonymous inner
2140         classes. My plan is to use these cell rendering classes in the details
2141         view as well so this refactor will be needed for that change.
2142
2143         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
2144         set the row count in related list tables if the data has more rows
2145         than the minimum number of rows visible.
2146         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
2147         row count in list view tables if the data has more rows than the
2148         minimum number of rows visible.
2149         * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
2150         for rendering TYPE_BOOLEAN cells. The code was extracted from the
2151         ListTable class.
2152         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
2153         for rendering TYPE_NUMERIC cells. The code was extracted from the
2154         ListTable class.
2155         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
2156         class for rendering cells with buttons in list views. The code was
2157         extracted from the ListTable class.
2158         * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
2159         for rendering TYPE_TEXT cells. The code was extracted from the
2160         ListTable class.
2161         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2162         Add empty rows to the end of the data if required. Implement
2163         ListTable.getMinNumVisibleRows().
2164         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
2165         cell renderer code to public classes. Return null in
2166         Column.getValue() for empty rows. Add new abstract method:
2167         getMinNumVisibleRows(). Move code to set the row count of the list view
2168         table to ListViewImpl.
2169         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
2170         empty rows to the end of the data if required. Implement
2171         ListTable.getMinNumVisibleRows().
2172
2173
2174 2011-09-27  Ben Konrath  <ben@bagu.org>
2175
2176         Use GWT.log for client-side debugging statements.
2177
2178         These are optimized out when deployed so I should have used this method
2179         in the first place. These statements will eventually be replaced with some sort
2180         of notification in the browser.
2181
2182         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2183         * src/main/java/org/glom/web/client/activity/ListActivity.java:
2184         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2185         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2186         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
2187
2188 2011-09-27  Ben Konrath  <ben@bagu.org>
2189
2190         Put tableselector on the right, back to list link on right.
2191
2192         The idea is that the table selector is acting like a label for the
2193         currently displayed table so it should be placed below the document title. This
2194         puts the table title in a similar position to where it is in Glom.
2195
2196         * mockups/details-contacts.html:
2197         * mockups/details-projects.html:
2198         * mockups/listview-contacts.html:
2199         * mockups/listview-projects.html:
2200         * mockups/style.css:
2201         Update mockups to match how the interfaces currently look.
2202         * src/main/webapp/style.css: Swap positions of backlink with the table
2203         selector. Add some space on the left side of the table selector to
2204         line things up with the document title.
2205
2206 2011-09-27  Ben Konrath  <ben@bagu.org>
2207
2208         Add field colouring to details view.
2209
2210         This change re-works how field colouring works. The colour formatting
2211         information is now set to the client with the layout information instead of
2212         with the data. This eliminates the need to send the same colour strings for
2213         data in list view column when colour information is set.
2214
2215         In order to set an alternate colour for negative numeric values, the
2216         number is now sent to client and formatted with the GWT NumberFormat class.
2217
2218         This change also fixes:
2219
2220         https://bugzilla.gnome.org/show_bug.cgi?id=659752
2221
2222         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
2223         internationalization framework which is needed for client side numeric
2224         formatting.
2225         * src/main/java/org/glom/web/client/Utils.java: New file for some
2226         client static utility methods.
2227         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
2228         the DataItem object to the Field class. Use a utility method to
2229         create the foreignKeyValue string.
2230         * src/main/java/org/glom/web/client/ui/details/Field.java: Set
2231         alignment and text colours in the constructor. Add setData(DataItem)
2232         method. Remove setText(String) method.
2233         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
2234         colour information to GlomTextCell. Create and use GlomNumberCell for
2235         rendering numbers. Use utility method to get the string for the
2236         primary key of the key provider. Re-work how the horizontal alignment
2237         is set.
2238         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
2239         formatting to layout information. Methods for converting the libglom
2240         formatting information were moved from DBAccess.
2241         * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
2242         numeric formatting (it's now done on the client side). Don't set text
2243         colours in DataItem. Move libglom formatting conversion methods to
2244         ConfiguredDocument.
2245         * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
2246         getters/setters for text colour information.
2247         * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
2248         for transferring the libglom NumericFormat information to the client.
2249         * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
2250         and getters/setters for: GlomNumericFormat, background colour and
2251         foreground colour strings.
2252
2253 2011-09-26  Ben Konrath  <ben@bagu.org>
2254
2255         Simplify code that iterates through the LayoutGroup.
2256
2257         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
2258
2259 2011-09-26  Ben Konrath  <ben@bagu.org>
2260
2261         Accept Eclipse formatting for OnlineGlomServiceAsync.
2262
2263         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2264
2265 2011-09-26  Ben Konrath  <ben@bagu.org>
2266
2267         Don't use the ListDBAccess classes to get the primary key layout information.
2268
2269         This was causing a bug where the wrong index for the hidden primary key
2270         was being sent to the client.
2271
2272         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
2273         primary key while creating the LayoutGroup DTO. Create a
2274         LayoutItemField DTO for hidden primary keys. Don't use the
2275         RelatedListDBAccess because it was only used for getting the primary
2276         key.
2277         * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
2278         access modifier from public to protected for getPrimaryKeyField() and
2279         getPrimaryKeyLayoutItemField().
2280         * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
2281         abstract method getExpectedResultSize() because RelatedListDBAccess
2282         doesn't have enough info to implement it.
2283         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
2284         Remove @Override for getExpectedResultSize().
2285         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
2286         Remove method getExpectedResultSize().
2287
2288 2011-09-23  Ben Konrath  <ben@bagu.org>
2289
2290         Log which layout (list or details) the ignored item is from.
2291
2292         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
2293
2294 2011-09-23  Ben Konrath  <ben@bagu.org>
2295
2296         Remove annotations that turn off code formatting in DataItem.
2297
2298         * src/main/java/org/glom/web/shared/DataItem.java:
2299
2300 2011-09-23  Ben Konrath  <ben@bagu.org>
2301
2302         Rename GlomField to DataItem and update associated methods.
2303
2304         This is a rename-only refactor. No functionality has been added or
2305         removed.
2306
2307         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2308         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2309         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2310         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2311         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2312         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
2313         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
2314         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
2315         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2316         * src/main/java/org/glom/web/server/database/DBAccess.java:
2317         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
2318         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
2319         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
2320         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
2321         * src/main/java/org/glom/web/shared/DataItem.java:
2322         * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
2323         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
2324
2325 2011-09-23  Ben Konrath  <ben@bagu.org>
2326
2327         Rename GlomDocument to DocumentInfo and update associated methods.
2328
2329         This is a rename-only refactor. No functionality has been added or
2330         removed.
2331
2332         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2333         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2334         * src/main/java/org/glom/web/client/activity/ListActivity.java:
2335         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2336         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
2337         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2338         * src/main/java/org/glom/web/shared/DocumentInfo.java:
2339
2340 2011-09-20  Ben Konrath  <ben@bagu.org>
2341
2342         Require java-libglom 1.17.3.
2343
2344         This picks up the fix for the seg fault problem with the Scenes table
2345         in the Openismus Film Manager example.
2346
2347         * pom.xml:
2348
2349 2011-09-20  Ben Konrath  <ben@bagu.org>
2350
2351         Change the way sort clause is added for primary key when no sort clause is requested.
2352
2353         The primary key is now added to the LayoutFieldVector (fieldsToGet)
2354         before the sort clause is created. When a sort clause is not requested, the
2355         sort clause is created by finding the primary key in the LayoutFieldVector
2356         (fieldsToGet).
2357
2358         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
2359
2360 2011-09-20  Ben Konrath  <ben@bagu.org>
2361
2362         Log error message if no documents are found in the configured directory.
2363
2364         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
2365         Extract the glom file extension string to a private static final class
2366         variable (mostly as syntactic sugar). Accept a minor formatting change.
2367         * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
2368         the example glom.document.directory configuration property to make it
2369         more clear that it can any directory, not just the home directory.
2370
2371 2011-09-18  Ben Konrath  <ben@bagu.org>
2372
2373         Add related lists to details view.
2374
2375         The related list table has support for paging and sorting just like the
2376         table in the list view.
2377
2378         * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
2379         SQL queries for the related list tables.
2380         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2381         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2382         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2383         Rename getList methods to getListView and add comments. Remove
2384         getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
2385         it being unused. Add methods: getDetailsLayoutAndData(),
2386         getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
2387         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2388         Create the layout and set the data for the fields in one async call
2389         instead of two. Create related lists where appropriate.
2390         * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
2391         for method name changes in OnlineGlomService.
2392         * src/main/java/org/glom/web/client/ui/DetailsView.java:
2393         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
2394         addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
2395         visible UI objects.
2396         * src/main/java/org/glom/web/client/ui/ListView.java:
2397         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
2398         tableName from setCellTable(). Create a ListViewTable instead of
2399         ListTable.
2400         * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
2401         represent a data field in the details view.
2402         * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
2403         from addDetailsCell() to Field class. Keep track of the Fields and
2404         Portals in the details view.
2405         * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
2406         a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
2407         and add a method to get it. Add method to set the contents of the
2408         portal.
2409         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2410         New class for related list tables. This class has the data provider
2411         for the related list table.
2412         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
2413         abstract class which is the base class for the ListViewTable and the
2414         RelatedListTable.
2415         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
2416         New class for list view tables. This class has the data provider for
2417         the list view table.
2418         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
2419         methods for related list tables. Add more information to the
2420         LayoutItemField and LayoutItemPortal DTOs.
2421         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
2422         Remove debugging print statement.
2423         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
2424         Remove debugging print statements. Add primary key field to SQL count
2425         query.
2426         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
2427         Remove unnecessary LayoutFieldVector parameter from
2428         getResultSizeOfSQLQuery() method.
2429         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
2430         New class for related list table database access.
2431         * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
2432         class that is a wrapper DTO for details view layout and data.
2433         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
2434         new 'fromField' string to this DTO.
2435         * src/main/webapp/style.css: Remove bottom margin and override top
2436         margin with 0em.
2437
2438 2011-09-15  Ben Konrath  <ben@bagu.org>
2439
2440         Breakup the OnlineGlomServiceImpl class to make it more manageable.
2441
2442         This sets things up to make it easier to add the data retrieval for
2443         related lists (portals). No user noticeable changes were made with
2444         this commit.
2445
2446         * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
2447         class has the code to retrieve the layouts and access the
2448         database using the new database helper classes.
2449         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2450         Most of the functionality has been removed from this class. This
2451         class now represents the public interface for the client side
2452         code. It also deals with configuring the servlet and cleaning
2453         things up when the servlet is stopped.
2454         * src/main/java/org/glom/web/server/Utils.java: Extract a couple
2455         of static methods into this utility class.
2456         * src/main/java/org/glom/web/server/database/DBAccess.java:
2457         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
2458         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
2459         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
2460         These classes have the database retrieval code. The class hierarchy
2461         has been setup to make it easy to reuse code for similar
2462         functionality.
2463
2464 2011-09-06  Ben Konrath  <ben@bagu.org>
2465
2466         Create separate classes for list table code and the data provider.
2467
2468         As part of this refactor, I also split up the code a bit to make it
2469         more manageable.
2470
2471         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
2472         table code to two new classes (below).
2473         * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
2474         with code from ListViewImpl.
2475         * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
2476         New file with code from ListViewImpl.
2477
2478 2011-09-06  Ben Konrath  <ben@bagu.org>
2479
2480         Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
2481
2482         This fixes the LayoutItemPortal DTO to match the libglom layout object
2483         hierarchy.
2484
2485         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
2486
2487 2011-09-01  Ben Konrath  <ben@bagu.org>
2488
2489         Set title of Portals in the Details View.
2490
2491         * pom.xml: Bump required version of java-libglom to 1.17.1.
2492         * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
2493         widget creation to its own class. Add comments to constructor.
2494         * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
2495         The code is mostly from the Group class with the title now set.
2496         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
2497         title of Portal. Update some comments. Fix some code formatting.
2498
2499 2011-09-01  Ben Konrath  <ben@bagu.org>
2500
2501         Remove TODO comment for the flow table column width.
2502
2503         The flow table column width is working correctly and doesn't need to be
2504         changed. See this mailing list post for more info:
2505
2506         https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
2507
2508         * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
2509
2510 2011-08-27  Ben Konrath  <ben@bagu.org>
2511
2512         Add document title (database name) to top of the browser page.
2513
2514         I added the document title to the TableSelecitonView but that will
2515         change if / when we add a view that doesn't require table selection.
2516
2517         * mockups/details-contacts.html:
2518         * mockups/details-projects.html:
2519         * mockups/listview-contacts.html:
2520         * mockups/listview-projects.html:
2521         * mockups/style.css: Add document title to mockups to keep things
2522         consistent.
2523         * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
2524         sizes to account for the document title.
2525         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2526         Set the document title when it has been retrieved from the server.
2527         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
2528         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
2529         and implement setDocumentTitle(String) method.
2530         * src/main/webapp/style.css: Add ID for document title style.
2531
2532 2011-08-25  Ben Konrath  <ben@bagu.org>
2533
2534         Add NavigationType enum to LayoutItemPortal DTO.
2535
2536         This is the start of adding support for Portals to the Details View.
2537
2538         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
2539         LayoutItem_Portal.navigation_type enum from libglom to
2540         LayoutItemPortal.NavigationType enum.
2541         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
2542         NavigationType enum, field for storing the NavigationType and getter
2543         and setter methods.
2544
2545 2011-08-25  Ben Konrath  <ben@bagu.org>
2546
2547         Implement the flow table layout in the Details View.
2548
2549         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
2550         FlowTable to Group to account for the renamed class.
2551         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
2552         File. This is a container widget that implements the Glom details view
2553         flow table behaviour.
2554         * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
2555         org/glom/web/client/ui/FlowTable.java.
2556         * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
2557         so that the size of the subgroups are a closer match to the size of
2558         the Glom subgroups. This makes the flowtable layout match the layout
2559         in Glom for the Music Collection example file.
2560
2561 2011-08-16  Ben Konrath  <ben@bagu.org>
2562
2563         Create container element for LayoutItemPortal in Details View.
2564
2565         This will help me develop the layout for the FlowTable.
2566
2567         * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
2568         fieldPanel variable to detailsCell.
2569
2570 2011-08-15  Ben Konrath  <ben@bagu.org>
2571
2572         Set the height of the data element in the Details View.
2573
2574         I changed the InlineLabels (text in a span element) to Labels (text in
2575         a div element) so that I could set the height of the details-data
2576         elements instead of the details-cell parent elements. This allows the
2577         the details-data element to display the correct height if style is
2578         applied that shows the height.
2579
2580         This change has the added benefit of allowing the order of the labels
2581         and data elements to be changed for right-to-left languages.
2582
2583         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
2584         InlineLabels to Labels.
2585         * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
2586         InlineLabels to Labels. Set the height of the data element.
2587         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
2588         multiline text height in the Formatting DTO.
2589         * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
2590         for multiline height along with getter and setter methods.
2591         * src/main/webapp/style.css: Adjust style to account for the change
2592         from span elements to div elements in the details cell.
2593
2594 2011-08-15  Ben Konrath  <ben@bagu.org>
2595
2596         Make the List View appearance match the mockups.
2597
2598         It doesn't match exactly but it's much better than it was.
2599
2600         * mockups/listview-contacts.html: Remove unused css classes.
2601         * mockups/listview-projects.html: Remove unused css classes.
2602         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
2603         rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
2604         for mainPanel instead of VerticalPanel (table). Set style name on
2605         CellTable. Set style name on Details column. Right-align Details
2606         buttons.
2607         * src/main/webapp/style.css: Adjust properties to match the mockups.
2608
2609 2011-08-12  Ben Konrath  <ben@bagu.org>
2610
2611         Add better support for subgroups in the details view.
2612
2613         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
2614         changed FlowTable constructor.
2615         * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
2616         support for subgroups and subgroup-titles.
2617         * src/main/webapp/style.css: Add CSS class for subgroups and
2618         subgroup-titles.
2619
2620 2011-08-12  Ben Konrath  <ben@bagu.org>
2621
2622         Return the top level LayoutGroup title.
2623
2624         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2625
2626 2011-08-11  Ben Konrath  <ben@bagu.org>
2627
2628         Make the TableSelector header match the mockup.
2629
2630         * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
2631         the layout panel. Properly lineup the table selection header with
2632         the list and details view.
2633         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
2634         margin around the details view.
2635         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
2636         Rename listBox variable to tableSelector. Set id for the style sheet.
2637         Use a FlowPanel instead of a HorizontalPanel.
2638         * src/main/webapp/style.css: Add properties to make the TableSelector
2639         box match the mockups.
2640
2641 2011-07-13  Ben Konrath  <ben@bagu.org>
2642
2643         Update install script for java-libglom version change.
2644
2645         * utils/install-onlineglom-war.sh: Also exit if 'make check' in
2646         java-libglom fails.
2647
2648 2011-07-13  Ben Konrath  <ben@bagu.org>
2649
2650         Add support sub-group in the details view.
2651
2652         I also removed the code that special-cased the default details view
2653         layout. See:
2654
2655         http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
2656
2657         I still have to make a proper flowtable.
2658
2659         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2660         Don't special-case default details view layout.
2661         * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
2662         addLayoutField() as I'm going to use it.
2663         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
2664         GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
2665         method.
2666         * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
2667         extracted from DetailsViewImpl.GroupPanel. Add support for
2668         sub-groups.
2669         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
2670         column count when getting the details layout.
2671
2672 2011-07-12  Ben Konrath  <ben@bagu.org>
2673
2674         Set browser title with database and table titles.
2675
2676         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2677         Set the browser title when the table changes and when the activity
2678         first starts.
2679         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
2680         title when retrieving document info (the GlomDocument object).
2681         * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
2682         with getter and setter methods. Remove unused convenience constructor.
2683         Use default code formatting.
2684
2685 2011-07-12  Ben Konrath  <ben@bagu.org>
2686
2687         Ignore LayoutItemPortals in the details view.
2688
2689         I added a new DTO for the LayoutItemPortal so that I can ignore it in
2690         the client code.
2691
2692         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
2693         LayoutItemPortal layout objects.
2694         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
2695         LayoutItemPortal objects when retrieving the details layout.
2696         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
2697         file. This is an empty class and just used to get type information for
2698         now.
2699
2700 2011-07-12  Ben Konrath  <ben@bagu.org>
2701
2702         Use java-libglom 1.17.0.
2703
2704         * pom.xml:
2705
2706 2011-07-11  Ben Konrath  <ben@bagu.org>
2707
2708         Remove "Table:" label from table selector.
2709
2710         This matches a recent change in the Glom UI.
2711
2712         * mockups/details-contacts.html:
2713         * mockups/details-projects.html:
2714         * mockups/listview-contacts.html:
2715         * mockups/listview-projects.html: Remove the "Table:" label from the
2716         mockups as well.
2717         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
2718
2719 2011-07-11  Ben Konrath  <ben@bagu.org>
2720
2721         Add main groups to the details view.
2722
2723         This makes things look a little nicer in the details view. The next step
2724         is to implement the flowtable.
2725
2726         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
2727         resources from the standard gwt css theme. Standard.css is now
2728         included in OnlineGlom.html so that the online glom css rules have
2729         precedence over the gwt theme.
2730         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
2731         the whole LayoutGroup to the DetailsView instead of just the titles.
2732         * src/main/java/org/glom/web/client/ui/DetailsView.java:
2733         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
2734         details layout with a helper class (GroupPanel). I might extract this
2735         class when I make the full flowtable.
2736         * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
2737         string as default so I don't have to worry about NPEs when processing
2738         the layout objects.
2739         * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
2740         note beside OnlineGlom.gwt.xml above).
2741         * src/main/webapp/style.css: Add default font-size to body to override
2742         the font-size set by the standard theme. Don't use h2 tags for
2743         group-title. Create new details-cell class.
2744
2745 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
2746
2747         ConfiguredDocument: Set the port number too.
2748
2749         * src/main/java/org/glom/web/server/ConfiguredDocument.java
2750         (ConfiguredDocument.ConfiguredDocument): Get the port number from the 
2751         Glom document. Presumably this worked sometimes so far because there is a 
2752         default port number.
2753
2754 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
2755
2756         ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
2757
2758         * src/main/java/org/glom/web/server/ConfiguredDocument.java
2759         (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is 
2760         correct, though we should throw an exception too.
2761
2762 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
2763
2764         Fix a addDocuemnt typo.
2765
2766         * src/main/java/org/glom/web/shared/Documents.java
2767         (Documents.addDocuemnt): Rename to addDocument().
2768         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
2769         (OnlineGlomServiceImpl.getDocuments): Adapt.
2770         
2771 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
2772
2773         Slightly improved log output when connection fails.
2774
2775         * src/main/java/org/glom/web/server/ConfiguredDocument.java
2776         (ConfiguredDocument.setUsernameAndPassword):
2777         We don't know for sure if it' the username/password that's wrong, so 
2778         rephrase the message.
2779         Also ouput the exception message, though it's generic in this case.
2780
2781 2011-07-08  Ben Konrath  <ben@bagu.org>
2782
2783         Cleanup comments.
2784
2785         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
2786         added braces to a one line if statement because the Eclipse formatter
2787         was getting confused.
2788
2789 2011-07-07  Ben Konrath  <ben@bagu.org>
2790
2791         Update project config files for Eclipse 3.7 and use GWT 2.3.0.
2792
2793         These should really be two separate tasks but I counldn't get things to
2794         work with GWT 2.2.0 and Eclipse 3.7.
2795
2796         * .classpath:
2797         * .project:
2798         * .settings/org.eclipse.jdt.core.prefs:
2799         * .settings/org.eclipse.jdt.ui.prefs:
2800         * .settings/org.eclipse.ltk.core.refactoring.prefs:
2801         * .settings/org.eclipse.m2e.core.prefs:
2802         Add new config files. Update current files. Remove references to the
2803         webtools plugins as we're not using any of the webtools features.
2804         * .gitignore: Add logs directory which is created when running with
2805         'mvn gwt:run'.
2806         * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
2807         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
2808         src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
2809         limitation:
2810         http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
2811
2812 2011-07-07  Murray Cumming  <murrayc@murrayc.com>
2813
2814         onlineglom.properties: Add explanatory comments.
2815
2816         * src/main/resources/onlineglom.properties: Also change the default user 
2817         from ben to someuser, to avoid the risk of people thinking we just 
2818         stupidly hard-coded a locale path, when they see that on stderr or in a log.
2819
2820 2011-06-28  Ben Konrath  <ben@bagu.org>
2821
2822         Use filename in Log for incorrect passwords.
2823
2824         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
2825         getFileName(String) method to get the filename from the URI.
2826
2827 2011-06-28  Ben Konrath  <ben@bagu.org>
2828
2829         Add the table name to the URL token for the ListPlace.
2830
2831         This makes things consistent between the DetailsPlace and the
2832         ListPlace. It also allows the the ListPlace to be bookmarked.
2833
2834         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2835         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2836         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2837         Remove getDefaultListLayout(). The default layout is now returned
2838         by the getListLayout() method when the table name is an empty string.
2839         * src/main/java/org/glom/web/client/activity/ListActivity.java:
2840         Add table name field. Change to a new ListPlace when the table
2841         has been changed. Use getListLayout() for getting the default
2842         list layout.
2843         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2844         Add table name field. Set the correct table name in the list box
2845         when loading from bookmark. This corrects a problem for the
2846         DetailsPlace too.
2847         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
2848         Move table name to super-class (HasSelectableTable). Move document
2849         and table URL keys to super-class in HasSelectableTable.
2850         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
2851         Add table name field. Add Tokenizer class with URL key common to
2852         the subclasses (DetailsPlace and ListPlace).
2853         * src/main/java/org/glom/web/client/place/ListPlace.java:
2854         Add table name. Add code to parse the URL token.
2855         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
2856         Update ListPlace construction with empty table name string.
2857         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
2858         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
2859         Change setTableSelectedIndex(int) to setSelectedTableName(String).
2860         Update ListPlace construction with table name string.
2861         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
2862         Change defaultTableName field to tableName to reflect how it's now
2863         used. Update the getter and setter methods.
2864
2865 2011-06-28  Ben Konrath  <ben@bagu.org>
2866
2867         Enable the table selector in the DetailsView.
2868
2869         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2870         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2871         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2872         Remove getDefaultDetailsLayout(). The default layout is now returned
2873         by the getDetailsLayout() method when the table name is an empty
2874         string.
2875         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
2876         event handler for table change event. Change to using
2877         getDetailsLayout() for the default details layout.
2878         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
2879         name to URL token.
2880         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
2881         when navigating to the details place.
2882
2883 2011-06-27  Ben Konrath  <ben@bagu.org>
2884
2885         Use filename based unique document ID in URL and for RPC.
2886
2887         The document ID is the glom document name with spaces (' ') replaced
2888         with pluses ('+') and without the .glom extension.
2889
2890         This change is mostly a string substitution of 'documentTitle' for
2891         'documentID'. The only code change is the addition of a Documents DTO to get the
2892         filename to document title mappings as indicated below.
2893
2894         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2895         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2896         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2897         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
2898         Use Documents DTO to create the document links in the document
2899         selection view.
2900         * src/main/java/org/glom/web/client/activity/ListActivity.java:
2901         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2902         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
2903         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
2904         * src/main/java/org/glom/web/client/place/ListPlace.java:
2905         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
2906         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
2907         * src/main/java/org/glom/web/client/ui/ListView.java:
2908         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2909         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
2910         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
2911         * src/main/java/org/glom/web/server/Log.java:
2912         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2913         getDocumentTitles() to getDocuments() and return the Documents DTO.
2914         * src/main/java/org/glom/web/shared/Documents.java: New DTO for
2915         transferring the filename to document title mappings.
2916
2917 2011-06-25  Ben Konrath  <ben@bagu.org>
2918
2919         Make the authentication popup work again.
2920
2921         This bug was introduced when I extracted ConfiguredDocument to its own class.
2922
2923         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
2924         correct success / fail status in setUsernameAndPassword().
2925
2926 2011-06-25  Ben Konrath  <ben@bagu.org>
2927
2928         Use filename as unique key for configuring database usernames and passwords.
2929
2930         This replaces the use of the Glom document title which could change
2931         depending on the locale. Thanks to Murray Cumming for pointing out this
2932         problem.
2933
2934         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2935         * src/main/resources/onlineglom.properties:
2936
2937 2011-06-24  Ben Konrath  <ben@bagu.org>
2938
2939         Pass primary key value to DetailsView.
2940
2941         This enables the DetailsView to load the correct data.
2942
2943         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
2944         primary key value field and set in constructor. Pass primary key
2945         value to getDetailsData().
2946         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
2947         variables for document title and primary key value.
2948         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
2949         key value to the DetailsPlace.
2950
2951 2011-06-24  Ben Konrath  <ben@bagu.org>
2952
2953         Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
2954
2955         This allows the primary key to be retrieved by the Details button. This
2956         functionality has not been implemented yet but it's in the works.
2957
2958         * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
2959         the LayoutGroup result to ListView.setCellTable instead of all of its
2960         fields individually.
2961         * src/main/java/org/glom/web/client/ui/ListView.java:
2962         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
2963         LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
2964         get the primary key for the table.
2965         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
2966         index of the primary key in the LayoutGroup accounting for hidden
2967         primary keys. Rename getJavaNumberFormat() to
2968         convertToJavaNumberFormat() for consistency. Cleanup / add some
2969         comments.
2970         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
2971         field for primary key index and a field to indicate whether the
2972         primary key is hidden or not.
2973
2974 2011-06-23  Ben Konrath  <ben@bagu.org>
2975
2976         Rename getTableData methods to getListData.
2977
2978         This is a rename refactor for consistency with other methods.
2979
2980         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2981         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2982         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2983         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2984
2985 2011-06-23  Ben Konrath  <ben@bagu.org>
2986
2987         Extract the ConfiguredDocument innerclass into its own class.
2988
2989         This makes the servlet code more object oriented.
2990
2991         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
2992         from private ConfiguredDocument class in OnlineGlomServiceImpl.
2993         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
2994         new ConfiguredDocument class.
2995
2996 2011-06-21  Ben Konrath  <ben@bagu.org>
2997
2998         Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
2999
3000         This makes things more inline with how libglom works and reduces code
3001         duplication. This refactor lays the groundwork for adding the primary key to
3002         the LayoutGroup object.
3003
3004         * src/main/java/org/glom/web/client/OnlineGlomService.java:
3005         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
3006         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
3007         Change method names to getListLayout and getDefaultListLayout for
3008         consistency. Use LayoutGroup as the DTO for the list layout instead of
3009         ColumnInfo and LayoutListTable.
3010         * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
3011         new method names along with the LayoutGroup object for transferring the
3012         list layout.
3013         * src/main/java/org/glom/web/client/ui/ListView.java:
3014         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
3015         Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
3016         * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
3017         with LayoutGroup.
3018         * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
3019         Replaced with LayoutGroup.
3020         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
3021         expectedResultSize and defaultTableName fields which are needed for
3022         the list layout.
3023         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
3024         type field which is needed for the list layout but will also be
3025         useful for the details layout as things progress.
3026         * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
3027         Make class abstract. Remove the unnecessary
3028         getFormattingHorizontalAlignment method. Add setFormatting method.
3029
3030 2011-06-16  Ben Konrath  <ben@bagu.org>
3031
3032         Add scripts for building and installing war.
3033
3034         These will help when updating OnlineGlom but they're also good
3035         supplemental documentation of the build and deployment proceeding.
3036
3037         * utils/build-onlineglom-war.sh: New file.
3038         * utils/install-onlineglom-war.sh: New file.
3039
3040 2011-06-16  Ben Konrath  <ben@bagu.org>
3041
3042         Create wrapper class to create consistent log messages.
3043
3044         I wrapped methods in the Log class of gwt-log to add the method names
3045         from the servlet and create consistent formatting of the document title
3046         and table names in the log messages.
3047
3048         * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
3049         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
3050         log methods to use methods from wrapped Log class.
3051
3052 2011-06-16  Ben Konrath  <ben@bagu.org>
3053
3054         Remove superfluous conditional return.
3055
3056         Thanks to Murray Cumming for pointing this out!
3057
3058         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
3059
3060 2011-06-15  Ben Konrath  <ben@bagu.org>
3061
3062         Return an ArrayList of LayoutGroups for the Details layout.
3063
3064         This corrects a problem with the details layout as it can have more
3065         than one top level LayoutGroup.
3066
3067         * src/main/java/org/glom/web/client/OnlineGlomService.java:
3068         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
3069         method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
3070         an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
3071         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
3072         with ArrayList of LayoutGroups for the details view layout.
3073         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
3074         method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
3075         ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
3076         getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
3077         the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
3078         getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
3079
3080 2011-06-14  Ben Konrath  <ben@bagu.org>
3081
3082         Use cast_dynamic method to determine the libglom LayoutItem type.
3083
3084         This is better than finding the LayoutItem type by using the string
3085         returned from the get_part_type_name() method.
3086
3087         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
3088
3089 2011-06-14  Ben Konrath  <ben@bagu.org>
3090
3091         Add method names to log entries in the servlet.
3092
3093         This helps when tracking down deployment problems.
3094
3095         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
3096
3097 2011-06-14  Ben Konrath  <ben@bagu.org>
3098
3099         Add data to the DetailsView using a hard-coded primary key value.
3100
3101         The layout and functionality of the DetailsView is not complete. This
3102         is just a checkpoint so the patch doesn't get too big.
3103
3104         * src/main/java/org/glom/web/client/OnlineGlomService.java:
3105         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
3106         Add getDetailsData() servlet method.
3107         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
3108         Add RPC to getDetailsData(). Change the way the LayoutGroups and
3109         LayoutFields are added to the DetailsView.
3110         * src/main/java/org/glom/web/client/ui/DetailsView.java:
3111         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
3112         Add setData() method. Change addLayoutGroup() and addLayoutField() to
3113         take the string for the title instead of the object.
3114         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
3115         Add implementation getDetailsData() along with some private helper
3116         methods.
3117         * src/main/webapp/style.css: Add padding to details-data class. Add a
3118         details-label class with the same padding as the details-data class.
3119
3120 2011-06-03  Ben Konrath  <ben@bagu.org>
3121
3122         Use presenter.goTo() to change to the DetailsPlace.
3123
3124         This will make things easier when we need to open the DetailsView with
3125         data specific to the row that was clicked.
3126
3127         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
3128
3129 2011-06-02  Ben Konrath  <ben@bagu.org>
3130
3131         Add CSS file from mockups.
3132
3133         I'm adding this now because it's going to be useful to have when
3134         developing the DetailsView. The TableSelectionView and ListView aren't
3135         setup properly yet.
3136
3137         * src/main/webapp/OnlineGlom.html:
3138         * src/main/webapp/style.css:
3139
3140 2011-06-02  Ben Konrath  <ben@bagu.org>
3141
3142         Use String.isEmpty() to check for empty string.
3143
3144         * src/main/java/org/glom/web/client/activity/ListActivity.java:
3145
3146 2011-06-02  Ben Konrath  <ben@bagu.org>
3147
3148         Display main layout group titles in the DetailsView.
3149
3150         This is the start of the DetailsActivity/DetailsView implementation.
3151
3152         * src/main/java/org/glom/web/client/OnlineGlomService.java:
3153         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
3154         Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
3155         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
3156         Get the layout information for the details view from the server and set
3157         the main layout group titles.
3158         * src/main/java/org/glom/web/client/ui/DetailsView.java:
3159         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
3160         Add addLayoutGroup() and addLayoutField() methods. This are just
3161         temporary methods for creating the the details view that will change
3162         in the future.
3163         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
3164         Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
3165         methods.
3166         * src/main/java/org/glom/web/shared/layout/Formatting.java:
3167         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
3168         * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
3169         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
3170         * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
3171         Data Transfer Objects that mimic the libglom object structure. These are
3172         used for transferring the details layout but could also be used for
3173         transferring the list layout.
3174
3175 2011-05-27  Ben Konrath  <ben@bagu.org>
3176
3177         Reset the AuthenticationPopup when clearing the ListView.
3178
3179         * src/main/java/org/glom/web/client/activity/ListActivity.java:
3180
3181 2011-05-27  Ben Konrath  <ben@bagu.org>
3182
3183         Fix problem with onlineglom.properties file loading.
3184
3185         The old way worked in Eclipse but not on the server. Loading the
3186         onlineglom.properties file now works in Eclipse and on the server.
3187
3188         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
3189
3190 2011-05-24  Ben Konrath  <ben@bagu.org>
3191
3192         Update gwt-log from 3.1.0 to 3.1.2.
3193
3194         Gwt-log 3.1.0 has been marked as depreciated.
3195
3196         * pom.xml:
3197
3198 2011-05-24  Ben Konrath  <ben@bagu.org>
3199
3200         Add comment to ListActivity.goTo() method.
3201
3202         * src/main/java/org/glom/web/client/activity/ListActivity.java:
3203
3204 2011-05-24  Ben Konrath  <ben@bagu.org>
3205
3206         Remove FIXME in convertGdkColorToHtmlColour()
3207
3208         The Gdk::Color value returned by libglom is 16-bits per channel on both
3209         64 and 32-bit platforms.
3210
3211         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
3212
3213 2011-05-19  Ben Konrath  <ben@bagu.org>
3214
3215         Improve performance of initial ListView load.
3216
3217         I removed a round trip to the server for getting the default table name
3218         and then requesting information about that table. This also removes a potential
3219         problem with the table change handler not being setup in time to receive the
3220         table change event from the ListActivity.
3221
3222         * src/main/java/org/glom/web/client/OnlineGlomService.java:
3223         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
3224         getDefaultLayoutListTable() method. Improve comments.
3225         * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
3226         getDefaultLayoutListTable() method instead of firing a table change
3227         event to get the table to load.
3228         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
3229         implementation of getDefaultLayoutListTable() method.
3230         * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
3231         table name.
3232
3233 2011-05-19  Ben Konrath  <ben@bagu.org>
3234
3235         Override toDebugString() in TableChangeEvent.
3236
3237         This is useful to have for debugging.
3238
3239         * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
3240
3241 2011-05-19  Ben Konrath  <ben@bagu.org>
3242
3243         Add a "Back to List" link when at the DetailsPlace.
3244
3245         * src/main/java/org/glom/web/client/activity/ListA