You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2013/02/06 09:52:00 UTC

[10/38] git commit: Some help on the controls of the Atmosphere demo

Some help on the controls of the Atmosphere demo


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/63a2cae0
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/63a2cae0
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/63a2cae0

Branch: refs/heads/reference-guide
Commit: 63a2cae0c731342138e4ecd7b7bf6fd7e382182c
Parents: 9dba23a
Author: Emond Papegaaij <em...@topicus.nl>
Authored: Mon Jan 28 13:52:10 2013 +0100
Committer: Emond Papegaaij <em...@topicus.nl>
Committed: Mon Jan 28 13:52:10 2013 +0100

----------------------------------------------------------------------
 .../wicket/examples/atmosphere/HomePage.html       |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/63a2cae0/wicket-examples/src/main/java/org/apache/wicket/examples/atmosphere/HomePage.html
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/atmosphere/HomePage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/atmosphere/HomePage.html
index 2980c27..6787a86 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/atmosphere/HomePage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/atmosphere/HomePage.html
@@ -7,14 +7,18 @@
 <body>
 	<span wicket:id="mainNavigation"></span>
 	<p>
-		The current time is: <span wicket:id="time"></span>
+		The current time is (updated every 2 seconds from the server using push): <span wicket:id="time"></span>
 	</p>
+	<p>This page also shows a very simple 'chat' client. Type a message in the
+	second input field and send it to everyone. To send a private message, paste
+	the session id (you can find this in the session cookie) of the receiver in
+	the first input field and send a message.</p>
 	<p>
 		Message received: <span wicket:id="message"></span>
 	</p>
 	<form wicket:id="form">
 		<div>Session id of receiver: <input wicket:id="receiver" /></div>
-		<input wicket:id="input" /> <a href="#" wicket:id="send">Send
+		Message: <input wicket:id="input" /> <a href="#" wicket:id="send">Send
 			message</a>
 	</form>
 </body>