Return an ArrayList of LayoutGroups for the Details layout.
authorBen Konrath <ben@bagu.org>
Wed, 15 Jun 2011 11:55:14 +0000 (13:55 +0200)
committerBen Konrath <ben@bagu.org>
Wed, 15 Jun 2011 11:55:14 +0000 (13:55 +0200)
commit40e6e2d147b8f02ba9d804166b07a4d732899756
treee399039447cbdb4145c66e8e5b301fa57807cfcd
parentcaf7118a5f1cd82907dabc3bcacd62ada70a8e49
Return an ArrayList of LayoutGroups for the Details layout.

This corrects a problem with the details layout as it can have more
than one top level LayoutGroup.

* src/main/java/org/glom/web/client/OnlineGlomService.java:
* src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
* src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
with ArrayList of LayoutGroups for the details view layout.
* src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
ChangeLog
src/main/java/org/glom/web/client/OnlineGlomService.java
src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java
src/main/java/org/glom/web/client/activity/DetailsActivity.java
src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java