Use read-only checkboxes for boolean field types.
authorBen Konrath <ben@bagu.org>
Mon, 28 Mar 2011 15:43:19 +0000 (17:43 +0200)
committerBen Konrath <ben@bagu.org>
Mon, 28 Mar 2011 15:43:19 +0000 (17:43 +0200)
commitf100766e41a830a83c8b143ced4e1e45d084c879
tree0b8c74a445a0c559eb3b713bf80951ef6c9c2635
parent96bb8e0c4dc3f2beeb40f2ecc54f6229ae75707f
Use read-only checkboxes for boolean field types.

* src/main/java/org/glom/web/client/LayoutListView.java: Create columns
in the CellTable based on the field type. It currently only
distinguishes between boolean and text columns but I'll need to add
support for more types.
* src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
column type in the ColumnInfo object. Add method to convert between the
glom field type enum in ColumnInfo and the glom field type in libglom.
* src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
field type.
* src/main/java/org/glom/web/shared/GlomField.java: Add support for
getting and setting booleans.
ChangeLog
src/main/java/org/glom/web/client/LayoutListView.java
src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
src/main/java/org/glom/web/shared/ColumnInfo.java
src/main/java/org/glom/web/shared/GlomField.java