restructuring remote calls

This commit is contained in:
Stephan Richter
2020-10-01 22:49:13 +02:00
parent 0f30a45d16
commit 3547b515c8
7 changed files with 112 additions and 61 deletions

View File

@@ -179,8 +179,9 @@ public abstract class Tile {
public Tag propForm() {
Form form = new Form();
new Input("action", "update").hideIn(form);
new Input(ID,id()).hideIn(form);
new Input(Plan.ACTION, Plan.ACTION_UPDATE).hideIn(form);
new Input(Plan.REALM, Plan.REALM_TILE).hideIn(form);
new Input(Plan.ID,id()).hideIn(form);
List<Direction> pd = possibleDirections();
if (!pd.isEmpty()) {