[jboss-cvs] jboss-seam/examples/remoting/chatroom/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/chatroom/view chatroom.js chatroom.xhtml
Log:
Remoting configured via components.xml instead of JS
Revision Changes Path
1.5 +0 -7 jboss-seam/examples/remoting/chatroom/view/chatroom.js
(In the diff below, changes in quantity of whitespace are not shown.)
Index: chatroom.js
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/remoting/chatroom/view/chatroom.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- chatroom.js 6 Jun 2006 20:00:22 -0000 1.4
+++ chatroom.js 6 Aug 2006 10:12:30 -0000 1.5
@@ -10,13 +10,6 @@
return false;
}
-// Uncomment the following line to enable the debug window
-//SeamRemote.setDebug(true);
-
-// Try adjusting the following values
-Seam.Remoting.setPollTimeout(2); // 10 seconds
-Seam.Remoting.setPollInterval(1); // 1 second
-
var username = null;
var chatroom = Seam.Component.getInstance("chatroomAction");
1.3 +3 -17 jboss-seam/examples/remoting/chatroom/view/chatroom.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: chatroom.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/remoting/chatroom/view/chatroom.xhtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- chatroom.xhtml 26 May 2006 01:54:30 -0000 1.2
+++ chatroom.xhtml 6 Aug 2006 10:12:30 -0000 1.3
@@ -10,23 +10,9 @@
<body>
- <script type="text/javascript" src="seam/remoting/resource/remote.js">
- <!--
- // This space intentionally left blank
- //-->
- </script>
-
- <script type="text/javascript" src="seam/remoting/interface.js?chatroomAction&chatroomEvent">
- <!--
- // This space intentionally left blank
- //-->
- </script>
-
- <script type="text/javascript" src="chatroom.js">
- <!--
- // This space intentionally left blank
- //-->
- </script>
+ <script type="text/javascript" src="seam/remoting/resource/remote.js"></script>
+ <script type="text/javascript" src="seam/remoting/interface.js?chatroomAction&chatroomEvent"></script>
+ <script type="text/javascript" src="chatroom.js"></script>
<h1>Chat Room Example</h1>
More information about the jboss-cvs-commits
mailing list