[jboss-cvs] JBossAS SVN: r104784 - projects/docs/enterprise/EWP_5.0.1/Seam_Reference_Guide/en-US.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu May 13 20:51:49 EDT 2010
Author: laubai
Date: 2010-05-13 20:51:48 -0400 (Thu, 13 May 2010)
New Revision: 104784
Modified:
projects/docs/enterprise/EWP_5.0.1/Seam_Reference_Guide/en-US/Book_Info.xml
projects/docs/enterprise/EWP_5.0.1/Seam_Reference_Guide/en-US/Remoting.xml
Log:
JBPAPP-3400 Corrected CDATA tag.
Modified: projects/docs/enterprise/EWP_5.0.1/Seam_Reference_Guide/en-US/Book_Info.xml
===================================================================
--- projects/docs/enterprise/EWP_5.0.1/Seam_Reference_Guide/en-US/Book_Info.xml 2010-05-13 22:54:53 UTC (rev 104783)
+++ projects/docs/enterprise/EWP_5.0.1/Seam_Reference_Guide/en-US/Book_Info.xml 2010-05-14 00:51:48 UTC (rev 104784)
@@ -6,7 +6,7 @@
<title>Seam Reference Guide</title>
<subtitle>for Use with JBoss Enterprise Web Platform 5.0.1</subtitle>
<edition>2.0</edition>
- <pubsnumber>1.1</pubsnumber>
+ <pubsnumber>1.2</pubsnumber>
<productname>JBoss Enterprise Web Platform</productname>
<productnumber>5.0</productnumber>
<!-- <pubdate>Sep, 2007</pubdate> -->
Modified: projects/docs/enterprise/EWP_5.0.1/Seam_Reference_Guide/en-US/Remoting.xml
===================================================================
--- projects/docs/enterprise/EWP_5.0.1/Seam_Reference_Guide/en-US/Remoting.xml 2010-05-13 22:54:53 UTC (rev 104783)
+++ projects/docs/enterprise/EWP_5.0.1/Seam_Reference_Guide/en-US/Remoting.xml 2010-05-14 00:51:48 UTC (rev 104784)
@@ -103,7 +103,7 @@
</para>
<programlisting role="XHTML"><![CDATA[<script type="text/javascript">
- //<<![CDATA[ function sayHello() {
+ function sayHello() {
var name = prompt("What is your name?");
Seam.Component.getInstance("helloAction").sayHello(name, sayHelloCallback);
}
@@ -111,8 +111,7 @@
function sayHelloCallback(result) {
alert(result);
}
- //]]>
-</script>]]>
+</script>]]>
</programlisting>
<para>
Now deploy your application and browse to your page. Click the button, and enter a name when prompted. A message box will display the "Hello" message, confirming the call's success. (You can find the full source code for this Hello World example in Seam's <literal>/examples/remoting/helloworld</literal> directory.)
More information about the jboss-cvs-commits
mailing list