JBoss Ajax4JSF SVN: r252 - in trunk/docs/userguide/en/src/main/resources: shared and 1 other directory.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-06-06 18:00:17 -0400 (Wed, 06 Jun 2007)
New Revision: 252
Added:
trunk/docs/userguide/en/src/main/resources/shared/
trunk/docs/userguide/en/src/main/resources/shared/images/
Removed:
trunk/docs/userguide/en/src/main/resources/images/
Log:
move images visible for a pdf generator
Copied: trunk/docs/userguide/en/src/main/resources/shared/images (from rev 248, trunk/docs/userguide/en/src/main/resources/images)
17 years, 6 months
JBoss Ajax4JSF SVN: r251 - in trunk/docs: userguide/en/src/main/docbook and 3 other directories.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-06-06 17:58:25 -0400 (Wed, 06 Jun 2007)
New Revision: 251
Added:
trunk/docs/xslt/support.properties
trunk/docs/xslt/support.xml
Removed:
trunk/docs/xslt/support/support.properties
trunk/docs/xslt/support/support.xml
Modified:
trunk/docs/userguide/build.xml
trunk/docs/userguide/en/src/main/docbook/master.xml
trunk/docs/userguide/pom.xml
trunk/docs/xslt/src/main/resources/en/f.xsl
trunk/docs/xslt/src/main/resources/en/html_chunk.xsl
Log:
Restore ant documentation build, in addition to a maven build.
Modified: trunk/docs/userguide/build.xml
===================================================================
--- trunk/docs/userguide/build.xml 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/userguide/build.xml 2007-06-06 21:58:25 UTC (rev 251)
@@ -1,10 +1,10 @@
<project name="Documentation" default="all.doc" basedir=".">
<!-- Set the following property to generate the doco in the output folder -->
- <property name="build.dir" value="${basedir}/../build/usersguide"/>
+ <property name="build.dir" value="${basedir}/../target/usersguide"/>
<property name="pdf.name" value="ajax4jsf-usersguide.pdf" />
- <import file="../resources/support.xml" />
+ <import file="../xslt/support.xml" />
<target name="all.doc" depends="clean">
<antcall target="lang.all"><param name="lang" value="en"/></antcall>
Modified: trunk/docs/userguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/master.xml 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/userguide/en/src/main/docbook/master.xml 2007-06-06 21:58:25 UTC (rev 251)
@@ -1,6 +1,6 @@
<?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"
+"../../../../../xslt/src/main/resources/support/docbook-dtd/docbookx.dtd"
[ <!ENTITY introduction SYSTEM "modules/a4jUGintro.xml">
<!ENTITY technicalRequirements SYSTEM "modules/a4jUGtechreqs.xml">
<!ENTITY getttingStarted SYSTEM "modules/a4jUGstart.xml">
@@ -30,7 +30,11 @@
&envSettings;
&getttingStarted;
&usingAJAX;
- &componentDetails;
+ <chapter>
+
+ <title>Ajax4jsf components</title>
+ &componentDetails;
+ </chapter>
&skinnability;
&IDEintegration;
Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/userguide/pom.xml 2007-06-06 21:58:25 UTC (rev 251)
@@ -179,11 +179,15 @@
<stylesheetResource>
/${translation}/html.xsl
</stylesheetResource>
- <!--
- <finalName>index.html</finalName>
- -->
+ <finalName>ajax4jsf_reference.html</finalName>
</format>
<format>
+ <formatName>html</formatName>
+ <stylesheetResource>
+ /${translation}/html_chunk.xsl
+ </stylesheetResource>
+ </format>
+ <format>
<formatName>pdf</formatName>
<stylesheetResource>
/${translation}/fopdf.xsl
Modified: trunk/docs/xslt/src/main/resources/en/f.xsl
===================================================================
--- trunk/docs/xslt/src/main/resources/en/f.xsl 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/xslt/src/main/resources/en/f.xsl 2007-06-06 21:58:25 UTC (rev 251)
@@ -9,9 +9,6 @@
<xsl:template match="javaee:taglib | taglib">
<xsl:variable name="excluded-tag-names">header2,header3,header4,header5,header6</xsl:variable>
- <chapter>
-
- <title><xsl:value-of select="$title"/></title>
<xsl:for-each select="javaee:tag | tag">
<!--xsl:value-of select="./name/text()" /-->
@@ -23,7 +20,6 @@
<xsl:call-template name="tag" />
</xsl:if>
</xsl:for-each>
- </chapter>
</xsl:template>
<xsl:template name="tag">
Modified: trunk/docs/xslt/src/main/resources/en/html_chunk.xsl
===================================================================
--- trunk/docs/xslt/src/main/resources/en/html_chunk.xsl 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/xslt/src/main/resources/en/html_chunk.xsl 2007-06-06 21:58:25 UTC (rev 251)
@@ -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"
Deleted: trunk/docs/xslt/support/support.properties
===================================================================
--- trunk/docs/xslt/support/support.properties 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/xslt/support/support.properties 2007-06-06 21:58:25 UTC (rev 251)
@@ -1,2 +0,0 @@
-#Wed Apr 11 15:30:36 EEST 2007
-ajax4jsf.location=E:\\poligon\\SVNLocation\\ajax4jsf\\trunk
Deleted: trunk/docs/xslt/support/support.xml
===================================================================
--- trunk/docs/xslt/support/support.xml 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/xslt/support/support.xml 2007-06-06 21:58:25 UTC (rev 251)
@@ -1,259 +0,0 @@
-<project name="DocSupport" default="all.doc" basedir=".">
-
- <dirname property="support.startdir" file="${ant.file.DocSupport}"/>
-
- <property name="support.basedir" value="${support.startdir}"/>
-
- <property file="${support.startdir}/support.properties" />
-
- <!-- Set build directories for all formats. -->
- <property name="build.dir" value="${basedir}/build"/>
-
- <!-- Support files for build process. -->
- <property name="support.dir" value="${support.basedir}/support"/>
- <property name="styles.dir" value="${support.basedir}/styles"/>
-
- <!-- Set DocBook stylesheets. -->
- <property name="db.style.fopdf" value="fopdf.xsl"/>
- <property name="db.style.html" value="html_chunk.xsl"/>
- <property name="db.style.htmlsingle" value="html.xsl"/>
-
- <property name="maxmem" value="1024m" />
-
- <xmlcatalog id="docbook.catalog">
- <catalogpath path="${support.basedir}/docbook-dtd/catalog.xml" />
- </xmlcatalog>
-
-
- <!-- Classpath for the build tools. -->
- <path id="lib.classpath">
- <fileset dir="${support.dir}/lib">
- <include name="**/saxon1.jar" />
- </fileset>
- <dirset dir="." />
- <fileset dir="${support.dir}/lib">
- <include name="**/*.jar"/>
- <exclude name="**/saxon1.jar"/>
- </fileset>
- </path>
-
- <!-- ################################################################## -->
-
- <target name="all.doc" depends="clean">
- <antcall target="lang.all"><param name="lang" value="en"/></antcall>
- </target>
-
- <!-- ################################################################## -->
-
- <target name="lang.all.bypass.check" unless="lang.all.bypass.disabled">
- <uptodate property="lang.all.bypass.on" targetfile="${build.dir}/${lang}/pdf/${pdf.name}">
- <srcfiles dir="${support.basedir}" includes="**"/>
- <srcfiles dir="${basedir}/${lang}" includes="**"/>
- <srcfiles dir="${basedir}" includes="build.xml"/>
- </uptodate>
- </target>
-
- <target name="lang.all.run" depends="lang.all.bypass.check, lang.all.bypass.message" unless="lang.all.bypass.on">
- <antcall target="clean"/>
- <antcall target="lang.all"/>
- </target>
-
- <target name="lang.all.bypass.message" if="lang.all.bypass.on">
- <echo>Already uptodate: ${build.dir}/${lang}/pdf/${pdf.name}</echo>
- <echo>add -Dlang.all.bypass.disabled=true to force a rebuild</echo>
- </target>
-
- <!-- ################################################################## -->
-
- <target name="lang.dochtml.bypass.check" unless="lang.dochtml.bypass.disabled">
- <uptodate property="lang.dochtml.bypass.on" targetfile="${build.dir}/${lang}/html/index.html">
- <srcfiles dir="${support.basedir}" includes="**"/>
- <srcfiles dir="${basedir}/${lang}" includes="**"/>
- <srcfiles dir="${basedir}" includes="build.xml"/>
- </uptodate>
- </target>
-
- <target name="lang.dochtml.run" depends="lang.dochtml.bypass.check, lang.dochtml.bypass.message" unless="lang.dochtml.bypass.on">
- <antcall target="clean.dochtml"/>
- <antcall target="lang.dochtml"/>
- <antcall target="lang.dochtmlsingle"/>
- </target>
-
- <target name="lang.dochtml.bypass.message" if="lang.dochtml.bypass.on">
- <echo>Already uptodate: ${build.dir}/${lang}/html/index.html</echo>
- <echo>add -Dlang.dochtml.bypass.disabled=true to force a rebuild</echo>
- </target>
-
- <!-- ################################################################## -->
-
- <target name="clean">
- <!-- Delete build directory. -->
- <delete dir="${build.dir}"/>
- </target>
-
- <target name="clean.dochtml">
- <!-- Delete build directory for single html -->
- <delete dir="${build.dir}/${lang}/html"/>
- <delete dir="${build.dir}/${lang}/html_single"/>
- </target>
-
- <target name="collect-tld">
- <mkdir dir="../build/generated/${lang}" />
- <copy flatten="yes" todir="../build/generated/${lang}">
- <fileset dir="${ajax4jsf.location}">
- <include name="framework/target/classes/META-INF/*.tld"/>
- </fileset>
-
- </copy>
- <touch>
- <fileset dir="../build/generated/${lang}">
- <include name="*.tld" />
- </fileset>
- </touch>
- </target>
-
- <!-- - - - - - - - - - - - - - - - - -
- target: tld2docbook
- - - - - - - - - - - - - - - - - - -->
- <target name="tld2docbook" depends="collect-tld">
- <!--Target must be started for every component in library till
- the one tld file for all the components isn't present-->
- <xslt classpathref="lib.classpath" style="f.xsl" basedir="../build/generated/${lang}" destdir="../build/generated/${lang}">
- <include name="*.tld"/>
-
- <mapper type="glob" from="*.tld" to="*_table.xml" />
-
- <param name="lang" expression="${lang}"/>
- </xslt>
- <!--End of the tld process-->
- </target>
-
-
-
- <!-- ################################################################## -->
-
- <target name="lang.all">
- <antcall target="lang.docpdf"/>
- <antcall target="lang.dochtml"/>
- <antcall target="lang.dochtmlsingle"/>
- <!--
- <antcall target="lang.htmlmisc"/>
- -->
- </target>
-
- <target name="lang.docpdf" depends="tld2docbook">
- <!-- Copy all the images to the output location,
- will be removed later. -->
- <copy todir="${build.dir}/${lang}/pdf/images">
- <fileset dir="${basedir}/${lang}/images">
- <include name="**/*.png"/>
- <include name="**/*.svg"/>
- <include name="**/*.gif"/>
- <include name="**/*.jpg"/>
- </fileset>
- </copy>
-
- <!-- Create the XSL/FO temporary file. -->
-
- <java classname="com.icl.saxon.StyleSheet"
- maxmemory="${maxmem}"
- fork="true" dir="${basedir}">
- <classpath refid="lib.classpath"/>
- <arg value="-o" />
- <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
- <arg value="${basedir}/${lang}/master.xml"/>
- <arg value="${styles.dir}/${lang}/${db.style.fopdf}"/>
- </java>
-
-
-<!--
- <xslt out="${build.dir}/${lang}/pdf/docbook_fop.tmp"
- in="${basedir}/${lang}/master.xml"
- style="${styles.dir}/${lang}/${db.style.fopdf}">
- <xmlcatalog refid="docbook.catalog"/>
- </xslt>
--->
- <!-- Create a PDF from the XSL/FO. -->
- <java classname="org.apache.fop.apps.Fop"
- maxmemory="${maxmem}"
- fork="true" dir="${basedir}">
- <classpath refid="lib.classpath"/>
- <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
- <arg value="${build.dir}/${lang}/pdf/${pdf.name}"/>
- </java>
-
- <!-- Delete temporary files. -->
- <delete file="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
- <delete dir="${build.dir}/${lang}/pdf/images"/>
- </target>
-
- <target name="lang.dochtml" depends="tld2docbook">
- <mkdir dir="${build.dir}/${lang}/html/"/>
-
- <!-- Copy all the images to the output location -->
- <copy todir="${build.dir}/${lang}/html/images">
- <fileset dir="${basedir}/${lang}/images">
- <include name="**/*.png"/>
- <include name="**/*.gif"/>
- <include name="**/*.jpg"/>
- </fileset>
- </copy>
- <copy todir="${build.dir}/${lang}/html/css">
- <fileset dir="${styles.dir}/${lang}">
- <include name="**/*.css"/>
- </fileset>
- </copy>
-
- <java classname="com.icl.saxon.StyleSheet"
- fork="true" dir="${build.dir}/${lang}/html">
- <classpath refid="lib.classpath"/>
- <arg value="${basedir}/${lang}/master.xml"/>
- <arg value="${styles.dir}/${lang}/${db.style.html}"/>
- </java>
- </target>
-
- <target name="lang.dochtmlsingle" depends="tld2docbook">
- <mkdir dir="${build.dir}/${lang}/html_single/"/>
-
- <!-- Copy all the images to the output location -->
- <copy todir="${build.dir}/${lang}/html_single/images">
- <fileset dir="${basedir}/${lang}/images">
- <include name="**/*.png"/>
- <include name="**/*.gif"/>
- <include name="**/*.jpg"/>
- </fileset>
- </copy>
- <copy todir="${build.dir}/${lang}/html_single/css">
- <fileset dir="${styles.dir}/${lang}">
- <include name="**/*.css"/>
- </fileset>
- </copy>
-
- <java classname="com.icl.saxon.StyleSheet"
- fork="true" dir="${basedir}">
- <classpath refid="lib.classpath"/>
- <arg value="-o"/>
- <arg value="${build.dir}/${lang}/html_single/index.html"/>
- <arg value="${basedir}/${lang}/master.xml"/>
- <arg value="${styles.dir}/${lang}/${db.style.htmlsingle}"/>
- </java>
- </target>
-
- <!-- I do not really like to have external dependency for HTML pages
- So, I am not using this task ... -->
- <target name="lang.htmlmisc" depends="tld2docbook">
- <!-- Copy images and CSS for HTML documentation, language specific. -->
- <copy todir="${build.dir}/${lang}/shared/images">
- <fileset dir="${basedir}/${lang}/images">
- <include name="**/*.png"/>
- <include name="**/*.gif"/>
- </fileset>
- </copy>
-
- <copy todir="${build.dir}/${lang}/shared/css">
- <fileset dir="${styles.dir}/${lang}">
- <include name="**/*.css"/>
- </fileset>
- </copy>
- </target>
-</project>
Copied: trunk/docs/xslt/support.properties (from rev 248, trunk/docs/xslt/support/support.properties)
===================================================================
--- trunk/docs/xslt/support.properties (rev 0)
+++ trunk/docs/xslt/support.properties 2007-06-06 21:58:25 UTC (rev 251)
@@ -0,0 +1,2 @@
+#Wed Apr 11 15:30:36 EEST 2007
+ajax4jsf.location=${support.startdir}/../..
Copied: trunk/docs/xslt/support.xml (from rev 248, trunk/docs/xslt/support/support.xml)
===================================================================
--- trunk/docs/xslt/support.xml (rev 0)
+++ trunk/docs/xslt/support.xml 2007-06-06 21:58:25 UTC (rev 251)
@@ -0,0 +1,259 @@
+<project name="DocSupport" default="all.doc" basedir=".">
+
+ <dirname property="support.startdir" file="${ant.file.DocSupport}"/>
+
+ <property name="support.basedir" value="${support.startdir}"/>
+
+ <property file="${support.startdir}/support.properties" />
+
+ <!-- Set build directories for all formats. -->
+ <property name="build.dir" value="${basedir}/build"/>
+
+ <!-- Support files for build process. -->
+ <property name="support.dir" value="${support.basedir}/support"/>
+ <property name="styles.dir" value="${support.basedir}/src/main/resources"/>
+
+ <!-- Set DocBook stylesheets. -->
+ <property name="db.style.fopdf" value="fopdf.xsl"/>
+ <property name="db.style.html" value="html_chunk.xsl"/>
+ <property name="db.style.htmlsingle" value="html.xsl"/>
+
+ <property name="maxmem" value="1024m" />
+
+ <xmlcatalog id="docbook.catalog">
+ <catalogpath path="${support.basedir}/src/main/resources/support/docbook-dtd/catalog.xml" />
+ </xmlcatalog>
+
+
+ <!-- Classpath for the build tools. -->
+ <path id="lib.classpath">
+ <fileset dir="${support.dir}/lib">
+ <include name="**/saxon1.jar" />
+ </fileset>
+ <dirset dir="." />
+ <fileset dir="${support.dir}/lib">
+ <include name="**/*.jar"/>
+ <exclude name="**/saxon1.jar"/>
+ </fileset>
+ </path>
+
+ <!-- ################################################################## -->
+
+ <target name="all.doc" depends="clean">
+ <antcall target="lang.all"><param name="lang" value="en"/></antcall>
+ </target>
+
+ <!-- ################################################################## -->
+
+ <target name="lang.all.bypass.check" unless="lang.all.bypass.disabled">
+ <uptodate property="lang.all.bypass.on" targetfile="${build.dir}/${lang}pdf/${pdf.name}">
+ <srcfiles dir="${support.basedir}" includes="**"/>
+ <srcfiles dir="${basedir}/${lang}" includes="**"/>
+ <srcfiles dir="${basedir}" includes="build.xml"/>
+ </uptodate>
+ </target>
+
+ <target name="lang.all.run" depends="lang.all.bypass.check, lang.all.bypass.message" unless="lang.all.bypass.on">
+ <antcall target="clean"/>
+ <antcall target="lang.all"/>
+ </target>
+
+ <target name="lang.all.bypass.message" if="lang.all.bypass.on">
+ <echo>Already uptodate: ${build.dir}/${lang}pdf/${pdf.name}</echo>
+ <echo>add -Dlang.all.bypass.disabled=true to force a rebuild</echo>
+ </target>
+
+ <!-- ################################################################## -->
+
+ <target name="lang.dochtml.bypass.check" unless="lang.dochtml.bypass.disabled">
+ <uptodate property="lang.dochtml.bypass.on" targetfile="${build.dir}/${lang}html/index.html">
+ <srcfiles dir="${support.basedir}" includes="**"/>
+ <srcfiles dir="${basedir}/${lang}" includes="**"/>
+ <srcfiles dir="${basedir}" includes="build.xml"/>
+ </uptodate>
+ </target>
+
+ <target name="lang.dochtml.run" depends="lang.dochtml.bypass.check, lang.dochtml.bypass.message" unless="lang.dochtml.bypass.on">
+ <antcall target="clean.dochtml"/>
+ <antcall target="lang.dochtml"/>
+ <antcall target="lang.dochtmlsingle"/>
+ </target>
+
+ <target name="lang.dochtml.bypass.message" if="lang.dochtml.bypass.on">
+ <echo>Already uptodate: ${build.dir}/${lang}html/index.html</echo>
+ <echo>add -Dlang.dochtml.bypass.disabled=true to force a rebuild</echo>
+ </target>
+
+ <!-- ################################################################## -->
+
+ <target name="clean">
+ <!-- Delete build directory. -->
+ <delete dir="${build.dir}"/>
+ </target>
+
+ <target name="clean.dochtml">
+ <!-- Delete build directory for single html -->
+ <delete dir="${build.dir}/${lang}html"/>
+ <delete dir="${build.dir}/${lang}html_single"/>
+ </target>
+
+ <target name="collect-tld">
+ <mkdir dir="${basedir}/${lang}/target/generated" />
+ <copy flatten="yes" todir="${basedir}/${lang}/target/generated">
+ <fileset dir="${ajax4jsf.location}">
+ <include name="framework/target/classes/META-INF/*.tld"/>
+ </fileset>
+
+ </copy>
+ <touch>
+ <fileset dir="${basedir}/${lang}/target/generated">
+ <include name="*.tld" />
+ </fileset>
+ </touch>
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: tld2docbook
+ - - - - - - - - - - - - - - - - - -->
+ <target name="tld2docbook" depends="collect-tld">
+ <!--Target must be started for every component in library till
+ the one tld file for all the components isn't present-->
+ <xslt classpathref="lib.classpath" style="${styles.dir}/${lang}/f.xsl" basedir="${basedir}/${lang}/target/generated" destdir="${basedir}/${lang}/target/generated">
+ <include name="*.tld"/>
+
+ <mapper type="glob" from="*.tld" to="*.xml" />
+
+ <param name="lang" expression="${basedir}/${lang}/src/main/docbook"/>
+ </xslt>
+ <!--End of the tld process-->
+ </target>
+
+
+
+ <!-- ################################################################## -->
+
+ <target name="lang.all">
+ <antcall target="lang.docpdf"/>
+ <antcall target="lang.dochtml"/>
+ <antcall target="lang.dochtmlsingle"/>
+ <!--
+ <antcall target="lang.htmlmisc"/>
+ -->
+ </target>
+
+ <target name="lang.docpdf" depends="tld2docbook">
+ <!-- Copy all the images to the output location,
+ will be removed later. -->
+ <copy todir="${build.dir}/${lang}/pdf/images">
+ <fileset dir="${basedir}/${lang}/src/main/resources/images">
+ <include name="**/*.png"/>
+ <include name="**/*.svg"/>
+ <include name="**/*.gif"/>
+ <include name="**/*.jpg"/>
+ </fileset>
+ </copy>
+
+ <!-- Create the XSL/FO temporary file. -->
+
+ <java classname="com.icl.saxon.StyleSheet"
+ maxmemory="${maxmem}"
+ fork="true" dir="${basedir}">
+ <classpath refid="lib.classpath"/>
+ <arg value="-o" />
+ <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
+ <arg value="${basedir}/${lang}/src/main/docbook/master.xml"/>
+ <arg value="${styles.dir}/${lang}/${db.style.fopdf}"/>
+ </java>
+
+
+<!--
+ <xslt out="${build.dir}/${lang}pdf/docbook_fop.tmp"
+ in="${basedir}/${lang}/src/main/docbook/master.xml"
+ style="${styles.dir}/${lang}/${db.style.fopdf}">
+ <xmlcatalog refid="docbook.catalog"/>
+ </xslt>
+-->
+ <!-- Create a PDF from the XSL/FO. -->
+ <java classname="org.apache.fop.apps.Fop"
+ maxmemory="${maxmem}"
+ fork="true" dir="${basedir}">
+ <classpath refid="lib.classpath"/>
+ <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
+ <arg value="${build.dir}/${lang}/pdf/${pdf.name}"/>
+ </java>
+
+ <!-- Delete temporary files. -->
+ <delete file="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
+ <delete dir="${build.dir}/${lang}/pdf/images"/>
+ </target>
+
+ <target name="lang.dochtml" depends="tld2docbook">
+ <mkdir dir="${build.dir}/${lang}/html/"/>
+
+ <!-- Copy all the images to the output location -->
+ <copy todir="${build.dir}/${lang}/html/images">
+ <fileset dir="${basedir}/${lang}/src/main/resources/images">
+ <include name="**/*.png"/>
+ <include name="**/*.gif"/>
+ <include name="**/*.jpg"/>
+ </fileset>
+ </copy>
+ <copy todir="${build.dir}/${lang}/html/css">
+ <fileset dir="${styles.dir}/${lang}">
+ <include name="**/*.css"/>
+ </fileset>
+ </copy>
+
+ <java classname="com.icl.saxon.StyleSheet"
+ fork="true" dir="${build.dir}/${lang}/html">
+ <classpath refid="lib.classpath"/>
+ <arg value="${basedir}/${lang}/src/main/docbook/master.xml"/>
+ <arg value="${styles.dir}/${lang}/${db.style.html}"/>
+ </java>
+ </target>
+
+ <target name="lang.dochtmlsingle" depends="tld2docbook">
+ <mkdir dir="${build.dir}/${lang}/html_single/"/>
+
+ <!-- Copy all the images to the output location -->
+ <copy todir="${build.dir}/${lang}/html_single/images">
+ <fileset dir="${basedir}/${lang}/src/main/resources/images">
+ <include name="**/*.png"/>
+ <include name="**/*.gif"/>
+ <include name="**/*.jpg"/>
+ </fileset>
+ </copy>
+ <copy todir="${build.dir}/${lang}/html_single/css">
+ <fileset dir="${styles.dir}/${lang}">
+ <include name="**/*.css"/>
+ </fileset>
+ </copy>
+
+ <java classname="com.icl.saxon.StyleSheet"
+ fork="true" dir="${basedir}">
+ <classpath refid="lib.classpath"/>
+ <arg value="-o"/>
+ <arg value="${build.dir}/${lang}/html_single/index.html"/>
+ <arg value="${basedir}/${lang}/src/main/docbook/master.xml"/>
+ <arg value="${styles.dir}/${lang}/${db.style.htmlsingle}"/>
+ </java>
+ </target>
+
+ <!-- I do not really like to have external dependency for HTML pages
+ So, I am not using this task ... -->
+ <target name="lang.htmlmisc" depends="tld2docbook">
+ <!-- Copy images and CSS for HTML documentation, language specific. -->
+ <copy todir="${build.dir}/${lang}/shared/images">
+ <fileset dir="${basedir}/${lang}/images">
+ <include name="**/*.png"/>
+ <include name="**/*.gif"/>
+ </fileset>
+ </copy>
+
+ <copy todir="${build.dir}/${lang}/shared/css">
+ <fileset dir="${styles.dir}/${lang}">
+ <include name="**/*.css"/>
+ </fileset>
+ </copy>
+ </target>
+</project>
17 years, 6 months
JBoss Ajax4JSF SVN: r250 - trunk/docs/userguide.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-06-06 14:41:00 -0400 (Wed, 06 Jun 2007)
New Revision: 250
Modified:
trunk/docs/userguide/pom.xml
Log:
reorganize projects for a Maven documentation build
Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml 2007-06-06 16:57:37 UTC (rev 249)
+++ trunk/docs/userguide/pom.xml 2007-06-06 18:41:00 UTC (rev 250)
@@ -13,23 +13,21 @@
<version>1.1.2-SNAPSHOT</version>
<packaging>pom</packaging>
<description>Ajax4jsf user guide</description>
- <pluginRepositories>
- <pluginRepository>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- <updatePolicy>never</updatePolicy>
- </snapshots>
- <id>repository.jboss.com</id>
- <name>Jboss Repository for Maven</name>
- <url>
- http://repository.jboss.com/maven2/
- </url>
- <layout>default</layout>
- </pluginRepository>
- </pluginRepositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ <id>repository.jboss.com</id>
+ <name>Jboss Repository for Maven</name>
+ <url>http://repository.jboss.com/maven2/</url>
+ <layout>default</layout>
+ </pluginRepository>
+ </pluginRepositories>
<build>
<pluginManagement>
<plugins>
@@ -60,10 +58,10 @@
</outputDirectory>
</artifactItem>
<artifactItem>
- <groupId>org.ajax4jsf.docs</groupId>
- <artifactId>
- xslt
- </artifactId>
+ <groupId>
+ org.ajax4jsf.docs
+ </groupId>
+ <artifactId>xslt</artifactId>
<version>
${project.version}
</version>
@@ -138,9 +136,7 @@
</parameter>
<parameter>
<name>title</name>
- <value>
- ${project.name}
- </value>
+ <value>${project.name}</value>
</parameter>
</parameters>
</transformationSet>
@@ -171,12 +167,23 @@
<sourceDirectory>
${basedir}/src/main/docbook
</sourceDirectory>
- <targetDirectory>${project.build.outputDirectory}</targetDirectory>
+ <targetDirectory>
+ ${project.build.outputDirectory}
+ </targetDirectory>
<sourceDocumentName>
master.xml
</sourceDocumentName>
<formats>
<format>
+ <formatName>html</formatName>
+ <stylesheetResource>
+ /${translation}/html.xsl
+ </stylesheetResource>
+ <!--
+ <finalName>index.html</finalName>
+ -->
+ </format>
+ <format>
<formatName>pdf</formatName>
<stylesheetResource>
/${translation}/fopdf.xsl
@@ -185,13 +192,6 @@
ajax4jsf_reference.pdf
</finalName>
</format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>
- /${translation}/html.xsl
- </stylesheetResource>
- <finalName>index.html</finalName>
- </format>
</formats>
<xincludeSupported>true</xincludeSupported>
<options>
17 years, 6 months
JBoss Ajax4JSF SVN: r249 - in trunk/docs: xslt and 1 other directory.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-06-06 12:57:37 -0400 (Wed, 06 Jun 2007)
New Revision: 249
Modified:
trunk/docs/pom.xml
trunk/docs/xslt/pom.xml
Log:
Fix documentation projects hierarchy
Modified: trunk/docs/pom.xml
===================================================================
--- trunk/docs/pom.xml 2007-06-06 14:53:03 UTC (rev 248)
+++ trunk/docs/pom.xml 2007-06-06 16:57:37 UTC (rev 249)
@@ -1,9 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>master</artifactId>
+ <groupId>org.ajax4jsf</groupId>
+ <version>1.1.2-SNAPSHOT</version>
+ </parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.ajax4jsf</groupId>
<artifactId>docs</artifactId>
- <version>1.1.2-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>xslt</module>
Modified: trunk/docs/xslt/pom.xml
===================================================================
--- trunk/docs/xslt/pom.xml 2007-06-06 14:53:03 UTC (rev 248)
+++ trunk/docs/xslt/pom.xml 2007-06-06 16:57:37 UTC (rev 249)
@@ -1,9 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>docs</artifactId>
+ <groupId>org.ajax4jsf</groupId>
+ <version>1.1.2-SNAPSHOT</version>
+ </parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.ajax4jsf.docs</groupId>
<artifactId>xslt</artifactId>
- <version>1.1.2-SNAPSHOT</version>
<description>Docbook documentation stylesheets</description>
</project>
17 years, 6 months
JBoss Ajax4JSF SVN: r248 - trunk/cdk/generator/src/main/resources/META-INF/schema/entities.
by ajax4jsf-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-06-06 10:53:03 -0400 (Wed, 06 Jun 2007)
New Revision: 248
Modified:
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_output_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_region_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/display_value_only_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/draggable_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/dropzone_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_input_text_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_input_textarea_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_message_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_messages_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_boolean_checkbox_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_many_checkbox_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_many_listbox_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_listbox_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_menu_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_radio_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_item_attributes.ent
Log:
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -15,13 +15,13 @@
<property >
<name>ajaxSingle</name>
<classname>boolean</classname>
- <description>if true, submits ONLY one field/link, instead of all form controls</description>
+ <description>if "true", submits ONLY one field/link, instead of all form controls</description>
</property>
<property >
<name>bypassUpdates</name>
<classname>boolean</classname>
- <description>If true, after process validations phase it skips updates of model beans on a force render response. It can be used for validating components input</description>
+ <description>If "true", after process validations phase it skips updates of model beans on a force render response. It can be used for validating components input</description>
</property>
<property >
@@ -73,7 +73,7 @@
<name>ignoreDupResponses</name>
<classname>boolean</classname>
<description>
- If true, unfinished request will be aborted on new event
+ If "true", unfinished request will be aborted on new event
</description>
</property>
<property>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_output_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_output_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_output_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -12,7 +12,7 @@
<name>keepTransient</name>
<classname>boolean</classname>
<description><![CDATA[
- Flag for mark all child components to non-transient. If true, all children components will be set to non-transient state and keep in saved components tree.
+ Flag for mark all child components to non-transient. If "true", all children components will be set to non-transient state and keep in saved components tree.
For output in self-renderer region all content (By default, all content in <f:verbatim> tags and non-jsf elements in facelets, marked as transient - since, self-rendered ajax regions don't plain output for ajax processing).
]]></description>
<defaultvalue>false</defaultvalue>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_region_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_region_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_region_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -13,7 +13,7 @@
<property >
<name>selfRendered</name>
<classname>boolean</classname>
- <description>if 'true' , self-render subtree at InvokeApplication ( or Decode, if immediate property set to true ) phase </description>
+ <description>if "true", self-render subtree at InvokeApplication ( or Decode, if immediate property set to true ) phase </description>
</property>
<property >
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/display_value_only_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/display_value_only_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/display_value_only_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -3,7 +3,7 @@
<property>
<name>displayValueOnly</name><classname>java.lang.String</classname><description>
- If true, renders only the value of the component, but no input widget.
+ If "true", renders only the value of the component, but no input widget.
Default is false
</description>
</property>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/draggable_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/draggable_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/draggable_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -2,7 +2,7 @@
<property >
<name>dragValue</name>
<classname>java.lang.Object</classname>
- <description><![CDATA[Data to be sent to the drop zone after a drop event.]]></description>
+ <description><![CDATA[Data to be sent to the drop zone after a drop event]]></description>
</property>
<property>
<name>dragType</name>
@@ -12,7 +12,7 @@
<property>
<name>dragIndicator</name>
<classname>java.lang.String</classname>
- <description><![CDATA[Id of the dragIndicator component used as drag operation cursor.]]></description>
+ <description><![CDATA[Id of the dragIndicator component used as drag operation cursor]]></description>
</property>
<property >
<name>ondragstart</name>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/dropzone_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/dropzone_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/dropzone_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -2,7 +2,7 @@
<property >
<name>dropValue</name>
<classname>java.lang.Object</classname>
- <description><![CDATA[Data to be processed after a drop event.]]></description>
+ <description><![CDATA[Data to be processed after a drop event]]></description>
</property>
<property>
<name>typeMapping</name>
@@ -13,7 +13,7 @@
<property>
<name>acceptedTypes</name>
<classname>java.lang.Object</classname>
- <description><![CDATA[List of drag types to be processd by the current drop zone.]]></description>
+ <description><![CDATA[List of drag types to be processd by the current drop zone]]></description>
<!-- <defaultvalue><![CDATA[]]></defaultvalue> -->
</property>
<property >
@@ -40,7 +40,7 @@
<name>dropListener</name>
<classname>javax.faces.el.MethodBinding</classname>
<description><![CDATA[
- MethodBinding representing an action listener method that will be notified afrer drop operation.
+ MethodBinding representing an action listener method that will be notified afrer drop operation
]]>
</description>
<methodargs>org.ajax4jsf.dnd.event.DropEvent.class</methodargs>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_input_text_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_input_text_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_input_text_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -26,7 +26,7 @@
<name>immediate</name><classname>java.lang.String</classname><description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase</description>
</property>
<property>
- <name>required</name><classname>java.lang.String</classname><description>If true, this component will be checked for non-empty input</description>
+ <name>required</name><classname>java.lang.String</classname><description>If "true", this component will be checked for non-empty input</description>
</property>
<property>
<name>validator</name><classname>java.lang.String</classname><description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component</description>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_input_textarea_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_input_textarea_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_input_textarea_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -26,7 +26,7 @@
<name>immediate</name><classname>java.lang.String</classname><description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase</description>
</property>
<property>
- <name>required</name><classname>java.lang.String</classname><description>If true, this component will be checked for non-empty input</description>
+ <name>required</name><classname>java.lang.String</classname><description>If "true", this component will be checked for non-empty input</description>
</property>
<property>
<name>validator</name><classname>java.lang.String</classname><description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component</description>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_message_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_message_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_message_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -105,7 +105,7 @@
</property>
<property>
<name>tooltip</name><classname>java.lang.String</classname><description>
- If true, the message summary will be rendered as a tooltip (i.e. HTML title attribute)
+ If "true", the message summary will be rendered as a tooltip (i.e. HTML title attribute)
</description>
</property>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_messages_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_messages_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_messages_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -109,7 +109,7 @@
</property>
<property>
<name>tooltip</name><classname>java.lang.String</classname><description>
- If true, the message summary will be rendered as a tooltip (i.e. HTML title attribute)
+ If "true", the message summary will be rendered as a tooltip (i.e. HTML title attribute)
</description>
</property>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_boolean_checkbox_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_boolean_checkbox_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_boolean_checkbox_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -27,7 +27,7 @@
<name>immediate</name><classname>java.lang.String</classname><description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase</description>
</property>
<property>
- <name>required</name><classname>java.lang.String</classname><description>If true, this component will be checked for non-empty input</description>
+ <name>required</name><classname>java.lang.String</classname><description>If "true", this component will be checked for non-empty input</description>
</property>
<property>
<name>validator</name><classname>java.lang.String</classname><description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component</description>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_many_checkbox_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_many_checkbox_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_many_checkbox_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -27,7 +27,7 @@
<name>immediate</name><classname>java.lang.String</classname><description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase</description>
</property>
<property>
- <name>required</name><classname>java.lang.String</classname><description>If true, this component will be checked for non-empty input</description>
+ <name>required</name><classname>java.lang.String</classname><description>If "true", this component will be checked for non-empty input</description>
</property>
<property>
<name>validator</name><classname>java.lang.String</classname><description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component</description>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_many_listbox_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_many_listbox_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_many_listbox_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -26,7 +26,7 @@
<name>immediate</name><classname>java.lang.String</classname><description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase</description>
</property>
<property>
- <name>required</name><classname>java.lang.String</classname><description>If true, this component will be checked for non-empty input</description>
+ <name>required</name><classname>java.lang.String</classname><description>If "true", this component will be checked for non-empty input</description>
</property>
<property>
<name>validator</name><classname>java.lang.String</classname><description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component</description>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_listbox_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_listbox_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_listbox_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -26,7 +26,7 @@
<name>immediate</name><classname>java.lang.String</classname><description> Flag indicating that this component value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until a Process Validations phase</description>
</property>
<property>
- <name>required</name><classname>java.lang.String</classname><description>If true, this component is checked for non-empty input</description>
+ <name>required</name><classname>java.lang.String</classname><description>If "true", this component is checked for non-empty input</description>
</property>
<property>
<name>validator</name><classname>java.lang.String</classname><description>MethodBinding pointing at a method that is called during Process Validations phase of a request processing lifecycle, to validate the current value of this component</description>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_menu_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_menu_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_menu_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -27,7 +27,7 @@
<name>immediate</name><classname>java.lang.String</classname><description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase</description>
</property>
<property>
- <name>required</name><classname>java.lang.String</classname><description>If true, this component will be checked for non-empty input</description>
+ <name>required</name><classname>java.lang.String</classname><description>If "true", this component will be checked for non-empty input</description>
</property>
<property>
<name>validator</name><classname>java.lang.String</classname><description>Method Binding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component</description>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_radio_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_radio_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/standard_select_one_radio_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -27,7 +27,7 @@
<name>immediate</name><classname>java.lang.String</classname><description>A flag indicating that this component value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until a Process Validations phase</description>
</property>
<property>
- <name>required</name><classname>java.lang.String</classname><description>If true, this component will be checked for non-empty input</description>
+ <name>required</name><classname>java.lang.String</classname><description>If "true", this component will be checked for non-empty input</description>
</property>
<property>
<name>validator</name><classname>java.lang.String</classname><description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component</description>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_item_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_item_attributes.ent 2007-06-06 02:17:31 UTC (rev 247)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_item_attributes.ent 2007-06-06 14:53:03 UTC (rev 248)
@@ -13,7 +13,7 @@
<name>itemDisabled</name>
<classname>boolean</classname>
<description>
- If true, this component isn't saved during state saving
+ If "true", this component isn't saved during state saving
</description>
</property>
<property>
17 years, 6 months
JBoss Ajax4JSF SVN: r247 - in trunk: cdk/generator/src/main/resources/META-INF/templates and 4 other directories.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-06-05 22:17:31 -0400 (Tue, 05 Jun 2007)
New Revision: 247
Added:
trunk/faces-config.vm.patch
Modified:
trunk/cdk/generator/src/main/resources/META-INF/templates/faces-config.vm
trunk/cdk/generator/src/main/resources/META-INF/templates12/faces-config.vm
trunk/docs/userguide/pom.xml
trunk/docs/xslt/src/main/resources/en/f.xsl
trunk/pom.xml
trunk/src/main/assembly/distribution.xml
Log:
Generate project documentation by Maven.
Modified: trunk/cdk/generator/src/main/resources/META-INF/templates/faces-config.vm
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/templates/faces-config.vm 2007-06-06 02:05:53 UTC (rev 246)
+++ trunk/cdk/generator/src/main/resources/META-INF/templates/faces-config.vm 2007-06-06 02:17:31 UTC (rev 247)
@@ -1,103 +1,110 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
- "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
-<faces-config>
-
-${facesConfig.includeContent}
-
-#foreach( $validator in ${validators})
- <validator>
- <validator-id>${validator.id}</validator-id>
- <validator-class>${validator.classname}</validator-class>
- #if(${validator.description})
- <description>${validator.description}</description>
- #end
- #if(${validator.displayname})
- <display-name>${validator.displayname}</display-name>
- #end
- #if(${validator.icon})
- <icon>${validator.icon}</icon>
- #end
- </validator>
-#end
-
-#foreach( $converter in ${converters})
- <converter>
- <converter-id>${converter.id}</converter-id>
- <converter-class>${converter.classname}</converter-class>
- #if(${converter.description})
- <description>${converter.description}</description>
- #end
- #if(${converter.displayname})
- <display-name>${converter.displayname}</display-name>
- #end
- #if(${converter.icon})
- <icon>${converter.icon}</icon>
- #end
- </converter>
-#end
-
-
-
-#foreach( $component in ${components})
-#if( $component.generate )
- <component>
- #if(${component.description})
- <description>${component.xmlEncodedDescription}</description>
- #end
- #if(${component.displayname})
- <display-name>${component.xmlEncodedDisplayname}</display-name>
- #end
- <component-type>${component.name}</component-type>
- <component-class>${component.classname}</component-class>
-
-#foreach( $facet in $component.facets)
- <facet>
- #if(${facet.description})
- <description>${facet.xmlEncodedDescription}</description>
- #end
- #if(${facet.displayname})
- <display-name>${facet.xmlEncodedDisplayname}</display-name>
- #end
- <facet-name>${facet.name}</facet-name>
- </facet>
-#end
- #if(${component.renderer})
- <component-extension>
- <component-family>${component.family}</component-family>
- <renderer-type>${component.renderer.name}</renderer-type>
- </component-extension>
- #end
- </component>
-#end
-#end
-
-#foreach( $renderkit in $facesConfig.renderKits)
- <render-kit>
- #if(${renderkit.renderkitid})
- <render-kit-id>${renderkit.renderkitid}</render-kit-id>
- #if(${renderkit.renderkitclass})
- <render-kit-class>${renderkit.renderkitclass}</render-kit-class>
- #end
- #end
-#foreach( $component in $components)
- #if($component.renderer)
- #set($rendererClass = $renderkit.rendererClass($component.renderer.classname) )
- #if( $component.renderer.generate || $facesConfig.rendererExists("${rendererClass}"))
- <renderer>
- <component-family>${component.family}</component-family>
- <renderer-type>
- ${component.renderer.name}
- </renderer-type>
- <renderer-class>
- ${rendererClass}
- </renderer-class>
- </renderer>
- #end
- #end
-#end
- </render-kit>
-#end
-
-
-</faces-config>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<faces-config>
+
+${facesConfig.includeContent}
+
+#foreach( $validator in ${validators})
+ <validator>
+ <validator-id>${validator.id}</validator-id>
+ <validator-class>${validator.classname}</validator-class>
+ #if(${validator.description})
+ <description>${validator.description}</description>
+ #end
+ #if(${validator.displayname})
+ <display-name>${validator.displayname}</display-name>
+ #end
+ #if(${validator.icon})
+ <icon>${validator.icon}</icon>
+ #end
+ </validator>
+#end
+
+#foreach( $converter in ${converters})
+ <converter>
+ #if(${converter.id})
+ <converter-id>${converter.id}</converter-id>
+ #end
+ #if(${converter.forclass})
+ <converter-for-class>${converter.forclass}</converter-for-class>
+ #end
+
+ <converter-class>${converter.classname}</converter-class>
+
+ #if(${converter.description})
+ <description>${converter.description}</description>
+ #end
+ #if(${converter.displayname})
+ <display-name>${converter.displayname}</display-name>
+ #end
+ #if(${converter.icon})
+ <icon>${converter.icon}</icon>
+ #end
+ </converter>
+#end
+
+
+
+#foreach( $component in ${components})
+#if( $component.generate )
+ <component>
+ #if(${component.description})
+ <description>${component.xmlEncodedDescription}</description>
+ #end
+ #if(${component.displayname})
+ <display-name>${component.xmlEncodedDisplayname}</display-name>
+ #end
+ <component-type>${component.name}</component-type>
+ <component-class>${component.classname}</component-class>
+
+#foreach( $facet in $component.facets)
+ <facet>
+ #if(${facet.description})
+ <description>${facet.xmlEncodedDescription}</description>
+ #end
+ #if(${facet.displayname})
+ <display-name>${facet.xmlEncodedDisplayname}</display-name>
+ #end
+ <facet-name>${facet.name}</facet-name>
+ </facet>
+#end
+ #if(${component.renderer})
+ <component-extension>
+ <component-family>${component.family}</component-family>
+ <renderer-type>${component.renderer.name}</renderer-type>
+ </component-extension>
+ #end
+ </component>
+#end
+#end
+
+#foreach( $renderkit in $facesConfig.renderKits)
+ <render-kit>
+ #if(${renderkit.renderkitid})
+ <render-kit-id>${renderkit.renderkitid}</render-kit-id>
+ #if(${renderkit.renderkitclass})
+ <render-kit-class>${renderkit.renderkitclass}</render-kit-class>
+ #end
+ #end
+#foreach( $component in $components)
+ #if($component.renderer)
+ #set($rendererClass = $renderkit.rendererClass($component.renderer.classname) )
+ #if( $component.renderer.generate || $facesConfig.rendererExists("${rendererClass}"))
+ <renderer>
+ <component-family>${component.family}</component-family>
+ <renderer-type>
+ ${component.renderer.name}
+ </renderer-type>
+ <renderer-class>
+ ${rendererClass}
+ </renderer-class>
+ </renderer>
+ #end
+ #end
+#end
+ </render-kit>
+#end
+
+
+</faces-config>
Modified: trunk/cdk/generator/src/main/resources/META-INF/templates12/faces-config.vm
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/templates12/faces-config.vm 2007-06-06 02:05:53 UTC (rev 246)
+++ trunk/cdk/generator/src/main/resources/META-INF/templates12/faces-config.vm 2007-06-06 02:17:31 UTC (rev 247)
@@ -1,103 +1,110 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
- "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
-<faces-config>
-
-${facesConfig.includeContent}
-
-#foreach( $validator in ${validators})
- <validator>
- <validator-id>${validator.id}</validator-id>
- <validator-class>${validator.classname}</validator-class>
- #if(${validator.description})
- <description>${validator.description}</description>
- #end
- #if(${validator.displayname})
- <display-name>${validator.displayname}</display-name>
- #end
- #if(${validator.icon})
- <icon>${validator.icon}</icon>
- #end
- </validator>
-#end
-
-#foreach( $converter in ${converters})
- <converter>
- <converter-id>${converter.id}</converter-id>
- <converter-class>${converter.classname}</converter-class>
- #if(${converter.description})
- <description>${converter.description}</description>
- #end
- #if(${converter.displayname})
- <display-name>${converter.displayname}</display-name>
- #end
- #if(${converter.icon})
- <icon>${converter.icon}</icon>
- #end
- </converter>
-#end
-
-
-
-#foreach( $component in ${components})
-#if( $component.generate )
- <component>
- #if(${component.description})
- <description>${component.xmlEncodedDescription}</description>
- #end
- #if(${component.displayname})
- <display-name>${component.xmlEncodedDisplayname}</display-name>
- #end
- <component-type>${component.name}</component-type>
- <component-class>${component.classname}</component-class>
-
-#foreach( $facet in $component.facets)
- <facet>
- #if(${facet.description})
- <description>${facet.xmlEncodedDescription}</description>
- #end
- #if(${facet.displayname})
- <display-name>${facet.xmlEncodedDisplayname}</display-name>
- #end
- <facet-name>${facet.name}</facet-name>
- </facet>
-#end
- #if(${component.renderer})
- <component-extension>
- <component-family>${component.family}</component-family>
- <renderer-type>${component.renderer.name}</renderer-type>
- </component-extension>
- #end
- </component>
-#end
-#end
-
-#foreach( $renderkit in $facesConfig.renderKits)
- <render-kit>
- #if(${renderkit.renderkitid})
- <render-kit-id>${renderkit.renderkitid}</render-kit-id>
- #if(${renderkit.renderkitclass})
- <render-kit-class>${renderkit.renderkitclass}</render-kit-class>
- #end
- #end
-#foreach( $component in $components)
- #if($component.renderer)
- #set($rendererClass = $renderkit.rendererClass($component.renderer.classname) )
- #if( $component.renderer.generate || $facesConfig.rendererExists("${rendererClass}"))
- <renderer>
- <component-family>${component.family}</component-family>
- <renderer-type>
- ${component.renderer.name}
- </renderer-type>
- <renderer-class>
- ${rendererClass}
- </renderer-class>
- </renderer>
- #end
- #end
-#end
- </render-kit>
-#end
-
-
-</faces-config>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<faces-config>
+
+${facesConfig.includeContent}
+
+#foreach( $validator in ${validators})
+ <validator>
+ <validator-id>${validator.id}</validator-id>
+ <validator-class>${validator.classname}</validator-class>
+ #if(${validator.description})
+ <description>${validator.description}</description>
+ #end
+ #if(${validator.displayname})
+ <display-name>${validator.displayname}</display-name>
+ #end
+ #if(${validator.icon})
+ <icon>${validator.icon}</icon>
+ #end
+ </validator>
+#end
+
+#foreach( $converter in ${converters})
+ <converter>
+ #if(${converter.id})
+ <converter-id>${converter.id}</converter-id>
+ #end
+ #if(${converter.forclass})
+ <converter-for-class>${converter.forclass}</converter-for-class>
+ #end
+
+ <converter-class>${converter.classname}</converter-class>
+
+ #if(${converter.description})
+ <description>${converter.description}</description>
+ #end
+ #if(${converter.displayname})
+ <display-name>${converter.displayname}</display-name>
+ #end
+ #if(${converter.icon})
+ <icon>${converter.icon}</icon>
+ #end
+ </converter>
+#end
+
+
+
+#foreach( $component in ${components})
+#if( $component.generate )
+ <component>
+ #if(${component.description})
+ <description>${component.xmlEncodedDescription}</description>
+ #end
+ #if(${component.displayname})
+ <display-name>${component.xmlEncodedDisplayname}</display-name>
+ #end
+ <component-type>${component.name}</component-type>
+ <component-class>${component.classname}</component-class>
+
+#foreach( $facet in $component.facets)
+ <facet>
+ #if(${facet.description})
+ <description>${facet.xmlEncodedDescription}</description>
+ #end
+ #if(${facet.displayname})
+ <display-name>${facet.xmlEncodedDisplayname}</display-name>
+ #end
+ <facet-name>${facet.name}</facet-name>
+ </facet>
+#end
+ #if(${component.renderer})
+ <component-extension>
+ <component-family>${component.family}</component-family>
+ <renderer-type>${component.renderer.name}</renderer-type>
+ </component-extension>
+ #end
+ </component>
+#end
+#end
+
+#foreach( $renderkit in $facesConfig.renderKits)
+ <render-kit>
+ #if(${renderkit.renderkitid})
+ <render-kit-id>${renderkit.renderkitid}</render-kit-id>
+ #if(${renderkit.renderkitclass})
+ <render-kit-class>${renderkit.renderkitclass}</render-kit-class>
+ #end
+ #end
+#foreach( $component in $components)
+ #if($component.renderer)
+ #set($rendererClass = $renderkit.rendererClass($component.renderer.classname) )
+ #if( $component.renderer.generate || $facesConfig.rendererExists("${rendererClass}"))
+ <renderer>
+ <component-family>${component.family}</component-family>
+ <renderer-type>
+ ${component.renderer.name}
+ </renderer-type>
+ <renderer-class>
+ ${rendererClass}
+ </renderer-class>
+ </renderer>
+ #end
+ #end
+#end
+ </render-kit>
+#end
+
+
+</faces-config>
Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml 2007-06-06 02:05:53 UTC (rev 246)
+++ trunk/docs/userguide/pom.xml 2007-06-06 02:17:31 UTC (rev 247)
@@ -13,6 +13,23 @@
<version>1.1.2-SNAPSHOT</version>
<packaging>pom</packaging>
<description>Ajax4jsf user guide</description>
+ <pluginRepositories>
+ <pluginRepository>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ <id>repository.jboss.com</id>
+ <name>Jboss Repository for Maven</name>
+ <url>
+ http://repository.jboss.com/maven2/
+ </url>
+ <layout>default</layout>
+ </pluginRepository>
+ </pluginRepositories>
<build>
<pluginManagement>
<plugins>
Modified: trunk/docs/xslt/src/main/resources/en/f.xsl
===================================================================
--- trunk/docs/xslt/src/main/resources/en/f.xsl 2007-06-06 02:05:53 UTC (rev 246)
+++ trunk/docs/xslt/src/main/resources/en/f.xsl 2007-06-06 02:17:31 UTC (rev 247)
@@ -11,7 +11,7 @@
<chapter>
- <title>$title</title>
+ <title><xsl:value-of select="$title"/></title>
<xsl:for-each select="javaee:tag | tag">
<!--xsl:value-of select="./name/text()" /-->
@@ -39,12 +39,14 @@
</xsl:choose>
</xsl:variable>
<xsl:variable name="prefix">
+ <xsl:choose>
<xsl:when test="/javaee:taglib/javaee:short-name">
<xsl:value-of select="/javaee:taglib/javaee:short-name" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="/taglib/short-name/text()" />
</xsl:otherwise>
+ </xsl:choose>
</xsl:variable>
<xsl:attribute name="id"><xsl:value-of select="$tag_name"/></xsl:attribute>
Added: trunk/faces-config.vm.patch
===================================================================
--- trunk/faces-config.vm.patch (rev 0)
+++ trunk/faces-config.vm.patch 2007-06-06 02:17:31 UTC (rev 247)
@@ -0,0 +1,20 @@
+Index: .
+===================================================================
+--- . (revision 231)
++++ . (working copy)
+@@ -23,8 +23,15 @@
+
+ #foreach( $converter in ${converters})
+ <converter>
++ #if(${converter.id})
+ <converter-id>${converter.id}</converter-id>
++ #end
++ #if(${converter.forclass})
++ <converter-for-class>${converter.forclass}</converter-for-class>
++ #end
++
+ <converter-class>${converter.classname}</converter-class>
++
+ #if(${converter.description})
+ <description>${converter.description}</description>
+ #end
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2007-06-06 02:05:53 UTC (rev 246)
+++ trunk/pom.xml 2007-06-06 02:17:31 UTC (rev 247)
@@ -1,4 +1,6 @@
-<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/maven-v4_0_0.xsd">
+<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.ajax4jsf</groupId>
<artifactId>master</artifactId>
@@ -126,8 +128,12 @@
</repository>
</repositories>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/ajax4jsf/trunk/</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/ajax4jsf/trunk/</developerConnection>
+ <connection>
+ scm:svn:http://anonsvn.jboss.org/repos/ajax4jsf/trunk/
+ </connection>
+ <developerConnection>
+ scm:svn:https://svn.jboss.org/repos/ajax4jsf/trunk/
+ </developerConnection>
<url>http://anonsvn.jboss.org/repos/ajax4jsf/trunk/</url>
</scm>
<!--
@@ -261,6 +267,9 @@
</plugin>
</plugins>
</build>
+ <modules>
+ <module>docs</module>
+ </modules>
</profile>
<profile>
<id>clover</id>
Modified: trunk/src/main/assembly/distribution.xml
===================================================================
--- trunk/src/main/assembly/distribution.xml 2007-06-06 02:05:53 UTC (rev 246)
+++ trunk/src/main/assembly/distribution.xml 2007-06-06 02:17:31 UTC (rev 247)
@@ -42,6 +42,16 @@
<unpack>false</unpack>
</binaries>
</moduleSet>
+ <moduleSet>
+ <includes>
+ <include>org.ajax4jsf.docs.userguide:en</include>
+ </includes>
+ <binaries>
+ <includeDependencies>false</includeDependencies>
+ <outputDirectory>docs</outputDirectory>
+ <unpack>true</unpack>
+ </binaries>
+ </moduleSet>
</moduleSets>
<fileSets>
<fileSet>
17 years, 6 months
JBoss Ajax4JSF SVN: r246 - in trunk/docs: xslt/src/main/resources/en and 1 other directory.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-06-05 22:05:53 -0400 (Tue, 05 Jun 2007)
New Revision: 246
Added:
trunk/docs/xslt/src/main/resources/en/f.xsl
Removed:
trunk/docs/userguide/en/src/main/docbook/f.xsl
Log:
reorganize projects for a Maven documentation build
Deleted: trunk/docs/userguide/en/src/main/docbook/f.xsl
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/f.xsl 2007-06-06 01:40:59 UTC (rev 245)
+++ trunk/docs/userguide/en/src/main/docbook/f.xsl 2007-06-06 02:05:53 UTC (rev 246)
@@ -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
Copied: trunk/docs/xslt/src/main/resources/en/f.xsl (from rev 245, trunk/docs/userguide/en/src/main/docbook/f.xsl)
===================================================================
--- trunk/docs/xslt/src/main/resources/en/f.xsl (rev 0)
+++ trunk/docs/xslt/src/main/resources/en/f.xsl 2007-06-06 02:05:53 UTC (rev 246)
@@ -0,0 +1,85 @@
+<?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:param name="title" />
+
+ <xsl:template match="javaee:taglib | taglib">
+ <xsl:variable name="excluded-tag-names">header2,header3,header4,header5,header6</xsl:variable>
+
+ <chapter>
+
+ <title>$title</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:variable name="prefix">
+ <xsl:when test="/javaee:taglib/javaee:short-name">
+ <xsl:value-of select="/javaee:taglib/javaee:short-name" />
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="/taglib/short-name/text()" />
+ </xsl:otherwise>
+ </xsl:variable>
+
+ <xsl:attribute name="id"><xsl:value-of select="$tag_name"/></xsl:attribute>
+ <title><<xsl:value-of select="concat($prefix,':', $tag_name)" />></title>
+ <xsl:for-each select="document(concat($lang, '/included/',$tag_name, '.desc.xml'))/*">
+ <xsl:copy-of select="./*"/>
+ </xsl:for-each>
+ <table>
+ <title><xsl:value-of select="$prefix"/>:<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
17 years, 6 months
JBoss Ajax4JSF SVN: r245 - in trunk/docs/userguide/en/src/main/resources: images and 1 other directory.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-06-05 21:40:59 -0400 (Tue, 05 Jun 2007)
New Revision: 245
Added:
trunk/docs/userguide/en/src/main/resources/images/
trunk/docs/userguide/en/src/main/resources/images/newpic1.jpg
trunk/docs/userguide/en/src/main/resources/images/newpic2.jpg
trunk/docs/userguide/en/src/main/resources/images/newpic3.jpg
trunk/docs/userguide/en/src/main/resources/images/newpic4.jpg
Log:
reorganize projects for a Maven documentation build
Added: trunk/docs/userguide/en/src/main/resources/images/newpic1.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/newpic1.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/newpic2.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/newpic2.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/newpic3.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/newpic3.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/newpic4.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/newpic4.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 6 months
JBoss Ajax4JSF SVN: r244 - in trunk/docs/userguide: en and 2 other directories.
by ajax4jsf-svn-commits@lists.jboss.org
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><<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/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><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/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><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/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><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/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><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/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><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/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><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/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><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/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><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/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><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/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><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/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><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/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><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
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>
17 years, 6 months