[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Norman Richards
norman.richards at jboss.com
Thu Feb 1 11:58:43 EST 2007
User: nrichards
Date: 07/02/01 11:58:43
Modified: doc/reference/en/modules events.xml
Log:
JBSEAM-750: fix examples
Revision Changes Path
1.10 +586 -586 jboss-seam/doc/reference/en/modules/events.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: events.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/events.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- events.xml 17 Jan 2007 03:14:29 -0000 1.9
+++ events.xml 1 Feb 2007 16:58:43 -0000 1.10
@@ -71,7 +71,7 @@
<programlisting><![CDATA[<pages>
<page view-id="/hello.jsp" action="#{helloWorld.sayHello}"/>
-<pages>]]></programlisting>
+</pages>]]></programlisting>
<para>
Or we can use a wildcard to specify an action that applies to all
@@ -80,7 +80,7 @@
<programlisting><![CDATA[<pages>
<page view-id="/hello/*" action="#{helloWorld.sayHello}"/>
-<pages>]]></programlisting>
+</pages>]]></programlisting>
<para>
If multiple wildcarded page actions match the current view-id, Seam
@@ -129,7 +129,7 @@
<param name="firstName" value="#{person.firstName}"/>
<param name="lastName" value="#{person.lastName}"/>
</page>
-<pages>]]></programlisting>
+</pages>]]></programlisting>
<para>
The <literal><param></literal> declaration is bidirectional, just
@@ -202,7 +202,7 @@
<param name="firstName" value="#{person.firstName}"/>
<param name="lastName" value="#{person.lastName}"/>
</page>
-<pages>]]></programlisting>
+</pages>]]></programlisting>
<para>
You can even specify a JSF converter:
@@ -214,7 +214,7 @@
<param name="y" value="#{calculator.rhs}"/>
<param name="op" converterId="com.my.calculator.OperatorConverter" value="#{calculator.op}"/>
</page>
-<pages>]]></programlisting>
+</pages>]]></programlisting>
<programlisting><![CDATA[<pages>
<page view-id="/calculator.jsp" action="#{calculator.calculate}">
@@ -453,7 +453,7 @@
<action expression="#{helloListener.sayHelloBack}"/>
<action expression="#{logger.logHello}"/>
</event>
-<events>]]></programlisting>
+</events>]]></programlisting>
<para>
Where the <emphasis>event type</emphasis> is just an arbitrary string.
More information about the jboss-cvs-commits
mailing list