Simple UI for submitting moves (without implementation)
authorJaroslav Tulach <jtulach@netbeans.org>
Tue, 11 Aug 2009 15:18:43 +0200
changeset 4485a0fad6b3c2
parent 43 58b8db5faf2c
child 45 ba37a52fef86
Simple UI for submitting moves (without implementation)
freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java
     1.1 --- a/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java	Tue Aug 11 15:17:23 2009 +0200
     1.2 +++ b/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java	Tue Aug 11 15:18:43 2009 +0200
     1.3 @@ -103,7 +103,7 @@
     1.4              return board(id);
     1.5          }
     1.6          if (type.equals("move")) {
     1.7 -            base.path("games").path(id).queryParam("move", direction + directionNext);
     1.8 +            base.path("games").path(id).queryParam("move", direction + directionNext).post();
     1.9              return board(id);
    1.10          }
    1.11          return board(id);