Author: alexsmirnov
Date: 2007-06-05 20:41:55 -0400 (Tue, 05 Jun 2007)
New Revision: 243
Added:
trunk/docs/userguide/en-US/home/
trunk/docs/userguide/en-US/home/asmirnov/
trunk/docs/userguide/en-US/home/asmirnov/work/
trunk/docs/userguide/en-US/home/asmirnov/work/ajax4jsf/
trunk/docs/userguide/en-US/home/asmirnov/work/ajax4jsf/ajax4jsf/
trunk/docs/userguide/en-US/home/asmirnov/work/ajax4jsf/ajax4jsf/docs/
trunk/docs/userguide/en-US/home/asmirnov/work/ajax4jsf/ajax4jsf/docs/userguide/
trunk/docs/userguide/en-US/home/asmirnov/work/ajax4jsf/ajax4jsf/docs/userguide/en-US/
trunk/docs/userguide/en-US/src/main/docbook/f.xsl
trunk/docs/userguide/en-US/src/main/docbook/images/
trunk/docs/userguide/en-US/src/main/docbook/included/actionparam.desc.xml
trunk/docs/userguide/en-US/src/main/docbook/included/ajaxListener.desc.xml
trunk/docs/userguide/en-US/src/main/docbook/included/ajaxListener.xml
trunk/docs/userguide/en-US/src/main/docbook/included/commandLink.xml
trunk/docs/userguide/en-US/src/main/docbook/included/outputPanel.desc.xml
trunk/docs/userguide/en-US/src/main/docbook/included/poll.desc.xml
trunk/docs/userguide/en-US/src/main/docbook/included/region.desc.xml
trunk/docs/userguide/en-US/src/main/docbook/included/support.desc.xml
trunk/docs/xslt/src/main/resources/support/
trunk/docs/xslt/src/main/resources/support/docbook-dtd/
trunk/docs/xslt/src/main/resources/support/docbook-xsl/
Removed:
trunk/docs/userguide/en-US/src/main/docbook/included/Actionparam.desc.xml
trunk/docs/userguide/en-US/src/main/docbook/included/AjaxListener.xml
trunk/docs/userguide/en-US/src/main/docbook/included/ajaxlistener.desc.xml
trunk/docs/userguide/en-US/src/main/docbook/included/commandlink.xml
trunk/docs/userguide/en-US/src/main/docbook/included/outputPanel.Desc.xml
trunk/docs/userguide/en-US/src/main/docbook/included/poll.Desc.xml
trunk/docs/userguide/en-US/src/main/docbook/included/region.Desc.xml
trunk/docs/userguide/en-US/src/main/docbook/included/support.Desc.xml
trunk/docs/userguide/en-US/src/main/resources/images/
trunk/docs/xslt/src/main/resources/en/f.xsl
trunk/docs/xslt/support/docbook-dtd/
trunk/docs/xslt/support/docbook-xsl/
Modified:
trunk/docs/userguide/en-US/pom.xml
trunk/docs/userguide/en-US/src/main/docbook/master.xml
trunk/docs/userguide/pom.xml
trunk/docs/xslt/src/main/resources/en/fopdf.xsl
trunk/docs/xslt/src/main/resources/en/html.xsl
Log:
reorganize projects for a Maven documentation build
Modified: trunk/docs/userguide/en-US/pom.xml
===================================================================
--- trunk/docs/userguide/en-US/pom.xml 2007-06-05 22:59:27 UTC (rev 242)
+++ trunk/docs/userguide/en-US/pom.xml 2007-06-06 00:41:55 UTC (rev 243)
@@ -10,11 +10,27 @@
</parent>
<artifactId>userguide-${translation}</artifactId>
- <packaging>pom</packaging>
+ <packaging>jar</packaging>
<name>Ajax4jsf Manual (${translation})</name>
<properties>
<translation>en-US</translation>
</properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xml-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jboss-docbook-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
</project>
Copied: trunk/docs/userguide/en-US/src/main/docbook/f.xsl (from rev 241,
trunk/docs/xslt/src/main/resources/en/f.xsl)
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/f.xsl (rev 0)
+++ trunk/docs/userguide/en-US/src/main/docbook/f.xsl 2007-06-06 00:41:55 UTC (rev 243)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:transform
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+
xmlns:javaee="http://java.sun.com/JSP/TagLibraryDescriptor"
+ version="1.0" exclude-result-prefixes="javaee">
+ <xsl:output method="xml" version="1.0"
encoding="UTF-8" indent="yes"/>
+ <xsl:param name="lang" />
+
+ <xsl:template match="javaee:taglib | taglib">
+ <xsl:variable
name="excluded-tag-names">header2,header3,header4,header5,header6</xsl:variable>
+
+ <chapter>
+
+ <title>Ajax4JSF Components Library</title>
+ <xsl:for-each select="javaee:tag | tag">
+
+ <!--xsl:value-of select="./name/text()" /-->
+
+ <xsl:if test="not(contains($excluded-tag-names, javaee:name))">
+ <xsl:call-template name="tag" />
+ </xsl:if>
+ <xsl:if test="not(contains($excluded-tag-names, ./name/text()))">
+ <xsl:call-template name="tag" />
+ </xsl:if>
+ </xsl:for-each>
+ </chapter>
+ </xsl:template>
+
+ <xsl:template name="tag">
+ <section role="NotInToc">
+ <xsl:variable name="tag_name">
+ <xsl:choose>
+ <xsl:when test="javaee:name">
+ <xsl:value-of select="javaee:name" />
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="./name/text()" />
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:attribute name="id"><xsl:value-of
select="$tag_name"/></xsl:attribute>
+ <title><<xsl:value-of select="concat('a4j:',
$tag_name)" />></title>
+ <xsl:for-each select="document(concat($lang, '/included/',$tag_name,
'.desc.xml'))/*">
+ <xsl:copy-of select="./*"/>
+ </xsl:for-each>
+ <table>
+ <title>a4j:<xsl:value-of
select="javaee:name"/><xsl:value-of select="name"/>
attributes</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <xsl:for-each select="javaee:attribute | attribute">
+ <row>
+ <entry>
+ <xsl:value-of select="javaee:name"/>
+ <xsl:value-of select="name"/>
+ </entry>
+ <entry>
+ <xsl:value-of select="javaee:description"
disable-output-escaping="yes"/>
+ <xsl:value-of select="description"
disable-output-escaping="yes"/>
+ </entry>
+ </row>
+ </xsl:for-each>
+ </tbody>
+ </tgroup>
+ </table>
+ <xsl:for-each select="document(concat($lang,'/included/',$tag_name,
'.xml'))/*">
+ <xsl:copy-of select="./*"/>
+ </xsl:for-each>
+ </section>
+ </xsl:template>
+</xsl:transform>
\ No newline at end of file
Copied: trunk/docs/userguide/en-US/src/main/docbook/images (from rev 242,
trunk/docs/userguide/en-US/src/main/resources/images)
Deleted: trunk/docs/userguide/en-US/src/main/docbook/included/Actionparam.desc.xml
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/Actionparam.desc.xml 2007-06-05
22:59:27 UTC (rev 242)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/Actionparam.desc.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -1,10 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<section>
- <para>The <emphasis role="bold">
- <property><a4j:actionparam></property>
- </emphasis> component combines the functionality of both JSF components:
<emphasis role="bold">
- <property><f:param></property>
- </emphasis> and <emphasis role="bold">
- <property><f:actionListener></property>
- </emphasis>.</para>
-</section>
\ No newline at end of file
Deleted: trunk/docs/userguide/en-US/src/main/docbook/included/AjaxListener.xml
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/AjaxListener.xml 2007-06-05
22:59:27 UTC (rev 242)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/AjaxListener.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<root>
- <programlisting role="XML">
- <![CDATA[<a4j:region selfRendered="true"
ajaxListener="#{bean.processAjax}" id="Region">
-
- </a4j:region>]]>
- </programlisting>
- <para>
- Every time when AJAX request triggered from "region" method
"processAjax" of "bean" will be called.
- </para>
-</root>
\ No newline at end of file
Copied: trunk/docs/userguide/en-US/src/main/docbook/included/actionparam.desc.xml (from
rev 242, trunk/docs/userguide/en-US/src/main/docbook/included/Actionparam.desc.xml)
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/actionparam.desc.xml
(rev 0)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/actionparam.desc.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<section>
+ <para>The <emphasis role="bold">
+ <property><a4j:actionparam></property>
+ </emphasis> component combines the functionality of both JSF components:
<emphasis role="bold">
+ <property><f:param></property>
+ </emphasis> and <emphasis role="bold">
+ <property><f:actionListener></property>
+ </emphasis>.</para>
+</section>
\ No newline at end of file
Copied: trunk/docs/userguide/en-US/src/main/docbook/included/ajaxListener.desc.xml (from
rev 242, trunk/docs/userguide/en-US/src/main/docbook/included/ajaxlistener.desc.xml)
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/ajaxListener.desc.xml
(rev 0)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/ajaxListener.desc.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -0,0 +1,5 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<section>
+ <para>The <emphasis
role="bold"><property><a4j:ajaxListener></property></emphasis>
+component is the same one as "ActionListener" or
"ValueChangeListener", but for an AJAX container.</para>
+</section>
Copied: trunk/docs/userguide/en-US/src/main/docbook/included/ajaxListener.xml (from rev
242, trunk/docs/userguide/en-US/src/main/docbook/included/AjaxListener.xml)
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/ajaxListener.xml
(rev 0)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/ajaxListener.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root>
+ <programlisting role="XML">
+ <![CDATA[<a4j:region selfRendered="true"
ajaxListener="#{bean.processAjax}" id="Region">
+
+ </a4j:region>]]>
+ </programlisting>
+ <para>
+ Every time when AJAX request triggered from "region" method
"processAjax" of "bean" will be called.
+ </para>
+</root>
\ No newline at end of file
Deleted: trunk/docs/userguide/en-US/src/main/docbook/included/ajaxlistener.desc.xml
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/ajaxlistener.desc.xml 2007-06-05
22:59:27 UTC (rev 242)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/ajaxlistener.desc.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -1,5 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<section>
- <para>The <emphasis
role="bold"><property><a4j:ajaxListener></property></emphasis>
-component is the same one as "ActionListener" or
"ValueChangeListener", but for an AJAX container.</para>
-</section>
Copied: trunk/docs/userguide/en-US/src/main/docbook/included/commandLink.xml (from rev
242, trunk/docs/userguide/en-US/src/main/docbook/included/commandlink.xml)
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/commandLink.xml
(rev 0)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/commandLink.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -0,0 +1,68 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<chapter>
+
+ <para><table frame="all">
+ <title>Component identification parameters</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Value</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>component-type</entry>
+ <entry>org.ajax4jsf.ajax.CommandLink</entry>
+ </row>
+ <row>
+ <entry>component-family</entry>
+ <entry>javax.faces.Command </entry>
+ </row>
+ <row>
+ <entry>component-class</entry>
+ <entry>org.ajax4jsf.ajax.html.HtmlCommandLink</entry>
+ </row>
+ <row>
+ <entry>renderer-type</entry>
+ <entry>org.ajax4jsf.components.AjaxCommandLinkRenderer
</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table></para>
+
+ <section>
+ <title>Creating on a page</title>
+ <para><emphasis
role="bold"><property><a4j:commandLink></property></emphasis>
is used in the same way as <emphasis
role="bold"><property><h:commandLink></property></emphasis>,
but with definition of the area that is updated after the response comes back from the
server.</para>
+ <programlisting role="XML"><![CDATA[<a4j:commandLink
reRender="someData" action="#{bean.action1}"
value="Link"/>]]></programlisting>
+ <para>This definition of the component provides a link, a click on the
link causes an AJAX form
+ submit on the server, "action1" method performance, and
rendering of the component
+ with "someData" id after the response comes back from the
server.</para>
+ </section>
+ <section>
+ <title>Dynamical creation of a component from Java code</title>
+ <programlisting role="JAVA"><![CDATA[import
org.ajax4jsf.ajax.html.HtmlAjaxCommandLink;
+...
+HtmlAjaxCommandLink myLink = new HtmlAjaxCommandLink();
+...
+]]></programlisting>
+ </section>
+ <section>
+ <title>Key attributes and ways of usage</title>
+ <para>The component <emphasis
role="bold"><property><a4j:commandLink></property></emphasis>
placed on a page generates the following HTML code:</para>
+ <programlisting role="JSP"><![CDATA[<a href="#"
onclick="A4J.AJAX.Submit(?"request parameters");
+ return
+ <a href="#" onclick="A4J.AJAX.Submit(?"request
parameters");
+ return false;">
+ <span style="color: black;">Link Value</span>
+ </a>
+]]></programlisting>
+ <para>Hence, the utility method "A4J.AJAX.Submit" is called
on a click, the method performs AJAX request as the <emphasis
role="bold"><property><a4j:support></property></emphasis>
component</para>
+ <note>
+ <title>Note:</title>
+ <para>AJAX support is built in and it's not necessary to add nested
<emphasis
role="bold"><property><a4j:support></property></emphasis>
to the component.</para>
+ </note>
+ <para>Common JSF navigation could be performed after AJAX submit and partial
rendering, but Navigation Case must be defined as <emphasis
role="bold"><property><redirect/></property></emphasis>
in order to avoid problems with some browsers.</para>
+ <para>As any Ajax4jsf component sending AJAX requests and processing server
responses <emphasis
role="bold"><property><a4j:commandLink></property></emphasis>
has all attributes described above (see <emphasis
role="bold"><property><a4j:support></property></emphasis>
chapter) that provide the required behavior of requests sending (delay, limitation of
submit area and rendering, etc.)</para>
+ </section>
+</chapter>
\ No newline at end of file
Deleted: trunk/docs/userguide/en-US/src/main/docbook/included/commandlink.xml
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/commandlink.xml 2007-06-05
22:59:27 UTC (rev 242)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/commandlink.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -1,68 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<chapter>
-
- <para><table frame="all">
- <title>Component identification parameters</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Name</entry>
- <entry>Value</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>component-type</entry>
- <entry>org.ajax4jsf.ajax.CommandLink</entry>
- </row>
- <row>
- <entry>component-family</entry>
- <entry>javax.faces.Command </entry>
- </row>
- <row>
- <entry>component-class</entry>
- <entry>org.ajax4jsf.ajax.html.HtmlCommandLink</entry>
- </row>
- <row>
- <entry>renderer-type</entry>
- <entry>org.ajax4jsf.components.AjaxCommandLinkRenderer
</entry>
- </row>
- </tbody>
- </tgroup>
- </table></para>
-
- <section>
- <title>Creating on a page</title>
- <para><emphasis
role="bold"><property><a4j:commandLink></property></emphasis>
is used in the same way as <emphasis
role="bold"><property><h:commandLink></property></emphasis>,
but with definition of the area that is updated after the response comes back from the
server.</para>
- <programlisting role="XML"><![CDATA[<a4j:commandLink
reRender="someData" action="#{bean.action1}"
value="Link"/>]]></programlisting>
- <para>This definition of the component provides a link, a click on the
link causes an AJAX form
- submit on the server, "action1" method performance, and
rendering of the component
- with "someData" id after the response comes back from the
server.</para>
- </section>
- <section>
- <title>Dynamical creation of a component from Java code</title>
- <programlisting role="JAVA"><![CDATA[import
org.ajax4jsf.ajax.html.HtmlAjaxCommandLink;
-...
-HtmlAjaxCommandLink myLink = new HtmlAjaxCommandLink();
-...
-]]></programlisting>
- </section>
- <section>
- <title>Key attributes and ways of usage</title>
- <para>The component <emphasis
role="bold"><property><a4j:commandLink></property></emphasis>
placed on a page generates the following HTML code:</para>
- <programlisting role="JSP"><![CDATA[<a href="#"
onclick="A4J.AJAX.Submit(?"request parameters");
- return
- <a href="#" onclick="A4J.AJAX.Submit(?"request
parameters");
- return false;">
- <span style="color: black;">Link Value</span>
- </a>
-]]></programlisting>
- <para>Hence, the utility method "A4J.AJAX.Submit" is called
on a click, the method performs AJAX request as the <emphasis
role="bold"><property><a4j:support></property></emphasis>
component</para>
- <note>
- <title>Note:</title>
- <para>AJAX support is built in and it's not necessary to add nested
<emphasis
role="bold"><property><a4j:support></property></emphasis>
to the component.</para>
- </note>
- <para>Common JSF navigation could be performed after AJAX submit and partial
rendering, but Navigation Case must be defined as <emphasis
role="bold"><property><redirect/></property></emphasis>
in order to avoid problems with some browsers.</para>
- <para>As any Ajax4jsf component sending AJAX requests and processing server
responses <emphasis
role="bold"><property><a4j:commandLink></property></emphasis>
has all attributes described above (see <emphasis
role="bold"><property><a4j:support></property></emphasis>
chapter) that provide the required behavior of requests sending (delay, limitation of
submit area and rendering, etc.)</para>
- </section>
-</chapter>
\ No newline at end of file
Deleted: trunk/docs/userguide/en-US/src/main/docbook/included/outputPanel.Desc.xml
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/outputPanel.Desc.xml 2007-06-05
22:59:27 UTC (rev 242)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/outputPanel.Desc.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -1,7 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<root>
-<section>
-<title>Description</title>
- <para>The component is used for components grouping in the AJAX output area,
which offers several additional output opportunities such as inserting of non-present in
tree components, saving of transient elements after AJAX request and some
others.</para>
-</section>
-</root>
\ No newline at end of file
Copied: trunk/docs/userguide/en-US/src/main/docbook/included/outputPanel.desc.xml (from
rev 242, trunk/docs/userguide/en-US/src/main/docbook/included/outputPanel.Desc.xml)
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/outputPanel.desc.xml
(rev 0)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/outputPanel.desc.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<root>
+<section>
+<title>Description</title>
+ <para>The component is used for components grouping in the AJAX output area,
which offers several additional output opportunities such as inserting of non-present in
tree components, saving of transient elements after AJAX request and some
others.</para>
+</section>
+</root>
\ No newline at end of file
Deleted: trunk/docs/userguide/en-US/src/main/docbook/included/poll.Desc.xml
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/poll.Desc.xml 2007-06-05 22:59:27
UTC (rev 242)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/poll.Desc.xml 2007-06-06 00:41:55
UTC (rev 243)
@@ -1,9 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<root>
-<section>
-<title>Description</title>
- <para>The <emphasis role="bold">
- <property><a4j:poll></property>
- </emphasis> component allows periodical sending of AJAX requests to the
server and is used for a page update according to a specified in milliseconds time
interval.</para>
-</section>
-</root>
\ No newline at end of file
Copied: trunk/docs/userguide/en-US/src/main/docbook/included/poll.desc.xml (from rev 242,
trunk/docs/userguide/en-US/src/main/docbook/included/poll.Desc.xml)
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/poll.desc.xml
(rev 0)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/poll.desc.xml 2007-06-06 00:41:55
UTC (rev 243)
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<root>
+<section>
+<title>Description</title>
+ <para>The <emphasis role="bold">
+ <property><a4j:poll></property>
+ </emphasis> component allows periodical sending of AJAX requests to the
server and is used for a page update according to a specified in milliseconds time
interval.</para>
+</section>
+</root>
\ No newline at end of file
Deleted: trunk/docs/userguide/en-US/src/main/docbook/included/region.Desc.xml
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/region.Desc.xml 2007-06-05
22:59:27 UTC (rev 242)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/region.Desc.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -1,11 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<root>
-<section>
-<title>Description</title>
- <para>
-The <emphasis role="bold">
-<property><a4j:region></property>
-</emphasis> component defines an area that is decoded on the server after AJAX
submission.
-</para>
-</section>
-</root>
Copied: trunk/docs/userguide/en-US/src/main/docbook/included/region.desc.xml (from rev
242, trunk/docs/userguide/en-US/src/main/docbook/included/region.Desc.xml)
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/region.desc.xml
(rev 0)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/region.desc.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<root>
+<section>
+<title>Description</title>
+ <para>
+The <emphasis role="bold">
+<property><a4j:region></property>
+</emphasis> component defines an area that is decoded on the server after AJAX
submission.
+</para>
+</section>
+</root>
Deleted: trunk/docs/userguide/en-US/src/main/docbook/included/support.Desc.xml
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/support.Desc.xml 2007-06-05
22:59:27 UTC (rev 242)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/support.Desc.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -1,9 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<root>
-<section>
-<title>Description</title>
- <para>The <emphasis role="bold">
- <property><a4j:support></property>
- </emphasis> component adds an AJAX support to any existing JSF component.
It allows a component to generate asynchronous requests on the necessary event demand and
with partial update of page content after a response incoming from the
server.</para>
-</section>
-</root>
\ No newline at end of file
Copied: trunk/docs/userguide/en-US/src/main/docbook/included/support.desc.xml (from rev
242, trunk/docs/userguide/en-US/src/main/docbook/included/support.Desc.xml)
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/included/support.desc.xml
(rev 0)
+++ trunk/docs/userguide/en-US/src/main/docbook/included/support.desc.xml 2007-06-06
00:41:55 UTC (rev 243)
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<root>
+<section>
+<title>Description</title>
+ <para>The <emphasis role="bold">
+ <property><a4j:support></property>
+ </emphasis> component adds an AJAX support to any existing JSF component.
It allows a component to generate asynchronous requests on the necessary event demand and
with partial update of page content after a response incoming from the
server.</para>
+</section>
+</root>
\ No newline at end of file
Modified: trunk/docs/userguide/en-US/src/main/docbook/master.xml
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/master.xml 2007-06-05 22:59:27 UTC (rev
242)
+++ trunk/docs/userguide/en-US/src/main/docbook/master.xml 2007-06-06 00:41:55 UTC (rev
243)
@@ -6,7 +6,7 @@
<!ENTITY getttingStarted SYSTEM "modules/a4jUGstart.xml">
<!ENTITY envSettings SYSTEM "modules/a4jUGenvsettings.xml">
<!ENTITY usingAJAX SYSTEM "modules/a4jUGusingAJAX.xml">
- <!ENTITY componentDetails SYSTEM
"../../build/generated/en/a4j_table.xml">
+ <!ENTITY componentDetails SYSTEM
"../../../target/generated/en/a4j.xml">
<!ENTITY skinnability SYSTEM "modules/a4jUGskinnability.xml">
<!ENTITY IDEintegration SYSTEM "modules/a4jUGideintegration.xml">
<!ENTITY EVCP SYSTEM "modules/a4jUGevcp.xml">
Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml 2007-06-05 22:59:27 UTC (rev 242)
+++ trunk/docs/userguide/pom.xml 2007-06-06 00:41:55 UTC (rev 243)
@@ -14,152 +14,176 @@
<packaging>pom</packaging>
<description>Ajax4jsf user guide</description>
<build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.ajax4jsf</groupId>
- <artifactId>ajax4jsf</artifactId>
- <version>
- ${project.version}
- </version>
- <type>jar</type>
- <overWrite>true</overWrite>
- <outputDirectory>
- ${project.build.directory}/library
- </outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.ajax4jsf.docs</groupId>
- <artifactId>xslt</artifactId>
- <version>
- ${project.version}
- </version>
- <type>jar</type>
- <overWrite>true</overWrite>
- <outputDirectory>
- ${project.build.directory}/xslt
- </outputDirectory>
- </artifactItem>
- </artifactItems>
- <outputDirectory>
- ${project.build.directory}/library
- </outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>
- true
- </overWriteSnapshots>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>xml-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>transformTld</id>
- <phase>process-resources</phase>
- <goals>
- <goal>transform</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <basedir>${basedir}/src/main/docbook</basedir>
- <transformationSets>
- <transformationSet>
- <dir>
- ${project.build.directory}/library/META-INF
- </dir>
- <includes>
- <include>*.tld</include>
- </includes>
- <outputDir>
- ${project.build.directory}/generated/en/
- </outputDir>
- <stylesheet>${project.build.directory}/xslt/en/f.xsl</stylesheet>
- <fileMappers>
- <fileMapper
- implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
- <targetExtension>
- _table.xml
- </targetExtension>
- </fileMapper>
- </fileMappers>
- </transformationSet>
- </transformationSets>
- </configuration>
- </plugin>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.ajax4jsf</groupId>
+ <artifactId>
+ ajax4jsf
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ <type>jar</type>
+ <overWrite>true</overWrite>
+ <outputDirectory>
+ ${project.build.directory}/library
+ </outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>
+ ${project.build.directory}/library
+ </outputDirectory>
+ <overWriteReleases>
+ false
+ </overWriteReleases>
+ <overWriteSnapshots>
+ true
+ </overWriteSnapshots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xml-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>transformTld</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>transform</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon</artifactId>
+ <version>8.7</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <transformationSets>
+ <transformationSet>
+ <dir>
+ ${project.build.directory}/library/META-INF
+ </dir>
+ <includes>
+ <include>*.tld</include>
+ </includes>
+ <outputDir>
+ ${project.build.directory}/generated/en/
+ </outputDir>
+ <stylesheet>
+ ${basedir}/src/main/docbook/f.xsl
+ </stylesheet>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
+ <targetExtension>
+ xml
+ </targetExtension>
+ </fileMapper>
+ </fileMappers>
+ <parameters>
+ <parameter>
+ <name>lang</name>
+ <value>
+ ${basedir}/src/main/docbook
+ </value>
+ </parameter>
+ <parameter>
+ <name>title</name>
+ <value>
+ ${project.name}
+ </value>
+ </parameter>
+ </parameters>
+ </transformationSet>
+ </transformationSets>
+ </configuration>
+ </plugin>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jboss-docbook-plugin</artifactId>
- <version>1.0</version>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.ajax4jsf.docs</groupId>
- <artifactId>xslt</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDirectory>
- ${basedir}/src/main/docbook
- </sourceDirectory>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>
- /en/fopdf.xsl
- </stylesheetResource>
- <finalName>
- ajax4jsf_reference.pdf
- </finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>
- /en/html.xsl
- </stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- <xincludeSupported>true</xincludeSupported>
- <options>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jboss-docbook-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.ajax4jsf.docs</groupId>
+ <artifactId>xslt</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDirectory>
+ ${basedir}/src/main/docbook
+ </sourceDirectory>
+ <targetDirectory>${project.build.outputDirectory}</targetDirectory>
+ <sourceDocumentName>
+ master.xml
+ </sourceDocumentName>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>
+ /en/fopdf.xsl
+ </stylesheetResource>
+ <finalName>
+ ajax4jsf_reference.pdf
+ </finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>
+ /en/html.xsl
+ </stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
<xincludeSupported>true</xincludeSupported>
- <xmlTransformerType>saxon</xmlTransformerType>
- <transformerParameters>
- <property>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>
+ saxon
+ </xmlTransformerType>
+ <!--
+ <transformerParameters>
+ <property>
<name>custom.titlepage.img</name>
<value>
- ${basedir}/src/main/resources/shared/images/hibernate_logo_a.png
+ ${basedir}/src/main/resources/shared/images/hibernate_logo_a.png
</value>
- </property>
- </transformerParameters>
- </options>
- </configuration>
- </plugin>
- </plugins>
+ </property>
+ </transformerParameters>
+ -->
+ </options>
+ </configuration>
+
+ </plugin>
+ </plugins>
+ </pluginManagement>
</build>
<!-- report plugin is currently hosed
Deleted: trunk/docs/xslt/src/main/resources/en/f.xsl
===================================================================
--- trunk/docs/xslt/src/main/resources/en/f.xsl 2007-06-05 22:59:27 UTC (rev 242)
+++ trunk/docs/xslt/src/main/resources/en/f.xsl 2007-06-06 00:41:55 UTC (rev 243)
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:transform
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-
xmlns:javaee="http://java.sun.com/JSP/TagLibraryDescriptor"
- version="1.0" exclude-result-prefixes="javaee">
- <xsl:output method="xml" version="1.0"
encoding="UTF-8" indent="yes"/>
- <xsl:param name="lang" />
-
- <xsl:template match="javaee:taglib | taglib">
- <xsl:variable
name="excluded-tag-names">header2,header3,header4,header5,header6</xsl:variable>
-
- <chapter>
-
- <title>Ajax4JSF Components Library</title>
- <xsl:for-each select="javaee:tag | tag">
-
- <!--xsl:value-of select="./name/text()" /-->
-
- <xsl:if test="not(contains($excluded-tag-names, javaee:name))">
- <xsl:call-template name="tag" />
- </xsl:if>
- <xsl:if test="not(contains($excluded-tag-names, ./name/text()))">
- <xsl:call-template name="tag" />
- </xsl:if>
- </xsl:for-each>
- </chapter>
- </xsl:template>
-
- <xsl:template name="tag">
- <section role="NotInToc">
- <xsl:variable name="tag_name">
- <xsl:choose>
- <xsl:when test="javaee:name">
- <xsl:value-of select="javaee:name" />
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="./name/text()" />
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:attribute name="id"><xsl:value-of
select="$tag_name"/></xsl:attribute>
- <title><<xsl:value-of select="concat('a4j:',
$tag_name)" />></title>
- <xsl:for-each select="document(concat($lang, '/included/',$tag_name,
'.desc.xml'))/*">
- <xsl:copy-of select="./*"/>
- </xsl:for-each>
- <table>
- <title>a4j:<xsl:value-of
select="javaee:name"/><xsl:value-of select="name"/>
attributes</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Attribute Name</entry>
- <entry>Description</entry>
- </row>
- </thead>
- <tbody>
- <xsl:for-each select="javaee:attribute | attribute">
- <row>
- <entry>
- <xsl:value-of select="javaee:name"/>
- <xsl:value-of select="name"/>
- </entry>
- <entry>
- <xsl:value-of select="javaee:description"
disable-output-escaping="yes"/>
- <xsl:value-of select="description"
disable-output-escaping="yes"/>
- </entry>
- </row>
- </xsl:for-each>
- </tbody>
- </tgroup>
- </table>
- <xsl:for-each select="document(concat($lang,'/included/',$tag_name,
'.xml'))/*">
- <xsl:copy-of select="./*"/>
- </xsl:for-each>
- </section>
- </xsl:template>
-</xsl:transform>
\ No newline at end of file
Modified: trunk/docs/xslt/src/main/resources/en/fopdf.xsl
===================================================================
--- trunk/docs/xslt/src/main/resources/en/fopdf.xsl 2007-06-05 22:59:27 UTC (rev 242)
+++ trunk/docs/xslt/src/main/resources/en/fopdf.xsl 2007-06-06 00:41:55 UTC (rev 243)
@@ -10,7 +10,7 @@
-->
<!DOCTYPE xsl:stylesheet [
- <!ENTITY db_xsl_path "../../support/docbook-xsl/">
+ <!ENTITY db_xsl_path "../support/docbook-xsl">
]>
<xsl:stylesheet version="1.0"
xmlns="http://www.w3.org/TR/xhtml1/transitional"
Modified: trunk/docs/xslt/src/main/resources/en/html.xsl
===================================================================
--- trunk/docs/xslt/src/main/resources/en/html.xsl 2007-06-05 22:59:27 UTC (rev 242)
+++ trunk/docs/xslt/src/main/resources/en/html.xsl 2007-06-06 00:41:55 UTC (rev 243)
@@ -15,7 +15,7 @@
-->
<!DOCTYPE xsl:stylesheet [
- <!ENTITY db_xsl_path "../../support/docbook-xsl/">
+ <!ENTITY db_xsl_path "../support/docbook-xsl">
]>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
Copied: trunk/docs/xslt/src/main/resources/support/docbook-dtd (from rev 239,
trunk/docs/xslt/support/docbook-dtd)
Copied: trunk/docs/xslt/src/main/resources/support/docbook-xsl (from rev 239,
trunk/docs/xslt/support/docbook-xsl)