Use image data when recreating databases for testing.
authorMurray Cumming <murrayc@murrayc.com>
Tue, 13 Nov 2012 06:06:34 +0000 (07:06 +0100)
committerMurray Cumming <murrayc@murrayc.com>
Fri, 16 Nov 2012 19:50:04 +0000 (20:50 +0100)
commit5f9213b0b925f84e2a76915058baafc23264b043
tree11d6adbfc7527330b0f7316620c2ba32da6227e1
parent66fb5b0697ac31b7faaea5534c346475f50e87f9
Use image data when recreating databases for testing.

        * src/main/java/org/glom/web/shared/DataItem.java: Add get/setImageData(),
for use locally (not acrosss the network) when recreating databases
for testing.
getValue(): Use it here instead of getImageDataUrl(), noting that
this method is only for use when recreating databases.
        * src/main/java/org/glom/web/server/libglom/Document.java:
getNodeTextChildAsValue(): Use it instead of setImageDataUrl().
ChangeLog
src/main/java/org/glom/web/server/libglom/Document.java
src/main/java/org/glom/web/shared/DataItem.java