Correct use of setExpectedResultSize().
authorMurray Cumming <murrayc@murrayc.com>
Sun, 6 May 2012 19:48:55 +0000 (21:48 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Sun, 6 May 2012 19:48:55 +0000 (21:48 +0200)
commit57c807733282ed6d275ed9b6c3334d7d3f721219
treee5d30a54bf19437c42a943cf82d4e328bdffe44e
parentc5ba70a162e8234a624d7570e9a4f6971f8feb6b
Correct use of setExpectedResultSize().

* src/main/java/org/glom/web/server/ConfiguredDocument.java
getValidListViewLayoutGroup(), getDetailsLayoutGroup():
Use setExpectedResultSize only on top-level groups (for instance, the
list layout) or on child portals (in details views).
Use the correct table name for portals to avoid SQL errors.
Update the expected counts when returning cached layouts.
ChangeLog
src/main/java/org/glom/web/server/ConfiguredDocument.java