Fix a crasher when refreshing the list view with the default table.
authorBen Konrath <ben@bagu.org>
Thu, 22 Dec 2011 14:05:04 +0000 (15:05 +0100)
committerBen Konrath <ben@bagu.org>
Thu, 22 Dec 2011 14:05:04 +0000 (15:05 +0100)
commitb2c7727b9f6338cf38f0faf75855914b4dcc9f56
tree79f6c683b21e39489b21709b306bf7d23ba8036f
parent4b293e2a21dc935e4a8da60e577c3e29b84d2783
Fix a crasher when refreshing the list view with the default table.

This crash will also happen when loading the list view with the default
table from a link or bookmark.

* src/main/java/org/glom/web/client/activity/DetailsActivity.java: Go
to the main document selection page when the document id hasn't been
set.
* src/main/java/org/glom/web/client/activity/ListActivity.java: Go to
the main document selection page when the document id hasn't been
set.
* src/main/java/org/glom/web/client/place/DetailsPlace.java: Use empty
values for the details place when the document id hasn't been set.
* src/main/java/org/glom/web/client/place/ListPlace.java: Use empty
values for the list place when the document id hasn't been set.
ChangeLog
src/main/java/org/glom/web/client/activity/DetailsActivity.java
src/main/java/org/glom/web/client/activity/ListActivity.java
src/main/java/org/glom/web/client/place/DetailsPlace.java
src/main/java/org/glom/web/client/place/ListPlace.java