[jboss-cvs] jboss-seam/examples/remoting/helloworld/view ...
Shane Bryzak
Shane_Bryzak at symantec.com
Sun Aug 6 06:12:30 EDT 2006
User: sbryzak2
Date: 06/08/06 06:12:30
Modified: examples/remoting/helloworld/view helloworld.xhtml
Log:
Remoting configured via components.xml instead of JS
Revision Changes Path
1.4 +8 -13 jboss-seam/examples/remoting/helloworld/view/helloworld.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: helloworld.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/remoting/helloworld/view/helloworld.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- helloworld.xhtml 18 Apr 2006 13:16:18 -0000 1.3
+++ helloworld.xhtml 6 Aug 2006 10:12:30 -0000 1.4
@@ -10,23 +10,18 @@
<body>
- <script type="text/javascript" src="seam/remoting/resource/remote.js">
- <!--
- // This space intentionally left blank
- //-->
- </script>
+ <h1>Seam Remoting - Hello World Example</h1>
- <script type="text/javascript" src="seam/remoting/interface.js?helloAction">
- <!--
- // This space intentionally left blank
- //-->
- </script>
+ <p>
+
+ </p>
+
+ <script type="text/javascript" src="seam/remoting/resource/remote.js"></script>
+ <script type="text/javascript" src="seam/remoting/interface.js?helloAction"></script>
<script type="text/javascript">
//<![CDATA[
- Seam.Remoting.setDebug(true);
-
function sayHello() {
var name = prompt("What is your name?");
Seam.Component.getInstance("helloAction").sayHello(name, sayHelloCallback);
More information about the jboss-cvs-commits
mailing list