[seam-commits] Seam SVN: r7635 - in branches/Seam_2_0/doc/Seam_Reference_Guide: common and 1 other directories.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Mar 19 10:22:58 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-03-19 10:22:57 -0400 (Wed, 19 Mar 2008)
New Revision: 7635
Added:
branches/Seam_2_0/doc/Seam_Reference_Guide/common/
branches/Seam_2_0/doc/Seam_Reference_Guide/common/Author_Group.xml
branches/Seam_2_0/doc/Seam_Reference_Guide/common/Version_Info.xml
Modified:
branches/Seam_2_0/doc/Seam_Reference_Guide/en/Annotations.xml
branches/Seam_2_0/doc/Seam_Reference_Guide/en/Book_Info.xml
branches/Seam_2_0/doc/Seam_Reference_Guide/en/Tutorial.xml
Log:
Various updates
Added: branches/Seam_2_0/doc/Seam_Reference_Guide/common/Author_Group.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/common/Author_Group.xml (rev 0)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/common/Author_Group.xml 2008-03-19 14:22:57 UTC (rev 7635)
@@ -0,0 +1,84 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+]>
+<authorgroup>
+ <author>
+ <firstname>Gavin</firstname>
+ <surname>King</surname>
+ <affiliation>
+ <orgname>Red Hat Inc.</orgname>
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Pete</firstname>
+ <surname>Muir</surname>
+ <affiliation>
+ <orgname>Red Hat Inc.</orgname>
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Norman</firstname>
+ <surname>Richards</surname>
+ <affiliation>
+ <orgname>Red Hat Inc.</orgname>
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Shane</firstname>
+ <surname>Bryzak</surname>
+ <affiliation>
+ <orgname>Red Hat Inc.</orgname>
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Michael</firstname>
+ <surname>Yuan</surname>
+ <affiliation>
+ <orgname>Individual</orgname>
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Mike</firstname>
+ <surname>Youngstrom</surname>
+ <affiliation>
+ <orgname>Individual</orgname>
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Christian</firstname>
+ <surname>Bauer</surname>
+ <affiliation>
+ <orgname>Red Hat Inc.</orgname>
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Jay</firstname>
+ <surname>Balunas</surname>
+ <affiliation>
+ <orgname>Red Hat Inc.</orgname>
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Dan</firstname>
+ <surname>Allen</surname>
+ <affiliation>
+ <orgname>Individual</orgname>
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Max</firstname>
+ <othername>Rydahl</othername>
+ <surname>Andersen</surname>
+ <affiliation>
+ <orgname>Red Hat Inc.</orgname>
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Emmanuel</firstname>
+ <surname>Bernard</surname>
+ <affiliation>
+ <orgname>Red Hat Inc.</orgname>
+ </affiliation>
+ </author>
+
+</authorgroup>
Property changes on: branches/Seam_2_0/doc/Seam_Reference_Guide/common/Author_Group.xml
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Added: branches/Seam_2_0/doc/Seam_Reference_Guide/common/Version_Info.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/common/Version_Info.xml (rev 0)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/common/Version_Info.xml 2008-03-19 14:22:57 UTC (rev 7635)
@@ -0,0 +1,3 @@
+
+ <releaseinfo>2.0.2-SNAPSHOT</releaseinfo>
+
\ No newline at end of file
Property changes on: branches/Seam_2_0/doc/Seam_Reference_Guide/common/Version_Info.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: branches/Seam_2_0/doc/Seam_Reference_Guide/en/Annotations.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/en/Annotations.xml 2008-03-19 14:22:25 UTC (rev 7634)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/en/Annotations.xml 2008-03-19 14:22:57 UTC (rev 7635)
@@ -22,7 +22,7 @@
<literal>@Name</literal>
</term>
<listitem>
- <programlisting><![CDATA[@Name("componentName")]]></programlisting>
+ <programlisting role="JAVA"><![CDATA[@Name("componentName")]]></programlisting>
<para> Defines the Seam component name for a class. This annotation is required for all Seam
components. </para>
</listitem>
@@ -32,7 +32,7 @@
<literal>@Scope</literal>
</term>
<listitem>
- <programlisting><![CDATA[@Scope(ScopeType.CONVERSATION)]]></programlisting>
+ <programlisting role="JAVA"><![CDATA[@Scope(ScopeType.CONVERSATION)]]></programlisting>
<para> Defines the default context of the component. The possible values are defined by the
<literal>ScopeType</literal> enumeration: <literal>EVENT, PAGE, CONVERSATION, SESSION,
BUSINESS_PROCESS, APPLICATION, STATELESS</literal>. </para>
Modified: branches/Seam_2_0/doc/Seam_Reference_Guide/en/Book_Info.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/en/Book_Info.xml 2008-03-19 14:22:25 UTC (rev 7634)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/en/Book_Info.xml 2008-03-19 14:22:57 UTC (rev 7635)
@@ -2,10 +2,9 @@
<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
]>
<bookinfo>
- <title>Seam - Contextual Components</title>
- <subtitle>A Framework for Enterprise Java</subtitle>
- <issuenum>2.0</issuenum>
- <productnumber>1</productnumber>
+ <title>Seam - Contextual Components</title>
+ <subtitle>A Framework for Enterprise Java</subtitle>
+ <xi:include href="../common/Version_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <!--xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /-->
+ <xi:include href="../common/Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</bookinfo>
Modified: branches/Seam_2_0/doc/Seam_Reference_Guide/en/Tutorial.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/en/Tutorial.xml 2008-03-19 14:22:25 UTC (rev 7634)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/en/Tutorial.xml 2008-03-19 14:22:57 UTC (rev 7635)
@@ -111,7 +111,7 @@
<mediaobject>
<imageobject role="fo">
- <imagedata fileref="images/registration.png" align="center"/>
+ <imagedata fileref="images/registration.png" align="center" scalefit="1"/>
</imageobject>
<imageobject role="html">
<imagedata fileref="images/registration.png" align="center"/>
@@ -141,9 +141,9 @@
<emphasis>validation</emphasis> declaratively, via annotations. It also needs some extra
annotations that define the class as a Seam component. </para>
-<example><title>user data</title>
-<programlistingco>
-<areaspec>
+ <example><title>user data</title>
+ <programlistingco>
+ <areaspec>
<area id="registration-entity-annotation" coords="1"/>
<area id="registration-name-annotation" coords="2"/>
<area id="registration-scope-annotation" coords="3"/>
@@ -153,7 +153,7 @@
<area id="registration-notnull" coords="22"/>
<area id="registration-id-annotation" coords="44"/>
</areaspec>
-<programlisting><![CDATA[@Entity
+ <programlisting role="JAVA"><![CDATA[@Entity
@Name("user")
@Scope(SESSION)
@Table(name="users")
@@ -208,7 +208,7 @@
}
}]]></programlisting>
- <calloutlist>
+ <calloutlist>
<callout arearefs="registration-entity-annotation">
<para> The EJB3 standard <literal>@Entity</literal> annotation indicates that the
<literal>User</literal> class is an entity bean. </para>
@@ -301,7 +301,7 @@
<area id="registration-outcome" coords="25"/>
<area id="registration-builtin" coords="29"/>
</areaspec>
- <programlisting><![CDATA[@Stateless
+ <programlisting role="JAVA"><![CDATA[@Stateless
@Name("register")
public class RegisterAction implements Register
{
@@ -421,7 +421,7 @@
<para>Naturally, our session bean needs a local interface.</para>
<example><title></title>
- <programlisting><![CDATA[@Local
+ <programlisting role="JAVA"><![CDATA[@Local
public interface Register
{
public String register();
@@ -449,7 +449,7 @@
Seam how to find our EJB components in JNDI: </para>
<example><title></title>
- <programlisting><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+ <programlisting role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
xmlns:core="http://jboss.com/products/seam/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -475,7 +475,7 @@
deployment descriptor. </para>
<example><title>web deployment descriptor config</title>
- <programlisting><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+ <programlisting role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -530,7 +530,7 @@
defining our views, so we need to tell JSF to use Facelets as its templating engine. </para>
<example id="registration-faces-config-xml"><title>registration faces configuration</title>
- <programlisting><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+ <programlisting role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<faces-config version="1.2"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -564,7 +564,7 @@
<para> The <literal>ejb-jar.xml</literal> file integrates Seam with EJB3, by attaching the
<literal>SeamInterceptor</literal> to all session beans in the archive. </para>
- <programlisting><![CDATA[<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
+ <programlisting role="XML"><![CDATA[<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
@@ -594,7 +594,7 @@
datasource, and contains some vendor-specific settings. In this case, enables automatic schema
export at startup time. </para>
- <programlisting><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+ <programlisting role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
@@ -620,7 +620,7 @@
JSF. In this example we use Facelets, because we think it's better than JSP.</para>
<example id="registration-simpleform"><title>registration form</title>
- <programlisting><![CDATA[<?xml version="1.0" encoding="utf-8"?>
+ <programlisting role="XHTML"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
@@ -655,7 +655,7 @@
the contained input fields against the Hibernate Validator annotations specified on the entity bean. </para>
<example id="registration-simplepage"><title>registration page</title>
- <programlisting><![CDATA[<?xml version="1.0" encoding="utf-8"?>
+ <programlisting role="XML"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
@@ -2309,7 +2309,7 @@
{
em.persist(booking);
facesMessages.add("Thank you, #{user.name}, your confimation number " +
- " for #{hotel.name} is #{booking.id}");
+ " for #{hotel.name} is #{booki g.id}");
log.info("New booking: #{booking.id} for #{user.username}");
events.raiseTransactionSuccessEvent("bookingConfirmed");
}
More information about the seam-commits
mailing list