From richfaces-svn-commits at lists.jboss.org Thu Mar 3 06:08:07 2011
Content-Type: multipart/mixed; boundary="===============4322255980116021687=="
MIME-Version: 1.0
From: richfaces-svn-commits at lists.jboss.org
To: richfaces-svn-commits at lists.jboss.org
Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r22031 - in
branches/4.0.X/examples/irc-client: src/main/java/org/ircclient/controller
and 1 other directories.
Date: Thu, 03 Mar 2011 06:08:07 -0500
Message-ID: <201103031108.p23B87d0031283@svn01.web.mwc.hst.phx2.redhat.com>
--===============4322255980116021687==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: ilya_shaikovsky
Date: 2011-03-03 06:08:07 -0500 (Thu, 03 Mar 2011)
New Revision: 22031
Added:
branches/4.0.X/examples/irc-client/src/main/webapp/chat.xhtml
Modified:
branches/4.0.X/examples/irc-client/
branches/4.0.X/examples/irc-client/src/main/java/org/ircclient/controlle=
r/ChatBean.java
branches/4.0.X/examples/irc-client/src/main/webapp/welcome.xhtml
Log:
http://jira.jboss.org/browse/RF-10675
checked by @kmishin
Property changes on: branches/4.0.X/examples/irc-client
___________________________________________________________________
Modified: svn:ignore
- target
+ target
.settings
.classpath
.project
Modified: branches/4.0.X/examples/irc-client/src/main/java/org/ircclient/co=
ntroller/ChatBean.java
=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
--- branches/4.0.X/examples/irc-client/src/main/java/org/ircclient/controll=
er/ChatBean.java 2011-03-03 09:58:11 UTC (rev 22030)
+++ branches/4.0.X/examples/irc-client/src/main/java/org/ircclient/controll=
er/ChatBean.java 2011-03-03 11:08:07 UTC (rev 22031)
@@ -37,7 +37,7 @@
private String message;
private transient TopicsContext topicsContext;
=
- public void connect() {
+ public String connect() {
try {
this.connect(SERVER_URL, SERVER_PORT);
this.joinChannel(CHANNEL_PREFIX + DEFAULT_CHANNEL);
@@ -59,10 +59,12 @@
"Sorry, we encountered IRC services problems. Try agai=
n later.",
"Sorry, we encountered IRC services problems. Try agai=
n later."));
}
+ return "chat";
}
=
- public void leave() {
+ public String leave() {
this.disconnect();
+ return "welcome";
}
=
private TopicsContext getTopicsContext() {
Added: branches/4.0.X/examples/irc-client/src/main/webapp/chat.xhtml
=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
--- branches/4.0.X/examples/irc-client/src/main/webapp/chat.xhtml =
(rev 0)
+++ branches/4.0.X/examples/irc-client/src/main/webapp/chat.xhtml 2011-03-0=
3 11:08:07 UTC (rev 22031)
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+ #{user.nick}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Modified: branches/4.0.X/examples/irc-client/src/main/webapp/welcome.xhtml
=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
--- branches/4.0.X/examples/irc-client/src/main/webapp/welcome.xhtml 2011-0=
3-03 09:58:11 UTC (rev 22030)
+++ branches/4.0.X/examples/irc-client/src/main/webapp/welcome.xhtml 2011-0=
3-03 11:08:07 UTC (rev 22031)
@@ -23,8 +23,7 @@
overflow: auto;
}
-
+
@@ -37,44 +36,8 @@
=
=
-
+
-
-
-
-
- #{user.nick}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
--===============4322255980116021687==--