RelatedListTable: Make sure that the tableName is set.
authorMurray Cumming <murrayc@murrayc.com>
Mon, 7 May 2012 10:17:22 +0000 (12:17 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 7 May 2012 10:17:22 +0000 (12:17 +0200)
commitd6045eeb022500f500c8ab0ecdae4c1cb566165f
tree6f1d99343f5116d17dfce3968028ebe188a997ec
parent44be1207b032ef36ee71c156c0928a24fdfe0093
RelatedListTable: Make sure that the tableName is set.

* src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
Constructor: Take the tableName so it is available later. Otherwise,
the server assumes that we mean the default table and cannot find the
relationship in it.
* src/main/java/org/glom/web/client/activity/DetailsActivity.java
setData(): Pass the tableName to the RelatedListTable constructor.
ChangeLog
src/main/java/org/glom/web/client/activity/DetailsActivity.java
src/main/java/org/glom/web/client/ui/details/RelatedListTable.java