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