[ajax4jsf-svn-commits] JBoss Ajax4JSF SVN: r244 - in trunk/docs/userguide: en and 2 other directories.

ajax4jsf-svn-commits at lists.jboss.org ajax4jsf-svn-commits at lists.jboss.org
Tue Jun 5 21:21:40 EDT 2007


Author: alexsmirnov
Date: 2007-06-05 21:21:40 -0400 (Tue, 05 Jun 2007)
New Revision: 244

Added:
   trunk/docs/userguide/en/
   trunk/docs/userguide/en/pom.xml
   trunk/docs/userguide/en/src/
   trunk/docs/userguide/en/src/main/docbook/f.xsl
   trunk/docs/userguide/en/src/main/docbook/included/
   trunk/docs/userguide/en/src/main/docbook/included/actionparam.desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
   trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml
   trunk/docs/userguide/en/src/main/docbook/included/outputPanel.desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/poll.desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/region.desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/support.desc.xml
   trunk/docs/userguide/en/src/main/docbook/master.xml
   trunk/docs/userguide/en/src/main/docbook/modules/
Removed:
   trunk/docs/userguide/en-US/
   trunk/docs/userguide/en/images/
   trunk/docs/userguide/en/included/
   trunk/docs/userguide/en/master.xml
   trunk/docs/userguide/en/modules/
   trunk/docs/userguide/en/pom.xml
   trunk/docs/userguide/en/src/main/docbook/included/Actionparam.desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/AjaxListener.xml
   trunk/docs/userguide/en/src/main/docbook/included/ajaxlistener.desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/commandlink.xml
   trunk/docs/userguide/en/src/main/docbook/included/outputPanel.Desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/poll.Desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/region.Desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/support.Desc.xml
   trunk/docs/userguide/en/src/main/docbook/master.xml
Modified:
   trunk/docs/userguide/pom.xml
Log:
reorganize projects for a Maven documentation build

Copied: trunk/docs/userguide/en (from rev 240, trunk/docs/userguide/en-US)

Deleted: trunk/docs/userguide/en/master.xml
===================================================================
--- trunk/docs/userguide/en-US/master.xml	2007-06-05 22:03:41 UTC (rev 240)
+++ trunk/docs/userguide/en/master.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
-"../../../../jbosstools/trunk/documentation/resources/support/docbook-dtd/docbookx.dtd"
-[	<!ENTITY introduction SYSTEM "modules/a4jUGintro.xml">
-	<!ENTITY technicalRequirements SYSTEM "modules/a4jUGtechreqs.xml">
-	<!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 skinnability SYSTEM "modules/a4jUGskinnability.xml">
-	<!ENTITY IDEintegration SYSTEM "modules/a4jUGideintegration.xml">
-	<!ENTITY EVCP SYSTEM "modules/a4jUGevcp.xml">
-	<!ENTITY resourceLinks SYSTEM "modules/a4jUGlinks.xml">
-	<!ENTITY wadParams SYSTEM "modules/AUGWADParams.xml">
-	<!ENTITY FAQ SYSTEM "modules/a4jUGfaq.xml">
-]>
-<book>
-    <bookinfo>
-    	<title>Ajax4jsf Developer Guide</title>
-	<subtitle>A JSF component library and framework for incorporating AJAX into Web applications</subtitle>
-        <copyright>
-			<year>2007</year>
-			<holder>Red Hat</holder>
-	    </copyright>
-    	
-    </bookinfo>
-	<toc/>  
-		&introduction;
-        &technicalRequirements;
-        &envSettings;
-		&getttingStarted;
-		&usingAJAX;
-	   	&componentDetails;
-		&skinnability;
-        &IDEintegration;
-        
-</book>    

Deleted: trunk/docs/userguide/en/pom.xml
===================================================================
--- trunk/docs/userguide/en-US/pom.xml	2007-06-05 22:03:41 UTC (rev 240)
+++ trunk/docs/userguide/en/pom.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -1,20 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
-	<modelVersion>4.0.0</modelVersion>
-
-	<parent>
-		<groupId>org.ajax4jsf.docs</groupId>
-		<artifactId>userguide</artifactId>
-		<version>1.1.2-SNAPSHOT</version>
-		<relativePath>../pom.xml</relativePath>
-	</parent>
-
-	<artifactId>userguide-${translation}</artifactId>
-	<packaging>pom</packaging>
-	<name>Ajax4jsf Manual (${translation})</name>
-
-	<properties>
-		<translation>en-US</translation>
-	</properties>
-
-</project>

