From seam-commits at lists.jboss.org Mon Jan 4 07:33:46 2010 Content-Type: multipart/mixed; boundary="===============4715787730272622213==" MIME-Version: 1.0 From: seam-commits at lists.jboss.org To: seam-commits at lists.jboss.org Subject: [seam-commits] Seam SVN: r11908 - modules/remoting/trunk/examples/model/src/main/webapp. Date: Mon, 04 Jan 2010 07:33:46 -0500 Message-ID: <201001041233.o04CXkmm006753@svn01.web.mwc.hst.phx2.redhat.com> --===============4715787730272622213== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: shane.bryzak(a)jboss.com Date: 2010-01-04 07:33:46 -0500 (Mon, 04 Jan 2010) New Revision: 11908 Added: modules/remoting/trunk/examples/model/src/main/webapp/style.css Modified: modules/remoting/trunk/examples/model/src/main/webapp/model.html Log: updated example UI Modified: modules/remoting/trunk/examples/model/src/main/webapp/model.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/remoting/trunk/examples/model/src/main/webapp/model.html 2010-0= 1-04 06:13:21 UTC (rev 11907) +++ modules/remoting/trunk/examples/model/src/main/webapp/model.html 2010-0= 1-04 12:33:46 UTC (rev 11908) @@ -4,6 +4,7 @@ Seam Remoting - Model Example + = @@ -20,6 +21,14 @@ Seam.debug =3D true; = var model =3D null; + = + function fetch() { + alert("fetch"); + } + = + function apply() { + alert("apply"); + } = function loadPerson() { var personId =3D document.getElementById("personId").value; @@ -70,8 +79,71 @@ def.add(new xw.controls.TreeNode("zzz", true)); = // ]]> - = + = = +
+
Fetch model action
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
= +
+ = +
+ +
= + = +
+
+ = +
+
Apply model action
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
= +
+ = +
+ +
= + = +
+
+ = +
+
Model values
+ = +
= +
+ = + = = = @@ -79,7 +151,7 @@ = -
+
=