ConfiguredDocument: Restore correct addition of hidden primary key items.
authorMurray Cumming <murrayc@murrayc.com>
Mon, 7 May 2012 21:27:38 +0000 (23:27 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 7 May 2012 21:31:06 +0000 (23:31 +0200)
commit5ac2bbd6774a384e0219b48885afa4fee4f2a333
treeebea4dd353ef2e7cebd18d284af379ca6736205f
parenta74e61a90de39a85d5f0eedf7ec407407e28a59e
ConfiguredDocument: Restore correct addition of hidden primary key items.

* src/main/java/org/glom/web/client/ui/list/ListTable.java
(ListTable.createCellTable): Uncomment out the check for the hidden
primary key.
* src/main/java/org/glom/web/server/ConfiguredDocument.java: Only
add primary key items for top-level lists and portals, as before,
instead of adding them to each group.
* src/main/java/org/glom/web/shared/libglom/layout/LayoutGroup.java:
Actually implement the extra methods such as setHiddenPrimaryKey() and
comment that these are used only for top-level list groups and in portals.
This strangeness suggests even more that this should not be squeezed
into the LayoutGroup class.
ChangeLog
src/main/java/org/glom/web/client/ui/list/ListTable.java
src/main/java/org/glom/web/server/ConfiguredDocument.java
src/main/java/org/glom/web/server/database/DBAccess.java
src/main/java/org/glom/web/server/database/RelatedListNavigation.java
src/main/java/org/glom/web/shared/libglom/layout/LayoutGroup.java