Copied: trunk/docs/userguide/en/pom.xml (from rev 243, trunk/docs/userguide/en-US/pom.xml)
===================================================================
--- trunk/docs/userguide/en/pom.xml	                        (rev 0)
+++ trunk/docs/userguide/en/pom.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -0,0 +1,36 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+	<modelVersion>4.0.0</modelVersion>
+
+	<parent>
+		<groupId>org.ajax4jsf.docs</groupId>
+		<artifactId>userguide</artifactId>
+		<version>1.1.2-SNAPSHOT</version>
+		<relativePath>../pom.xml</relativePath>
+	</parent>
+	<groupId>org.ajax4jsf.docs.userguide</groupId>
+	<artifactId>${translation}</artifactId>
+	<packaging>jar</packaging>
+	<name>Ajax4jsf Manual (${translation})</name>
+
+	<properties>
+		<translation>en</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/src (from rev 241, trunk/docs/userguide/en-US/src)

Copied: trunk/docs/userguide/en/src/main/docbook/f.xsl (from rev 243, trunk/docs/userguide/en-US/src/main/docbook/f.xsl)
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/f.xsl	                        (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/f.xsl	2007-06-06 01:21:40 UTC (rev 244)
@@ -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>&lt;<xsl:value-of select="concat('a4j:', $tag_name)" />&gt;</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/src/main/docbook/included (from rev 242, trunk/docs/userguide/en-US/src/main/docbook/included)

Deleted: trunk/docs/userguide/en/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/src/main/docbook/included/Actionparam.desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -1,10 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<section>
-    <para>The <emphasis role="bold">
-        <property>&lt;a4j:actionparam&gt;</property>
-      </emphasis> component combines the functionality of both JSF components:  <emphasis role="bold">
-        <property>&lt;f:param&gt;</property>
-      </emphasis> and <emphasis role="bold">
-        <property>&lt;f:actionListener&gt;</property>
-      </emphasis>.</para>
-</section>
\ No newline at end of file

Deleted: trunk/docs/userguide/en/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/src/main/docbook/included/AjaxListener.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -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/src/main/docbook/included/actionparam.desc.xml (from rev 243, trunk/docs/userguide/en-US/src/main/docbook/included/actionparam.desc.xml)
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/actionparam.desc.xml	                        (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/actionparam.desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<section>
+    <para>The <emphasis role="bold">
+        <property>&lt;a4j:actionparam&gt;</property>
+      </emphasis> component combines the functionality of both JSF components:  <emphasis role="bold">
+        <property>&lt;f:param&gt;</property>
+      </emphasis> and <emphasis role="bold">
+        <property>&lt;f:actionListener&gt;</property>
+      </emphasis>.</para>
+</section>
\ No newline at end of file

Copied: trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml (from rev 243, trunk/docs/userguide/en-US/src/main/docbook/included/ajaxListener.desc.xml)
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml	                        (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -0,0 +1,5 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<section>
+  <para>The <emphasis role="bold"><property>&lt;a4j:ajaxListener&gt;</property></emphasis>
+component is the same one as &quot;ActionListener&quot; or &quot;ValueChangeListener&quot;, but for an AJAX container.</para>
+</section>

Copied: trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml (from rev 243, trunk/docs/userguide/en-US/src/main/docbook/included/ajaxListener.xml)
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml	                        (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -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/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/src/main/docbook/included/ajaxlistener.desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -1,5 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<section>
-  <para>The <emphasis role="bold"><property>&lt;a4j:ajaxListener&gt;</property></emphasis>
-component is the same one as &quot;ActionListener&quot; or &quot;ValueChangeListener&quot;, but for an AJAX container.</para>
-</section>

Copied: trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml (from rev 243, trunk/docs/userguide/en-US/src/main/docbook/included/commandLink.xml)
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml	                        (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -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>&lt;a4j:commandLink&gt;</property></emphasis> is used in the same way as <emphasis role="bold"><property>&lt;h:commandLink&gt;</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, &quot;action1&quot; method performance, and rendering of the component 
+             with &quot;someData&quot; 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>&lt;a4j:commandLink&gt;</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 &quot;A4J.AJAX.Submit&quot; is called on a click, the method performs AJAX request as the <emphasis role="bold"><property>&lt;a4j:support&gt;</property></emphasis> component</para>
+	 <note>
+      <title>Note:</title>
+      <para>AJAX support is built in and it&apos;s not necessary to add nested <emphasis role="bold"><property>&lt;a4j:support&gt;</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>&lt;redirect/&gt;</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>&lt;a4j:commandLink&gt;</property></emphasis> has all attributes described above (see <emphasis role="bold"><property>&lt;a4j:support&gt;</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/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/src/main/docbook/included/commandlink.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -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>&lt;a4j:commandLink&gt;</property></emphasis> is used in the same way as <emphasis role="bold"><property>&lt;h:commandLink&gt;</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, &quot;action1&quot; method performance, and rendering of the component 
-             with &quot;someData&quot; 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>&lt;a4j:commandLink&gt;</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 &quot;A4J.AJAX.Submit&quot; is called on a click, the method performs AJAX request as the <emphasis role="bold"><property>&lt;a4j:support&gt;</property></emphasis> component</para>
-	 <note>
-      <title>Note:</title>
-      <para>AJAX support is built in and it&apos;s not necessary to add nested <emphasis role="bold"><property>&lt;a4j:support&gt;</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>&lt;redirect/&gt;</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>&lt;a4j:commandLink&gt;</property></emphasis> has all attributes described above (see <emphasis role="bold"><property>&lt;a4j:support&gt;</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/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/src/main/docbook/included/outputPanel.Desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -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/src/main/docbook/included/outputPanel.desc.xml (from rev 243, trunk/docs/userguide/en-US/src/main/docbook/included/outputPanel.desc.xml)
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/outputPanel.desc.xml	                        (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/outputPanel.desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -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/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/src/main/docbook/included/poll.Desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -1,9 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<root>
-<section>
-<title>Description</title>
-    <para>The <emphasis role="bold">
-        <property>&lt;a4j:poll&gt;</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/src/main/docbook/included/poll.desc.xml (from rev 243, trunk/docs/userguide/en-US/src/main/docbook/included/poll.desc.xml)
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/poll.desc.xml	                        (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/poll.desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<root>
+<section>
+<title>Description</title>
+    <para>The <emphasis role="bold">
+        <property>&lt;a4j:poll&gt;</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/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/src/main/docbook/included/region.Desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -1,11 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<root>
-<section>
-<title>Description</title>
-  <para>
-The <emphasis role="bold">
-<property>&lt;a4j:region&gt;</property>
-</emphasis> component defines an area that is decoded on the server after AJAX submission.
-</para>
-</section>
-</root>

Copied: trunk/docs/userguide/en/src/main/docbook/included/region.desc.xml (from rev 243, trunk/docs/userguide/en-US/src/main/docbook/included/region.desc.xml)
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/region.desc.xml	                        (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/region.desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<root>
+<section>
+<title>Description</title>
+  <para>
+The <emphasis role="bold">
+<property>&lt;a4j:region&gt;</property>
+</emphasis> component defines an area that is decoded on the server after AJAX submission.
+</para>
+</section>
+</root>

Deleted: trunk/docs/userguide/en/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/src/main/docbook/included/support.Desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -1,9 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<root>
-<section>
-<title>Description</title>
-  <para>The <emphasis role="bold">
-          <property>&lt;a4j:support&gt;</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/src/main/docbook/included/support.desc.xml (from rev 243, trunk/docs/userguide/en-US/src/main/docbook/included/support.desc.xml)
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/support.desc.xml	                        (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/support.desc.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<root>
+<section>
+<title>Description</title>
+  <para>The <emphasis role="bold">
+          <property>&lt;a4j:support&gt;</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

Deleted: trunk/docs/userguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/userguide/en-US/src/main/docbook/master.xml	2007-06-05 22:34:45 UTC (rev 241)
+++ trunk/docs/userguide/en/src/main/docbook/master.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
-"../../../../jbosstools/trunk/documentation/resources/support/docbook-dtd/docbookx.dtd"
-[	<!ENTITY introduction SYSTEM "modules/a4jUGintro.xml">
-	<!ENTITY technicalRequirements SYSTEM "modules/a4jUGtechreqs.xml">
-	<!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 skinnability SYSTEM "modules/a4jUGskinnability.xml">
-	<!ENTITY IDEintegration SYSTEM "modules/a4jUGideintegration.xml">
-	<!ENTITY EVCP SYSTEM "modules/a4jUGevcp.xml">
-	<!ENTITY resourceLinks SYSTEM "modules/a4jUGlinks.xml">
-	<!ENTITY wadParams SYSTEM "modules/AUGWADParams.xml">
-	<!ENTITY FAQ SYSTEM "modules/a4jUGfaq.xml">
-]>
-<book>
-    <bookinfo>
-    	<title>Ajax4jsf Developer Guide</title>
-	<subtitle>A JSF component library and framework for incorporating AJAX into Web applications</subtitle>
-        <copyright>
-			<year>2007</year>
-			<holder>Red Hat</holder>
-	    </copyright>
-    	
-    </bookinfo>
-	<toc/>  
-		&introduction;
-        &technicalRequirements;
-        &envSettings;
-		&getttingStarted;
-		&usingAJAX;
-	   	&componentDetails;
-		&skinnability;
-        &IDEintegration;
-        
-</book>    

Copied: trunk/docs/userguide/en/src/main/docbook/master.xml (from rev 243, trunk/docs/userguide/en-US/src/main/docbook/master.xml)
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/master.xml	                        (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/master.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
+"../../../../jbosstools/trunk/documentation/resources/support/docbook-dtd/docbookx.dtd"
+[	<!ENTITY introduction SYSTEM "modules/a4jUGintro.xml">
+	<!ENTITY technicalRequirements SYSTEM "modules/a4jUGtechreqs.xml">
+	<!ENTITY getttingStarted SYSTEM "modules/a4jUGstart.xml">
+	<!ENTITY envSettings SYSTEM "modules/a4jUGenvsettings.xml">
+	<!ENTITY usingAJAX SYSTEM "modules/a4jUGusingAJAX.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">
+	<!ENTITY resourceLinks SYSTEM "modules/a4jUGlinks.xml">
+	<!ENTITY wadParams SYSTEM "modules/AUGWADParams.xml">
+	<!ENTITY FAQ SYSTEM "modules/a4jUGfaq.xml">
+]>
+<book>
+    <bookinfo>
+    	<title>Ajax4jsf Developer Guide</title>
+	<subtitle>A JSF component library and framework for incorporating AJAX into Web applications</subtitle>
+        <copyright>
+			<year>2007</year>
+			<holder>Red Hat</holder>
+	    </copyright>
+    	
+    </bookinfo>
+	<toc/>  
+		&introduction;
+        &technicalRequirements;
+        &envSettings;
+		&getttingStarted;
+		&usingAJAX;
+	   	&componentDetails;
+		&skinnability;
+        &IDEintegration;
+        
+</book>    

Copied: trunk/docs/userguide/en/src/main/docbook/modules (from rev 242, trunk/docs/userguide/en-US/src/main/docbook/modules)

Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml	2007-06-06 00:41:55 UTC (rev 243)
+++ trunk/docs/userguide/pom.xml	2007-06-06 01:21:40 UTC (rev 244)
@@ -42,6 +42,20 @@
 											${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
@@ -85,10 +99,10 @@
 									<include>*.tld</include>
 								</includes>
 								<outputDir>
-									${project.build.directory}/generated/en/
+									${project.build.directory}/generated/${translation}/
 								</outputDir>
 								<stylesheet>
-									${basedir}/src/main/docbook/f.xsl
+									${project.build.directory}/xslt/${translation}/f.xsl
 								</stylesheet>
 								<fileMappers>
 									<fileMapper
@@ -148,7 +162,7 @@
 							<format>
 								<formatName>pdf</formatName>
 								<stylesheetResource>
-									/en/fopdf.xsl
+									/${translation}/fopdf.xsl
 								</stylesheetResource>
 								<finalName>
 									ajax4jsf_reference.pdf
@@ -157,7 +171,7 @@
 							<format>
 								<formatName>html</formatName>
 								<stylesheetResource>
-									/en/html.xsl
+									/${translation}/html.xsl
 								</stylesheetResource>
 								<finalName>index.html</finalName>
 							</format>
@@ -197,11 +211,11 @@
 		</reporting>
 	-->
 	<properties>
-		<masterTranslation>en-US</masterTranslation>
+		<masterTranslation>en</masterTranslation>
 	</properties>
 
 	<modules>
-		<module>en-US</module>
+		<module>en</module>
 	</modules>
 
 </project>




More information about the ajax4jsf-svn-commits mailing list