[seam-commits] Seam SVN: r12719 - branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu May 13 03:54:21 EDT 2010


Author: manaRH
Date: 2010-05-13 03:54:21 -0400 (Thu, 13 May 2010)
New Revision: 12719

Modified:
   branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Remoting.xml
Log:
JBPAPP-3400 - fixed the CDATA source code in Remoting javascript block

Modified: branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Remoting.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Remoting.xml	2010-05-12 02:39:34 UTC (rev 12718)
+++ branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Remoting.xml	2010-05-13 07:54:21 UTC (rev 12719)
@@ -108,9 +108,9 @@
 
       <para> We'll also need to add some more script to make our button actually do something when it's clicked: </para>
 
-      <programlisting role="XHTML"><![CDATA[<script type="text/javascript">
-  //<![CDATA[
-
+     <programlisting role="XHTML">
+<![CDATA[<script type="text/javascript"> 
+<![CDATA[
   function sayHello() {
     var name = prompt("What is your name?");
     Seam.Component.getInstance("helloAction").sayHello(name, sayHelloCallback);
@@ -119,10 +119,10 @@
   function sayHelloCallback(result) {
     alert(result);
   }
+]]]]><![CDATA[>
+</script>]]>
+	 </programlisting>
 
-   // ]]>]]&gt;<![CDATA[
-</script>]]></programlisting>
-
       <para> We're done! 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 that the call was successful. If you want to
         save some time, you'll find the full source code for this Hello World example in Seam's



More information about the seam-commits mailing list