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