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