[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Shane Bryzak
sbryzak at redhat.com
Tue Jul 3 22:50:11 EDT 2007
User: sbryzak2
Date: 07/07/03 22:50:11
Modified: doc/reference/en/modules controls.xml remoting.xml
Log:
documented s:remote
Revision Changes Path
1.44 +25 -0 jboss-seam/doc/reference/en/modules/controls.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: controls.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/controls.xml,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- controls.xml 28 Jun 2007 10:36:50 -0000 1.43
+++ controls.xml 4 Jul 2007 02:50:11 -0000 1.44
@@ -775,6 +775,31 @@
<row>
<entry valign="top">
<para>
+ <literal><s:remote></literal>
+ </para>
+ </entry>
+ <entry valign="top">
+ <para><emphasis>Description</emphasis></para>
+ <para>
+ Generates the Javascript stubs required to use Seam Remoting.
+ </para>
+ <para><emphasis>Attributes</emphasis></para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <literal>include</literal> — a comma-separated list of the component names (or fully qualified class names)
+ for which to generate Seam Remoting Javascript stubs. See <xref linkend="remoting"/> for more details.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para><emphasis>Usage</emphasis></para>
+ <programlisting><![CDATA[<s:remote include="customerAction,accountAction,com.acme.MyBean"/>]]></programlisting>
+ </entry>
+ </row>
+
+ <row>
+ <entry valign="top">
+ <para>
<literal><s:selectDate></literal>
</para>
</entry>
1.26 +10 -0 jboss-seam/doc/reference/en/modules/remoting.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: remoting.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/remoting.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- remoting.xml 22 Jun 2007 15:44:26 -0000 1.25
+++ remoting.xml 4 Jul 2007 02:50:11 -0000 1.26
@@ -41,6 +41,16 @@
<programlisting><![CDATA[<script type="text/javascript"
src="seam/resource/remoting/interface.js?customerAction&accountAction"></script>]]></programlisting>
+
+ <para>
+ Alternatively, you may use the <literal>s:remote</literal> tag to import the required Javascript. Separate each
+ component or class name you wish to import with a comma:
+ </para>
+
+ <programlisting><![CDATA[
+ <s:remote include="customerAction,accountAction"/>
+ ]]></programlisting>
+
</sect1>
<sect1>
More information about the jboss-cvs-commits
mailing list