1.1 --- a/javaquery/api/src/test/java/org/apidesign/bck2brwsr/htmlpage/PageController.java Tue Mar 05 19:00:36 2013 +0100
1.2 +++ b/javaquery/api/src/test/java/org/apidesign/bck2brwsr/htmlpage/PageController.java Tue Mar 26 09:24:26 2013 +0100
1.3 @@ -50,7 +50,7 @@
1.4 if (PAGE != ref) {
1.5 throw new IllegalStateException("Both references should be the same. " + ref + " != " + PAGE);
1.6 }
1.7 - ref.PG_TITLE.setText("You want this window to be named " + ref.PG_TEXT.getValue());
1.8 + ref.pg_title.setText("You want this window to be named " + ref.pg_text.getValue());
1.9 }
1.10
1.11 @On(event = CLICK, id={ "pg.title", "pg.text" })
1.12 @@ -58,11 +58,11 @@
1.13 if (!id.equals("pg.title")) {
1.14 throw new IllegalStateException();
1.15 }
1.16 - PAGE.PG_TITLE.setText(id);
1.17 + PAGE.pg_title.setText(id);
1.18 }
1.19
1.20 @On(event = CLICK, id={ "pg.canvas" })
1.21 static void clickCanvas(String id, double layerX) {
1.22 - PAGE.PG_CANVAS.setWidth((int) layerX);
1.23 + PAGE.pg_canvas.setWidth((int) layerX);
1.24 }
1.25 }