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