Add data to the DetailsView using a hard-coded primary key value.
authorBen Konrath <ben@bagu.org>
Tue, 14 Jun 2011 18:21:11 +0000 (20:21 +0200)
committerBen Konrath <ben@bagu.org>
Tue, 14 Jun 2011 18:21:11 +0000 (20:21 +0200)
commit01c03d19a2f0b5d908a8630e5f9c2da339bff69b
tree12c1e8e2db27323c24bb136caf7113ea50cebf4c
parent5ceab72b19d9886c9952145bf71555b1ff258f1e
Add data to the DetailsView using a hard-coded primary key value.

The layout and functionality of the DetailsView is not complete. This
is just a checkpoint so the patch doesn't get too big.

* src/main/java/org/glom/web/client/OnlineGlomService.java:
* src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
Add getDetailsData() servlet method.
* src/main/java/org/glom/web/client/activity/DetailsActivity.java:
Add RPC to getDetailsData(). Change the way the LayoutGroups and
LayoutFields are added to the DetailsView.
* src/main/java/org/glom/web/client/ui/DetailsView.java:
* src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
Add setData() method. Change addLayoutGroup() and addLayoutField() to
take the string for the title instead of the object.
* src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
Add implementation getDetailsData() along with some private helper
methods.
* src/main/webapp/style.css: Add padding to details-data class. Add a
details-label class with the same padding as the details-data class.
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/client/ui/DetailsView.java
src/main/java/org/glom/web/client/ui/DetailsViewImpl.java
src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
src/main/webapp/style.css